Web-LangTag/registries.xml

47 lines
2.6 KiB
XML
Raw Normal View History

2023-06-09 10:02:30 +02:00
<page title="The registry in various formats">
<p>Files available here were automatically produced from the official
2023-06-11 16:17:27 +02:00
registry maintained by <wikipedia name="https://en.wikipedia.org/wiki/Internet_Assigned_Numbers_Authority">IANA</wikipedia>. The current version of
2023-06-09 10:02:30 +02:00
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 HTML:
<ul>
<li><a href="registries/registry-html/language/">List of languages</a></li>
<li><a href="registries/registry-html/script/">List of scripts</a></li>
<li><a href="registries/registry-html/region/">List of regions</a> (including countries)</li>
<li><a href="registries/registry-html/variant/">List of variants</a> (orthography, local dialects)</li>
<li><a href="registries/registry-html/grandfathered/">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/registry-html/redundant/">List of redundants</a> (subtags redundant with other subtags)</li>
</ul>
</li>
2023-06-09 10:02:30 +02:00
<li>As <wikipedia>XML</wikipedia> :
<ul>
2023-06-11 16:17:27 +02:00
<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&#xE9;phane Bortzmeyer's version</li>
2023-06-09 10:02:30 +02:00
</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>