[Bug 23124] Philippine English locale defaults to wrong SUBLANG

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 27 07:36:44 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=23124

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fgouget at codeweavers.com

--- Comment #7 from François Gouget <fgouget at codeweavers.com> 2010-11-27 07:36:43 CST ---
The switch to po files has been discussed at WineConf. The plan is to start
with the menu and string resources.

The dialogs are a harder problem as they need geometry information. So after
the above step the plan is to generate all dialogs where the geometry does not
change and only keep the others in the rc files. The last step will be to
generate geometry at compile time but that will require more work.

However none of this has any impact on this bug.

You said:
> but currently defaults to pick up SUBLANG_NEUTRAL which is British English

This is false (from winnt.h):
#define SUBLANG_NEUTRAL                  0x00
#define SUBLANG_DEFAULT                  0x01
#define SUBLANG_ENGLISH_US               0x01
#define SUBLANG_ENGLISH_UK               0x02

So what you should see is Philippine English using either the SUBLANG_NEUTRAL
strings, but the strings being neutral they should work fine for Philippine
English, or the the American English SUBLANG_DEFAULT strings.
Only a few files have SUBLANG_NEUTRAL strings so it should be easy to review
and fix them if they are not neutral:
    dlls/comdlg32/cdlg_En.rc
    dlls/shdoclc/En.rc
    dlls/hhctrl.ocx/En.rc
    programs/wordpad/En.rc
    programs/regedit/En.rc
    programs/wineconsole/wineconsole_En.rc
    programs/winhlp32/En.rc
    programs/winhlp32/En.rc
    programs/winecfg/En.rc

If that doe snot help fixing the problem, could you provide a specific example
of a string which is wrong and where it appears?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list