1 Mar 03:30
variants and ordering
Martin Hosken <martin_hosken <at> sil.org>
2007-03-01 02:30:56 GMT
2007-03-01 02:30:56 GMT
Dear All,
Herewith my humble attempt to bring some order to a small area of chaos:
variants.
There are 3 major components to a language tag: language, script,
region, each of which may take variants. In addition there may be
variants to combinations of components. Regional information is used for
locale information, and while I can see there may possibly be a need for
regional variants, there is no evidence of their existence yet and
certainly not of their interaction with the other components. So I will
ignore them for the moment and perhaps return to them once a basic model
is established. This leaves 2 components and therefore 3 types of
variants: language variants, script variants and language+script
variants which I will call orthography variants. The key concept I am
proposing here is that variants are categorised, based on their prefix,
as to what kind they are and then may be ordered in the tag based on
that categorisation.
A language variant takes a language only prefix. A script variant
currently takes no prefix, but I propose that they take a script prefix.
An orthography variant would take a language-script prefix (requiring both).
Mark Davis has proposed a canonical ordering of variants within a tag:
Any sequence of variant tags MUST be reordered such that for each variant subtags A and B, A comes before B if
1. A has no prefix and B has a prefix
2. or A and B are not ordered by #1, and A is part of a prefix (given
the previous non-variant subtags) for B
(Continue reading)
RSS Feed