02-15-2005
Quote:
Originally Posted by gjduff
russian != german
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have Solaris 7 installed.
When I give the command 'locale' from the box, I am getting all the environment variables as 'de' ! I want it to be in English. How do I change the locale ??
TIA,
Srinivas. (1 Reply)
Discussion started by: snsrini
1 Replies
2. Programming
Hi,
In the sample program, I am trying to print a Japanese string.
The code is as follows:
main()
{
setlocale(LC_ALL,"");
printf("String is %S\n", L"JAP");
// Note "JAP" is a valid japanese string
}
If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Any ideas on how to install the zh_CN (Simplified Chinese) input locale for AIX5.2 ?
Can't seem to find it any where.
S. (2 Replies)
Discussion started by: stumpy
2 Replies
4. Solaris
Hi All,
i am pretty new to sun solaris env.I need to install a french locale onto my machine.Could you please guide me through the steps. (1 Reply)
Discussion started by: sankasu
1 Replies
5. Solaris
Hi All,
I need to install a swedish locale on a solaris machine(ver. 10).I have the package downloaded.Can anyone please guide me through the steps and things i need to keep in mind when doing the same? (7 Replies)
Discussion started by: sankasu
7 Replies
6. Shell Programming and Scripting
Hi all,
today i encounter one weird problem.
I tried to do the sftp of one file from one server to another and try to load that file in some datawarehouse with a informatica(extraction,tranformation and loading tool) . But the tool is rejecting all
later i found that there is some problem in... (0 Replies)
Discussion started by: narang.mohit
0 Replies
7. Solaris
Hi gentlemen.
I would change LANG=C to iso_8859_5.
I have tried some variante, but it doesn't work.
Thanks. (24 Replies)
Discussion started by: wolfgang
24 Replies
8. Solaris
Greetings Forumers!
I've been fighting a locale problem on a v490 running Solaris 10 u4 (8/07). When I login to the system, I get several "locale" error messages:
user1's password:
Last login: Wed May 26 2010 09:14:13 -0400 from system1
You have mail.
couldn't set locale correctly
couldn't... (0 Replies)
Discussion started by: bluescreen
0 Replies
9. UNIX for Dummies Questions & Answers
HI Gurus,
I have a issue. One of our applications needs the data loads with the timezone (CST) but our zones run on GMT. I tried to change the TZ value under /etc/default/init value but it seems to effect the the whole zone. Is there any way I can just set up the TZ as CST for a particular user.... (2 Replies)
Discussion started by: rama krishna
2 Replies
10. Solaris
I am upgrading a machine to Solaris 10 and noticed a change that would cause a problem for us. We have always used en_US.ISO8859-1 and selected that when setting up the new system.
This is the format on our old system
$ date
Fri Sep 21 10:35:51 PDT 2012
And this is what I got on our old... (1 Reply)
Discussion started by: Bryan.Eidson
1 Replies
LEARN ABOUT CENTOS
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.
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), systemd-localed.service(8)
systemd 208 LOCALE.CONF(5)