Therefore I resort to a trick: in fr.po, for example, there is an entry like:
msgid "[[Replace with the code of your language]]" msgstr "fr" Therefore, when this po files is loaded, I can get its name!I still let the LANGUAGE variable override everything to allow people to enter language preferences like
LANGUAGE="fr:es"The language preferences entered in the mac preference panel are not taken in account, but this is not
a regression.As always, comments welcome. The effect of this patch should be neutral on all platforms but the mac. On the mac, it should load the right help files when the transl1- v1.diff patch is used (or when building
--without-included-gettext). JMarc
transl3-v1.diff
Description: Binary data