Skip to content

Conversation

@jimmykane
Copy link
Contributor

I know it's not the best method and will also make a lot of collision to people that want eg. the language for siri.

I dont think that the region is location related but more like locale related.

It's just a suggestion or even we can comment out this code. But many people contact me and want to see how can the force language (that is possible this way)

Or we can implement this as a bin argument like python SiriServer.py -p 443 -forcelanguage

@janrueth
Copy link
Owner

I won't pull that, afaik there is a cydia package that lets you select different languages.

@janrueth janrueth closed this Mar 16, 2012
@jimmykane
Copy link
Contributor Author

Ok what is that package? Anyvoice isn't that one.

@janrueth janrueth reopened this Mar 16, 2012
@janrueth
Copy link
Owner

Yeah, I just thought so, did some research, there is no such package out there

@jimmykane
Copy link
Contributor Author

With anyvoice package you can make Siri speak and using all voice controll voices. This enables Siri to speak back any supported language from voice control. The only thing needed is forcing the language. I just posted this pull request for a suggestion.

We can just comment out the just in case someone wants to edit that and for the language for his native usage.

On 16 Μαρ 2012, at 21:48, Janreply@reply.github.com wrote:

Yeah, I just thought so, did some research, there is no such package out there


Reply to this email directly or view it on GitHub:
#28 (comment)

@janrueth
Copy link
Owner

We could also add it as a command line option. Or use a language override if a certain udid connects and the database has a language override added for this language

@jimmykane
Copy link
Contributor Author

Hi again @Eichhoernchen I just made some changes and hope that this time is a bit more elegant approach.

  • Switched to argparse module for the option parser
    Could not handle a empty value argument without code change and tricks etc
    Deprecated since version 2.7: The optparse module is deprecated and will not be developed further; development will continue with the argparse module. From (http://docs.python.org/library/optparse.html)
  • Added global config module for cross module config config.py
  • Added -f and --forcelanguage argument that will force the server to identify language by region.
  • Added French and Chinese __not_recognized and __websearch localizations
  • Several minor touches

@eugeene
Copy link

eugeene commented Mar 19, 2012

I would like to ask if is possible to for example switch FRENCH (for example) language for other language like CZECH?
Czech is not avilable on spire's settings, but google API can handle it, is somehow possible to substitute that?
Can some one guide me a little?
Thanks !

@eugeene
Copy link

eugeene commented Mar 22, 2012

pretty please? :/

@bidluo
Copy link

bidluo commented Apr 4, 2012

I think you can do it within the server itself, by replacing another languages values with another. It's a bit hard to explain, so I'll figure it out and tell you.

@trevor403
Copy link
Contributor

well listen the best thin we can do is make a shell script to pick out the language that is in each plugin and translate its strings and add it as each new language, i bet i could make a quick mockup of this, easily

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants