Hi dear SWORD developer community.

I have a question about SWORD module languages.

What is the standard behind module language codes? in particular what's returned by

SWModule::getLanguage() in SWORD code


I found this in the dips of OSIS schema (https://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd):

<xs:simpleType name="osisLanguage">
    <xs:restriction base="xs:string">
        <xs:enumeration value="IANA"/>
        <xs:enumeration value="IETF"/>
        <xs:enumeration value="ISO-639-1"/>
        <xs:enumeration value="ISO-639-2"/>
        <xs:enumeration value="ISO-639-2-B"/>
        <xs:enumeration value="ISO-639-2-T"/>
        <xs:enumeration value="LINGUIST"/>
        <xs:enumeration value="other"/>
        <xs:enumeration value="SIL"/>
    </xs:restriction>
</xs:simpleType>


But does it mean that all SWORD modules can have any of those codes?

I guess ISO-639-3 is newer than original OSIS, so that's why it's not there.



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.

--
/sincerely,/
/Evgen Kucherov/
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to