Thanks for the input -- both items. f Le 2013-03-06 14:20, Henk-Jan van Tuyl a écrit : > On Wed, 06 Mar 2013 12:38:11 +0100, Obscaenvs <[email protected]> wrote: > > : > : >> The iso3166-country-codes [1] package at Hackage by Jon Fairbairn >> provides a start in the right direction, but an obvious improvement upon >> it would be to have a function or map that takes an ISO 639 code and an >> ISO 3166 code and gives the correct human-readable name for the country >> as per the chosen target language (the ISO 639 code), and another >> function/map for languages. It would alleviate coding those pesky >> country and language switchers a *lot*, among other things. >> >> Jon Fairbarn that coded the iso3166-country-codes package said in >> private correspondence that it seemed worthwhile doing, but he couldn't >> do it in his spare time, which is understandable. I am willing to do >> some of the stuff involved (I know Swedish, French and some Turkish in >> addition to the ubiquitous English), but obviously it's too big a >> project for one man to handle (what with all the c'n'p involved :) ). >> >> I feel that this should be done, since it seems it isn't yet. I am >> inexperienced in coordinating such endeavours, though, so I would like >> to share that task at least to begin with, if possible. >> >> Any thoughts? > > You can find the Dutch names in the Dutch Wikipedia: > http://nl.wikipedia.org/wiki/Lijst_van_ISO_639-1-codes > http://nl.wikipedia.org/wiki/ISO_3166-1 > > Do not forget that country names can change; e.g. the Netherlands > Antilles were split up in 2010. This might cause problems if you store > country codes in a database. If you simply remove obsolete country > codes, the database can not be used properly any more. > > Regards, > Henk-Jan van Tuyl > >
-- haskellBlog: http://www.monoid.se/categories/haskell/ _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
