SiriServerCore
SiriServerCore copied to clipboard
Suggestion for supporting more languages.
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
I won't pull that, afaik there is a cydia package that lets you select different languages.
Ok what is that package? Anyvoice isn't that one.
Yeah, I just thought so, did some research, there is no such package out there
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, [email protected] 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: https://github.com/Eichhoernchen/SiriServerCore/pull/28#issuecomment-4546859
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
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
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 !
pretty please? :/
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.
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