[vlc] Re: Localization in 0.86

Marian Durkovic md at bts.sk
Thu Feb 15 09:06:44 CET 2007


On Wed, Feb 14, 2007 at 10:49:45PM +0200, R?mi Denis-Courmont wrote:
> Le mercredi 14 f?vrier 2007 22:33, Michiel de Boer a ?crit :
> > In other words: gettext is reporting to you that i'm using the Dutch
> > metric, currency and time system. But it apparently it either ISN'T
> > reporting to you that i have set 'English' as my default language, or
> > VLC is not using the regional information properly!
> 
> Unfortunately, that's the contrary. Gettext does report the (default) 
> language in use. On Windows, it happens to use the regional settings 
> for its guesswork, while on platforms with a decent C run-time library 
> (locale-wise), it works fine, i.e. uses the configured "message" 
> locale, independant of the monetary symbol, decimal separator, 
> date/time format, etc. That's why I'm arguing that if you find this 
> behavior inconsistent, you should fix GNU gettext, rather than VLC.

The reason is probably again the use of legacy non-unicode function
GetACP(). It's present both in VLC as well as in gettext.
We should probably use something more recent, e.g. GetUserDefaultLangID().


        With kind regards,

                M.

--------------------------------------------------------------------------
----                                                                  ----
----   Marian Durkovic                       network  manager         ----
----                                                                  ----
----   Slovak Technical University           Tel: +421 2 524 51 301   ----
----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351   ----
----   812 43 Bratislava, Slovak Republic    E-mail/sip: md at bts.sk    ----
----                                                                  ----
--------------------------------------------------------------------------

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list