Imported Upstream version 4.1 upstream/4.1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 16 Dec 2021 01:37:54 +0000 (10:37 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 16 Dec 2021 01:37:54 +0000 (10:37 +0900)
66 files changed:
ChangeLog.md [moved from ChangeLog with 99% similarity]
Makefile.am
Makefile.in
README.md
bin/xml_from_json.py [new file with mode: 0755]
common.mk
configure
configure.ac
data/iso_3166-2.json
iso_15924/Makefile.in
iso_15924/et.po
iso_3166-1/Makefile.in
iso_3166-2/Makefile.in
iso_3166-2/az.po
iso_3166-2/be.po
iso_3166-2/bg.po
iso_3166-2/bs.po
iso_3166-2/ca.po
iso_3166-2/crh.po
iso_3166-2/cs.po
iso_3166-2/da.po
iso_3166-2/de.po
iso_3166-2/el.po
iso_3166-2/en.po
iso_3166-2/eo.po
iso_3166-2/es.po
iso_3166-2/et.po
iso_3166-2/eu.po
iso_3166-2/fi.po
iso_3166-2/fr.po
iso_3166-2/ga.po
iso_3166-2/hu.po
iso_3166-2/id.po
iso_3166-2/is.po
iso_3166-2/iso_3166-2.pot
iso_3166-2/it.po
iso_3166-2/ja.po
iso_3166-2/ko.po
iso_3166-2/ky.po
iso_3166-2/lt.po
iso_3166-2/lv.po
iso_3166-2/nl.po
iso_3166-2/nso.po
iso_3166-2/oc.po
iso_3166-2/pl.po
iso_3166-2/ro.po
iso_3166-2/sc.po
iso_3166-2/sk.po
iso_3166-2/sl.po
iso_3166-2/sr.po
iso_3166-2/sr@latin.po
iso_3166-2/sv.po
iso_3166-2/th.po
iso_3166-2/tr.po
iso_3166-2/uk.po
iso_3166-2/ve.po
iso_3166-2/vi.po
iso_3166-2/wa.po
iso_3166-2/zh_CN.po
iso_3166-2/zh_TW.po
iso_3166-3/Makefile.in
iso_3166-3/it.po
iso_4217/Makefile.in
iso_639-2/Makefile.in
iso_639-3/Makefile.in
iso_639-5/Makefile.in

similarity index 99%
rename from ChangeLog
rename to ChangeLog.md
index 7bde93f..74951ed 100644 (file)
--- a/ChangeLog
@@ -1,3 +1,20 @@
+# iso-codes 4.1
+*Tue, 4 Sep 2018*
+
+* The XML files have been re-added, because too many
+  other programs still rely on those files.
+  ***********************************************************
+  ** If you're maintaining a program which uses XML files, **
+  ** please switch to the JSON data files.                 **
+  ***********************************************************
+* ISO 3166-2
+  * Update codes for ZA-GT (Gauteng) and ZA-NL (Kwazulu-Natal) (Closes #6)
+* ISO 3166-3 translations
+  * Italian by Sebastiano Pistore
+* ISO 15924 translations
+  * Estonian by Kristjan Räts
+
+
 # iso-codes 4.0
 *Sat, 25 Aug 2018*
 
index 2fbdd6d..8264457 100644 (file)
@@ -11,7 +11,7 @@ dist_json_DATA = $(wildcard $(srcdir)/data/*.json)
 # the common Makefile snippet
 # and the markdown documentation currently not handled
 # by automake
-EXTRA_DIST = bin bootstrap common.mk README.md
+EXTRA_DIST = bin bootstrap common.mk README.md ChangeLog.md
 
 DISTCLEANFILES = $(pkgconfig_DATA)
 
@@ -22,6 +22,13 @@ pot:
                cd $$domain && make $$domain.pot && cd ..; \
        done
 
+# Updates all xml files
+.PHONY: xml
+xml:
+       for domain in $(DOMAINS); do \
+               cd $$domain && make $$domain.xml && cd ..; \
+       done
+
 .PHONY: release
 release: update-po check distcheck
 
index bc9f5a6..5c69aee 100644 (file)
@@ -184,7 +184,7 @@ CTAGS = ctags
 CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/iso-codes.pc.in \
-       COPYING ChangeLog INSTALL TODO install-sh missing
+       COPYING INSTALL TODO install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -322,7 +322,7 @@ dist_json_DATA = $(wildcard $(srcdir)/data/*.json)
 # the common Makefile snippet
 # and the markdown documentation currently not handled
 # by automake
-EXTRA_DIST = bin bootstrap common.mk README.md
+EXTRA_DIST = bin bootstrap common.mk README.md ChangeLog.md
 DISTCLEANFILES = $(pkgconfig_DATA)
 all: all-recursive
 
@@ -835,6 +835,13 @@ pot:
                cd $$domain && make $$domain.pot && cd ..; \
        done
 
+# Updates all xml files
+.PHONY: xml
+xml:
+       for domain in $(DOMAINS); do \
+               cd $$domain && make $$domain.xml && cd ..; \
+       done
+
 .PHONY: release
 release: update-po check distcheck
 
index f15070f..2b01966 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,8 +61,6 @@ not as important as the first two.
 
 # NEWS
 
-* The XML files have been removed after having been deprecated for
-  two and a half years. Please use the JSON data files instead.
 * A new ISO standard has been included, ISO 3166-3. The gettext
   domain is called `iso_3166-3`. Basically, this is a split of the
   old domain `iso_3166` into `iso_3166-1` and `iso_3166-3`, because
@@ -76,6 +74,9 @@ not as important as the first two.
   included languages were not part of the standard and have been
   removed. This reduced the number of language families from
   about 1900 to about 110.
+* The XML files are **deprecated** and should not be used for new
+  projects. However, they are kept in sync with the JSON data
+  for now.
 * The gettext domains have been renamed to better match the
   actual ISO number:
   - ISO 639-2: Renamed from `iso_639` to `iso_639-2`
diff --git a/bin/xml_from_json.py b/bin/xml_from_json.py
new file mode 100755 (executable)
index 0000000..d28b626
--- /dev/null
@@ -0,0 +1,1040 @@
+#!/usr/bin/env python3
+#
+# Create deprecated iso-codes XML from JSON
+#
+# Copyright © 2016 Dr. Tobias Quathamer <toddy@debian.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+import json
+import sys
+
+# Get the current ISO code domain, the path to the JSON data dir, and the XML output file
+if len(sys.argv) != 4:
+    sys.exit("Please provide the domain, the path to the JSON data dir, and the XML output file.")
+domain = sys.argv[1]
+datapath = sys.argv[2]
+xml_file = sys.argv[3]
+
+#
+# Define the headers of the XML files
+#
+headers = {
+    "639": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all languages in the ISO 639
+standard, and is used to provide translations via gettext
+
+Copyright (C) 2004-2006 Alastair McKinstry <mckinstry@computer.org>
+Copyright (C) 2004-2012 Christian Perrier <bubulle@debian.org>
+Copyright (C) 2005-2008 Tobias Quathamer <toddy@debian.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.loc.gov/standards/iso639-2/>
+-->
+
+<!DOCTYPE iso_639_entries [
+       <!ELEMENT iso_639_entries (iso_639_entry+)>
+       <!ELEMENT iso_639_entry EMPTY>
+       <!ATTLIST iso_639_entry
+               iso_639_2B_code         CDATA   #REQUIRED
+               iso_639_2T_code         CDATA   #REQUIRED
+               iso_639_1_code          CDATA   #IMPLIED
+               name                    CDATA   #REQUIRED
+               common_name             CDATA   #IMPLIED
+       >
+]>
+""",
+    "639-3": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all languages in the ISO 639-3
+standard, and is used to provide translations via gettext
+
+Copyright © 2005 Alastair McKinstry <mckinstry@computer.org>
+Copyright © 2008,2012,2013 Tobias Quathamer <toddy@debian.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.sil.org/iso639-3/>
+-->
+
+<!DOCTYPE iso_639_3_entries [
+       <!ELEMENT iso_639_3_entries (iso_639_3_entry+)>
+       <!ELEMENT iso_639_3_entry EMPTY>
+       <!ATTLIST iso_639_3_entry
+               id              CDATA   #REQUIRED
+               part1_code      CDATA   #IMPLIED
+               part2_code      CDATA   #IMPLIED
+               status          CDATA   #REQUIRED
+               scope           CDATA   #REQUIRED
+               type            CDATA   #REQUIRED
+               inverted_name   CDATA   #IMPLIED
+               reference_name  CDATA   #REQUIRED
+               name            CDATA   #REQUIRED
+               common_name     CDATA   #IMPLIED
+       >
+]>
+""",
+    "639-5": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all languages in the ISO 639-5
+standard, and is used to provide translations via gettext
+
+Copyright © 2014 Pander <pander@opentaal.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.loc.gov/standards/iso639-5/>
+-->
+
+<!DOCTYPE iso_639_5_entries [
+       <!ELEMENT iso_639_5_entries (iso_639_5_entry+)>
+       <!ELEMENT iso_639_5_entry EMPTY>
+       <!ATTLIST iso_639_5_entry
+               id              CDATA   #REQUIRED
+               parents         CDATA   #IMPLIED
+               name            CDATA   #REQUIRED
+       >
+]>
+""",
+    "3166": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all countries in the ISO 3166
+standard, and is used to provide translations via gettext
+
+Copyright (C) 2002, 2004, 2006 Alastair McKinstry <mckinstry@computer.org>
+Copyright (C) 2004 Andreas Jochens <aj@andaco.de>
+Copyright (C) 2004, 2007 Christian Perrier <bubulle@debian.org>
+Copyright (C) 2005, 2006, 2007 Tobias Quathamer <toddy@debian.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.iso.org/iso/country_codes>
+-->
+
+<!DOCTYPE iso_3166_entries [
+       <!ELEMENT iso_3166_entries (iso_3166_entry+, iso_3166_3_entry*)>
+       <!ELEMENT iso_3166_entry EMPTY>
+       <!ATTLIST iso_3166_entry
+               alpha_2_code            CDATA   #REQUIRED
+               alpha_3_code            CDATA   #REQUIRED
+               numeric_code            CDATA   #REQUIRED
+               common_name             CDATA   #IMPLIED
+               name                    CDATA   #REQUIRED
+               official_name           CDATA   #IMPLIED
+       >
+       <!ELEMENT iso_3166_3_entry EMPTY>
+       <!ATTLIST iso_3166_3_entry
+               alpha_4_code            CDATA   #REQUIRED
+               alpha_3_code            CDATA   #REQUIRED
+               numeric_code            CDATA   #IMPLIED
+               date_withdrawn          CDATA   #IMPLIED
+               names                   CDATA   #REQUIRED
+               comment                 CDATA   #IMPLIED
+       >
+]>
+""",
+    "3166-2": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all country subdivisions in the ISO 3166-2
+standard, and is used to provide translations via gettext
+
+The following conventions are used in this file:
+If the standard lists a subdivision name in more than one language
+and/or romanization system, only the first listed name is shown.
+
+For some countries the standard also lists a second level of
+regional divisions (e.g. for BE, FR, GB, IT, etc.). The codes
+for these regional divisions are shown as 'XX YYYY', i.e. with a
+space character instead of the '-'.
+
+Copyright (C) 2004-2006 Alastair McKinstry <mckinstry@computer.org>
+Copyright (C) 2004, 2007 Christian Perrier <bubulle@debian.org>
+Copyright (C) 2005-2007 Tobias Quathamer <toddy@debian.org>
+Copyright (C) 2007, 2009 LI Daobing <lidaobing@gmail.com>
+Copyright (C) 2007-2010 Alexis Darrasse <alexis@ortsa.com>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.iso.org/iso/country_codes/background_on_iso_3166/iso_3166-2.htm>
+-->
+
+
+<!DOCTYPE iso_3166_2_entries [
+       <!ELEMENT iso_3166_2_entries (iso_3166_country+)>
+  <!ELEMENT iso_3166_country (iso_3166_subset*)>
+       <!ATTLIST iso_3166_country
+               code                    CDATA   #REQUIRED
+       >
+       <!ELEMENT iso_3166_subset (iso_3166_2_entry+)>
+       <!ATTLIST iso_3166_subset
+               type                    CDATA   #REQUIRED
+       >
+       <!ELEMENT iso_3166_2_entry EMPTY>
+       <!ATTLIST iso_3166_2_entry
+               code                    CDATA   #REQUIRED
+               name                    CDATA   #REQUIRED
+               parent                  CDATA   #IMPLIED
+       >
+]>
+""",
+    "15924": """<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all script names in the ISO 15924
+standard, and is used to provide translations via gettext
+
+Copyright (C) 2007 Ivan Masar <helix84@centrum.sk>
+Copyright (C) 2007-2011 Christian Perrier <bubulle@debian.org>
+Copyright (C) 2007 Tobias Quathamer <toddy@debian.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://unicode.org/iso15924/>
+Source for changes: <http://unicode.org/iso15924/codechanges.html>
+-->
+
+<!DOCTYPE iso_15924_entries [
+       <!ELEMENT iso_15924_entries (iso_15924_entry+)>
+       <!ELEMENT iso_15924_entry EMPTY>
+       <!ATTLIST iso_15924_entry
+               alpha_4_code            CDATA   #REQUIRED
+               numeric_code            CDATA   #REQUIRED
+               name                    CDATA   #REQUIRED
+       >
+]>
+""",
+    "4217": """<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+WARNING: THIS FILE IS DEPRECATED.
+
+PLEASE USE THE JSON DATA INSTEAD.
+
+Usually, this data can be found in /usr/share/iso-codes/json.
+
+This file gives a list of all currencies in the ISO 4217
+standard, and is used to provide translations via gettext
+
+Copyright (C) 2004-2006 Alastair McKinstry <mckinstry@computer.org>
+Copyright (C) 2005-2009 Tobias Quathamer <toddy@debian.org>
+Copyright (C) 2007 Christian Perrier <bubulle@debian.org>
+
+    This file is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This file is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this file; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Source: <http://www.bsi-global.com/en/Standards-and-Publications/Industry-Sectors/Services/BSI-Currency-Code-Service/>
+-->
+
+<!DOCTYPE iso_4217_entries [
+       <!ELEMENT iso_4217_entries (iso_4217_entry+, historic_iso_4217_entry*)>
+       <!ELEMENT iso_4217_entry EMPTY>
+       <!ATTLIST iso_4217_entry
+               letter_code             CDATA   #REQUIRED
+               numeric_code            CDATA   #IMPLIED
+               currency_name           CDATA   #REQUIRED
+       >
+       <!ELEMENT historic_iso_4217_entry EMPTY>
+       <!ATTLIST historic_iso_4217_entry
+               letter_code             CDATA   #REQUIRED
+               numeric_code            CDATA   #IMPLIED
+               currency_name           CDATA   #REQUIRED
+               date_withdrawn          CDATA   #REQUIRED
+       >
+]>
+""",
+}
+
+def get_iso_entries(standard):
+    """ Return all entries from the given standard
+    """
+    with open(datapath + "/iso_" + standard + ".json", encoding="utf-8") as input_file:
+        iso = json.load(input_file)
+        return iso[standard]
+
+# Create the output file
+with open(xml_file, "w", encoding="utf-8") as outfile:
+    #
+    # Handle ISO 639-2
+    #
+    if domain == "iso_639-2":
+        outfile.write(headers["639"])
+        outfile.write("\n")
+        outfile.write("<iso_639_entries>\n")
+        for entry in get_iso_entries("639-2"):
+            outfile.write("\t<iso_639_entry\n")
+            if "bibliographic" in entry:
+                outfile.write("\t\tiso_639_2B_code=\"" + entry["bibliographic"] + "\"\n")
+            else:
+                outfile.write("\t\tiso_639_2B_code=\"" + entry["alpha_3"] + "\"\n")
+            outfile.write("\t\tiso_639_2T_code=\"" + entry["alpha_3"] + "\"\n")
+            if "alpha_2" in entry:
+                outfile.write("\t\tiso_639_1_code=\"" + entry["alpha_2"] + "\"\n")
+            outfile.write("\t\tname=\"" + entry["name"] + "\"")
+            if "common_name" in entry:
+                outfile.write("\n\t\tcommon_name=\"" + entry["common_name"] + "\"")
+            outfile.write(" />\n")
+        outfile.write("</iso_639_entries>\n")
+    #
+    # Handle ISO 639-3
+    #
+    elif domain == "iso_639-3":
+        outfile.write(headers["639-3"])
+        outfile.write("\n")
+        outfile.write("<iso_639_3_entries>\n")
+        for entry in get_iso_entries("639-3"):
+            outfile.write("\t<iso_639_3_entry\n")
+            outfile.write("\t\tid=\"" + entry["alpha_3"] + "\"\n")
+            if "alpha_2" in entry:
+                outfile.write("\t\tpart1_code=\"" + entry["alpha_2"] + "\"\n")
+            if "bibliographic" in entry:
+                outfile.write("\t\tpart2_code=\"" + entry["bibliographic"] + "\"\n")
+            # Special case for lcq, which is the only entry with status "Retired"
+            if entry["alpha_3"] == "lcq":
+                outfile.write("\t\tstatus=\"Retired\"\n")
+            else:
+                outfile.write("\t\tstatus=\"Active\"\n")
+            outfile.write("\t\tscope=\"" + entry["scope"] + "\"\n")
+            outfile.write("\t\ttype=\"" + entry["type"] + "\"\n")
+            if "inverted_name" in entry:
+                outfile.write("\t\tinverted_name=\"" + entry["inverted_name"] + "\"\n")
+            outfile.write("\t\treference_name=\"" + entry["name"] + "\"\n")
+            if "common_name" in entry:
+                outfile.write("\t\tcommon_name=\"" + entry["common_name"] + "\"\n")
+            if "inverted_name" in entry:
+                outfile.write("\t\tname=\"" + entry["inverted_name"] + "\"")
+            else:
+                outfile.write("\t\tname=\"" + entry["name"] + "\"")
+            outfile.write(" />\n")
+        outfile.write("</iso_639_3_entries>\n")
+    #
+    # Handle ISO 639-5
+    #
+    elif domain == "iso_639-5":
+        outfile.write(headers["639-5"])
+        outfile.write("\n")
+        outfile.write("<iso_639_5_entries>\n")
+        for entry in get_iso_entries("639-5"):
+            outfile.write("\t<iso_639_5_entry\n")
+            outfile.write("\t\tid=\"" + entry["alpha_3"] + "\"\n")
+            outfile.write("\t\tname=\"" + entry["name"] + "\"")
+            outfile.write(" />\n")
+        outfile.write("</iso_639_5_entries>\n")
+    #
+    # Handle ISO 3166
+    #
+    elif domain == "iso_3166-1":
+        outfile.write(headers["3166"])
+        outfile.write("\n")
+        outfile.write("<iso_3166_entries>\n")
+        for entry in get_iso_entries("3166-1"):
+            outfile.write("\t<iso_3166_entry\n")
+            outfile.write("\t\talpha_2_code=\"" + entry["alpha_2"] + "\"\n")
+            outfile.write("\t\talpha_3_code=\"" + entry["alpha_3"] + "\"\n")
+            outfile.write("\t\tnumeric_code=\"" + entry["numeric"] + "\"\n")
+            if "common_name" in entry:
+                outfile.write("\t\tcommon_name=\"" + entry["common_name"] + "\"\n")
+            outfile.write("\t\tname=\"" + entry["name"] + "\"")
+            if "official_name" in entry:
+                outfile.write("\n\t\tofficial_name=\"" + entry["official_name"] + "\"")
+            outfile.write(" />\n")
+        for entry in get_iso_entries("3166-3"):
+            outfile.write("\t<iso_3166_3_entry\n")
+            outfile.write("\t\talpha_4_code=\"" + entry["alpha_4"] + "\"\n")
+            outfile.write("\t\talpha_3_code=\"" + entry["alpha_3"] + "\"\n")
+            if "numeric" in entry:
+                outfile.write("\t\tnumeric_code=\"" + entry["numeric"] + "\"\n")
+            if "withdrawal_date" in entry:
+                outfile.write("\t\tdate_withdrawn=\"" + entry["withdrawal_date"] + "\"\n")
+            outfile.write("\t\tnames=\"" + entry["name"] + "\"")
+            if "comment" in entry:
+                outfile.write("\n\t\tcomment=\"" + entry["comment"] + "\"")
+            outfile.write(" />\n")
+        outfile.write("</iso_3166_entries>\n")
+    #
+    # Handle ISO 3166-2
+    #
+    elif domain == "iso_3166-2":
+        outfile.write(headers["3166-2"])
+        outfile.write("\n")
+        outfile.write("<iso_3166_2_entries>\n")
+        last_country_code = ""
+        subsets = {}
+        for entry in get_iso_entries("3166-2"):
+            country_code = entry["code"].split("-")[0]
+            # Initialize for every new country
+            if last_country_code != country_code:
+                # Write out if subsets are filled
+                if len(subsets) > 0:
+                    outfile.write("<iso_3166_country code=\"" + last_country_code + "\">\n")
+                    for subset in sorted(subsets):
+                        outfile.write("<iso_3166_subset type=\"" + subset + "\">\n")
+                        for item in subsets[subset]:
+                            outfile.write("\t<iso_3166_2_entry\n")
+                            outfile.write("\t\tcode=\"" + item["code"] + "\"\tname=\"" + item["name"] + "\"")
+                            if "parent" in item:
+                                outfile.write("\tparent=\"" + item["parent"] + "\"")
+                            outfile.write(" />\n")
+                        outfile.write("</iso_3166_subset>\n")
+                    outfile.write("</iso_3166_country>\n")
+                last_country_code = country_code
+                subsets = {}
+            # Group by subset types
+            if entry["type"] not in subsets:
+                subsets[entry["type"]] = [entry]
+            else:
+                subsets[entry["type"]].append(entry)
+        outfile.write("</iso_3166_2_entries>\n")
+    #
+    # Handle ISO 15924
+    #
+    elif domain == "iso_15924":
+        outfile.write(headers["15924"])
+        outfile.write("\n")
+        outfile.write("<iso_15924_entries>\n")
+        for entry in get_iso_entries("15924"):
+            outfile.write("\t<iso_15924_entry\n")
+            outfile.write("\t\talpha_4_code=\"" + entry["alpha_4"] + "\"\n")
+            outfile.write("\t\tnumeric_code=\"" + entry["numeric"] + "\"\n")
+            outfile.write("\t\tname=\"" + entry["name"] + "\"")
+            outfile.write(" />\n")
+        outfile.write("</iso_15924_entries>\n")
+    #
+    # Handle ISO 4217
+    #
+    elif domain == "iso_4217":
+        outfile.write(headers["4217"])
+        outfile.write("\n")
+        outfile.write("<iso_4217_entries>\n")
+        for entry in get_iso_entries("4217"):
+            outfile.write("\t<iso_4217_entry\n")
+            outfile.write("\t\tletter_code=\"" + entry["alpha_3"] + "\"\n")
+            if "numeric" in entry:
+                outfile.write("\t\tnumeric_code=\"" + entry["numeric"] + "\"\n")
+            outfile.write("\t\tcurrency_name=\"" + entry["name"] + "\"")
+            outfile.write(" />\n")
+        # Insert the obsolete historic entries, which are no
+        # longer included in the JSON data files.
+        outfile.write("""      <historic_iso_4217_entry
+               letter_code="ADP"
+               numeric_code="020"
+               currency_name="Andorran Peseta"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="ADF"
+               currency_name="Andorran Franc"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="AFA"
+               numeric_code="004"
+               currency_name="Afghani"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="ALK"
+               currency_name="Albanian Old Lek"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="AOK"
+               currency_name="Angolan Kwanza"
+               date_withdrawn="1991-03" />
+       <historic_iso_4217_entry
+               letter_code="AON"
+               numeric_code="024"
+               currency_name="Angolan New Kwanza"
+               date_withdrawn="2000-02" />
+       <historic_iso_4217_entry
+               letter_code="AOR"
+               numeric_code="982"
+               currency_name="Angola Kwanza Reajustado"
+               date_withdrawn="2000-02" />
+       <historic_iso_4217_entry
+               letter_code="ARA"
+               currency_name="Argentine Austral"
+               date_withdrawn="1992-01" />
+       <historic_iso_4217_entry
+               letter_code="ARM"
+               currency_name="Argentine peso moneda nacional"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="ARL"
+               currency_name="Argentine peso ley"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="ARP"
+               currency_name="Peso Argentino"
+               date_withdrawn="1985-07" />
+       <historic_iso_4217_entry
+               letter_code="ATS"
+               numeric_code="040"
+               currency_name="Austrian Schilling"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="AZM"
+               numeric_code="031"
+               currency_name="Azerbaijanian Manat"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="BAD"
+               numeric_code="070"
+               currency_name="Bosnia and Herzegovina Dinar"
+               date_withdrawn="1997-07" />
+       <historic_iso_4217_entry
+               letter_code="BEC"
+               numeric_code="993"
+               currency_name="Belgian Franc Convertible"
+               date_withdrawn="1990-03" />
+       <historic_iso_4217_entry
+               letter_code="BEF"
+               numeric_code="056"
+               currency_name="Belgian Franc"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="BEL"
+               numeric_code="992"
+               currency_name="Belgian Franc Financial"
+               date_withdrawn="1990-03" />
+       <historic_iso_4217_entry
+               letter_code="BGJ"
+               currency_name="Bulgarian Lev A/52"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="BGK"
+               currency_name="Bulgarian Lev A/62"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="BGL"
+               numeric_code="100"
+               currency_name="Bulgarian Lev A/99"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="BOP"
+               currency_name="Bolivian Peso"
+               date_withdrawn="1987-02" />
+       <historic_iso_4217_entry
+               letter_code="BRB"
+               currency_name="Brazilian Cruzeiro"
+               date_withdrawn="1986-03" />
+       <historic_iso_4217_entry
+               letter_code="BRC"
+               currency_name="Brazilian Cruzado"
+               date_withdrawn="1989-02" />
+       <historic_iso_4217_entry
+               letter_code="BRE"
+               numeric_code="076"
+               currency_name="Brazilian Cruzeiro"
+               date_withdrawn="1993-03" />
+       <historic_iso_4217_entry
+               letter_code="BRN"
+               currency_name="Brazilian New Cruzado"
+               date_withdrawn="1990-03" />
+       <historic_iso_4217_entry
+               letter_code="BRR"
+               numeric_code="987"
+               currency_name="Brazilian Cruzeiro Real"
+               date_withdrawn="1994-07" />
+       <historic_iso_4217_entry
+               letter_code="BUK"
+               currency_name="Kyat"
+               date_withdrawn="1990-02" />
+       <historic_iso_4217_entry
+               letter_code="BYB"
+               currency_name="Belarussian Rouble"
+               date_withdrawn="1999" />
+       <historic_iso_4217_entry
+               letter_code="CNX"
+               currency_name="Chinese Peoples Bank Dollar"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="CSD"
+               numeric_code="891"
+               currency_name="Serbian Dinar"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="CSJ"
+               currency_name="Czechoslovak Krona A/53"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="CSK"
+               numeric_code="200"
+               currency_name="Czechoslovak Koruna"
+               date_withdrawn="1993-03" />
+       <historic_iso_4217_entry
+               letter_code="DDM"
+               numeric_code="278"
+               currency_name="East German Mark of the GDR"
+               date_withdrawn="1990-09" />
+       <historic_iso_4217_entry
+               letter_code="DEM"
+               numeric_code="276"
+               currency_name="Deutsche Mark"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="ECS"
+               numeric_code="218"
+               currency_name="Ecuador Sucre"
+               date_withdrawn="2000-09-15" />
+       <historic_iso_4217_entry
+               letter_code="ECV"
+               numeric_code="983"
+               currency_name="Ecuador Unidad de Valor Constante UVC"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="ESA"
+               numeric_code="996"
+               currency_name="Spanish Peseta ('A' Account)"
+               date_withdrawn="1981" />
+       <historic_iso_4217_entry
+               letter_code="ESB"
+               numeric_code="995"
+               currency_name="Spanish Peseta (convertible)"
+               date_withdrawn="1994-12" />
+       <historic_iso_4217_entry
+               letter_code="ESP"
+               numeric_code="724"
+               currency_name="Spanish Peseta"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="FIM"
+               numeric_code="246"
+               currency_name="Finnish Markka"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="FRF"
+               numeric_code="250"
+               currency_name="French Franc"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="GEK"
+               numeric_code="268"
+               currency_name="Georgian Coupon"
+               date_withdrawn="1995-10" />
+       <historic_iso_4217_entry
+               letter_code="GNE"
+               currency_name="Guinea Syli"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="GNS"
+               currency_name="Guinea Syli"
+               date_withdrawn="1986-02" />
+       <historic_iso_4217_entry
+               letter_code="GQE"
+               numeric_code="226"
+               currency_name="Equatorial Guinea Ekwele"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="GHC"
+               numeric_code="288"
+               currency_name="Cedi"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="GRD"
+               numeric_code="300"
+               currency_name="Greek Drachma"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="GWE"
+               currency_name="Guinea Escudo"
+               date_withdrawn="1981" />
+       <historic_iso_4217_entry
+               letter_code="GWP"
+               numeric_code="624"
+               currency_name="Guinea-Bissau Peso"
+               date_withdrawn="1997-04" />
+       <historic_iso_4217_entry
+               letter_code="HRD"
+               currency_name="Croatian Dinar"
+               date_withdrawn="1995-01" />
+       <historic_iso_4217_entry
+               letter_code="IEP"
+               numeric_code="372"
+               currency_name="Irish Pound"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="ILP"
+               currency_name="Israeli Pound"
+               date_withdrawn="1981" />
+       <historic_iso_4217_entry
+               letter_code="ILR"
+               currency_name="Israeli Old Shekel"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="ISJ"
+               currency_name="Iceland Old Krona"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="ITL"
+               numeric_code="380"
+               currency_name="Italian Lira"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="LAJ"
+               currency_name="Lao kip"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="LSM"
+               currency_name="Lesotho Maloti"
+               date_withdrawn="1985-05" />
+       <historic_iso_4217_entry
+               letter_code="LTT"
+               currency_name="Lithuanian Talonas"
+               date_withdrawn="1993-07" />
+       <historic_iso_4217_entry
+               letter_code="LUC"
+               numeric_code="989"
+               currency_name="Luxembourg Convertible Franc"
+               date_withdrawn="1990-03" />
+       <historic_iso_4217_entry
+               letter_code="LUF"
+               numeric_code="442"
+               currency_name="Luxembourg Franc"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="LUL"
+               numeric_code="988"
+               currency_name="Luxembourg Financial Franc"
+               date_withdrawn="1990-03" />
+       <historic_iso_4217_entry
+               letter_code="LVR"
+               currency_name="Latvian Ruble"
+               date_withdrawn="1994-12" />
+       <historic_iso_4217_entry
+               letter_code="MAF"
+               currency_name="Mali Franc"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="MGF"
+               numeric_code="450"
+               currency_name="Malagasy Franc"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="MLF"
+               numeric_code="446"
+               currency_name="Mali Franc"
+               date_withdrawn="1984-11" />
+       <historic_iso_4217_entry
+               letter_code="MTP"
+               currency_name="Maltese Pound"
+               date_withdrawn="1983-06" />
+       <historic_iso_4217_entry
+               letter_code="MVQ"
+               currency_name="Maldive Rupee"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="MXP"
+               currency_name="Mexican Peso"
+               date_withdrawn="1993-01" />
+       <historic_iso_4217_entry
+               letter_code="MZE"
+               currency_name="Mozambique Escudo"
+               date_withdrawn="1981" />
+       <historic_iso_4217_entry
+               letter_code="MZM"
+               numeric_code="508"
+               currency_name="Mozambique Metical"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="NIC"
+               currency_name="Nicaraguan Cordoba"
+               date_withdrawn="1990-10" />
+       <historic_iso_4217_entry
+               letter_code="NLG"
+               numeric_code="528"
+               currency_name="Netherlands Guilder"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="PEH"
+               currency_name="Peruvian Sol"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="PEI"
+               currency_name="Peruvian Inti"
+               date_withdrawn="1991-07" />
+       <historic_iso_4217_entry
+               letter_code="PES"
+               currency_name="Peruvian Sol"
+               date_withdrawn="1986-02" />
+       <historic_iso_4217_entry
+               letter_code="PLZ"
+               numeric_code="616"
+               currency_name="Polish Złoty"
+               date_withdrawn="1997-01" />
+       <historic_iso_4217_entry
+               letter_code="PTE"
+               numeric_code="620"
+               currency_name="Portuguese Escudo"
+               date_withdrawn="2002-03" />
+       <historic_iso_4217_entry
+               letter_code="RHD"
+               currency_name="Rhodesian Dollar"
+               date_withdrawn="1981" />
+       <historic_iso_4217_entry
+               letter_code="ROK"
+               currency_name="Romanian Leu A/52"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="ROL"
+               numeric_code="642"
+               currency_name="Romanian Old Leu"
+               date_withdrawn="2005-06" />
+       <historic_iso_4217_entry
+               letter_code="RUR"
+               numeric_code="810"
+               currency_name="Russian Rouble"
+               date_withdrawn="1997" />
+       <historic_iso_4217_entry
+               letter_code="SDD"
+               numeric_code="736"
+               currency_name="Sudanese Pound"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="SDP"
+               currency_name="Sudanese Pound"
+               date_withdrawn="1998-06" />
+       <historic_iso_4217_entry
+               letter_code="SIT"
+               numeric_code="705"
+               currency_name="Slovenian Tolar"
+               date_withdrawn="2006-12-31" />
+       <historic_iso_4217_entry
+               letter_code="SKK"
+               numeric_code="703"
+               currency_name="Slovak Koruna"
+               date_withdrawn="2009-01-01" />
+       <historic_iso_4217_entry
+               letter_code="SRG"
+               numeric_code="740"
+               currency_name="Suriname Guilder"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="SUR"
+               currency_name="USSR Rouble"
+               date_withdrawn="1990-12" />
+       <historic_iso_4217_entry
+               letter_code="TJR"
+               numeric_code="762"
+               currency_name="Tajik Rouble"
+               date_withdrawn="2000" />
+       <historic_iso_4217_entry
+               letter_code="TLE"
+               numeric_code="626"
+               currency_name="Timor Escudo"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="TRL"
+               numeric_code="792"
+               currency_name="Turkish Lira"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="UAK"
+               numeric_code="804"
+               currency_name="Ukrainian Karbovanet"
+               date_withdrawn="1996-09" />
+       <historic_iso_4217_entry
+               letter_code="UGS"
+               currency_name="Uganda Schilling"
+               date_withdrawn="1987-05" />
+       <historic_iso_4217_entry
+               letter_code="UGW"
+               currency_name="Uganda Old Schilling"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="UYN"
+               currency_name="Old Uruguayan Peso"
+               date_withdrawn="1989-12" />
+       <historic_iso_4217_entry
+               letter_code="UYP"
+               currency_name="Uruguayan Peso"
+               date_withdrawn="1993-03" />
+       <historic_iso_4217_entry
+               letter_code="VEB"
+               numeric_code="862"
+               currency_name="Venezuela Bolívar"
+               date_withdrawn="2008-01-01" />
+       <historic_iso_4217_entry
+               letter_code="VNC"
+               currency_name="Viet Nam Old Dong"
+               date_withdrawn="1990" />
+       <historic_iso_4217_entry
+               letter_code="XEU"
+               numeric_code="954"
+               currency_name="European Currency Unit ECU"
+               date_withdrawn="1999-01" />
+       <historic_iso_4217_entry
+               letter_code="XRE"
+               currency_name="RINET Funds Code"
+               date_withdrawn="1999-11" />
+       <historic_iso_4217_entry
+               letter_code="YDD"
+               numeric_code="720"
+               currency_name="Yemeni Dinar"
+               date_withdrawn="1991-09" />
+    <historic_iso_4217_entry
+               letter_code="YUD"
+               numeric_code="891"
+               currency_name="Yugoslavian Dinar"
+               date_withdrawn="unknown" />
+       <historic_iso_4217_entry
+               letter_code="YUN"
+               numeric_code="890"
+               currency_name="Yugoslavian Dinar"
+               date_withdrawn="1995-11" />
+       <historic_iso_4217_entry
+               letter_code="ZAL"
+               numeric_code="991"
+               currency_name="South African Financial Rand"
+               date_withdrawn="1995-03" />
+       <historic_iso_4217_entry
+               letter_code="ZRN"
+               currency_name="New Zaire"
+               date_withdrawn="1999-06" />
+       <historic_iso_4217_entry
+               letter_code="ZRZ"
+               numeric_code="180"
+               currency_name="Zaire"
+               date_withdrawn="1994-02" />
+""")
+        outfile.write("</iso_4217_entries>\n")
index 837a3e9..405d9de 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,6 +1,9 @@
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
+
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 
 localedir = $(datadir)/locale
 
@@ -9,7 +12,8 @@ EXTRA_DIST = \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 # Generic target to create binary .mo files from .po files
 %.mo: %.po
@@ -28,6 +32,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -80,6 +88,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -93,3 +106,8 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
index 363e87a..6c40527 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for iso-codes 4.0.
+# Generated by GNU Autoconf 2.69 for iso-codes 4.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='iso-codes'
 PACKAGE_TARNAME='iso-codes'
-PACKAGE_VERSION='4.0'
-PACKAGE_STRING='iso-codes 4.0'
+PACKAGE_VERSION='4.1'
+PACKAGE_STRING='iso-codes 4.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1219,7 +1219,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures iso-codes 4.0 to adapt to many kinds of systems.
+\`configure' configures iso-codes 4.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1286,7 +1286,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of iso-codes 4.0:";;
+     short | recursive ) echo "Configuration of iso-codes 4.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1363,7 +1363,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-iso-codes configure 4.0
+iso-codes configure 4.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1380,7 +1380,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by iso-codes $as_me 4.0, which was
+It was created by iso-codes $as_me 4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2244,7 +2244,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='iso-codes'
- VERSION='4.0'
+ VERSION='4.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3147,7 +3147,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by iso-codes $as_me 4.0, which was
+This file was extended by iso-codes $as_me 4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3200,7 +3200,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-iso-codes config.status 4.0
+iso-codes config.status 4.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
index 7fce993..a30c8c7 100644 (file)
@@ -19,7 +19,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 
-AC_INIT([iso-codes],[4.0])
+AC_INIT([iso-codes],[4.1])
 
 AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign])
 AM_MAINTAINER_MODE
index de84b65..fdd9db3 100644 (file)
       "type": "Province"
     },
     {
-      "code": "ZA-GP",
+      "code": "ZA-GT",
       "name": "Gauteng",
       "type": "Province"
     },
       "type": "Province"
     },
     {
+      "code": "ZA-NL",
+      "name": "Kwazulu-Natal",
+      "type": "Province"
+    },
+    {
       "code": "ZA-NW",
       "name": "North-West (South Africa)",
       "type": "Province"
       "type": "Province"
     },
     {
-      "code": "ZA-ZN",
-      "name": "Kwazulu-Natal",
-      "type": "Province"
-    },
-    {
       "code": "ZM-01",
       "name": "Western",
       "type": "Province"
index de4575f..5047551 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_15924
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index cf7129b..aac454c 100644 (file)
@@ -1,17 +1,16 @@
 # Translation of ISO 15924 to Estonian
 # Codes for the representation of names of scripts
-#
 # This file is distributed under the same license as the iso-codes package.
-#
 # Copyright ©
 # Dr. Tobias Quathamer <toddy@debian.org>, 2007.
+# Kristjan Räts <kristjanrats@gmail.com>, 2018.
 msgid ""
 msgstr ""
 "Project-Id-Version: iso_15924\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
 "POT-Creation-Date: 2018-01-17 22:10+0100\n"
-"PO-Revision-Date: 2018-01-01 15:05+0000\n"
+"PO-Revision-Date: 2018-08-27 07:37+0000\n"
 "Last-Translator: Kristjan Räts <kristjanrats@gmail.com>\n"
 "Language-Team: Estonian <https://hosted.weblate.org/projects/iso-codes/"
 "iso-15924/et/>\n"
@@ -20,7 +19,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 2.19-dev\n"
+"X-Generator: Weblate 3.2-dev\n"
 
 #. Name for Adlm
 msgid "Adlam"
@@ -272,9 +271,8 @@ msgid "Old Italic (Etruscan, Oscan, etc.)"
 msgstr "vanaitali (etruski, oski, jt.)"
 
 #. Name for Jamo
-#, fuzzy
 msgid "Jamo (alias for Jamo subset of Hangul)"
-msgstr "jamo (jamo osa korea kirjast)"
+msgstr "jamo (korea kirja jamo alamosa alias)"
 
 #. Name for Java
 msgid "Javanese"
index 297d810..277b083 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_3166-1
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 9750d34..e8831df 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_3166-2
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 22f8bfd..ec2e724 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-11-13 14:28GMT+0200\n"
 "Last-Translator: Vasif İsmayıloğlu MD <azerb_linux@hotmail.com>\n"
 "Language-Team: Azerbaijani Turkic <linuxaz@azerimail.net>\n"
@@ -20882,7 +20882,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Birləşmiş Ştatlar"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20900,6 +20900,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Şimali Marian"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20910,10 +20914,6 @@ msgstr "Simali Qərb Sahə"
 msgid "Western Cape"
 msgstr "Qərbi Saxara"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 8a8d423..2dc3336 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-20 17:55+0000\n"
 "Last-Translator: Viktar Vauchkevich <victorenator@gmail.com>\n"
 "Language-Team: Belarusian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18678,7 +18678,7 @@ msgstr "Усходне-Капская правінцыя"
 msgid "Free State"
 msgstr "Фры-Стэйт"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Гаўтэнг"
 
@@ -18694,6 +18694,10 @@ msgstr "Мпумаланга"
 msgid "Northern Cape"
 msgstr "Паўночна-Капская правінцыя"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Квазулу-Натал"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Паўночна-заходняя правінцыя"
@@ -18702,10 +18706,6 @@ msgstr "Паўночна-заходняя правінцыя"
 msgid "Western Cape"
 msgstr "Заходне-Капская правінцыя"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Квазулу-Натал"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Луапула"
index e07d20b..ae6992e 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2009-11-25 20:24+0200\n"
 "Last-Translator: Damyan Ivanov <dmn@debian.org>\n"
 "Language-Team: Bulgarian <dict@fsa-bg.org>\n"
@@ -20724,7 +20724,7 @@ msgstr ""
 msgid "Free State"
 msgstr "САЩ"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20741,6 +20741,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Северни Мариани"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20751,10 +20755,6 @@ msgstr "Северозападна Територия"
 msgid "Western Cape"
 msgstr "Западна Сахара"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 5c41ce0..e66aed3 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-09-14 12:03GMT\n"
 "Last-Translator: Vedran Ljubovic <vljubovic@smartnet.ba>\n"
 "Language-Team: Bosnian <prijevodi@lugbih.org>\n"
@@ -20886,7 +20886,7 @@ msgstr ""
 msgid "Free State"
 msgstr "SAD"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20904,6 +20904,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Northern Marianas"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20914,10 +20918,6 @@ msgstr "Northwest Territory"
 msgid "Western Cape"
 msgstr "Zapadna Sahara"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index cbc64e9..09f3e0b 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-09-24 21:46+0200\n"
 "Last-Translator: Softcatalà <traddrake@softcatala.org>\n"
 "Language-Team: Catalan <info@softcatala.org>\n"
@@ -20882,7 +20882,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Estats Units"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20900,6 +20900,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Marines del Nord"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20910,10 +20914,6 @@ msgstr "Northwest Territory"
 msgid "Western Cape"
 msgstr "Sàhara Occidental"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 9610339..0cc9c09 100644 (file)
@@ -14,7 +14,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2017-12-28 21:49+0000\n"
 "Last-Translator: Chris Leonard <cjlhomeaddress@gmail.com>\n"
 "Language-Team: Crimean Tatar <https://hosted.weblate.org/projects/iso-codes/"
@@ -18732,7 +18732,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18748,6 +18748,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18756,10 +18760,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 435ec0c..728fa67 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2008-05-18 15:01+0200\n"
 "Last-Translator:  Miroslav Kure <kurem@debian.cz>\n"
 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
@@ -20816,7 +20816,7 @@ msgstr ""
 msgid "Free State"
 msgstr "United States"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20834,6 +20834,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Northern Marianas"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20844,10 +20848,6 @@ msgstr "Northwest Territory"
 msgid "Western Cape"
 msgstr "Western Sahara"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index e7cc74f..26b6e28 100644 (file)
@@ -17,7 +17,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2015-08-16 22:00+0200\n"
 "Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
 "Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
@@ -19185,7 +19185,7 @@ msgstr "Østkapprovinsen"
 msgid "Free State"
 msgstr "Fristatprovinsen"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -19201,6 +19201,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Nordkapprovinsen"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Nordvestprovinsen (Sydafrika)"
@@ -19209,10 +19213,6 @@ msgstr "Nordvestprovinsen (Sydafrika)"
 msgid "Western Cape"
 msgstr "Vestkapprovinsen"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index a2dab40..61c0b37 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-08-25 13:49+0000\n"
 "Last-Translator: Dr. Tobias Quathamer <toddy@debian.org>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/iso-codes/"
@@ -18681,7 +18681,7 @@ msgstr "Ostkap"
 msgid "Free State"
 msgstr "Freistaat"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18697,6 +18697,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Nordkap"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Nordwest (Südafrika)"
@@ -18705,10 +18709,6 @@ msgstr "Nordwest (Südafrika)"
 msgid "Western Cape"
 msgstr "Westkap"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 68967ef..8726f0f 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-01-29 08:38+0000\n"
 "Last-Translator: Vangelis Skarmoutsos <skarmoutsosv@gmail.com>\n"
 "Language-Team: Greek <https://hosted.weblate.org/projects/iso-codes/"
@@ -18766,7 +18766,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18782,6 +18782,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18790,10 +18794,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index bd1bd9c..fa87b5b 100644 (file)
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2007-07-04 19:00+0200\n"
 "Last-Translator: Tobias Quathamer <toddy@debian.org>\n"
 "Language-Team: English\n"
@@ -20227,7 +20227,7 @@ msgstr "Eastern Cape"
 msgid "Free State"
 msgstr "Free State"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -20243,6 +20243,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Northern Cape"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20252,10 +20256,6 @@ msgstr "North-West Frontier"
 msgid "Western Cape"
 msgstr "Western Cape"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index dc22f7f..01314ad 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-09-13 13:38-0500\n"
 "Last-Translator: D. Dale Gulledge <dsplat@rochester.rr.com>\n"
 "Language-Team: Esperanto <eo@li.org>\n"
@@ -20754,7 +20754,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Usono"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20771,6 +20771,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Insuloj Marianaj Nordaj"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20781,10 +20785,6 @@ msgstr "Nordokcidentaj Teritorioj"
 msgid "Western Cape"
 msgstr "Okcidenta Saharo"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 733653a..3b27521 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-18 08:43+0000\n"
 "Last-Translator: advocatux <advocatux@airpost.net>\n"
 "Language-Team: Spanish <https://hosted.weblate.org/projects/iso-codes/"
@@ -20765,7 +20765,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Estados Unidos"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20782,6 +20782,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Northern Marianas"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20792,10 +20796,6 @@ msgstr "Northwest Territory"
 msgid "Western Cape"
 msgstr "Sahara Oeste"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index a38177a..2ac9e84 100644 (file)
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-01-31 19:36+0000\n"
 "Last-Translator: Kristjan Räts <kristjanrats@gmail.com>\n"
 "Language-Team: Estonian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18680,7 +18680,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18696,6 +18696,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18704,10 +18708,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index e2ec620..d087d2e 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-10-09 18:02GMT+1\n"
 "Last-Translator: Iñigo Salvador Azurmendi <xalba@euskalnet.net>\n"
 "Language-Team: Euskara <linux-eu@chanae.alphanet.ch>\n"
@@ -20781,7 +20781,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Estatu Batuak"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20798,6 +20798,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Iparraldeko Marianak"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20808,10 +20812,6 @@ msgstr "Iparmendebaldeko Lurraldea"
 msgid "Western Cape"
 msgstr "Mendebaldeko Sahara"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 4006f3b..8ad1ada 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2008-11-04 23:06+0200\n"
 "Last-Translator: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>\n"
 "Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
@@ -18729,7 +18729,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18745,6 +18745,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18753,10 +18757,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 0454b12..f992414 100644 (file)
@@ -15,7 +15,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2017-12-28 21:49+0000\n"
 "Last-Translator: Alban Vidal <alban.vidal@zordhak.fr>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/iso-codes/"
@@ -18687,7 +18687,7 @@ msgstr "Cap-Oriental"
 msgid "Free State"
 msgstr "État-Libre"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18703,6 +18703,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Cap-du-Nord"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Nord-Ouest"
@@ -18711,10 +18715,6 @@ msgstr "Nord-Ouest"
 msgid "Western Cape"
 msgstr "Cap-Occidental"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 9a419ea..faafb89 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2017-12-10 21:39+0000\n"
 "Last-Translator: Dr. Tobias Quathamer <toddy@debian.org>\n"
 "Language-Team: Irish <https://hosted.weblate.org/projects/iso-codes/"
@@ -20451,7 +20451,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Stáit Aontaithe Mheiriceá"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20467,6 +20467,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -20475,10 +20479,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 746a824..9c92dea 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-01-14 14:41+0000\n"
 "Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
 "Language-Team: Hungarian <https://hosted.weblate.org/projects/iso-codes/"
@@ -19254,7 +19254,7 @@ msgstr "Eastern Cape"
 msgid "Free State"
 msgstr "Free State"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -19270,6 +19270,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -19279,10 +19283,6 @@ msgstr "Északnyugati határ"
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index baec331..87f10ca 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-20 00:40+0000\n"
 "Last-Translator: Chris Leonard <cjlhomeaddress@gmail.com>\n"
 "Language-Team: Indonesian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18681,7 +18681,7 @@ msgstr "Eastern Cape"
 msgid "Free State"
 msgstr "Free State"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18697,6 +18697,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Northern Cape"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "North-West (South Africa)"
@@ -18705,10 +18709,6 @@ msgstr "North-West (South Africa)"
 msgid "Western Cape"
 msgstr "Western Cape"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index e600c2d..029a09f 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-03-17 10:38+0000\n"
 "Last-Translator: Sveinn í Felli <sv1@fellsnet.is>\n"
 "Language-Team: Icelandic <https://hosted.weblate.org/projects/iso-codes/"
@@ -18682,7 +18682,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18698,6 +18698,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18706,10 +18710,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index b0f59ed..c776801 100644 (file)
@@ -11,7 +11,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18675,7 +18675,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18691,6 +18691,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18699,10 +18703,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index e6cd6c0..2fae825 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-12 06:40+0000\n"
 "Last-Translator: Milo Casagrande <milo@ubuntu.com>\n"
 "Language-Team: Italian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18700,7 +18700,7 @@ msgstr "Capo orientale"
 msgid "Free State"
 msgstr "Free State"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18716,6 +18716,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Capo settentrionale"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Nord-Ovest (Sud Africa)"
@@ -18724,10 +18728,6 @@ msgstr "Nord-Ovest (Sud Africa)"
 msgid "Western Cape"
 msgstr "Capo orientale"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 0a036ba..eaf6931 100644 (file)
@@ -32,7 +32,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2013-08-19 14:45+0900\n"
 "Last-Translator: Yasuaki Taniguchi <yasuakit@gmail.com>\n"
 "Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
@@ -19379,7 +19379,7 @@ msgstr "東ケープ"
 msgid "Free State"
 msgstr "自由州"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "ガウテング"
 
@@ -19395,6 +19395,10 @@ msgstr "マプマランガ"
 msgid "Northern Cape"
 msgstr "北ケープ"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "クワズールーナタール"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "北西州"
@@ -19403,10 +19407,6 @@ msgstr "北西州"
 msgid "Western Cape"
 msgstr "西ケープ"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "クワズールーナタール"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "ルアプラ"
index 91a47c5..7c194d6 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-02-04 12:55+0000\n"
 "Last-Translator: Changwoo Ryu <cwryu@debian.org>\n"
 "Language-Team: Korean <https://hosted.weblate.org/projects/iso-codes/"
@@ -20521,7 +20521,7 @@ msgstr ""
 msgid "Free State"
 msgstr "미국"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20537,6 +20537,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -20545,10 +20549,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index e5d63f6..a5a506a 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-02-20 17:37+0000\n"
 "Last-Translator: Ilyas Bakirov <i.bakirov@gmail.com>\n"
 "Language-Team: Kyrgyz <https://hosted.weblate.org/projects/iso-codes/"
@@ -18679,7 +18679,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18695,6 +18695,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18703,10 +18707,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index ae98909..e88edb0 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2009-09-26 20:46+0300\n"
 "Last-Translator: Kęstutis Biliūnas <kebil@kaunas.init.lt>\n"
 "Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
@@ -19205,7 +19205,7 @@ msgstr "Rytų Kapas"
 msgid "Free State"
 msgstr "Fristeitas (Laisvoji valstija)"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gautengas"
 
@@ -19221,6 +19221,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Šiaurės Kapas"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kvazulu-Natalis"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Šiaurės Vakarai (Pietų Afrika)"
@@ -19229,10 +19233,6 @@ msgstr "Šiaurės Vakarai (Pietų Afrika)"
 msgid "Western Cape"
 msgstr "Vakarų Kapas"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kvazulu-Natalis"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index c8c3bd0..b7dfb85 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-09-06 15:59+0200\n"
 "Last-Translator: Juris Kudiņš <cooker@inbox.lv>\n"
 "Language-Team: Latvian\n"
@@ -20537,7 +20537,7 @@ msgstr ""
 msgid "Free State"
 msgstr "ASV"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20553,6 +20553,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20562,10 +20566,6 @@ msgstr "Ziemeļkarolīna"
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 46dfd06..0dc62cb 100644 (file)
@@ -19,7 +19,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-14 14:36+0000\n"
 "Last-Translator: Pander <pander@users.sourceforge.net>\n"
 "Language-Team: Dutch <https://hosted.weblate.org/projects/iso-codes/"
@@ -18711,7 +18711,7 @@ msgstr "Oost-Kaap"
 msgid "Free State"
 msgstr "Oranje-Vrystaat"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18727,6 +18727,10 @@ msgstr "Mpumalanga [Oost-Transvaal]"
 msgid "Northern Cape"
 msgstr "Noord-Kaap"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Noordwest (Zuid-Afrika)"
@@ -18735,10 +18739,6 @@ msgstr "Noordwest (Zuid-Afrika)"
 msgid "Western Cape"
 msgstr "West-Kaap"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index cf09e94..f09fe34 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2002-11-13 15:30+0200\n"
 "Last-Translator: Jerry Thobejane <jerry@translate.org.za>\n"
 "Language-Team: Northern Sotho <sepedi@translate.org.za>\n"
@@ -20797,7 +20797,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Seemo"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20814,6 +20814,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Lebowa La Ireland"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20824,10 +20828,6 @@ msgstr "Lebowa la North"
 msgid "Western Cape"
 msgstr "Bodikela bja Samoa"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index b40e545..32dad5b 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: oc\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-01-01 15:06+0000\n"
 "Last-Translator: Chris Leonard <cjlhomeaddress@gmail.com>\n"
 "Language-Team: Occitan <https://hosted.weblate.org/projects/iso-codes/"
@@ -18740,7 +18740,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18756,6 +18756,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18764,10 +18768,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index d2d1733..260fc8e 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2017-10-24 20:31+0200\n"
 "Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
 "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
@@ -18696,7 +18696,7 @@ msgstr "Prowincja Przylądkowa Wschodnia"
 msgid "Free State"
 msgstr "Wolne Państwo"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18712,6 +18712,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Prowincja Przylądkowa Północna"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "KwaZulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Prowincja Północno-Zachodnia"
@@ -18720,10 +18724,6 @@ msgstr "Prowincja Północno-Zachodnia"
 msgid "Western Cape"
 msgstr "Prowincja Przylądkowa Zachodnia"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "KwaZulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Prowincja Luapula"
index 201692f..d6f44a7 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-01-01 15:06+0000\n"
 "Last-Translator: Chris Leonard <cjlhomeaddress@gmail.com>\n"
 "Language-Team: Romanian <https://hosted.weblate.org/projects/iso-codes/"
@@ -19240,7 +19240,7 @@ msgstr "Ora estică"
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -19256,6 +19256,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -19265,10 +19269,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr "Ora vestică"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index fd621f1..3795ade 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-08-05 23:46+0000\n"
 "Last-Translator: Ajeje Brazorf <lmelonimamo@yahoo.it>\n"
 "Language-Team: Sardinian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18677,7 +18677,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18693,6 +18693,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -18701,10 +18705,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 524ec28..a398262 100644 (file)
@@ -16,7 +16,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2014-11-14 10:51+0200\n"
 "Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
 "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
@@ -19081,7 +19081,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -19097,6 +19097,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr ""
@@ -19105,10 +19109,6 @@ msgstr ""
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index e9bee40..4ff0193 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2011-08-14 23:02+0200\n"
 "Last-Translator:  Primož Peterlin <primozz.peterlin@gmail.com>\n"
 "Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
@@ -20875,7 +20875,7 @@ msgstr "Vzhodna Kaplandija"
 msgid "Free State"
 msgstr "Svobodna država Oranje"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -20891,6 +20891,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Severna Kaplandija"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Severozahodna Južna Afrika"
@@ -20899,10 +20903,6 @@ msgstr "Severozahodna Južna Afrika"
 msgid "Western Cape"
 msgstr "Zahodna Kaplandija"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 9a3d3ff..ed0737d 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2015-12-26 22:03+0200\n"
 "Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
 "Language-Team: Serbian <(nothing)>\n"
@@ -18776,7 +18776,7 @@ msgstr "Источни Кејп"
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18792,6 +18792,10 @@ msgstr "Мпумаланга"
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Квацулу-Натал"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Северозапад (Јужна Африка)"
@@ -18800,10 +18804,6 @@ msgstr "Северозапад (Јужна Африка)"
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Квацулу-Натал"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Луапула"
index 1a1ba50..e11d09c 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2015-12-26 22:03+0200\n"
 "Last-Translator: Miroslav Nikolić <miroslavnikolic@rocketmail.com>\n"
 "Language-Team: Serbian <(nothing)>\n"
@@ -18776,7 +18776,7 @@ msgstr "Istočni Kejp"
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18792,6 +18792,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kvaculu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Severozapad (Južna Afrika)"
@@ -18800,10 +18804,6 @@ msgstr "Severozapad (Južna Afrika)"
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kvaculu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 622de29..e35e67e 100644 (file)
@@ -14,7 +14,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-05-11 19:48+0000\n"
 "Last-Translator: Sebastian Rasmussen <sebras@gmail.com>\n"
 "Language-Team: Swedish <https://hosted.weblate.org/projects/iso-codes/"
@@ -18688,7 +18688,7 @@ msgstr "Östra Kapprovinsen"
 msgid "Free State"
 msgstr "Fristatsprovinsen"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -18704,6 +18704,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Norra Kapprovinsen"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Nordvästprovinsen (Sydafrika)"
@@ -18712,10 +18716,6 @@ msgstr "Nordvästprovinsen (Sydafrika)"
 msgid "Western Cape"
 msgstr "Västra Kapprovinsen"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index 17c512a..c192aac 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2014-04-16 20:46+0700\n"
 "Last-Translator: Theppitak Karoonboonyanan <thep@linux.thai.net>\n"
 "Language-Team: Thai <thai-l10n@googlegroups.com>\n"
@@ -18800,7 +18800,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -18816,6 +18816,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "ภาคตะวันตกเฉียงเหนือ (แอฟริกาใต้)"
@@ -18824,10 +18828,6 @@ msgstr "ภาคตะวันตกเฉียงเหนือ (แอฟ
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 1bd39c8..797a7b0 100644 (file)
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2001-09-23 02:35+0200\n"
 "Last-Translator: Ömer Fadıl USTA <omer_fad@hotmail.com>\n"
 "Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
@@ -20787,7 +20787,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Birleşik Devletler"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20804,6 +20804,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Northern Marianas"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20814,10 +20818,6 @@ msgstr "Kuzeybatı Bölgeleri"
 msgid "Western Cape"
 msgstr "Batı Sahra"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index 4ff2dcc..17f587e 100644 (file)
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2018-06-18 15:28+0000\n"
 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
 "Language-Team: Ukrainian <https://hosted.weblate.org/projects/iso-codes/"
@@ -18679,7 +18679,7 @@ msgstr "Східна Капська провінція"
 msgid "Free State"
 msgstr "Вільна держава"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Гаутенг"
 
@@ -18695,6 +18695,10 @@ msgstr "Мпумаланга"
 msgid "Northern Cape"
 msgstr "Північна Капська провінція"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Квазулу-Наталь"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Північно-західна (Південна Африка)"
@@ -18703,10 +18707,6 @@ msgstr "Північно-західна (Південна Африка)"
 msgid "Western Cape"
 msgstr "Західна Капська провінція"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Квазулу-Наталь"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Луапула"
index 6eec554..28ffe98 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2002-11-13 22:07SAST\n"
 "Last-Translator: Fhatuwani Rambau <fhatuwani@translate.org.za>\n"
 "Language-Team: Venda <venda@translate.org.za>\n"
@@ -20794,7 +20794,7 @@ msgstr ""
 msgid "Free State"
 msgstr "Muvhuso"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -20811,6 +20811,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr "Northern Ireland"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -20821,10 +20825,6 @@ msgstr "North Korea"
 msgid "Western Cape"
 msgstr "Western Samoa"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index f096219..b35f2bb 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2012-09-08 10:26+0100\n"
 "Last-Translator: Hai-Nam Nguyen <hainam@jcisio.com>\n"
 "Language-Team: MOST project <du-an-most@lists.hanoilug.org>\n"
@@ -19178,7 +19178,7 @@ msgstr "Đông Mũi Đất"
 msgid "Free State"
 msgstr "Bảng Tự Do"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "Gauteng"
 
@@ -19194,6 +19194,10 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "Bắc Mũi Đất"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "Tây Bắc (Nam Phi)"
@@ -19202,10 +19206,6 @@ msgstr "Tây Bắc (Nam Phi)"
 msgid "Western Cape"
 msgstr "Tây Mũi Đất"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "Luapula"
index b5d2529..335cc45 100644 (file)
@@ -12,7 +12,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2007-08-28 20:39+0200\n"
 "Last-Translator: Pablo Saratxaga <pablo@walon.org>\n"
 "Language-Team: Walloon <linux-wa@walon.org>\n"
@@ -19568,7 +19568,7 @@ msgstr ""
 msgid "Free State"
 msgstr ""
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr ""
 
@@ -19584,6 +19584,10 @@ msgstr ""
 msgid "Northern Cape"
 msgstr ""
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr ""
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -19593,10 +19597,6 @@ msgstr "Renaneye-Wesfaleye"
 msgid "Western Cape"
 msgstr ""
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr ""
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr ""
index cf2b6cd..dbbba05 100644 (file)
@@ -14,7 +14,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2009-06-27 18:21+0800\n"
 "Last-Translator: LI Daobing <lidaobing@gmail.com>\n"
 "Language-Team: Chinese (simplified) <translation-team-zh-cn@lists."
@@ -19802,7 +19802,7 @@ msgstr "东开普省"
 msgid "Free State"
 msgstr "奥兰治自由邦"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 msgid "Gauteng"
 msgstr "豪登省"
 
@@ -19818,6 +19818,10 @@ msgstr "普马兰加省"
 msgid "Northern Cape"
 msgstr "北开普省"
 
+#. Name for ZA-NL
+msgid "Kwazulu-Natal"
+msgstr "夸祖鲁-纳塔尔省"
+
 #. Name for ZA-NW
 msgid "North-West (South Africa)"
 msgstr "西北"
@@ -19826,10 +19830,6 @@ msgstr "西北"
 msgid "Western Cape"
 msgstr "西开普省"
 
-#. Name for ZA-ZN
-msgid "Kwazulu-Natal"
-msgstr "夸祖鲁-纳塔尔省"
-
 #. Name for ZM-04
 msgid "Luapula"
 msgstr "卢阿普拉省"
index 3c5960c..7a13675 100644 (file)
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: iso_3166-2\n"
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
-"POT-Creation-Date: 2018-06-18 16:05+0200\n"
+"POT-Creation-Date: 2018-08-31 14:11+0200\n"
 "PO-Revision-Date: 2017-12-17 20:36+0000\n"
 "Last-Translator: ezjerry liao <ezjerry@gmail.com>\n"
 "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
@@ -22857,7 +22857,7 @@ msgstr "東帽"
 msgid "Free State"
 msgstr "自由狀態"
 
-#. Name for ZA-GP
+#. Name for ZA-GT
 #, fuzzy
 msgid "Gauteng"
 msgstr "Gauteng"
@@ -22877,6 +22877,11 @@ msgstr "Mpumalanga"
 msgid "Northern Cape"
 msgstr "北帽"
 
+#. Name for ZA-NL
+#, fuzzy
+msgid "Kwazulu-Natal"
+msgstr "Kwazulu-Natal"
+
 #. Name for ZA-NW
 #, fuzzy
 msgid "North-West (South Africa)"
@@ -22887,11 +22892,6 @@ msgstr "North-West (南非)"
 msgid "Western Cape"
 msgstr "西帽"
 
-#. Name for ZA-ZN
-#, fuzzy
-msgid "Kwazulu-Natal"
-msgstr "Kwazulu-Natal"
-
 #. Name for ZM-04
 #, fuzzy
 msgid "Luapula"
index 3d6ae8a..f309e33 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_3166-3
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index afb766c..2d9094b 100644 (file)
@@ -16,19 +16,19 @@ msgstr ""
 "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/"
 "issues\n"
 "POT-Creation-Date: 2018-01-17 22:10+0100\n"
-"PO-Revision-Date: 2015-07-12 19:48+0200\n"
-"Last-Translator: Milo Casagrande <milo@milo.name>\n"
+"PO-Revision-Date: 2018-09-03 20:54+0200\n"
+"Last-Translator: Sebastiano Pistore <SebastianoPistore.info@protonmail.ch>\n"
 "Language-Team: Italian <tp@lists.linux.it>\n"
 "Language: it\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n!=1);\n"
-"X-Generator: Poedit 1.8.2\n"
+"X-Generator: Poedit 2.1.1\n"
 
 #. Name for AIDJ
 msgid "French Afars and Issas"
-msgstr "Afars e Issas francesi"
+msgstr "Territorio francese degli Afar e degli Issa"
 
 #. Name for ANHH
 msgid "Netherlands Antilles"
@@ -36,19 +36,19 @@ msgstr "Antille olandesi"
 
 #. Name for BQAQ
 msgid "British Antarctic Territory"
-msgstr "Territorio britannico antartico"
+msgstr "Territorio antartico britannico"
 
 #. Name for BUMM
 msgid "Burma, Socialist Republic of the Union of"
-msgstr "Repubblica socialista dell'unione della Birmania"
+msgstr "Birmania, Repubblica Socialista dell'Unione della"
 
 #. Name for BYAA
 msgid "Byelorussian SSR Soviet Socialist Republic"
-msgstr "Repubblica socialista sovietica bielorussa"
+msgstr "Repubblica Socialista Sovietica Bielorussa"
 
 #. Name for CSHH
 msgid "Czechoslovakia, Czechoslovak Socialist Republic"
-msgstr "Cecoslovacchia, Repubblica socialista cecoslovacca"
+msgstr "Cecoslovacchia, Repubblica Socialista Cecoslovacca"
 
 #. Name for CSXX
 msgid "Serbia and Montenegro"
@@ -60,7 +60,7 @@ msgstr "Isole Canton ed Enderbury"
 
 #. Name for DDDE
 msgid "German Democratic Republic"
-msgstr "Repubblica democratica tedesca"
+msgstr "Repubblica Democratica Tedesca"
 
 #. Name for DYBJ
 msgid "Dahomey"
@@ -68,7 +68,7 @@ msgstr "Dahomey"
 
 #. Name for FQHH
 msgid "French Southern and Antarctic Territories"
-msgstr "Territori meridionali e antartici francesi"
+msgstr "Terre australi e antartiche francesi"
 
 # (ndt) da wikipedia
 #. Name for FXFR
@@ -81,15 +81,15 @@ msgstr "Isole Gilbert ed Ellice"
 
 #. Name for HVBF
 msgid "Upper Volta, Republic of"
-msgstr "Repubblica del Volta superiore"
+msgstr "Alto Volta, Repubblica del"
 
 #. Name for JTUM
 msgid "Johnston Island"
-msgstr "Johnston Island"
+msgstr "Atollo Johnston"
 
 #. Name for MIUM
 msgid "Midway Islands"
-msgstr "Isole Midway"
+msgstr "Atollo di Midway"
 
 #. Name for NHVU
 msgid "New Hebrides"
@@ -97,7 +97,7 @@ msgstr "Nuove Ebridi"
 
 #. Name for NQAQ
 msgid "Dronning Maud Land"
-msgstr "Terra della regina di Maud"
+msgstr "Terra della regina Maud"
 
 #. Name for NTHH
 msgid "Neutral Zone"
@@ -106,12 +106,11 @@ msgstr "Zona neutrale"
 # da wikipedia
 #. Name for PCHH
 msgid "Pacific Islands (trust territory)"
-msgstr "Territorio in amministrazione fiduciaria delle isole del Pacifico"
+msgstr "Territorio fiduciario delle Isole del Pacifico"
 
-# (ndt) non riesco a trovare una traduzione
 #. Name for PUUM
 msgid "US Miscellaneous Pacific Islands"
-msgstr "US Miscellaneous Pacific Islands"
+msgstr "Altre isole del Pacifico (USA)"
 
 #. Name for PZPA
 msgid "Panama Canal Zone"
@@ -135,20 +134,20 @@ msgstr "Timor Est"
 
 #. Name for VDVN
 msgid "Viet-Nam, Democratic Republic of"
-msgstr "Repubblica democratica del Vietnam"
+msgstr "Vietnam, Repubblica democratica del"
 
 #. Name for WKUM
 msgid "Wake Island"
-msgstr "Isola Wake"
+msgstr "Atollo di Wake"
 
 #. Name for YDYE
 msgid "Yemen, Democratic, People's Democratic Republic of"
-msgstr "Repubblica democratica popolare dello Yemen"
+msgstr "Yemen, Repubblica Democratica Popolare dello"
 
 #. Name for YUCS
 msgid "Yugoslavia, Socialist Federal Republic of"
-msgstr "Repubblica socialista federale di Yugoslavia"
+msgstr "Jugoslavia, Repubblica Socialista Federale di"
 
 #. Name for ZRCD
 msgid "Zaire, Republic of"
-msgstr "Repubblica dello Zaire"
+msgstr "Zaire, Repubblica dello"
index e7a57f8..50a60e5 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_4217
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index eb983ab..76ae595 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_639-2
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index ebce52e..ab12bfa 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_639-3
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index aa7b845..21f7d01 100644 (file)
@@ -114,7 +114,35 @@ am__can_run_installinfo = \
     n|no|NO) false;; \
     *) (install-info --version) >/dev/null 2>&1;; \
   esac
-DATA = $(noinst_DATA)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(xmldir)"
+DATA = $(nodist_xml_DATA) $(noinst_DATA)
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 DOMAIN = iso_639-5
+xmldir = $(datadir)/xml/iso-codes
+nodist_xml_DATA = $(DOMAIN).xml
 pofiles = $(wildcard $(srcdir)/*.po)
 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
-noinst_DATA = $(mofiles)
+noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
 EXTRA_DIST = \
        $(pofiles)      \
        $(DOMAIN).pot
 
 MOSTLYCLEANFILES = \
-       $(mofiles)
+       $(mofiles) \
+       $(DOMAIN).xml
 
 all: all-am
 
@@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+install-nodist_xmlDATA: $(nodist_xml_DATA)
+       @$(NORMAL_INSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+       done
+
+uninstall-nodist_xmlDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
 tags TAGS:
 
 ctags CTAGS:
@@ -287,6 +339,9 @@ check-am: all-am
 check: check-am
 all-am: Makefile $(DATA)
 installdirs:
+       for dir in "$(DESTDIR)$(xmldir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -338,7 +393,7 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 install-dvi: install-dvi-am
@@ -383,7 +438,7 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-nodist_xmlDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: check-am install-am install-data-am install-strip uninstall-am
@@ -394,11 +449,11 @@ uninstall-am:
        install-data install-data-am install-data-hook install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
-       uninstall-am uninstall-hook
+       install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+       uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
 
 .PRECIOUS: Makefile
 
@@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j
                rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
        fi
 
+# Generic target to create deprecated .xml files from JSON data files
+$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
+       python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
+
 # Used in the domain subdirectories for checking that
 # all .po files contain UTF-8 data
 check-local:
@@ -472,6 +531,11 @@ install-data-hook: $(mofiles)
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
                if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
 
 uninstall-hook:
        catalogs='$(mofiles)'; \
@@ -485,6 +549,11 @@ uninstall-hook:
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
                if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
        done
+       if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
+       if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
+       if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.