Operating System - Linux
1755744 Members
2893 Online
108837 Solutions
New Discussion юеВ

retrieve current language informations

 
SOLVED
Go to solution
Christian Marquardt_1
Regular Advisor

retrieve current language informations

Hello,
I need to retrieve informations about the current language settings in hp/ux 11iv2. I need to know which does effect to the runing operating system.
Can anyone help me?

regards
Christian
7 REPLIES 7
Peter Godron
Honored Contributor
Solution

Re: retrieve current language informations

Christian,
document at:
http://docs.hp.com/en/5990-8560/index.html
should help.
For example you can set german in csh:
setenv LANG de_DE.utf8
harry d brown jr
Honored Contributor

Re: retrieve current language informations


locale

man locale
man localedef

http://en.wikipedia.org/wiki/Locale

live free or die
harry d brown jr
Live Free or Die
Victor BERRIDGE
Honored Contributor

Re: retrieve current language informations

Hi Christian,
Not sure I understood your question, so do a man lang and tell us if it your subject

All the best
Victor
RAC_1
Honored Contributor

Re: retrieve current language informations

locale
locale -a
There is no substitute to HARDWORK
Christian Marquardt_1
Regular Advisor

Re: retrieve current language informations

Hi all,
if I try locale the output is:
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

Does the empty value for LANG mean that LANG is set to a default value? If so - what is the default???
I only need to know which language settings are actually set in my hp/ux system.

regards
Christian
James R. Ferguson
Acclaimed Contributor

Re: retrieve current language informations

Hi Christian:

'LANG' is important if the LC_xxx variables are null in which case valid values are supported locales defined by 'lang(5)'.

See the manpages for 'localedef(1M), 'charmap(4)' and 'environ(5)' for more information.

Regards!

...JRF...

Christian Marquardt_1
Regular Advisor

Re: retrieve current language informations

I've found a document via google.