|
From: | Holger |
Subject: | Re: [Bug-gnubg] Windows libintl and locales |
Date: | Thu, 14 Aug 2003 17:56:57 +0200 |
At 15:50 13.08.2003 +0000, Joern Thyssen wrote:
On Wed, Aug 13, 2003 at 02:01:35PM +0200, Nardy Pillards wrote > > With both the latest build and the language package, users with a > DA/DE/IT/JA version of Windows will get a localized gnubg now. The Danish translation is very much incomplete, so I don't think we should distribute it with the windows build. 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.exeOn a German Windows without anything gives the German translation. Setting LANG before gives Italian.
On the long run I'm not that fond of the batch file, though. I'd prefer a notebook page under options for this (under Windows), as this would be the normal behaviour on Windows. But for now a batch file is certainly enough.
Regards,Holger
[Prev in Thread] | Current Thread | [Next in Thread] |