On 10/12/2012 03:23 PM, Chris Little wrote:
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:
http://www.iana.org/assignments/language-subtag-registry
--Chris
Okay, thanks. "heb" is more intuitive, so perhaps that is how it crept in.
Daniel
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page