bug-bash
[Top][All Lists]
Advanced

[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 <eblake@redhat.com> writes:

> On 07/27/2011 09:05 AM, Andreas Schwab wrote:
>> Anders Sundman<anders@4zm.org>  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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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