So, I'm still doing something wrong, because changing the translation
of "figure" in "mult-def.lua" (in the part "variables"), only affect :
1- command "\startfigure \stopfigure"
2- "figure" in "\setuppageinjection" > alternative = figure buffer...
You have to provide your modified mult-def.lua file, otherwise there is
no way to check what's wrong.
Patch file : mult-def.lua.test1_figure.diff
context --make fr
context --interface=fr --global --result=setup-fr x-setups-overview.mkiv
Then the pdf file shows
- \demarrefigurefr as expected (p62)
but
- \placefigure instead of \placefigurefr (p190)
- \demarreplacefigure instead of \demarreplacefigurefr (p72)
the translation of the variable "itemize" has no impact on the
setup-fr.pdf file produced
But, I just found that if I actually use the translated commands in a
test.tex file, it just works.
Same as above, provide your translations.
Patch file : mult-def.lua.test2_itemize.diff
Input file : test2_itemize.tex
context --make fr
context --interface=fr --global --result=setup-fr x-setups-overview.mkiv
context test2_itemize.tex
setup-fr.pdf shows "\debutitemize ... \finitemize" page 41
instead of "\debutlister ... \finlister"
but the input file, with "\debutlister ... \finlister", works great.
There shouldn't be a problem with fonts because they use \s!file or
\s!name which aren't translated (unless you made the mistake and have
\c!file in your typescripts). It's possible there is a bug somewhere but
you have to provide a minimal example.
Understood, I am going to check.
--- mult-def.lua.initial 2020-06-26 10:40:39.000000000 +0200
+++ mult-def.lua 2020-06-26 14:21:55.598929654 +0200
@@ -13522,7 +13522,7 @@
["cs"]="obrazek",
["de"]="abbildung",
["en"]="figure",
- ["fr"]="figure",
+ ["fr"]="figurefr",
["it"]="figura",
["nl"]="figuur",
["pe"]="شکل",
--- mult-def.lua.initial 2020-06-26 10:40:39.000000000 +0200
+++ mult-def.lua 2020-06-26 23:16:25.039895542 +0200
@@ -5444,7 +5444,7 @@
["cs"]="starttext",
["de"]="starttext",
["en"]="starttext",
- ["fr"]="demarretexte",
+ ["fr"]="debuttexte",
["it"]="iniziatesto",
["nl"]="starttekst",
["pe"]="شروعمتن",
@@ -5846,7 +5846,7 @@
["cs"]="stoptext",
["de"]="stoptext",
["en"]="stoptext",
- ["fr"]="stoppetexte",
+ ["fr"]="fintexte",
["it"]="terminatesto",
["nl"]="stoptekst",
["pe"]="پایانمتن",
@@ -10758,7 +10758,7 @@
["cs"]="start",
["de"]="start",
["en"]="start",
- ["fr"]="demarre",
+ ["fr"]="debut",
["it"]="inizia",
["nl"]="start",
["pe"]="شروع",
@@ -10792,7 +10792,7 @@
["cs"]="stop",
["de"]="stop",
["en"]="stop",
- ["fr"]="stoppe",
+ ["fr"]="fin",
["it"]="termina",
["nl"]="stop",
["pe"]="پایان",
@@ -11861,7 +11861,7 @@
["cs"]="start",
["de"]="start",
["en"]="start",
- ["fr"]="demarre",
+ ["fr"]="debut",
["it"]="inizia",
["nl"]="start",
["pe"]="شروع",
@@ -11871,7 +11871,7 @@
["cs"]="stop",
["de"]="stop",
["en"]="stop",
- ["fr"]="stoppe",
+ ["fr"]="fin",
["it"]="termina",
["nl"]="stop",
["pe"]="پایان",
@@ -14398,7 +14398,7 @@
["cs"]="polozka",
["de"]="pos",
["en"]="item",
- ["fr"]="element",
+ ["fr"]="elem",
["it"]="elemento",
["nl"]="som",
["pe"]="آیتم",
@@ -14407,7 +14407,7 @@
["itemize"]={
["cs"]="vycet",
["de"]="aufzaehlung",
- ["en"]="itemize",
+ ["en"]="lister",
["fr"]="lister",
["it"]="elenco",
["nl"]="opsomming",
@@ -16505,7 +16505,7 @@
["cs"]="start",
["de"]="start",
["en"]="start",
- ["fr"]="demarre",
+ ["fr"]="debut",
["it"]="inizia",
["nl"]="start",
["pe"]="شروع",
@@ -16529,7 +16529,7 @@
["cs"]="stop",
["de"]="stop",
["en"]="stop",
- ["fr"]="stoppe",
+ ["fr"]="fin",
["it"]="termina",
["nl"]="stop",
["pe"]="پایان",
% interface=fr
\debuttexte
texte avant
\debutlister
\elem premier
\elem second
\finlister
texte ensuite
\fintexte
___________________________________________________________________________________
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
___________________________________________________________________________________