DocBook stylesheets are locale aware by default
support for more then 40 languages
all automatically generated texts are localized (ToC, xrefs, quotes, …)
language preference is taken from the document or from the stylesheet parameter
<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.3//EN' 'http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd'> <book lang="de"> ... German book ... </book>
each localization is stored in XML document