[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fallback language for internationalized string
From: |
Andreas Schwab |
Subject: |
Re: Fallback language for internationalized string |
Date: |
Wed, 27 Jul 2011 17:38:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 07/27/2011 09:05 AM, Andreas Schwab wrote:
>> Anders Sundman<address@hidden> writes:
>>
>>> Is it possible to get bash to use a fallback language for showing
>>> localized strings if no translation exists for the current language?
>>> Instead of using the 'raw' msgid that is.
>>
>> The msgid is supossed to be the fallback. That's how gettext works.
>
> Not entirely. See the glibc documentation for the LANGUAGE environment
> variable.
That's about user control, not program control. The message ids are
supposed to be ordinary strings that you would use if you hadn't i18n'd
your program.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."