<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi dear SWORD developer community.</p>
<p>I have a question about SWORD module languages. <br>
</p>
<p>What is the standard behind module language codes? in particular
what's returned by <br>
</p>
<p>SWModule::getLanguage() in SWORD code<br>
</p>
<p><br>
</p>
<p>I found this in the dips of OSIS schema
(<a class="moz-txt-link-freetext" href="https://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd">https://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd</a>):</p>
<p><xs:simpleType name="osisLanguage"><br>
<xs:restriction base="xs:string"><br>
<xs:enumeration value="IANA"/><br>
<xs:enumeration value="IETF"/><br>
<xs:enumeration value="ISO-639-1"/><br>
<xs:enumeration value="ISO-639-2"/><br>
<xs:enumeration value="ISO-639-2-B"/><br>
<xs:enumeration value="ISO-639-2-T"/><br>
<xs:enumeration value="LINGUIST"/><br>
<xs:enumeration value="other"/><br>
<xs:enumeration value="SIL"/><br>
</xs:restriction><br>
</xs:simpleType></p>
<p><br>
</p>
<p>But does it mean that all SWORD modules can have any of those
codes?</p>
<p>I guess ISO-639-3 is newer than original OSIS, so that's why it's
not there.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>I'm trying to localize and organize language list of all ~1200
languages available in the SWORD repos in Ezra Bible App
frontend. Scrolling or even searching in such list is "a bit" not
user friendly.<br>
</p>
<div class="moz-signature">-- <br>
<i>sincerely,</i><br>
<i>Evgen Kucherov</i>
</div>
</body>
</html>