Language modules language defaults to Czech

Bug #366648 reported by arky
2
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

Oo>Options>Language Settings>Writing Aids

   All language modules default language is Czech what ever the system locale

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: openoffice.org 1:3.0.1-9ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: openoffice.org
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
arky (arky) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

Does moving/removing the ~/.openoffice.org* directories help?

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
arky (arky) wrote :

Chris, deleting the openoffice folder doesn't make a different. I have done four more installations today and I confirm this problem on openoffice installation in Jaunty

Revision history for this message
Chris Cheney (ccheney) wrote :

Does it happen for you on all four installs? If so what settings did you use for the install? It appears you setup your system as US (English) when you installed it, is that correct?

Chris

Revision history for this message
arky (arky) wrote :

Yes, the system is US (English)

Test Case:
1) Do a fresh install using US (English) as default locale
2) Open Oo tools>Options>Language Settings>Writing Aids
3) Select Hunspell Spellchecker and click Edit button
4) Look Language: dropdown box is selected to Czech

You'll find the default language for that module is Czech.

You can also Libhyphen Hyphenator, Openoffice.org New Theasaurus, it would also show same settings.

Revision history for this message
Chris Cheney (ccheney) wrote :

It shows up as English (USA) for me.

What does the output from 'locale' in a terminal show?

Revision history for this message
arky (arky) wrote :

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem with the new version of OOo in the ppa at https://launchpad.net/~openoffice-pkgs/+archive ?

Revision history for this message
arky (arky) wrote :

I have latest openoffice.org from Karmic. I think its the same version as the one in openoffice PPA. Would test to see the bugs exists in this version and report it here.

$ apt-cache policy openoffice.org
openoffice.org:
  Installed: 1:3.1.0-3ubuntu2
  Candidate: 1:3.1.0-3ubuntu2
  Version table:
 *** 1:3.1.0-3ubuntu2 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
arky (arky) wrote :

Removing .openoffice.org* files and testing didn't reproduce this bug in latest openoffice.org ( 1:3.1.0-3ubuntu2 ).

However since bug was discovered while installing ubuntu I would wait until release of Karmic Alpha 1 desktop and try to reproduce the bug.

Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
arky (arky) wrote :

Able to reproduce the bug with Karmic Alpha 2 release.

arky (arky)
Changed in openoffice.org (Ubuntu):
status: Fix Released → New
Revision history for this message
arky (arky) wrote :

Testing Karmic daily build. Looks like the openoffice selects the first locale is czech("cs-CZ") in the ServiceManager instead of DefaultLocale.

$ head -n 15 ~/.openoffice.org/3/user/registry/data/org/openoffice/Office/Linguistic.xcu
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">
 <node oor:name="General">
  <prop oor:name="DefaultLocale" oor:type="xs:string">
   <value>en-IN</value>
  </prop>
 </node>
 <node oor:name="ServiceManager">
  <node oor:name="HyphenatorList">
   <prop oor:name="cs-CZ" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>
   <prop oor:name="da-DK" oor:op="replace" oor:type="oor:string-list">
    <value>org.openoffice.lingu.LibHnjHyphenator</value>
   </prop>

$ apt-cache policy openoffice.org-core
openoffice.org-core:
  Installed: 1:3.1.0-5ubuntu1
  Candidate: 1:3.1.0-5ubuntu1
  Version table:
 *** 1:3.1.0-5ubuntu1 0
        100 /var/lib/dpkg/status

Revision history for this message
arky (arky) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

I still can't reproduce this problem, can anyone else besides arky? If so can you tell me exactly what you did to do so. I have no idea why I can't reproduce the problem.

Thanks,

Chris Cheney

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
arky (arky) wrote :

Chris, Thanks for looking at this problem.

Give it one more short, boot the latest Karmic daily build LiveCD and then open tools>Options>Language Settings>Writing Aids.

You will see that the default is Czech.

Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
arky (arky) wrote :

Thank you for accepting this bug Chris!

Revision history for this message
Chris Cheney (ccheney) wrote :

I haven't verified it on my system yet, but marked it as confirmed to make sure it doesn't get marked invalid before further testing.

Chris

Chris Cheney (ccheney)
tags: added: jaunty
Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem on Ubuntu 10.04 LTS (Lucid)? I can't reproduce the problem and tried going to the page as you mentioned on a live cd and it shows up as English as expected.

Chris

Changed in openoffice.org (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chris Cheney (ccheney) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in openoffice.org (Ubuntu):
status: Incomplete → Expired
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.