Issue 103408 - i18npool: ignore an empty LANGUAGE variable
Summary: i18npool: ignore an empty LANGUAGE variable
Alias: None
Product: Internationalization
Classification: Code
Component: i18npool (show other issues)
Version: OOo 3.1
Hardware: All Unix, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: erack
QA Contact: issues@l10n
Depends on:
Blocks: 103411
  Show dependency tree
Reported: 2009-07-08 10:27 UTC by caolanm
Modified: 2017-05-20 11:42 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---

patch (1.09 KB, patch)
2009-07-08 10:27 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2009-07-08 10:27:04 UTC

$ export LANG=fr_FR.utf8
$ export LANGUAGE=de_DE.utf8
bash: 0: Kommando nicht gefunden.
$ export LANGUAGE=""
bash: 0 : commande introuvable

i.e. an empty LANGUAGE is ignored, same happens when running gedit. the ui is in
LANGUAGE unless it is empty in which case fallback to the LC_variables not just
if it is not present
Comment 1 caolanm 2009-07-08 10:27:27 UTC
Created attachment 63429 [details]
Comment 2 ooo 2009-07-08 15:19:30 UTC
Good catch. Reassigning to spare time account.
Comment 3 erack 2009-07-18 23:02:22 UTC
In cws locales32:

revision 274104
Comment 4 ooo 2009-09-04 16:50:02 UTC
Present in CWS build.