bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Windows libintl and locales


From: Nardy Pillards
Subject: Re: [Bug-gnubg] Windows libintl and locales
Date: Thu, 14 Aug 2003 23:21:14 +0200

From:                   Holger <address@hidden>
> >A question: is it possible to control the language runtime like on
> >unix by setting an environment variable before starting gnubg.exe?
> 
> Yes. On Windows gettext does recognise the nationality itself without
> setting any environment variable. I guess it reads it from global
> settings. With e.g. a batch file it's possible to have a different
> language:
> 
> @echo off
> set LANG=it_IT
> gnubg.exe

Now, wouldn't it be nice to integrate this in gnubg?
So the user could choose the language from a menu entry?

If there are no plans doing so, I would like to add the possible language 
selection into 
the 'language package' that is available for download.

And it either would be a BAT file, copying the xx.po file to the yy 
subdirectory as 
gnubg.mo (with xx being the language chosen by the user, and yy the language of 
Windows)
or
a BAT file that sets the LANG value and runs gnubg afterwards

Advantage of xx.po to yy\lc_messages\gnubg.mo: once executed, the user can run 
gnubg just by clicking the gnubg icon (as he/she is used to do).
Disadvantage: gnubg runs in the language chosen, unless the BAT file is 
executed 
again.

Advantage of the BAT file setting LANG: the user can choose wich language to 
use with 
gnubg, but he/she must run the BAT file instead of the gnubg icon (and that's 
not so 
obvious for some users)

Any comments?

Nardy
(who prefers a BAT file, copying the xx.po file to yy\lc_messages\gnubg.mo)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]