Go to the first, previous, next, last section, table of contents.


17. Internationalization

Texinfo has some support for writing in languages other than English, although this area still needs considerable work.

For a list of the various accented and special characters Texinfo supports, see section 13.3 Inserting Accents.

17.1 @documentlanguage cc: Set the Document Language

The @documentlanguage command declares the current document language. Write it on a line by itself, with a two-letter ISO-639 language code following (list is included below). If you have a multilingual document, the intent is to be able to use this command multiple times, to declare each language change. If the command is not used at all, the default is en for English.

At present, this command is ignored in Info and HTML output. For TeX, it causes the file `txi-cc.tex' to be read (if it exists). Such a file appropriately redefines the various English words used in TeX output, such as `Chapter', `See', and so on.

It would be good if this command also changed TeX's ideas of the current hyphenation patterns (via the TeX primitive \language), but this is unfortunately not currently implemented.

Here is the list of valid language codes. This list comes from the free translation project. In the future we may wish to allow the 3-letter POV codes described at http://www.sil.org/ethnologue/#contents. This will be necessary to support African languages. aaamaybebibrcsdeenetfifrgdguhihyieitjwklkskyltmgmlmrmynlomplqurosashslsosssvtetitntsuguzwoyozu
Afar ab Abkhazian af Afrikaans
Amharic ar Arabic as Assamese
Aymara az Azerbaijani ba Bashkir
Byelorussian bg Bulgarian bh Bihari
Bislama bn Bengali; Bangla bo Tibetan
Breton ca Catalan co Corsican
Czech cy Welsh da Danish
German dz Bhutani el Greek
English eo Esperanto es Spanish
Estonian eu Basque fa Persian
Finnish fj Fiji fo Faroese
French fy Frisian ga Irish
Scots Gaelic gl Galician gn Guarani
Gujarati ha Hausa he Hebrew
Hindi hr Croatian hu Hungarian
Armenian ia Interlingua id Indonesian
Interlingue ik Inupiak is Icelandic
Italian iu Inuktitut ja Japanese
Javanese ka Georgian kk Kazakh
Greenlandic km Cambodian kn Kannada
Kashmiri ko Korean ku Kurdish
Kirghiz la Latin ln Lingala
Lithuanian lo Laothian lv Latvian, Lettish
Malagasy mi Maori mk Macedonian
Malayalam mn Mongolian mo Moldavian
Marathi ms Malay mt Maltese
Burmese na Nauru ne Nepali
Dutch no Norwegian oc Occitan
(Afan) Oromo or Oriya pa Punjabi
Polish ps Pashto, Pushto pt Portuguese
Quechua rm Rhaeto-Romance rn Kirundi
Romanian ru Russian rw Kinyarwanda
Sanskrit sd Sindhi sg Sangro
Serbo-Croatian si Sinhalese sk Slovak
Slovenian sm Samoan sn Shona
Somali sq Albanian sr Serbian
Siswati st Sesotho su Sundanese
Swedish sw Swahili ta Tamil
Telugu tg Tajik th Thai
Tigrinya tk Turkmen tl Tagalog
Setswana to Tonga tr Turkish
Tsonga tt Tatar tw Twi
Uighur uk Ukrainian ur Urdu
Uzbek vi Vietnamese vo Volapuk
Wolof xh Xhosa yi Yiddish
Yoruba za Zhuang zh Chinese
Zulu

17.2 @documentencoding enc: Set Input Encoding

The @documentencoding command declares the input document encoding. Write it on a line by itself, with a valid encoding specification following, such as `ISO-8859-1'.

At present, this is used only in HTML output from makeinfo. If a document encoding enc is specified, it is used in the `<meta>' tag is included in the `<head>' of the output:

<meta http-equiv="Content-Type" content="text/html; charset=enc">


Go to the first, previous, next, last section, table of contents.