home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / iso-codes / README < prev    next >
Encoding:
Text File  |  2005-10-28  |  2.4 KB  |  93 lines

  1. This package aims to provide the list of the country and language
  2. (and currency) names in one place, rather than repeated in many
  3. programs throughout Debian.
  4.  
  5. Currently there are lists of languages and countries embedded in:
  6.  
  7. - Gnome Libs
  8. - bootfloppies / PGI
  9. - KDE
  10. - Gnumeric
  11. - Gnucash
  12. - ...
  13.  
  14. This leads to about a dozen lists of 200 languages, translated
  15. into >30 languages ... not very efficient. The aim of this patch
  16. is to create a single "gettext" domain "iso-639" which contains
  17. the translations of language names, and one "iso-3166" listing
  18. the translations of Country  names.
  19.  
  20. So the plan is then to be able to use
  21.     dgettext("iso-639", language_name)
  22. to get the correct translations.
  23.  
  24. The files
  25. /usr/share/xml/iso-codes/iso_639.xml
  26. /usr/share/xml/iso-codes/iso_639_3.xml
  27. /usr/share/xml/iso-codes/iso_4217.xml
  28. /usr/share/xml/iso-codes/iso_3166.xml
  29. /usr/share/xml/iso-codes/iso_3166_2.tab
  30.  
  31. store the files in simple XML format.
  32.  
  33. PLEASE NOTE: THE FORMAT IS CURRENTLY IN FLUX.
  34. PLEASE CONTACT THE AUTHOR IF YOU INTEND TO USE IT
  35.  
  36. The files
  37.  
  38. ISO-3166
  39. --------
  40.  
  41. This lists the 2-letter country code and "short" country name.
  42.  
  43. ISO-639
  44. -------
  45. This lists the 2-letter and 3-letter language codes and language names
  46.  
  47.  
  48. ISO-639-3
  49. ---------
  50. This is a DRAFT extension to the ISO-639 standard.
  51.  
  52. ISO_4217
  53. --------
  54. This lists the currency codes and names
  55.  
  56.  
  57. ISO 3166_2
  58. -----------
  59. The ISO 3166 standard includes a "Country Subdivision Code",
  60. giving a code for the names of the principal administrative
  61. subdivisions of the countries coded in ISO 3166.
  62.  
  63. ISO 3166-2 is a set of files giving this ISO 3166-2 standard:
  64. (available at http://www.din.de/gremein/nabd/iso3166ma/a3ptnorm.html)
  65. this is a standard that gives short codes for provinces,
  66. etc. within a country. As these also list the provinces, Counties,
  67. etc. within a country, they could also be used to provide a
  68. drop-down list when someone is entering addresses...
  69.  
  70. ---------------------------------------------------------------------
  71. DEVELOPING USING PKGCONFIG
  72. --------------------------
  73.  
  74. A pkgconfig file has been included to aid developing with this package.
  75. You can detect the prefix where the translations have been placed using
  76.  
  77. $ pkg-config --variable=prefix iso-codes
  78. /usr
  79.  
  80. You can detect which sets of translation (domain) files have been installed using
  81. $ pkg-config --variable=domains iso-codes
  82. iso-639 iso-3166 iso-4217 iso-3166-1 iso-3166-2 iso-3166-3
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. --
  90. Alastair McKinstry, <mckinstry@debian.org>, 2003-12-24
  91.      
  92.      
  93.