Hi all

Does anyone see a pressing need for supporting ISO 639-2 language codes in
DateTime::Locale?

These are the three character codes instead of the two character ISO 639-1
codes, eg (pilfered straight from DT::Language):

 # 639-1, 639-2(T), 639-2(B) 

 [ 'aa', 'aar'         => 'Afar' ],
 [ 'am', 'amh'         => 'Amharic' ],
 [ 'cz', 'ces', 'cze'  => 'Czech' ],
 [ 'de', 'deu', 'ger'  => 'German' ],
 ...etc

So, any of the following would then return the "de_DE" locale:

  DateTime::Locale->load("de_DE");
  DateTime::Locale->load("deu_DE");
  DateTime::Locale->load("ger_DE");

I can't see a great need for this, since ISO 639-1 is already fully
supported, but I'm open to comments; please don't just say "Hey, why not"
though - I don't want to bloat things any further unless there's a genuine
reason for adding this :)

Cheers,
Rich
-- 
Richard Evans
[EMAIL PROTECTED]

Reply via email to