[sword-devel] multiple languages in modules

Chris Little chrislit at crosswire.org
Fri Oct 12 12:23:35 MST 2012

On 10/12/2012 5:44 AM, Daniel Owens wrote:
> <foreign> is the xml way of indicating a language other than the
> language of the document. So you surround Hebrew text with <foreign
> xml:lang="heb">.

A small sidenote, since you do encoding: "heb" is not a legal value for 
xml:lang. This must be "he" or "hbo" if you mean Ancient Hebrew. 
2-letter language subtags from 639-2 are always required if they exist 
(rather than 3-letter subtags from subsequent 639s). The details are 
spelled out in BCP 47. You can also find the full current set of IANA 
registered language subtags at:


More information about the sword-devel mailing list