Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Setting LANG environmental variable to switch resources | ||
---|---|---|---|
Product: | Installation | Reporter: | maho.nakata |
Component: | ui | Assignee: | bettina.haberer |
Status: | CLOSED DUPLICATE | QA Contact: | issues@l10n <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | arthit, bluedwarf, chris, issues, pavel |
Version: | OOo 1.0.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux, all | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
maho.nakata
2003-02-05 10:19:01 UTC
SBA: Changed component to "installation". SBA->ATR: AK, US and me have seen it working on RedHat => set to "New". Reassigned to Andreas. Hi Bettina, please have a look at this enhancement. Andreas Just discovered this issue... The Debian guys are guilty of starting this, together with Gwenole of Mandrake, who pointed us to the ooLocale configuration variable. Basically, we build all languages at once, create a base installation based on a network setup run, and then use a script to read the setup.ins files for each installation set and create 'language packs' based on that file. When the user starts OOo, we check the users' LANG environment and adjust ooLocale accordingly. You can find the Debian packaging CVS at: http://cvs.debian.org/?cvsroot=debian-openoffice The script to create the langpacks is in oo-deb/debian/local/openoffice-dpack-lang. The wrapper script is in oo-debian-files/bin/openoffice. These files are written by authors who have signed JCAs and we are happy to contribute whatever can be used. These are the current problems with this system: - File copy errors during user setup if the -en langpack is not installed. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150714. - Contents of File -> New menu are always in English - OOo can crash if LANG is set to an invalid language. There is a fallback to -en and -de and external, but it does not work for other language codes. - Templates do not work for all languages. This needs a fallback mechanism if translated templates are not available. - Help needs a similar fallback mechanism. So why bother if there are so many problems? We only need to distribute small language packs of ~1.7Mb instead of complete installation sets for each language, and the same OOo installation can be used with different languages. see issue 10043 http://www.openoffice.org/issues/show_bug.cgi?id=10043 (about language switcher + language pack) For short, Pladao Office (Thai localized version of OO.o) already has a language resource switcher for a year. Users of Pladao Office 1.0 (based on OOo638C) and 2.0 (based on OOo1.0.2) can freely choose the language of UI (English or Thai). Its developer already signed a CA (old version before JCA). Pladao's UI language switcher works on Linux, Windows, Solaris. Mark as duplicate *** This issue has been marked as a duplicate of 10043 *** Closed as duplicate to 10043. |