Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Fri Jul 18, 2003 9:18 am Post subject: International version: no german loc.
Hello,
I've downloaded 1.0.1-dmg and installed it. I have now a bigger font, but not a german localisation. I can alter the language settings, but that doesn't change the menu language. After restarting NeoOffice/J, the language settings are reset to "default".
Here is what I do to change the language to German:
1. Open the System Preferences tool and click on the Languages tab.
2. In the Languages list box, drag "Deutsch" to the top of the list.
3. Launch NeoOffice/J (or close it and restart)
After doing the above, I get the German menu's (e.g. Datei, Bearbeiten, etc.).
Were you selecting the German flag from the Mac OS X system menu? If so, selecting a flag only changes your keyboard layout, not your preferred language.
I don't think the problem is due to Java 1.4.1 Update DP102 as the language settings and text selection is done outside of Java.
Instead, there is probably a bug in my setup script. Can you check the Library/NeoOfficeJ/user/config/registry/instance/org/openoffice/Setup.xml file in your home directory. If it is setup script is properly detecting you German language preference, you should see the following lines in the file:
I've tried the setup -locale de, but with no real effect. The Setup.xml was set after that to ">de<", but after the next start of NeoJ it is set again to ">ge<".
For a mor efficient communication, you can reach me vie AIM/iChat as "schlesix", if you want.
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Fri Jul 18, 2003 11:14 pm Post subject: German loc.
Hi Patrick,
"Deutsch" *is* in the top of the languages, followed by English. French, Netherlandish, Italian and an asian-looking language. Georgian doesn't appear in this list!
Well I'm stumped. NeoOffice/J uses that OOo code in its sal module to fetch the preferred language. So all I can think is that the "de" fetched using the OOo code is getting mangled into "ge" somewhere. This looks one of those bugs that is going to make us work to find out what is causing it.
Just an experiment, could you execute the following command in a terminal? I know that the OOo code should take the first language listed in the output:
Joined: Jun 07, 2003 Posts: 234 Location: near Cologne, Germany
Posted: Sat Jul 19, 2003 5:01 am Post subject: German loc.
Hi Patrick,
meanwhile I've downloaded OO 1.0.3 for X11 and the i18n-package. The i18n automatically recognized my language setting and "germanized" my OO/X11. There seems to be a difference between NeoOffice/J and the OO.
If the string "LOCALE" is not there is something different, then this is the source of the problem. When you launch NeoOffice/J, it looks for this string and replaces it with the preferred language.
If the file does not contain the above lines, try deleting this file and rerunning NeoOffice/J. This will cause NeoOffice/J to recreate the file.
So your file looks OK so let's look at the next step. The file gets editing by the following script (assuming that you installed NeoOffice/J in the /Applications directory):
To test this script, open a new terminal and execute the following command:
Code:
sh -x /Applications/NeoOfficeJ.app/Contents/program/setup -locale de
This should echo every line that the setup script is executing. After you run the above command and before you launch NeoOffice/J, check if the Library/NeoOfficeJ/user/config/registry/instance/org/openoffice/Setup.xml file contains the following lines:
The problem is that the AppleLanguages key should not have language names but should only have ISO636 language codes like this:
Code:
(de, en, nl, fr, it, ja, es)
When the AppleLanguages key gets corrupted like this, Mac OS X sees "German" and, since this makes no sense, tells NeoOffice/J that the locale is "ge".
Fortunately, correcting your AppleLanguages key is fairly easy. Just do the following:
1. Open SystemPreferences and, in the Language tab, press the "Edit" button.
2. In the dialog pane that appears, uncheck all of the checked languages and press the "OK" button.
3. Press the "Edit" button again and check all of the languages that you unchecked in step 2 and press the "OK" buttons.
4. Run NeoOffice/J and check Setup.xml to see if you get the correct language.
BTW, in an earlier post, you executed the following command:
Code:
defaults write AppleLanguages = '(de, en)'
This created a new "domain" with no key instead of changing the AppleLanguages key in the "Apple Global Domain" domain. This is why you see more than one AppleLanguages key. You can remove this AppleLanguages domain by executing the following command:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum