Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

system locale

system locale

Hi,

How to change the default system locale to different language in HP-UX 11.11/11.31
3 REPLIES
Jim Walls
Trusted Contributor

Re: system locale

man 1M localedef
man 4 localedef

muruganantham raju
Valued Contributor

Re: system locale

Hi Bhushan,

To set the locale to say simplified Chinese Check whether the locale is installed in the system
# locale -a | grep -i zh_CN.hp15CN
zh_CN.hp15CN

If the locale is installed, then set the locale
# export LANG=zh_CN.hp15CN
# export LC_ALL=zh_CN.hp15CN

Execute locale command to confirm that locale is set to simplified Chinese
# locale
LANG=zh_CN.hp15CN
LC_CTYPE="zh_CN.hp15CN"
LC_COLLATE="zh_CN.hp15CN"
LC_MONETARY="zh_CN.hp15CN"
LC_NUMERIC="zh_CN.hp15CN"
LC_TIME="zh_CN.hp15CN"
LC_MESSAGES="zh_CN.hp15CN"
LC_ALL=zh_CN.hp15CN

Regards,
Muru
Dennis Handly
Acclaimed Contributor

Re: system locale

set_parms(1m) points to /etc/rc.config.d/LANG.

Or you can change /etc/profile.