Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot set language to Serbian (Latin) on newer Windows versions #4203
Comments
This comment has been minimized.
This comment has been minimized.
|
Comment 1 by mdcurran on 2014-06-17 23:25 |
This comment has been minimized.
This comment has been minimized.
|
Comment 2 by Michael Curran <mick@... on 2014-06-19 01:27
Changes:
|
This comment has been minimized.
This comment has been minimized.
|
Comment 3 by Michael Curran <mick@... on 2014-07-07 09:05
Changes:
|
This comment has been minimized.
This comment has been minimized.
|
Comment 4 by mdcurran on 2014-07-07 09:06 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nvaccessAuto commentedJun 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.