OpenOffice in Chinese locale
Hi, when I start OO in a Chinese locale on my otherwise German SuSE 9.0 system, using export LC_CTYPE=zh_CN (or zh_CN.UTF-8, or LANG=...., or similar) I can input Chinese characters using SCIM, but the file dialog of OO (Open etc) does not handle file or directory names containing German umlaut characters. Such names are not recognized as pertaining to OO files or to directories. Any help? Friedrich -- Friedrich Dimmling, Berlin, Germany
Hello Friedrich, I had the same problem with japanese & german, here's how I got it fixed: In OpenOffice, go to Extras/Optionen/Schriftarten, activate "Ersetzungstabelle anwenden", choose Schriftart: Nimbus Sans, Ersetzen durch: Unifont (at least, these values worked for me). Click the green hook to activate the rule, it should now appear in the box below. You also have to select "Immer" and "Bildschirm". Also, under Extras/Optionen/Zugänglichkeit, deactivate the option called "Systemschriftart für die Benutzeroberfläche verwenden". Click "ok" and it should be fine. Marcel Boeing Am Mittwoch, 21. April 2004 09:11 schrieb Friedrich Dimmling:
Hi,
when I start OO in a Chinese locale on my otherwise German SuSE 9.0 system, using
export LC_CTYPE=zh_CN (or zh_CN.UTF-8, or LANG=...., or similar)
I can input Chinese characters using SCIM, but the file dialog of OO (Open etc) does not handle file or directory names containing German umlaut characters. Such names are not recognized as pertaining to OO files or to directories.
Any help?
Friedrich -- Friedrich Dimmling, Berlin, Germany
Hi Marcel, unfortunately this seems not to work for me. BTW I'm using the OpenOffice 1.1.0 from SuSE 9.0. The font of the menus is changing but directories and file names containing umlaut chars are still not handled properly. Actually they are displayed as having length zero, dirs are not listed at all. Even if I make a symlink to a dir where the name of the link does not contain an umlaut but the dir itself does, I cannot select this directory. Thus it seems to me not a problem of font alone. I have tried export LC_CTYPE=zh_CN and export LC_CTYPE=zh_CN.UTF-8 Friedrich Am Mittwoch, 21. April 2004 20:02 schrieb akimbo337@gmx.de:
Hello Friedrich,
I had the same problem with japanese & german, here's how I got it fixed: In OpenOffice, go to Extras/Optionen/Schriftarten, activate "Ersetzungstabelle anwenden", choose Schriftart: Nimbus Sans, Ersetzen durch: Unifont (at least, these values worked for me). Click the green hook to activate the rule, it should now appear in the box below. You also have to select "Immer" and "Bildschirm". Also, under Extras/Optionen/Zugänglichkeit, deactivate the option called "Systemschriftart für die Benutzeroberfläche verwenden". Click "ok" and it should be fine.
Marcel Boeing
Am Mittwoch, 21. April 2004 09:11 schrieb Friedrich Dimmling:
Hi,
when I start OO in a Chinese locale on my otherwise German SuSE 9.0 system, using
export LC_CTYPE=zh_CN (or zh_CN.UTF-8, or LANG=...., or similar)
I can input Chinese characters using SCIM, but the file dialog of OO (Open etc) does not handle file or directory names containing German umlaut characters. Such names are not recognized as pertaining to OO files or to directories.
Any help?
Friedrich -- Friedrich Dimmling, Berlin, Germany
-- Friedrich Dimmling, Berlin, Germany
Hi Friedrich, what is the output of the command "locale" on your system? Are the menues, dialogs, etc. of OpenOffice displayed in german or chinese? where did you set the LC_CTYPE variable? Marcel Am Mittwoch, 21. April 2004 20:51 schrieb Friedrich Dimmling:
Hi Marcel,
unfortunately this seems not to work for me. BTW I'm using the OpenOffice 1.1.0 from SuSE 9.0. The font of the menus is changing but directories and file names containing umlaut chars are still not handled properly. Actually they are displayed as having length zero, dirs are not listed at all. Even if I make a symlink to a dir where the name of the link does not contain an umlaut but the dir itself does, I cannot select this directory. Thus it seems to me not a problem of font alone. I have tried
export LC_CTYPE=zh_CN and export LC_CTYPE=zh_CN.UTF-8
Friedrich
Am Mittwoch, 21. April 2004 20:02 schrieb akimbo337@gmx.de:
Hello Friedrich,
I had the same problem with japanese & german, here's how I got it fixed: In OpenOffice, go to Extras/Optionen/Schriftarten, activate "Ersetzungstabelle anwenden", choose Schriftart: Nimbus Sans, Ersetzen durch: Unifont (at least, these values worked for me). Click the green hook to activate the rule, it should now appear in the box below. You also have to select "Immer" and "Bildschirm". Also, under Extras/Optionen/Zugänglichkeit, deactivate the option called "Systemschriftart für die Benutzeroberfläche verwenden". Click "ok" and it should be fine.
Marcel Boeing
Am Mittwoch, 21. April 2004 09:11 schrieb Friedrich Dimmling:
Hi,
when I start OO in a Chinese locale on my otherwise German SuSE 9.0 system, using
export LC_CTYPE=zh_CN (or zh_CN.UTF-8, or LANG=...., or similar)
I can input Chinese characters using SCIM, but the file dialog of OO (Open etc) does not handle file or directory names containing German umlaut characters. Such names are not recognized as pertaining to OO files or to directories.
Any help?
Friedrich -- Friedrich Dimmling, Berlin, Germany
-- Friedrich Dimmling, Berlin, Germany
Friedrich Dimmling <f.dimmling@snafu.de> さんは書きました:
when I start OO in a Chinese locale on my otherwise German SuSE 9.0 system, using
export LC_CTYPE=zh_CN (or zh_CN.UTF-8, or LANG=...., or similar)
I can input Chinese characters using SCIM, but the file dialog of OO (Open etc) does not handle file or directory names containing German umlaut characters. Such names are not recognized as pertaining to OO files or to directories.
You need to do the following: 1) use only UTF-8, i.e. use zh_CN.UTF-8, de_DE.UTF-8. Do *not* use any non-UTF-8 locales like zh_CN or de_DE@euro. 2) convert the names of your files containing German umlauts to UTF-8. You can use the "convmv" script for that (convmv is included in your SuSE 9.0 CD/DVD set). See also http://www.suse.de/~mfabian/suse-cjk/encodings-file-names.html 3) use a font for the user interface of OpenOffice which has both German Umlauts and Chinese. You can do this as follows. Edit the file /opt/OpenOffice.org/share/registry/data/org/openoffice/VCL.xcu Look for the fonts specified for "UI_SANS". There are several occurences of "UI_SANS" in that file, edit the one which is in the node for the language you are using for the user interface. For example, if you use simplified Chinese for the user interface: <node oor:name="zh-cn" oor:op="replace"> ... <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string"> <value>Andale Sans UI;ZYSong18030;AR PL SungtiL GB;AR PL KaitiM GB;SimSun;Arial Unicode MS;Fangsong;Hei;Song;Kai;Ming;gnu-unifont;Interface User;WarpSans;Geneva;Tahoma;MS Sans Serif;Helv;Dialog;Albany;Albany AMT;Lucida;Helvetica;Charcoal;Chicago;Arial;Nimbus Sans L;Helmet;Interface System;Sans Serif</value> </prop> ... </node> Move a font which has all characters you need to the front of the list, e.g.: <node oor:name="zh-cn" oor:op="replace"> ... <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string"> <value>Bitstream Cyberbit;Arial Unicode MS;</value> </prop> ... </node> Of course you need such a font like "Bitstream Cyberbit" or "Arial Unicode MS". I don't know any free font which has both Chinese and German Umlauts. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Hello Mike, thank you very much for your help. Next time I shall have a look at your website before putting questions here. Since I do not need Chinese filenames I can leave the user interface font as it is, avoiding system wide changes which might affect other users. I had to manually replace the umlaut entities in my Gnu Cash data file but otherwise I found no problem from changing the default locale for the account in question. So I'm rather happy (so far at least). BTW The Bitstream Cyberbit font is available for noncommercial use from http://titus.uni-frankfurt.de/unicode/unitest2.htm Friedrich -- Friedrich Dimmling, Berlin, Germany
Friedrich Dimmling <f.dimmling@snafu.de> さんは書きました:
BTW The Bitstream Cyberbit font is available for noncommercial use from
But unfortunately it cannot be distributed with SuSE Linux. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (3)
-
akimbo337@gmx.de
-
Friedrich Dimmling
-
Mike FABIAN