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

Bug#576262: ITP: django-countries -- Provides fixtures, models and flags for countries by ISO 3166-1 alpha-2 code



Am Freitag, den 02.04.2010, 18:11 +0800 schrieb Paul Wise:
> On Fri, 2010-04-02 at 12:03 +0200, Michael Fladischer wrote:
> > Wouldn't it be even better if django-countries build-depends on
> > iso-codes and generate it's list of codes from the XML sources?
> 
> I suppose so, unless there are some differences. IIRC iso-codes includes
> lots of translations and django-countries seems to allow for
> translations to the country names.

Translations are a major part of iso-codes. We constantly receive
updates and release a new version every four weeks.

> Runtime loading of the iso-codes stuff would be better than
> build-depends though.

You might want to take a look at the package isoquery, which provides a
command line program to generate various lists of the XML data. That
might be easier for your program to parse.

Regards,
Tobias

-- 
Tobias Quathamer | The following statement is not true.
Hamburg, Germany | The previous statement is true.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: