[Top][All Lists]

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

Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not transl

From: Byrial Jensen
Subject: Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not translated
Date: Wed, 28 Dec 2011 11:29:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111109 Thunderbird/3.1.16

Den 28-12-2011 10:59, Byrial Jensen skrev:
Den 28-12-2011 10:05, h.g. muller skrev:

It is simple for UTF-8, but some users use other encodings. Do you
know them all?

I would worry about that only when we actually did have translations
that used other encodings.
So far we only provide UTF8 po files.

Excuse me, but for one it would be silly to code for the current po
files only as new ones could appear at anytime.

And secondly it doesn't matter at all how the po-files are encoded. The
texts are recoded by the gettext() functions to the encoding currently
used by the user.

The user's encoding is determined by the current locale which again is
selected based on environment variables.

To see what encoding is currently used call the function nl_langinfo()
with the argument LC_CTYPE.

By the way if you wish to try xboard with other encodings than UTF-8 you could try this command to make and use a latin-1 locale for German:

$ sudo localedef -i de_DE -f ISO-8859-1 de_DE.iso88591
$ LANG=de_DE.iso88591 xboard

reply via email to

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