l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2004 May 25 17:51

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)
[vox-tech] Locales and installed languages/charsets (in C)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi all:

My question is mostly for Mark.  I am a _complete_ language/locale/charset noob
(I only speak english, for shame).

so here goes:

I have a fltk app (tuxpaint-config) which allows users to reset the language of
the (tuxpaint) application.  However, I need to know how to get things to
display right for an option box, the locale chooser.  I know 'locale -a' lists
all locales, and 'locale -m' lists the charsets available (and the -c option
gives also languages).  What I would like to know is how do I translate
ISO-8599-1 <or> en_US <to> english (so that users can choose the right language
without having to know about locales or charsets).  Ideally, I would like
something that gives output like:  ISO-8599-1:en_US:English (United States), so
I have all the charset/locale/language data and I can choose which to
display...

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 am just too hammered to try to figure this one out...  sorry if I am a doofus
and the answer is simple.

--thanks a million

jan

=====
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
EDUCATION, n. That which discloses to the wise and disguises from the
foolish their lack of understanding.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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.