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