Hi folks,
Okay, OpenOffice 2.0 is now spewing out the error message:
I18N: Operating system doesn't support locale "en_US"
Hmmm. So, from what I understand from the documentation I have
looked at, this is because I do not have an entry in the /etc/
login.conf file covering this entry. Yes/no?
Another thing - as I look in /etc/login.conf, I DO have a
Russian entry. Why? I assume this is a default, since I have
not done anything to /etc/login.conf previously.
So, if I do need to create an entry in the login.con file,
what is the charset that I define?
Thank you,
Bruce
--
------------------------------------------------------------------------
"I like bad!" Bruce Burden Austin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes
On Mon, Feb 13, 2006 at 09:32:18PM -0600, Bruce Burden wrote:> Okay, OpenOffice 2.0 is now spewing out the error message: > > I18N: Operating system doesn't support locale "en_US" > > Hmmm. So, from what I understand from the documentation I have > looked at, this is because I do not have an entry in the /etc/ > login.conf file covering this entry. Yes/no?Sorry, I don't know, but you can also define the cahrset and lang variables in your tcshrc, cshrc or bashrc (depends on the used shell).> Another thing - as I look in /etc/login.conf, I DO have a > Russian entry. Why? I assume this is a default, since I have > not done anything to /etc/login.conf previously.Yes, you have a Russian entry in the login.conf - why not? In the login.conf you can define several login classes and in the fifth column of the master.passwd you can specify the login class for each user. If no login class is specifed the login class "default" is used. Jan -- Jan Schlesner Tel: +49 30 314 27681 Institut f?r Theoretische Physik Fax: +49 30 314 21130 Technische Universit?t Berlin Hardenbergstr. 36, Sekr. PN 7-1, 10623 Berlin -- [ gpg key: http://wwwds.physik.tu-berlin.de/~jan/jschlesn.gpg ] [ key fingerprint: 4236 3497 C4CF 4F3A 274F B6E2 C4F6 B639 1DF4 CF0A ]
Bruce Burden <brucegb@realtime.net> wrote:
> Okay, OpenOffice 2.0 is now spewing out the error message:
>
> I18N: Operating system doesn't support locale "en_US"
>
> Hmmm. So, from what I understand from the documentation I have
> looked at, this is because I do not have an entry in the /etc/
> login.conf file covering this entry. Yes/no?
Locales are searched for in /usr/share/locales, and there
is no locale "en_US". The next closest locale would be
"en_US.US-ASCII". You could make a Symlink to en_US, but
that's an ugly hack, of course. :-)
Better set your locale environment to one of the existing
locales. You can do that globally via /etc/login.conf,
or just for yourself in your shell's login profikle/script.
> Another thing - as I look in /etc/login.conf, I DO have a
> Russian entry. Why?
Those are just examples.
> So, if I do need to create an entry in the login.con file,
> what is the charset that I define?
Depends on what charset you want. :-)
On my local machine here, I changed the "default" entr (at
the very beginning) to look like this:
default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,LC_CTYPE=de_DE.ISO8859-1:\
...etc...
i.e. I set the default to German locale with ISO8859-1
charset (that's because all users on that machine are
German anyway). Also, I set only LC_CTYPE to get the
character set support, but none of the other locale
variables, to avoid nasty surprises.
If you just want an US-ASCII character set, use the
"en_US.US-ASCII" locale instead. See /usr/share/locale
for all locales that are supported.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"The ITU has offered the IETF formal alignment with its
corresponding technology, Penguins, but that won't fly."
-- RFC 2549