forked from bortzmeyer/Web-LangTag
37 lines
1.9 KiB
XML
37 lines
1.9 KiB
XML
<page title="The registry in various formats">
|
|
|
|
<p>Files available here were automatically produced from the official
|
|
registry maintained by <wikipedia name="https://en.wikipedia.org/wiki/Internet_Assigned_Numbers_Authority">IANA</wikipedia>. The current version of
|
|
the registry is <em><lsr-version/></em>.</p>
|
|
|
|
<ul>
|
|
<li><a href="https://www.iana.org/assignments/language-subtag-registry">Official format</a></li>
|
|
<li>As text files (one line per record, fields separated by
|
|
tabulations, the subtag is the first field, the addition date the
|
|
second):
|
|
<ul>
|
|
<li><a href="registries/lsr-language.txt">List of languages</a></li>
|
|
<li><a href="registries/lsr-script.txt">List of scripts</a></li>
|
|
<li><a href="registries/lsr-region.txt">List of regions</a> (including countries)</li>
|
|
<li><a href="registries/lsr-variant.txt">List of variants</a> (orthography, local dialects)</li>
|
|
<li><a href="registries/lsr-grandfathered.txt">List of grand-fathered</a> (tags which would otherwise be illegal but are maintained for compatibility, because they were previously used)</li>
|
|
<li><a href="registries/lsr-redundant.txt">List of redundants</a> (subtags redundant with other subtags)</li>
|
|
</ul>
|
|
</li>
|
|
<li>As <wikipedia>XML</wikipedia> :
|
|
<ul>
|
|
<li>According to <a href="registries/ltru.rnc">this schema</a>
|
|
(written in <wikipedia name="RELAX NG">RelaxNG</wikipedia>): <a href="registries/language-subtag-registry.xml">registry in XML</a>, Stéphane Bortzmeyer's version</li>
|
|
</ul>
|
|
</li>
|
|
<li>As <wikipedia>SQL</wikipedia>. Since SQL is not really portable, there are
|
|
several versions :
|
|
<ul>
|
|
<li>For <wikipedia>PostgreSQL</wikipedia> (create the database with <a href="PostgreSQL/create-db-subtag.sql">this schema</a>) : <a href="registries/lsr-postgres.sql">registry in SQL</a>,</li>
|
|
<li>For <wikipedia>SQLite</wikipedia> (create the database with <a href="SQLite/create-db-subtag.sql">this schema</a>) : <a href="registries/lsr-sqlite.sql">registry in SQL</a>,</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</page>
|