1

How would I go about having the output of a custom command depend on the language chosen (e.g. insert "Example" in English, "Exemple" in French and "Beispiel" in German)? I'm using XeTeX with polyglossia, but it would of course be even nicer to have a solution that would work with babel as well.

  • 3
    Maybe have a look https://tex.stackexchange.com/questions/116817 the presented solutions should work for both polyglossia and babel – cgnieder Feb 17 '14 at 21:27

1 Answers1

0

There's a package for this, named translations, funnily enough.

Thanks clemens for pointing me to Translation of words according to babel language .