09-11-2009
Add language en_US Solaris 10
Hello,
I have a Sun Solaris 10 installs by default in French.
I do not have CDs of the OS installation.
I have a program use the language en_US.
At connection language chosen is C (en_USxxxx not available)
I open a console $ LANG C
if LANG = en_US I get "could not set correctly local"
Sun Microsystems Inc.. SunOS 5.10 Generic January 2005
# Echo $ LANG
C
# Sh
# LANG = en_US
Local could not set correctly
I think
edit /etc/default/init
TZ=Europe/Paris
CMASK=022
LC_COLLATE=fr_FR.ISO8859-1
LC_CTYPE=fr_FR.ISO8859-1
LC_MESSAGES=fr
LC_MONETARY=fr_FR.ISO8859-1
LC_NUMERIC=fr_FR.ISO8859-1
LC_TIME=fr_FR.ISO8859-1
remove all LC_*
and install the package LANG en.US UTF-8
I forget something?
But what package?
Thank you
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
can any one point me to a procdure to add lang to dsl os (Damn Small Linux )
TU
:) (2 Replies)
Discussion started by: lione.heart
2 Replies
2. AIX
please someone provide me the link for downloading en_us.utf-8 .....i have an issue with locale for which i need this :( (1 Reply)
Discussion started by: shubhendu.pyne
1 Replies
3. Solaris
Hy together,
I doesn't find a table of en_US.IS08859-1. Have someone a link or same else?
Thanks
Urs (1 Reply)
Discussion started by: MuellerUrs
1 Replies
4. Solaris
Hi,
I am looking to install en_US.UTF-8 on to a solaris 10 Sparc server. Is it possible to install this character set from the iso image? I have an iso image only (sol_10_u.iso) on CD.
I have used the command below but with no success. Any pointers to get this installed would be greatly... (5 Replies)
Discussion started by: gwhelan
5 Replies
5. Solaris
Bonjour,
J'ai une station Sun en Solaris 10 installe par defaut en Francais.
Je n'ai pas les Cds de cette installation d'OS.
J'ai un logiciel qui doit utiliser la langue en_US.
A la baniere de connection la langue choisi est C (pas de en_USxxxx disponible)
J'ouvre une console $LANG vaut C,... (1 Reply)
Discussion started by: XRay
1 Replies
6. Shell Programming and Scripting
I'm parsing around 600K xml files, with roughly 1500 lines of text in each, some of the lines include Chinese, Russian, whatever language, with a bash script that uses
cat $i | xmlstarlet sel -t -m "//section1/section2/section3/section4/section5" -v "@VALUE" -n > somefile
which works, but I... (15 Replies)
Discussion started by: unclecameron
15 Replies
7. UNIX for Dummies Questions & Answers
For some reason when I do a date command I get response in another language:
maandag 15 augustus 2011 15.13 u. EDT
/etc/default/init file has this:
TZ=US/Eastern
CMASK=022
How do I change locale to English?
This is Solaris 10 x86 (3 Replies)
Discussion started by: bratan
3 Replies
8. Solaris
hi,
I am using SOLARIS sparc 64 bit, during installation of Oracle i receive an error required OS locale en_US.UTF-8 does not exist on the installation computer. To avoid this issue, please ensure that the locale en_US.UTF-8 exists on the installation computer prior to installing Oracle.
when... (4 Replies)
Discussion started by: zeeshan047
4 Replies
9. AIX
Upon doing an lslpp -L | grep ssh I notice the following package is missing:
openssh\.msg\.en_US - Open Secure Shell Messages
I would like to know what exactly does this package do, and is it needed.
It does not appear to be necessary as I can connect to my AIX boxes just fine without it.
... (4 Replies)
Discussion started by: busi386
4 Replies
10. Red Hat
i need for a right to left language support, in red hat EL6 , for repository problem, i never could to use from yum-solution,
when i try from Gnu Desktop:
Desktop --> system --> preference --> keyboard --> layouts --> Add
and Add second language,the second language is ok but i lose English... (4 Replies)
Discussion started by: alwaystudent
4 Replies
LEARN ABOUT OPENSOLARIS
locale.conf
LOCALE.CONF(5) locale.conf LOCALE.CONF(5)
NAME
locale.conf - Configuration file for locale settings
SYNOPSIS
/etc/locale.conf
DESCRIPTION
The /etc/locale.conf file configures system-wide locale settings. It is read at early boot by systemd(1).
The basic file format of locale.conf is a newline-separated list of environment-like shell-compatible variable assignments. It is possible
to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported, allowing
applications to read the file without implementing a shell compatible execution engine.
Note that the kernel command line options locale.LANG=, locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=, locale.LC_TIME=,
locale.LC_COLLATE=, locale.LC_MONETARY=, locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=, locale.LC_ADDRESS=, locale.LC_TELEPHONE=,
locale.LC_MEASUREMENT=, locale.LC_IDENTIFICATION= may be used to override the locale settings at boot.
The locale settings configured in /etc/locale.conf are system-wide and are inherited by every service or user, unless overridden or unset
by individual programs or individual users.
Depending on the operating system, other configuration files might be checked for locale configuration as well, however only as fallback.
/etc/vconsole.conf is usually created and updated using systemd-localed.service(8). localectl(1) may be used to alter the settings in this
file during runtime from the command line. Use systemd-firstboot(1) to initialize them on mounted (but not booted) system images.
OPTIONS
The following locale settings may be set using /etc/locale.conf: LANG=, LANGUAGE=, LC_CTYPE=, LC_NUMERIC=, LC_TIME=, LC_COLLATE=,
LC_MONETARY=, LC_MESSAGES=, LC_PAPER=, LC_NAME=, LC_ADDRESS=, LC_TELEPHONE=, LC_MEASUREMENT=, LC_IDENTIFICATION=. Note that LC_ALL may not
be configured in this file. For details about the meaning and semantics of these settings, refer to locale(7).
EXAMPLE
Example 1. German locale with English messages
/etc/locale.conf:
LANG=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
SEE ALSO
systemd(1), locale(7), localectl(1), systemd-localed.service(8), systemd-firstboot(1)
systemd 237 LOCALE.CONF(5)