Skip to content
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

Cannot set language to Serbian (Latin) on newer Windows versions #4203

Closed
nvaccessAuto opened this issue Jun 17, 2014 · 4 comments
Closed

Cannot set language to Serbian (Latin) on newer Windows versions #4203

nvaccessAuto opened this issue Jun 17, 2014 · 4 comments
Labels
Milestone

Comments

@nvaccessAuto
Copy link

@nvaccessAuto nvaccessAuto commented Jun 17, 2014

Reported by mdcurran on 2014-06-17 22:49
It seems that in Windows 8, and possibly earlier it is impossible to run NVDA on a machine with the user language set to Serbian (Latin) (LCID 0x241a) where the NVDA language is 'Windows'. as this LCID does not exist in Python's locale.windows_locale. In fact a KeyError is raised and NVDA fails to initialize.
We should catch KeyError when looking up the LCID, and fallback to using LCIDToLocaleName if this function is available. Eventually we should consider using this before using locale.windows_locale, but this could be a breaking change so for now we should only fall back to it.

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Jun 17, 2014

Comment 1 by mdcurran on 2014-06-17 23:25
Changes:
Changed title from "eCannot set language to Serbian (Latin) on newer Windows versions" to "Cannot set language to Serbian (Latin) on newer Windows versions"

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Jun 19, 2014

Comment 2 by Michael Curran <mick@... on 2014-06-19 01:27
In [2eac437]:

Merge branch 't4203' into next. Incubates #4203

Changes:
Added labels: incubating

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Jul 7, 2014

Comment 3 by Michael Curran <mick@... on 2014-07-07 09:05
In [6bd2cee]:

Merge branch 't4203'. Fixes #4203

Changes:
Removed labels: incubating
State: closed

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Jul 7, 2014

Comment 4 by mdcurran on 2014-07-07 09:06
Changes:
Milestone changed from None to 2014.3

@nvaccessAuto nvaccessAuto added this to the 2014.3 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant