Setting the locale
Hi,
I am setting the locale using the following commands. export LANG=ja_JP.UTF-8 export LC_ALL=ja_JP.UTF-8 After executing the above command, i issue file command on /usr/lib/test. like "file /usr/lib/test",the expect this command is to find the 32 bit or 64 bit. after setting the locale also i am getting this output in english.I want in japanees how can i do that?. Any clues>. Regards, Sankar |
Setting LC_MESSAGES or LANG should be enough, so there is no need to set LC_ALL. The fact is, that it only affects the language in diagnostic messages and some commands like man.
Using your locale settings (ja_JP.UTF-8), try: Code:
ls --help |
Hi, i am working on solaris and AIX, when i set LANG=ja_JP.UTF-8,by default the LC_MESSAGES and LC_CTYPE values set to ja_JP.UTF-8. This is not happend. is anything dependent on AIX, solaris and Linux...
|
I don't know about AIX, but setting the locale in Solaris works much like linux.
And what do you mean by "when i set LANG=ja_JP.UTF-8,by default the LC_MESSAGES and LC_CTYPE values set to ja_JP.UTF-8. This is not happend" Running Code:
locale -a More details about solaris locales you find here. There is also a utility named localeadm that can be used to manage locales. |
All times are GMT -5. The time now is 06:38 AM. |