Skip to main content

The PreTeXt Guide

Section 4.36 Localization

We briefly introduced PreTeXt support for authoring documents in multiple languages in Section 3.27. Here are some more details.
First, authors are encouraged to write the actual text of their documents using the language of their choice. See Section 4.32 for details. For HTML this should be straightforward, for other output formats (especially PDF) the publisher may need to have various fonts installed (see Chapter 40).
Localization for PreTeXt itself is restricted to the items PreTeXt names for you. This includes things like <theorem>, but also items such as the labels of navigation buttons. To have this in your language requires two things, described in the following subsections.