Re: Language code to language name mapping
- From: Richard Hughes <hughsient gmail com>
- To: Bastien Nocera <hadess hadess net>
- Cc: Tobias Quathamer <toddy debian org>, Christian Perrier <bubulle debian org>, desktop-devel-list <desktop-devel-list gnome org>, Alastair McKinstry <mckinstry debian org>
- Subject: Re: Language code to language name mapping
- Date: Thu, 27 Nov 2008 13:50:55 +0000
On Thu, 2008-11-27 at 09:49 +0000, Bastien Nocera wrote:
> 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.
## PLEASE NOTE: THIS FILE IS DEPRECATED AND SCHEDULED TO BE REMOVED.
## IT IS FOR BACKWARD-COMPATIBILITY ONLY: PLEASE USE THE ISO-639.XML
## FILE INSTEAD.
> There's no points in reinventing the wheel or coming up with crazy
> hacks to parse a 500 line file :)
Right, but I would argue I should have to add an XML parser to
gnome-packagekit just to convert "fr" -> "French". Surely this sort of
translation should be done in Pango? pango_language_to_description()?
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]