summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-04-17 17:38:28 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-04-17 17:38:28 +0000
commit6a3188bfd186790c0601ac6f8a991878b54722f5 (patch)
treec41a5e9a52f1884bf32b5dc3b8b198b092d30705 /docs/howto
parent85211ceb10f91f02f40ad54f6936621c8d57f929 (diff)
downloaddocutils-6a3188bfd186790c0601ac6f8a991878b54722f5.tar.gz
updated
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1955 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/i18n.txt20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/howto/i18n.txt b/docs/howto/i18n.txt
index 11a8d13bd..999fd7521 100644
--- a/docs/howto/i18n.txt
+++ b/docs/howto/i18n.txt
@@ -45,14 +45,18 @@ Language Module Names
=====================
Language modules are named using a case-insensitive language
-identifier as defined in `RFC 1766`_. A typical language identifier
-consists of a 2-letter language code from `ISO 639`_ (3-letter codes
-can be used if no 2-letter code exists; RFC 1766 is currently being
-revised to allow 3-letter codes). The language identifier can have an
-optional subtag, typically for variations based on country (from `ISO
-3166`_ 2-letter country codes). If no language identifier is
-specified, the default is "en" for English. Examples of module names
-include ``en.py``, ``fr.py``, ``ja.py``, and ``pt-br.py``.
+identifier as defined in `RFC 1766`_, converting hyphens to
+underscores [#]_. A typical language identifier consists of a
+2-letter language code from `ISO 639`_ (3-letter codes can be used if
+no 2-letter code exists; RFC 1766 is currently being revised to allow
+3-letter codes). The language identifier can have an optional subtag,
+typically for variations based on country (from `ISO 3166`_ 2-letter
+country codes). If no language identifier is specified, the default
+is "en" for English. Examples of module names include ``en.py``,
+``fr.py``, ``ja.py``, and ``pt_br.py``.
+
+.. [#] Subtags are separated from primary tags by underscores instead
+ of hyphens, to conform to Python naming rules.
.. _RFC 1766: http://www.faqs.org/rfcs/rfc1766.html
.. _ISO 639: http://lcweb.loc.gov/standards/iso639-2/englangn.html