LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to switch between two languages (https://www.linuxquestions.org/questions/linux-software-2/how-to-switch-between-two-languages-342171/)

aheak 07-11-2005 10:56 AM

how to switch between two languages
 
Hello all, I am a linux newbie. I am using suse 9.2, I want to be able to switch between two
languages (English and Khmer, the default is English). I'm using kde 3.3, I went to the control center->regional & accessibility->keyboard layout. I enable keyboard layouts and the other languages with little flags beside them are ungreyed. I select khmer unicode (kh), I also downloaded some khmer from the internet and store them in:
/usr/X11R6/lib/X11/fonts/truetype directory. Then when I go the kde panel and right click on the little flag to change the language. I tried typing something on the konsole, but all I
am seeing a little squares. Can somebody tell how to switch between two languages.

Thanks in advance,
aheak

marghorp 07-12-2005 04:30 AM

Console will probably not use the changes you applied. You can try it in openoffice and see if that works. It all depends if you have the right fonts installed too.

bigrigdriver 07-12-2005 03:56 PM

You could also try this. /etc/sysconfig/language is the file that stores the language environment variable. Open the file in a text editor, and scroll down the the line that begins: RC_LANG.
Comment out that line (add # in front of it), and add a new line RC_LANG="kh".

Then run (as root) /sbin/SuSEconfig to reconfigure SuSE for Kmer.
Then run, from the bash prompt, this command: 'source /etc/sysconfig/language' to reload the language environment.

Then try the console again. If it works, just use these steps to switch back and forth from English to Kmer by uncomment one RC_LANG line, and commenting out the other. Then run the SuSEconfig and source commands to finish.

All of this assumes that you have the Kmer language, libraries, fonts, and i18n support installed.


All times are GMT -5. The time now is 04:54 PM.