1833953 Members
2228 Online
110063 Solutions
New Discussion

OS language

 
T G Manikandan
Honored Contributor

OS language

On one of the system when I do a

# swlist |grep RT
HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment
HPUXJpn64RT B.11.00.01 Japanese HP-UX 64-bit Runtime Environment

Am I using the right way to determine the OS Language?
How should I find the OS Language using a system call?


Thanks
9 REPLIES 9
Umapathy S
Honored Contributor

Re: OS language

TGM,
Is locale what you are searching for?

Sorry if I had misunderstood your question.

-Umapathy

Arise Awake and Stop NOT till the goal is Reached!
Michael Roeder
Frequent Advisor

Re: OS language

echo $LANG
cat /etc/rc.config.d/LANG
T G Manikandan
Honored Contributor

Re: OS language

What OS 'Japanese ||English'??
Bruno Vidal
Respected Contributor

Re: OS language

Hi,
I think you are making a small misunderstanding, even English hpux is able to speak german,french or whatever language (nearly true). There is no "OS language", it depends of each user, the /etc/rc.config.d/lang is here for the primary user that launch inetd, syslog, and all other deamon. The "system call" you are looking for is the command: locale, and by default it is "C", and this C is a link under /usr/lib/nls, and you can change it to whatever you wants. Now some lanuage like Japan, Korean, need some extra binaries, but that's all. Hope this helps.

Cheers.
Ravi_8
Honored Contributor

Re: OS language

Hi,

OS language will be the one which you have selected during initial installation.
Japanese that is found in u r case is a locale.

In my case we use many Asian locales to test MQSeries product, but the OS langugage is the English

#swlist |grep -i rt
HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment
HPUXJpn64RT B.11.00.01 Japanese HP-UX 64-bit Runtime Environment
HPUXKor64RT B.11.00.02 Korean HP-UX 64-bit Runtime Environment
HPUXSCh64RT B.11.00.01 Simplified Chinese HP-UX 64-bit Runtime Environment
HPUXTCh64RT B.11.00.01 Traditional Chinese HP-UX 64-bit Runtime Environment
never give up
T G Manikandan
Honored Contributor

Re: OS language

But I have just got confused with

Multilingual license of OS and
English license of OS

Can someone describe this and close this?

THis small thing is bugging me!!
T G Manikandan
Honored Contributor

Re: OS language

But I have just got confused with

Multilingual license of OS and
English license of OS

Can someone describe this and close this?

THis small thing is bugging me!!
Ravi_8
Honored Contributor

Re: OS language

TG

For 11.0 you need to buy Asian language support RTE (run time env) (it costs around $20K at the time we bought), where as for 11i these locales are inbuild.

# swlist -l fileset|grep -i local
Asian-Core.ASX-JPN-E-MAN A.03.00 Japanese (EUC) localized manual pages for ASX-MAN
Asian-Core.ASX-JPN-S-MAN A.03.00 Japanese (Shift-JIS) localized manual pages for ASX-MAN
Asian-UTILITY.UTILS-SCH-RUN A.03.00 Simplified Chinese localized messages for UTILS-RUN
Asian-UTILITY.UTILS-TCH-RUN A.03.00 Traditional Chinese localized messages for UTILS-RUN

above o/p is for m/c runing 11i.

In 11.0 if you didn't install any locales English is the default.
then it shows
HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment.
never give up
Ravi_8
Honored Contributor

Re: OS language

TG

For 11.0 you need to buy Asian language support RTE (run time env) (it costs around $20K at the time we bought), where as for 11i these locales are inbuild.

# swlist -l fileset|grep -i local
Asian-Core.ASX-JPN-E-MAN A.03.00 Japanese (EUC) localized manual pages for ASX-MAN
Asian-Core.ASX-JPN-S-MAN A.03.00 Japanese (Shift-JIS) localized manual pages for ASX-MAN
Asian-UTILITY.UTILS-SCH-RUN A.03.00 Simplified Chinese localized messages for UTILS-RUN
Asian-UTILITY.UTILS-TCH-RUN A.03.00 Traditional Chinese localized messages for UTILS-RUN

above o/p is for m/c runing 11i.

In 11.0 if you didn't install any locales English is the default.
then it shows
HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment.
never give up