🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3810

Re: Example of gettext() program without autoconf

#3810
From: Koos Pol
Date: Mon, 15 Jan 2001 08:05
33 lines
2286 bytes
Charlie Zender wrote:

> Thanks for the info.
> 
> 
> 2. What do "po" and "mo" stand for? just curious

PO = portable object (human readable text for input)
MO = machine object (compiled PO)
> 
> 3. Currently I am testing my i18n features by invoking, e.g., export
> LANG=es at the command line. My spanish translation shows up fine, but
> it uses, i think, the default RedHat 7 character set. How do I change
> the character set in my xterms to be, say, iso-8859 so that things like
> accented characters have a better chance of showing up correctly?
> export LANG=es changes all of the LC_* tokens, but apparently the
> xterm still uses the ascii character set. I want to know how to tell
> a given xterm to really be a spanish/french/... xterm and use the
> correct character set and keyboard mapping.

Somewhere I have read something like LANG=es.iso8859-1
but I am not sure about the details. Maybe you can find something on this 
in the man pages.

I don't know how the change the keyboard settings automagicly. I probably 
would use the regular keyboad mapping commands.
Cheers,

-- 
Koos Pol - Systems Administrator - Compuware Europe B.V. - Amsterdam
T:+31 20 3116122   F:+31 20 3116200   E:koos_pol@nl.compuware.com

Check my email address when you hit "Reply".
Technical Details
Message-ID: <93uavl$mqu@news.nl.compuware.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!newsfeed.online.be!newsfeed1.news.nl.uu.net!sun4nl!nl.compuware.com!usenet
References: <3A58033D.1040505@uci.edu> <izn66jlc4qb.fsf@iki.fi> <3A623AF2.6090302@uci.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,6c31fbd9f931131d
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1025b4,6c31fbd9f931131d
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 2001-01-15 00:20:04 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!newsfeed.online.be!newsfeed1.news.nl.uu.net!sun4nl!nl.compuware.com!usenet
From: Koos Pol <koos_pol@nl.compuware.com_NO_JUNK_MAIL>
Newsgroups: comp.unix.programmer,gnu.misc.discuss
Subject: Re: Example of gettext() program without autoconf
Followup-To: comp.unix.programmer
Date: Mon, 15 Jan 2001 09:05:09 +0100
Organization: None
Lines: 34
Message-ID: <93uavl$mqu@news.nl.compuware.com>
References: <3A58033D.1040505@uci.edu> <izn66jlc4qb.fsf@iki.fi> <3A623AF2.6090302@uci.edu>
NNTP-Posting-Host: c1682.nl.compuware.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8Bit
User-Agent: KNode/0.3.2