[upstream] Openoffice does not use $LANGUAGE variable

Bug #33294 reported by keymon
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenOffice
Confirmed
Unknown
Ubuntu Translations
Won't Fix
Medium
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Openoffice only reads the $LANG variable to set the language. In some scenarios it's necesary to use multiple locales, falling in different locale if one is not avaiable.

The variable $LANGUAGE provides a list of ordered locales separated by ':', that openoffice should try before fall back to 'C'.

For example, I speak galicia, spanish and english, so my LANGUAGE var is:
LANGUAGE=gl:gl_ES:es:es_ES:en:en_GB:en_US

Matthias Klose (doko)
Changed in openoffice.org2:
assignee: nobody → doko
status: Unconfirmed → Confirmed
Matthias Klose (doko)
Changed in openoffice.org:
assignee: doko → nobody
importance: Medium → Low
Chris Cheney (ccheney)
Changed in openoffice.org:
importance: Low → Wishlist
Revision history for this message
Chris Cheney (ccheney) wrote : Re: [Upstream] [hardy] Openoffice does not use $LANGUAGE variable

Does anyone know where the LANGUAGE variable is documented? I tried looking in man locale but it isn't there...

Revision history for this message
Chris Cheney (ccheney) wrote :
Chris Cheney (ccheney)
Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in openoffice:
status: Unknown → New
Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → Triaged
Revision history for this message
Jeroen Hoek (mail-jeroenhoek) wrote :

Ubuntu currently sets LANGUAGE to the user's desired interface language (with fallbacks), and LANG to the user's desired locale (i.e., how to format numbers and what paper sizes to use) via the Language Support tool. OpenOffice.org still doesn't deal with this correctly.

I have updated the upstream bug report answering the "does it still exist?" question there, as this bug still exists in Lucid Lynx beta.

Chris Cheney (ccheney)
tags: added: hardy
Changed in openoffice:
status: New → Confirmed
Chris Cheney (ccheney)
summary: - [Upstream] [hardy] Openoffice does not use $LANGUAGE variable
+ [upstream] Openoffice does not use $LANGUAGE variable
Revision history for this message
David Planella (dpm) wrote :

For the record, the use of the LANGUAGE environment variable and the variable priorities are also documented here:

http://www.gnu.org/software/hello/manual/gettext/Locale-Environment-Variables.html
http://www.openi18n.org/docs/html/LI18NUX-2000-amd4.htm

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

Changed in ubuntu-translations:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.