Command/language
Jump to navigation
Jump to search
Contents
\language
Summary
The command \language is used to switch the current language
Settings
\language[...] | |
[...] | language |
Option | Explanation |
---|---|
language | any language identifier, as defined by the first argument of \installlanguage. |
Description
Change the hyphenation rules, quotation marks, all that sort of thing, to that of a different language. (The default language is English.)
Examples
Example 1
\setuppapersize[A7,landscape] \showframe \starttext \startsimplecolumns[n=4, distance=5em] (English hyphenation) Bien sûr. A chacun son rôle. Lui, il doit nous faire mourir, et nous, nous devons aller enterrer notre frère. C’est comme cela que ç’a été distribué. Qu’est-ce que tu veux que nous y fassions? \column \language[fr] % or [french] (French hyphenation) Bien sûr. A chacun son rôle. Lui, il doit nous faire mourir, et nous, nous devons aller enterrer notre frère. C’est comme cela que ç’a été distribué. Qu’est-ce que tu veux que nous y fassions? \stopsimplecolumns \language[en] \rightaligned{—Jean Anouilh, \quotation{Antigone}}\crlf \language[fr] \rightaligned{—Jean Anouilh, \quotation{Antigone}} \stoptext