After further discussion at the Ubuntu bug report, I now suggest a different approach for dealing with this bug. Instead of simply replacing Bengali with Bangla, the new patch adds Bangla as an alternative name through a new common_name field. This way users of the iso-codes package can grab the name Bangla if they wish, and Bangla will also be translated.
Thanks, Christian, for the idea. -- Gunnar Hjalmarsson https://launchpad.net/~gunnarhj
Description: Make Bangla the common_name for the language codes ben and bn Author: Gunnar Hjalmarsson <gunna...@ubuntu.com> Bug-Ubuntu: http://bugs.launchpad.net/bugs/991002 Forwarded: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690739 === modified file iso_639/iso_639.pot --- iso-codes/iso_639/iso_639.pot 2010-04-01 17:08:03 +0000 +++ iso-codes/iso_639/iso_639.pot 2012-10-23 14:52:08 +0000 @@ -10,7 +10,7 @@ "Project-Id-Version: iso_639 3.14\n" "Report-Msgid-Bugs-To: Debian iso-codes team <pkg-isocodes-devel@lists.alioth." "debian.org>\n" -"POT-Creation-Date: 2010-03-31 08:26+0200\n" +"POT-Creation-Date: 2012-10-23 16:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -214,6 +214,10 @@ msgid "Bemba" msgstr "" +#. common_name for ben, bn +msgid "Bangla" +msgstr "" + #. name for ben, bn msgid "Bengali" msgstr "" === modified file iso_639/iso_639.xml --- iso-codes/iso_639/iso_639.xml 2010-04-01 17:08:03 +0000 +++ iso-codes/iso_639/iso_639.xml 2012-10-23 14:44:33 +0000 @@ -255,6 +255,7 @@ iso_639_2B_code="ben" iso_639_2T_code="ben" iso_639_1_code="bn" + common_name="Bangla" name="Bengali" /> <iso_639_entry iso_639_2B_code="ber" === modified file iso_639_3/iso_639_3.pot --- iso-codes/iso_639_3/iso_639_3.pot 2012-06-29 13:06:50 +0000 +++ iso-codes/iso_639_3/iso_639_3.pot 2012-10-23 14:51:54 +0000 @@ -10,7 +10,7 @@ "Project-Id-Version: iso_639-3 3.36\n" "Report-Msgid-Bugs-To: Debian iso-codes team <pkg-isocodes-devel@lists.alioth." "debian.org>\n" -"POT-Creation-Date: 2012-06-26 09:55+0200\n" +"POT-Creation-Date: 2012-10-23 16:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -3110,6 +3110,10 @@ msgid "Bemba (Zambia)" msgstr "" +#. common_name for ben +msgid "Bangla" +msgstr "" + #. name for ben, reference_name for ben msgid "Bengali" msgstr "" === modified file iso_639_3/iso_639_3.xml --- iso-codes/iso_639_3/iso_639_3.xml 2012-06-29 13:06:50 +0000 +++ iso-codes/iso_639_3/iso_639_3.xml 2012-10-23 14:46:25 +0000 @@ -4851,6 +4851,7 @@ status="Active" scope="I" type="L" + common_name="Bangla" reference_name="Bengali" name="Bengali" /> <iso_639_3_entry