LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware, and internationalization (http://www.linuxquestions.org/questions/slackware-14/slackware-and-internationalization-507988/)

t_maggot 12-06-2006 05:28 PM

Slackware, and internationalization
 
I am runing fluxbox on X 6.8.2 and slackware 10.2 and i want to find the mechanism to allow my machine display another character set...
Can anyone give me information about configure/addto the default charecter set on X? I am also interested whith internationalization in the shell bash (out of X), to edit another character set files. (the language is Greek). I mention that isn't so easy to find (documentaion for) a common way to configure a linux machine (and slackware)for internationalization. I think this is not so hard task, but it can be better documented. Any information well accepted.

Ilgar 12-06-2006 09:40 PM

What do you mean by the default character set in X? X applications like browsers can work with several charsets, usually configured from within the program. If you mean keyboard layout, you can modify /etc/X11/xorg.conf and add Greek. For console, you can try to put into /etc/profile (this is for bash) commands like

export LANG=gr
export LC_ALL=gr

and so on. It may not be exactly as I stated above, please make a Google search and you will find. Finally, you may need some console fonts and Greek language support for the console (compiled into the kernel?). Utf-8 may also do, as it covers almost all the characters around.

Sorry for the vague answers, I hope they will be useful to you.

Also, AFAIK, Utf support (in menus, window title bars etc) has been added to fluxbox recently, so you may need the 1.0rc2 package for that , please check the fluxbox documentation.

tuxdev 12-06-2006 11:27 PM

It would be better if you adjusted /etc/profile.d/lang.sh and its sister script. This is what I've got for mine sans comments (language is Japanese, mostly):
Code:

export LANG="ja_JP.utf8"
export LC_MESSAGES="en_US"
export XMODIFIERS="@im=kinput2"
export LC_COLLATE=C



All times are GMT -5. The time now is 11:02 PM.