Adaptation of ConTeXt to Esperanto
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 08.10.2021 um 22:07 schrieb Alain Delmotte via ntg-context
: I am using ConTeXt lmtx: "system > ConTeXt ver: 2021.09.26 17:00 LMTX fmt: 2021.9.30 int: english/english" But it looks like Esperanto is not loaded: "languages > language 'en' is active"
Trying to use \setuplabeltext[eo][figure={Figuro~}] \setuplabeltext[eo][table={Tabelo~}] doesn't help.
What canI do?
Are you sure you set \mainlanguage[eo]? (Can’t help you further, sorry.) Hraban
![](https://secure.gravatar.com/avatar/c67787b2cf06aa616b3cb04a7b40af51.jpg?s=120&d=mm&r=g)
Le 8/10/2021 à 23:10, Henning Hraban Ramm via ntg-context a écrit :
Am 08.10.2021 um 22:07 schrieb Alain Delmotte via ntg-context
: I am using ConTeXt lmtx: "system > ConTeXt ver: 2021.09.26 17:00 LMTX fmt: 2021.9.30 int: english/english" But it looks like Esperanto is not loaded: "languages > language 'en' is active"
Trying to use \setuplabeltext[eo][figure={Figuro~}] \setuplabeltext[eo][table={Tabelo~}] doesn't help.
What canI do? Are you sure you set \mainlanguage[eo]?
(Can’t help you further, sorry.)
Hraban
Yes of course I did! Alain
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07:
Hi,
Some time ago I did prepare the files to support Esperanto in Context (hyphenation and translation of terms).
I thought it was working, testing with the command \date, which gives the correct format.
But today I remarked that the legends for Figure and Table (and perhaps other) are in English.
The file lang-txt.lua is there and contains the translations for Esperanto.
The language definitions for esperanto in lang-def.mkxl are in the wrong order, the first definition has to be "eo". \installlanguage - [\s!esperanto] + [\s!eo] [\c!spacing=\v!packed, \c!leftsentence=\endash, \c!rightsentence=\endash, \c!leftsubsentence=\endash, \c!rightsubsentence=\endash, \c!leftquote=\upperleftsinglesixquote, %U+2018, \c!rightquote=\upperrightsingleninequote, %U+2019, \c!leftquotation=\upperleftdoublesixquote, %U+201C, \c!rightquotation=\upperrightdoubleninequote, %U+201D, \c!date={\v!day,-a\space de\space,\v!month,\space \v!year}, \s!patterns=eo, \s!lefthyphenmin=2, \s!righthyphenmin=2] -\installlanguage[\s!eo][\c!default=\s!esperanto] +\installlanguage[\s!esperanto][\c!default=\s!eo] Wolfgang
participants (3)
-
Alain Delmotte
-
Henning Hraban Ramm
-
Wolfgang Schuster