Internationalization (i18n)
MarkCharm Team
September 8, 2026
1 Language Support
MarkCharm supports automatic localization. The \language{} command sets the document language, affecting:
- – Date formatting (
\today, \month, \year)
- – Label generation (Figure, Table, Section, etc.)
- – Abstract title translation
- – Typographic quote styles
1.1 Date Macros
- – Today: September 8, 2026
- – Month: September
- – Year: 2026
- – Timestamp: 2026-09-08T02:23:37-03:00
1.2 Number-to-Words
The \numext macro converts numbers to their written form:
- – There are forty-twoitems in the inventory.
- – This is the [numext: número inválido '3, ordinal']revision.
All of these adapt automatically when you change \language{} to another locale (e.g., pt-br, fr, es, de).