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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________