2008-08-30

About handling multiple languages

In my previous post I raised the subject of multiple languages. In order to keep things simple, one Part file should have one language no more. The Book file provides the context for file encoding and hyphenation language.
insert file:in-english.nlp 
    $encoding=ISO-8859-1 
    $hyphenation-language="en_GB"
The language could become a parameter to pass to every renderer (especially FO stylesheets!).

No comments: