Linux 2 users - 2 different languages environment
Hi, I installed my last sue 9.0 in french. I also installed all the chinese related packages. I created 2 users. I want to have one in french and the other in chinese. When I change the language in chinese for one user the other one becomes also in chinese. Just the root stay in french. Hox can I do to have a user (me) in french and the other (my wife) in chinese ? Thanks a lot for all your help. Have a nice day, Angeleyes _________________________________________________________________
Angeleyes. Have a look at Mike's instructions at http://www.suse.de/~mfabian/suse-cjk/locales-sysconfig.html And scroll down to changing the .profile file for each user. It sounds like you can get Chinese set up for the whole system via /etc/ sysconfig/language When you do this and enter a chinese desktop are the character displaying properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly. Anyone else have the same problem? Jethro On Wednesday 19 November 2003 18:15, Lau Mig wrote:
Hi,
I installed my last sue 9.0 in french. I also installed all the chinese related packages. I created 2 users. I want to have one in french and the other in chinese.
When I change the language in chinese for one user the other one becomes also in chinese. Just the root stay in french.
Hox can I do to have a user (me) in french and the other (my wife) in chinese ?
Thanks a lot for all your help.
Have a nice day,
Angeleyes
_________________________________________________________________
-- Jethro Cramp jsc@rock-tnsc.com
Jethro Cramp
When you do this and enter a chinese desktop are the character displaying properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly.
Which characters are missing?
Can you show an example (e.g. mail me a screen shot off-list)?
--
Mike FABIAN
Am Dienstag, 19. November 2002 17.13 schrieb Jethro Cramp unter "Re: [m17n] Linux 2 users - 2 different languages environment":
When you do this and enter a chinese desktop are the character displaying properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly.
Anyone else have the same problem?
Yes. Change the font (to GNU Unifont) in all applications. I think the default font does not support simplified chinese, so only the characters identical to traditional chinese are shown correctly, but I did not investigate on this, I'm only guessing. Do you use modern (simplified) chinese too (zh_CN.UTF-8)? Has anyone the same problem with taiwanese dialect (zh_TW.UTF-8)? Regards Marc Wäckerlin
On Wednesday 19 November 2003 19:49, Marc Waeckerlin wrote:
properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly.
Anyone else have the same problem?
Yes. Change the font (to GNU Unifont) in all applications.
Presumably for KDE apps that's done from qtconfig?
I think the default font does not support simplified chinese, so only the characters identical to traditional chinese are shown correctly, but I did not investigate on this, I'm only guessing.
I'll check it at the office tomorrow.
Do you use modern (simplified) chinese too (zh_CN.UTF-8)? Has anyone the same problem with taiwanese dialect (zh_TW.UTF-8)?
Yes I use simplified chinese too with the UTF-8 encoding. Jethro -- Jethro Cramp jsc@rock-tnsc.com
Jethro Cramp
On Wednesday 19 November 2003 19:49, Marc Waeckerlin wrote:
properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly.
Anyone else have the same problem?
Yes. Change the font (to GNU Unifont) in all applications.
Presumably for KDE apps that's done from qtconfig?
No, that's done in the specific KDE application. For example
Konqueror, Kwrite, ... have their own font settings in their setup
dialogs. For KDE applications which don't have their own font
settings, you can set it in the font dialog of the KDE control centre.
The font substitutions which can be set in qtconfig, see
http://www.suse.de/~mfabian/suse-cjk/kde-font-setup.html
have an effect on KDE applications, but the default font setting from
qtconfig has not, it is overridden by the font settings in KDE.
--
Mike FABIAN
Marc Waeckerlin
Am Dienstag, 19. November 2002 17.13 schrieb Jethro Cramp unter "Re: [m17n] Linux 2 users - 2 different languages environment":
When you do this and enter a chinese desktop are the character displaying properly? I'm going into KDE and I have 'missing' characters; characters are not being displayed properly.
Anyone else have the same problem?
Yes. Change the font (to GNU Unifont) in all applications.
I think the default font does not support simplified chinese, so only the characters identical to traditional chinese are shown correctly, but I did not investigate on this, I'm only guessing.
I also guess it is a font problem. But I think the free Chinese TrueType fonts "AR PL SungtiL GB" and "AR PL KaitiM GB" should work too for simplified Chinese, i.e. it shouldn't be necessary to use "GNU Unifont", you can also use one of these. The "fc-list" command can show you which outline fonts support Chinese: mfabian@magellan:~$ fc-list ":lang=zh-CN:outline=true" AR PL SungtiL GB:style=Regular AR PL KaitiM GB:style=Regular Bitstream Cyberbit:style=Roman mfabian@magellan:~$ fc-list ":lang=zh-TW:outline=true" AR PL KaitiM Big5:style=Regular AR PL Mingti2L Big5:style=Reguler Bitstream Cyberbit:style=Roman mfabian@magellan:~$ ("Bitstream Cyberbit" is a commercial font, the "AR PL" fonts are free and are included in SuSE Linux (package names are ttf-arphic*)).
Do you use modern (simplified) chinese too (zh_CN.UTF-8)? Has anyone the same problem with taiwanese dialect (zh_TW.UTF-8)?
I don't think this has anything to do with the encoding.
--
Mike FABIAN
Am Mittwoch, 19. November 2003 13.03 schrieb Mike FABIAN unter "Re: [m17n] Linux 2 users - 2 different languages environment":
I don't think this has anything to do with the encoding.
If the default font only supports traditional chinese, then it works with zh_TW, but not with zh_CN. As far as I know, traditional and simplified chinese characters have a different unicode for the same character, it's not only a different font, so encoding plays an important role. Regards Marc -- Marc Wäckerlin
"Lau Mig"
I installed my last sue 9.0 in french. I also installed all the chinese related packages. I created 2 users. I want to have one in french and the other in chinese.
When I change the language in chinese for one user the other one becomes also in chinese. Just the root stay in french.
How did you do that? What are the contents of /etc/sysconfig/language on your system?
Hox can I do to have a user (me) in french and the other (my wife) in chinese ?
Write
export LANG=fr_FR.UTF-8
in to ~/.profile in your home directory and
export LANG=zh_TW.UTF-8
into the same file in the home directory of your wife.
--
Mike FABIAN
participants (4)
-
Jethro Cramp
-
Lau Mig
-
Marc Waeckerlin
-
Mike FABIAN