l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 May 28 01:07

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Locales and installed languages/charsets (in C)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Locales and installed languages/charsets (in C)

On Tue, May 25, 2004 at 04:53:07PM -0700, Jan W wrote:
> I just need a simple list to give a user that has the locally installed
> languages, and get enough info from this listing to correctly name the locale
> in tuxpaint.conf.

I've noticed on Debian, at least, that there's a file with language name


or some-such.

It would have, for example:


Or something similar.

Now, note, for Tux Paint, the "locale" setting can just be the English name
of the language (like "--lang spanish" or "--lang hebrew"), or a simplified,
accent-less local name for the language (like "--lang espanol" or
"--lang deutsch", as alternatives for Spanish and German).

See Tux Paint's README, man page (ooh, might not be updated in CVS yet!)
or run "tuxpaint --lang help" for a full list of the options.
(It shows both alternatives in columns, if I recall.)

The main point I want to make, if I'm understanding what you're asking for,
is to let you know that you should ONLY provide a dropdown of Tux Paint's
currently-supported languages... and you can do it with their names
(e.g., "spanish"), rather than with locale strings (e.g., "es_ES"). :^)

In the future, we'll want the Tux Paint Config interface itself to be
translatable, so when you're in French mode, you won't see:


you'd see:


in the drop-down menu.

But that we can worry about later. :^)  It'd just be:



And as we release new versions of Tux Paint with more languages, we just
add what's in the dropdown, and they'll eventually get translated to ALL of
the languages the config app supports  (in a perfect world ;^) )

Make sense?  I'm kinda distracted by work, and hungry. ;^]
http://www.newbreedsoftware.com/       nail gun; if wielded improperly,
New Breed Software                       it can cause untold carnage.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.