Improve docs for language values

This commit is contained in:
Oliver Hamlet
2025-06-11 17:34:56 +01:00
parent 356749df21
commit bee0f36d7b
2 changed files with 18 additions and 12 deletions
@@ -9,7 +9,10 @@ The localised content data structure is a key-value string map.
.. describe:: lang
**Required.** The language that ``text`` is written in, given as a code of the form ``ll`` or ``ll_CC``, where ``ll`` is an ISO 639-1 language code and ``CC`` is an ISO 3166 country code. For example,
**Required.** The language that ``text`` is written in, given as an XPG-format
(a.k.a. POSIX-format) locale name of the form ``ll`` or ``ll_CC``, where
``ll`` is an ISO 639-1 language code and ``CC`` is an ISO 3166 country code.
For example,
==================== =====
Language Code