Ticket #353 (closed defect: fixed)
NVDA's use windows' language option doesn't seem to work
| Reported by: | timeless | Owned by: | pvagner |
|---|---|---|---|
| Priority: | minor | Milestone: | 2009.1 |
| Component: | Localisation | Version: | development |
| Keywords: | Cc: | ||
| Operating system: | Blocked by: | ||
| Blocking: |
Description (last modified by timeless) (diff)
NVDA 0.6p3.2, Windows 7 RC, Deutsch
I changed my Windows Display Language to Deutsch [this forced me to log off] and ran NVDA, it still showed me its messages in English. When I told NVDA to use German, it restarted and its UI was German.
Attachments
Change History
comment:1 in reply to: ↑ description Changed 3 years ago by aleksey_s
comment:2 Changed 3 years ago by timeless
- Description modified (diff)
Sorry, the field is:
Display language
Install or uninstall languages that Windows can use to display text
and where supported recognize speech and handwriting.
[ (v) Install/uninstall languages...]
Choose a display language:
[Deutsch v]
|English |
|Deutsch |
|español |
|suomi |
|français |
|עברית |
Note that changing it changes all of my Windows applications but not my login screen (which is covered by something else)
The welcome screen stuff is managed from the Administrative tab
comment:3 Changed 3 years ago by pvagner
Perhaps we should change the name of this option.
You are correct it does not follow a language set on the language tab of the Regional settings control pannel applet. Instead it follows your locale settings which can be adjusted on the regional settings tab. I am not running english version of Windows either so I am not sure I am giving you correct control names. The setting NVDA follows is the one which controls displaying of numbers, times, dates and currencies.
Can you suggest some alternate name for this option?
comment:4 Changed 3 years ago by timeless
not really, it doesn't make sense.
If I speak English but want Finnish dates (because I happen to live in Finland and have to be able to see Finnish dates on my calendar), that doesn't mean I speak suomi (I don't).
Can you please explain *why* you're currently using the locale instead of the language to choose the language for the user interface?
comment:5 follow-up: ↓ 6 Changed 3 years ago by pvagner
I think this is correct setting to follow since not all the flavors of Windows allow changing the language.
Also when you select Finnish as your locale you will get month names translated to Finnish So for example you will get "2. heinäkuuta" instead of "2. July". I guess you don't like localized dates when you are unable to speak foreign language so you won't also change your locale to something else besides English or your mother tongue.
comment:6 in reply to: ↑ 5 Changed 3 years ago by sid0
Replying to pvagner:
I think this is correct setting to follow
I don't think it is, mainly because changing the locale doesn't change the language of the rest of the UI.
I understand http://msdn.microsoft.com/en-us/goglobal/bb688164.aspx#ESC is the recommended API for this.
comment:7 Changed 3 years ago by pvagner
- Status changed from new to accepted
- Owner set to pvagner
- Component changed from GUI to Localization
Thanks guys for the well written comments.
I have looked into the matter reading recommended material and I am attaching a patch addressing the issue.
I will commit it later when no other negative comments arise.
comment:9 Changed 2 years ago by jteh
- Milestone changed from 2009.2 to 2009.1
Peter, is there any reason not to merge this? I took a look and it looks simple enough. If you haven't encountered any problems yet, please merge it so we can give testers time to find issues before the release. We can always revert it if need be.
comment:10 Changed 2 years ago by pvagner
- Status changed from accepted to closed
- Resolution set to fixed
Fixed in r3142
comment:11 Changed 2 years ago by mdcurran
Does it make sence for the Installer also to use GetUserDefaultUILanguage? it currently uses GetThreadLocale? to set its language.
I'm happy to change this if this makes sence.
- The installer should be changed for the same reasons NVDA was changed.
- The installer language really must match eSpeak's synth language as best as possible, but now it may be possible for example for the installer to be in Chinese (because the locale is) but for NVDA to be in English because that is the default UI Language.
comment:12 Changed 2 years ago by pvagner
oops, I think we need to make these 2 to match each other. So if we have changed this in NVDA we should definatelly do it in the installer as well.



Replying to timeless:
NVDA uses your user language, not the system interface language. You can manage it under language and regional settings in control panel, first combobox. I cann't write exact labels because i am using russian localization of Windows.