-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localization issues #1
Comments
There's a patch which addresses these issues, at least in my testing. |
Hi, thank you very much for sharing your patch. |
One problem which i encountered has been using the ansi version of the function which is responsible for windows speech output. If you use the wide string version (also in the patch), those problems don't arise. You didn't encounter unicode issues in the source code because you have used the english variants. |
Okay, I have lookied into it. Your suggestions are certainly needed, but I think they should be moved into main module instead of speech.py (except for that thing which changes windows function from ansi to unicode). |
Certainly. Moere cleaner than using a if statement which tests the actually used synth would be a language property which in the case of windows would do nothing. This would require separating the speech classes and a way of selection the right one (something similar to the approach in accessible_output). |
Well, I can't see any problem, because if we are in windows, then the
|
Well, in this fairly simple case, you are right. I would probably not do such a big changes when they are not required, but imagine that in the future, you can come with a idea how to do this on Windows and to make things more complex, for example only for some screen readers. But i would agree that this implementation is enough for now. |
This would be task for standalone module, I may create it sometimes in On 10.9.2012 18:00, Lukáš Tyrychtr wrote:
|
When launched, locale of the user's system is not honored. Also, using ansi version of the screenreaderapi speak call is not a good idea in light of unicode. And the last, when using speechd, attempt to set correct language.
The text was updated successfully, but these errors were encountered: