[Pkg-isocodes-devel] [iso-codes] 02/02: Update documentation

Tobias Quathamer toddy at moszumanska.debian.org
Mon Apr 11 15:25:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

toddy pushed a commit to branch master
in repository iso-codes.

commit 29d7c457702223ed2724327fa37b1918d855a86b
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date:   Mon Apr 11 17:24:02 2016 +0200

    Update documentation
---
 README.md | 204 ++++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 124 insertions(+), 80 deletions(-)

diff --git a/README.md b/README.md
index 6a6c246..a3439f9 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
 iso-codes
 =========
+
 <http://pkg-isocodes.alioth.debian.org/>
 
 This package provides lists of various ISO standards (e.g. country,
@@ -20,117 +21,161 @@ changes in the ISO standard and will not work with outdated
 information.
 
 To use this translation infrastructure, the programmer just needs
-to call dgettext() in their program.
+to call `dgettext()` in their program.
 
 Example:
-    dgettext("iso_639", "French")
+
+    dgettext("iso_639-2", "French")
+
 will return the translation for "French", depending on the
 current locale.
 
-Furthermore, this package provides the ISO standards as XML files
-to be used by other applications as well. All those XML files
-are stored in the directory "/usr/share/xml/iso-codes".
+Furthermore, this package provides the ISO standards as JSON files
+to be used by other applications as well. All those JSON files
+are stored in the directory "/usr/share/iso-codes/json".
+
+
+NEWS
+====
+
+* 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
+  the old domain `iso_3166` contained both standards. However, the
+  standard ISO 3166-3 was more or less inaccessible.
+* The standard ISO 4217 (currency names) now includes only the
+  currently used currencies. Entries of withdrawn currencies are
+  no longer included.
+* The standard ISO 639-5 now includes only the language families
+  which are part of the official standard. The previously
+  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`
+  - ISO 639-3: Renamed from `iso_639_3` to `iso_639-3`
+  - ISO 639-5: Renamed from `iso_639_5` to `iso_639-5`
+  - ISO 3166-1: Renamed from `iso_3166` to `iso_3166-1`
+  - ISO 3166-2: Renamed from `iso_3166_2` to `iso_3166-2`
+  
+  All previously used gettext domains are linked to the new
+  domain names, so that this transition should be smooth for
+  programs using those domain names.
+
+
+ISO 639-2
+---------
+
+This lists the 2-letter and 3-letter language codes and language
+names. The official ISO 639-2 maintenance agency is the Library of
+Congress. The gettext domain is "iso_639-2".
 
+<http://www.loc.gov/standards/iso639-2/>
 
-NEWS: iso_3166.tab and iso_639.tab removed
-==========================================
 
-Please note that the plain text tabular files "iso_3166.tab" and
-"iso_639.tab" have been removed from the directory /usr/share/iso-codes.
-If you need that specific format, you can easily regenerate those
-files. Install the package isoquery and run the following commands:
+ISO 639-3
+---------
 
-$ isoquery | cut -f 1,4 | sort > iso_3166.tab
+This is a further development of ISO 639-2, see above. All codes
+of ISO 639-2 are included in ISO 639-3. ISO 639-3 attempts to
+provide as complete an enumeration of languages as possible,
+including living, extinct, ancient, and constructed languages,
+whether major or minor, written or unwritten. The gettext
+domain is "iso_639-3". The official ISO 639-3 maintenance agency
+is SIL International.
+
+<http://www.sil.org/iso639-3/>
 
-$ isoquery --iso=639 | \
-  sed -e "s/\t\t/\tXX\t/" | \
-  awk -F"\t" '{print $2"\t"$1"\t"$3"\t"$4}' | \
-  sort > iso_639.tab
 
-See the output of "isoquery --help" or "man isoquery" for more
-information and usage examples.
+ISO 639-5
+---------
 
+This standard is highly incomplete list of alpha-3 codes
+for language families and groups. The official ISO 639-5 maintenance
+agency is the Library of Congress. The gettext domain is "iso_639-5".
 
-ISO 3166
-========
+<http://www.loc.gov/standards/iso639-5/>
+
+
+ISO 3166-1
+----------
 
 This lists the 2-letter country code and "short" country name. The
-official ISO 3166 maintenance agency is ISO. The gettext domain is
-"iso_3166".
+official ISO 3166-1 maintenance agency is ISO. The gettext domain is
+"iso_3166-1".
+
 <http://www.iso.org/iso/country_codes>
 
 
-ISO 639
-=======
+ISO 3166-2
+----------
 
-This lists the 2-letter and 3-letter language codes and language
-names. The official ISO 639 maintenance agency is the Library of
-Congress. The gettext domain is "iso_639".
-<http://www.loc.gov/standards/iso639-2/>
+The ISO 3166 standard includes a "Country Subdivision Code",
+giving a code for the names of the principal administrative
+subdivisions of the countries coded in ISO 3166. The official
+ISO 3166-2 maintenance agency is ISO. The gettext domain is
+"iso_3166-2".
 
+<http://www.iso.org/iso/country_codes>
 
-ISO 639-3
-=========
 
-This is a further development of ISO 639-2, see above. All codes
-of ISO 639-2 are included in ISO 639-3. ISO 639-3 attempts to
-provide as complete an enumeration of languages as possible,
-including living, extinct, ancient, and constructed languages,
-whether major or minor, written or unwritten. The gettext
-domain is "iso_639_3". The official ISO 639-3 maintenance agency
-is SIL International.
-<http://www.sil.org/iso639-3/>
+ISO 3166-2
+----------
+
+The ISO 3166-3 standard defines codes for country names which
+have been removed from ISO 3166-1. The official ISO 3166-3
+maintenance agency is ISO. The gettext domain is "iso_3166-3".
+
+<http://www.iso.org/iso/country_codes>
 
 
 ISO 4217
-========
+--------
 
 This lists the currency codes and names. The official ISO 4217
-maintenance agency is the British Standards Institution. The
-gettext domain is "iso_4217".
-<http://www.bsi-global.com/en/Standards-and-Publications/Industry-Sectors/Services/BSI-Currency-Code-Service/>
+maintenance agency is the Swiss Association for Standardization.
+The gettext domain is "iso_4217".
+
+<http://www.currency-iso.org/en/home.html>
 
 
 ISO 15924
-=========
+---------
 
 This lists the language scripts names. The official ISO 15924
 maintenance agency is the Unicode Consortium. The gettext
 domain is "iso_15924".
-<http://unicode.org/iso15924/>
-
 
-ISO 3166-2
-==========
-
-The ISO 3166 standard includes a "Country Subdivision Code",
-giving a code for the names of the principal administrative
-subdivisions of the countries coded in ISO 3166. The official
-ISO 3166-2 maintenance agency is ISO. The gettext domain is
-"iso_3166_2".
-<http://www.iso.org/iso/country_codes/background_on_iso_3166/iso_3166-2.htm>
+<http://unicode.org/iso15924/>
 
 
 Tracking updates to the various ISO standards
 =============================================
 
 Below is a list of websites we use to check for updates to the
-standards. Please note that ISO 4217 is missing, because the BSI
-does not provide a list of changes.
-
-ISO 3166 and ISO 3166-2:
-http://www.iso.org/iso/country_codes/check_what_s_new.htm
-http://www.iso.org/iso/country_codes/updates_on_iso_3166.htm
-http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1-semic.txt
+standards.
 
-ISO-639:
-http://www.loc.gov/standards/iso639-2/php/code_changes.php
+ISO 639-2:
+<http://www.loc.gov/standards/iso639-2/php/code_changes.php>
 
 ISO 639-3:
-http://www.sil.org/iso639-3/codes.asp?order=639_3&letter=%25
+<http://www-01.sil.org/iso639-3/changes.asp>
+
+ISO 639-5:
+<http://www.loc.gov/standards/iso639-5/changes.php>
+
+ISO 3166-1, ISO 3166-2, and ISO 3166-3:
+<http://www.iso.org/iso/country_codes>
+
+ISO 4217:
+<http://www.currency-iso.org/en/home/tables/table-a1.html>
 
 ISO-15924:
-http://unicode.org/iso15924/codechanges.html
+<http://unicode.org/iso15924/codechanges.html>
 
 
 Adding or updating translations
@@ -140,13 +185,13 @@ You can send your translation as a bug report against the package
 iso-codes to the Debian Bug Tracking System. You can either send an email
 or use the tool reportbug. More details are on this website:
 
-  <http://bugs.debian.org/>
+<https://bugs.debian.org/>
 
 Another way to send in a translation is using the Translation
 Project (TP). You can find more information about it on their
 website:
 
-  <http://www.translationproject.org/>
+<http://www.translationproject.org/>
 
 
 Reporting a bug
@@ -155,15 +200,19 @@ Reporting a bug
 If you find a bug in iso-codes, there are several ways to contact us.
 
 * Alioth Bug Tracking System
+  
   <https://alioth.debian.org/tracker/?atid=413077&group_id=30316>
+  
   This system can be accessed via webbrowser.
-
 * Debian Bug Tracking System
-  <http://bugs.debian.org/>
+  
+  <https://bugs.debian.org/>
+  
   This system can be accessed via e-mail.
-
 * Development mailing list
-  <mailto:pkg-isocodes-devel at lists.alioth.debian.org>
+  
+  <pkg-isocodes-devel at lists.alioth.debian.org>
+  
   You can subscribe or unsubscribe at this webpage:
   <http://lists.alioth.debian.org/mailman/listinfo/pkg-isocodes-devel>
 
@@ -175,15 +224,10 @@ A pkgconfig file has been included to aid developing with this
 package. You can detect the prefix where the translations have
 been placed using
 
-$ pkg-config --variable=prefix iso-codes
-/usr
+    $ pkg-config --variable=prefix iso-codes
+    /usr
 
 You can detect which gettext domains have been installed using
-$ pkg-config --variable=domains iso-codes
-iso_15924 iso_3166 iso_4217 iso_639 iso_3166_2 iso_639_3
-
 
--- 
-Alastair McKinstry, <mckinstry at debian.org>, 2003-12-24
-Christian Perrier, <bubulle at debian.org>, 2007-09-09
-Tobias Quathamer, <toddy at debian.org>, 2008-01-22
+    $ pkg-config --variable=domains iso-codes
+    iso_639-2 iso_639-3 iso_639-5 iso_3166-1 iso_3166-2 iso_3166-3 iso_4217 iso_15924

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-isocodes/iso-codes.git



More information about the Pkg-isocodes-devel mailing list