Locales with the same language

Shachar Shemesh wine-devel at shemesh.biz
Wed Jul 16 00:34:54 CDT 2003


Dmitry Timoshkov wrote:

>"Vincent Béron" <vberon at mecano.gme.usherb.ca> wrote:
>
>  
>
>>>>I have problems displaying Wine's app in my locale (fr_CA). They seem to
>>>>prefer to go to the English locale, although if launched with
>>>>LANG=fr_FR wine notepad
>>>>they will obey the French locale.
>>>>
>>>>LANG=fr wine notepad
>>>>will display a warning about the plurality of locales with "fr", but
>>>>will display the app in French nonetheless.
>>>>        
>>>>
>>>LC_ALL=fr_CA wine notepad
>>>      
>>>
>>Nope, doesn't work.
>>    
>>
>
>That's because there is no resources marked as (LANG_FRENCH,SUBLANG_FRENCH_CANADIAN)
>in the Wine apps. If you fairly confident that all flavours of French (including
>Canadian) have too little differences and creating separate resources for each
>of them isn't worth the effort, then a way to go is to mark all french resources
>in Wine with (LANG_FRENCH,SUBLANG_NEUTRAL).
>  
>
No, that doesn't sound correct to me. Did you check that this is the way 
Windows does it's matching?

As far as I remember, if an exact match does not exist, we should look 
for the same language with sublang DEFAULT. IIRC, there is no situation 
where defining "SUBLANG_NEUTRAL" is the correct thing to do in resources.

                Shachar

-- 
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/





More information about the wine-devel mailing list