Issue 103408

Summary: i18npool: ignore an empty LANGUAGE variable
Product: Internationalization Reporter: caolanm
Component: i18npoolAssignee: erack
Status: CLOSED FIXED QA Contact: issues@l10n <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.1   
Target Milestone: ---   
Hardware: All   
OS: Unix, all   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 103411    
Attachments:
Description Flags
patch none

Description caolanm 2009-07-08 10:27:04 UTC
e.g.

$ 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]
patch
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
i18npool/source/isolang/inunx.cxx
Comment 4 ooo 2009-09-04 16:50:02 UTC
Present in CWS build.