Operating System - HP-UX
1825734 Members
2537 Online
109687 Solutions
New Discussion

locale is missing from the server.

 
Tvs
Regular Advisor

locale is missing from the server.

Hi all .
In one of my system ,It looks like a locale is missing from the server.

Need to have locale;
zh_CN.gb18030
please help me. to find How to do that.
# /usr/bin/locale -a | grep -i zh_CN
zh_CN.hp15CN
zh_CN.utf8

but i can find these files.
# find / -name zh_CN.gb18030
/usr/dt/lib/nls/msg/zh_CN.gb18030
/usr/dt/app-defaults/zh_CN.gb18030
/usr/dt/appconfig/appmanager/zh_CN.gb18030
/usr/dt/appconfig/types/zh_CN.gb18030
/usr/dt/config/xfonts/zh_CN.gb18030
/usr/dt/config/zh_CN.gb18030
/usr/dt/share/examples/types/zh_CN.gb18030

3 REPLIES 3
Court Campbell
Honored Contributor

Re: locale is missing from the server.

the default locations are as follows:

32-bit system: /usr/lib/nls/loc/locales
64-bit system: /usr/lib/nls/loc/pa20_64/locales

I would use the file command to see which of the files from your find command is 64-bit. then copy that file to /usr/lib/nls/loc/pa20_64/locales.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: locale is missing from the server.

Note: I am assuming your running a 64-bit version of HP-UX. If not then find the 32-bit fiel and place it in the /usr/lib/nls/loc/locales.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Dennis Handly
Acclaimed Contributor

Re: locale is missing from the server.

You may need to use "locale -A" to get both 32 and 64 bit locale. (What OS version?)

The stuff in /usr/dt/ is probably only for CDE and not locales.

You need to make sure you have the International.CHINESES fileset installed, or reinstalled.