Language support
How to set the correct language in your deliverable.
Examples
Follow along with the out-of-the-box example code below.
Making sure your deliverable is written in the correct language is essential for professionalism and legal compliance. In t0, setting the language ensures that elements like hyphenation, date formats, and automatically generated text follow the correct linguistic rules.
Set the language
Word
In Microsoft Word, you would set the document language in the "Review" tab to control spelling, hyphenation, and grammar settings.
t0 Prompt
Here are example prompts to adjust language settings:
Set the deliverable language to French.
Apply German hyphenation rules.
Format automatic text elements according to Spanish grammar.
LaTeX
The LaTeX code to control the language looks as follows:
Command / Package | Mandatory Argument | Optional Argument | Description |
---|---|---|---|
\usepackage[babel] | {language} | Loads language-specific rules for hyphenation and formatting. |
Use the babel
package to specify the main language for your deliverable.
Supported languages include English, French, German, Spanish, and many others.
Language rules affect hyphenation, automatic headings, and some date formatting.
This approach is fully compatible with the report
, article
, and beamer
document classes.
In beamer
, language settings also affect slide navigation labels (e.g., "Contents" vs. "Inhalt" for German).