Interpreter commands names are in file koma.h.
Messages emited by interpreter are in file mesa.h.
Anyflo commands names are in file komb.h.
Messages emited by anyflo are in file mesb.h.
The helps are in files *.htm.
Just translate these files.
The utilitary translate.js launches function translate.func
fixing (partially) this translation:
In every functions *.func the English words mot1 are translated in words mot2
of language xxx, same words (uppercases) MOT1 are translated MOT2 (in order to translate the
standardized written menus when box XXX_COM calls the function
XXX_COM() dealing with command com).
In all the files *.htm the English words mot1 are translated in words mot2
of language xxx, every reference and all links are corrected.
The file names *mot1* are changed into *mot2*.
WARNING, save the files (all are modified).
Copy folder distribution_eng in distribution_xxx
In folder distribution_xxx:
Edit file enva.h replace voc2=Voc_eng by voc2=Voc_xxx Copy Voc_eng in Voc_xxx In file koma.h, mesa.h, komb.h, mesb.h, Voc_xxx replace English words by their translation
in xxx language (possibly add words in Voc_eng and Voc_xxx).
The utilitary translate.js launches translate.func
provides this translation.
Note: WARNING the file Voc_xxx do not must contain words com of the language (on a single line),
because then they would have resulted in the execution of a command like:
compile message(" ... com ...").
As against this file can contain sentences containing those words.
Ensure the presence of files:
koma_eng.h (copy of koma.h)
komb_eng.h (copy of komb.h)
koma_eng_maj.h (copy of koma.h with uppercases)
komb_eng_maj.h (copy komb.h with uppercases)
If the files *_maj.h does not exist, can be constructed by clicking MAJUSCULE of
Make a backup of the file distribution_xxx because all files will be modified and renamed.
Click on translate.js:
A menu appears:
Click on TRANSLATE then TRANSLATE_ALL
The blinking message WARNING: all files wil be modified: YES or NO ? appears.
Click on YES().
The translation is processed.
Building files koma_maj.h, komb_maj.h
Translating all *.func
Translating all *.htm
All files xxxmot1yyy are renamed xxxmot2yyy when
mot1 is a word of file Ei and when mot2 is its translation in file Fi.
Only words and links are translated into the *.htm files,
it is therefore necessary to edit these files to complete the translation.
To correct possible errors in translation it is possible to replace in all files env/nn.func, a string string1
by another string2, click on REPLACE.
Click on STRING1 and enter the 1st string (preceded by <) at keyboard
click on STRING2 and enter the 12nd string (preceded by <) at keyboard
then click on ALL
the blinking message WARNING: all files wil be modified: YES or NO ? appears.
Click on YES().
The replacement process is started.
Translate a function
Click on FUNC.
Click on NAME and enter the name (preceded by <) at keyboard
then click on TRANSLATE
the blinking message WARNING: this files wil be modified: YES or NO ? appears.
Click on YES().
The translation process is started.