[sword-devel] ISO language codes

Michael H cmahte at gmail.com
Tue Jan 12 08:23:50 EST 2021


Hi David,

The various language tables are lists.  They come together by established
rules: BCP-47.

If you read BCP 47 it makes sense.

https://en.wikipedia.org/wiki/IETF_language_tag (link to the spec in the
footnotes.)



On Tue, Jan 12, 2021 at 5:23 AM David Haslam <dfhdfh at protonmail.com> wrote:

> Hi Jamie,
>
> One use is to support a language tree structure in the IntallMgr UI for
> some front-end apps.
>
> Xiphos & PocketSword are examples of such.
>
> And Bible - on the other hand - doesn’t present such a tree structure.
>
> Regards,
>
> David
>
> Sent from ProtonMail Mobile
>
>
> On Tue, Jan 12, 2021 at 08:59, Jamie <jamie at critos.co.uk> wrote:
>
> The Sword config file contains an ISO language code.  Is anyone able to
> tell me what this gets used for (and more specifically, whether there is
> any requirement as to whether this should be a 2-character code or a
> 3-character one)?
>
> (In fact I see IANA now have a new registry of codes which supersedes the
> 2-char and 3-char lists, but it looks as though this merely mandates the
> use of the old 2-character codes where available, and 3-character
> otherwise.)
>
> Thanks,
>
> ‘Jamie’ Jamieson
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20210112/5395ac21/attachment.html>


More information about the sword-devel mailing list