Subsection 4.36.2 Changing the Document Language
In order to use a localization, simply place
xml:lang="es-ES"
(with language code as appropriate for your project) as an attribute on your <pretext>
element. For example:<pretext xml:lang="hu-HU"/>
Then you can process your source as usual. Be sure to check that the translations look appropriate in your output.
While processing your source, you may encounter warnings for missing translations, like this:
MBX:WARNING: could not translate string with id "hypothesis" into language for code "pt-PT"
In this case, the localization stylesheet is missing a translation for this tag, and it will remain in
en-US
. We welcome contributions to keep stylesheets fully complete; see Section A.4 for details.