Re: Language code to language name mapping
- From: Bastien Nocera <hadess hadess net>
- To: Behdad Esfahbod <behdad behdad org>
- Cc: Tobias Quathamer <toddy debian org>, desktop-devel-list <desktop-devel-list gnome org>, Christian Perrier <bubulle debian org>, Alastair McKinstry <mckinstry debian org>
- Subject: Re: Language code to language name mapping
- Date: Thu, 27 Nov 2008 09:49:50 +0000
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]