Overview
| Artifact ID: | b0c34e847a98db0f47282511f8320b93f60f70c1 |
|---|---|
| Ticket: | 3036566fffffffffffffffffffffffffffffffff
msgcat ignores UI language setting on Windows 7 |
| User & Date: | oehhar on 2013-09-17 07:09:26 |
Changes
- closedate changed to: "2456552.79822441"
- closer changed to: "oehhar"
- comment changed to:
On Windows 7 and possibly Vista the user can now install language packs for certain versions. This is available for Windows 7 Ultimate and Professional but not for the Home versions I believe. This means I can install a Japanese UI language pack and use the control panel to select Japanese as my UI language even though the system locale was English. Tcl's msgcat package ignores this. The current code examines the Control Panel\International registry and determines the system locale. However the UI locale is being stored in Control Panel\Desktop\PreferredUILanguages as a country-language code (eg: ja-JP for Japanese). The name of the value suggests it might become a list but I don't know what separator might get used. Attached is a patch to look for this registry value and use it if possible to override the system language. This patch is against 8.5.8 (msgcat 1.4.3)
- icomment:
Included in msgcat 1.5.2 and shipped with tcl 8.5.15 and 8.6.1 Thank you all, Harald
- login: "oehhar"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- severity changed to: "Minor"
- status changed to: "Closed"
- username: "oehhar"