#103 normalise lang value

closed-works-for-me
nobody
XSL (399)
5
2003-01-01
2002-10-08
No

The XSL stylesheets currently process the lang attribute
without normalising its value. Only the forms ll (language
code only) or ll_ll (language plus underscore plus
lowercase country code) are allowed. Since actually ISO-
3166 should dictate the format, the correct form ll-UU (using
an hyphen and uppercase country codes) is not working.
Normalisation of the values to some format (probably the
current one) is advisable to restore conformance and
maintain backward compatibility without disrupting the
hyphenation files naming convention (upper/lowercase
names are dangerous in multiplatform projects).

Discussion

  • Norman Walsh
    Norman Walsh
    2003-01-01

    Logged In: YES
    user_id=81663

    Language values are normalized. In particular "US-EN" is
    treated identically to "us_en".

     
  • Norman Walsh
    Norman Walsh
    2003-01-01

    • status: open --> closed-works-for-me