Re: Language code to language name mapping



On Wed, 2008-11-26 at 22:32 -0500, Behdad Esfahbod wrote:
> Bastien Nocera wrote:
<snip>
> > How often do you actually need to do it? What's actually used for right
> > now?
> 
> This was in the context of a new feature Richard and I are adding to
> packagekit that prompts the user to install fonts for a language.  Not often
> at all.

Then just use iso-codes. You can either choose to use the XML file, or
the 500k /usr/share/iso-codes/iso_639.tab tab-separated file.

There's no points in reinventing the wheel or coming up with crazy hacks
to parse a 500 line file :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]