+# NOTE:
+#
+# * Omitted elements will be treated as empty (if string) or "false"
+# (if boolean).
+# * Encoding is not relevant for XeTeX (which is utf8 always), and if
+# Document > Settings > Language > Encoding is not set to "Language
+# Default"
+# * InternalEncoding is used to tell LyX that babel internally sets a font
+# encoding (such as hebrew to LHE). See bug #5091.
+# * AsBabelOptions advices LyX to pass the languages locally to babel, not
+# globally to the class. Some languages (basically those not directly
+# supported by babel) need this.
+# FIXME: in this case, we might still need to pass the other languages
+# globally, for the use of other packages (such as varioref).
+# * LangCode is also used for spellchecking and thesaurus, where the
+# dictionaries are named accordingly. Thus, check this when intoducing/
+# changing language codes (especially aspell, thesaurus).
+# TODO: maybe use Best Current Practice (BCP 47) codes for LangCode
+# http://www.rfc-editor.org/rfc/bcp/bcp47.txt
+# http://www.w3.org/International/articles/language-tags/
+# http://www.iana.org/assignments/language-subtag-registry
+# * LangVariety is used by the aspell spellchecker to differentiate
+# dictionaries for different varieties of a given language (e.g. German
+# pre-1998 and post-1998 spelling). The aspell dictionaries are named
+# language[_REGION][-variety].multi, e.g. de-alt.multi for "German (old
+# spelling)" (see http://aspell.net/man-html/Dictionary-Naming.html)
+#
+##########################################################################