[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fallback language for internationalized string
From: |
Anders Sundman |
Subject: |
Fallback language for internationalized string |
Date: |
Wed, 27 Jul 2011 16:45:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
Hi!
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.
E.g. $"mymsgid" has translations in en and sv that makes sense. But then
a user with LANG=fr and gets the 'raw' mymsgid string.
I could of course put the human readable message, say en, in the msgid -
but that would make it confusing and hard to maintain if the en
translation string changes.
Best regards,
Anders
- Fallback language for internationalized string,
Anders Sundman <=