Red Hat Bugzilla – Bug 121338
OpenOffice.org script grabs wrong gui language
Last modified: 2007-11-30 17:10:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
Description of problem:
OpenOffice.org ooffice script doesn't choose the gui language
correctly. in my case I have the following locales in .i18n
I should get the menus in English but after upgrading OpenOffice.org
to 1.1.0-15 the /usr/bin/ooffice grabs the gui language from the
locale in wrong way. However it doesn't work the way it should, for
some reason in my case it chooses Chinese (as in LC_CTYPE is for
inputing Chinese) eventhough the ooffice script grabs the locale as
en-us. I fixed this by editing the /usr/bin/office script and hard
coded the language value as 'en'. Previous version of OpenOffice saved
the menu locale (from the first startup) in the file in home
directory. Now it handles it automatically.
Moreover the /usr/bin/ooffice script has an annoyance regarding the
gui language grabbing as it saves an temp file in your home directory,
so when you start OpenOffice.org the temp file flashes in your e.g.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.set the locales as LANG=en_US.UTF-8,
LC_CTYPE="zh_CN.GB18030", and LC_MESSAGES="en_US.UTF-8"
2. start OpenOffice.org
Actual Results: The menu language is wrong, in my case Chinese.
Expected Results: Menus should be in English as set in
*** Bug 122390 has been marked as a duplicate of this bug. ***
This is fixed in FC2.