(1) I need your help, i don't know why it does nothing.
- I'm just discovering perl.
And more you can correct my english.
(2) HOW IT WORKS
It's like for translation in other languages,
if a string (here, piece of HTML code) must be translated ,
it translate it.
It began with reading the Appearance.pm file and for each
getcode(); or getcoda();
it goes to the translation file (if it must used) :
'Code_zz.pm'. (in /FAQ/OMatic/code)
see http://members.xoom.fr/base/fom/html/code/Code_zz.pm
In this file, if the string found between '(' ')' of
getcode or getcoda is found found ,
it translate it with the string following.
(see in the file : msgd and msgstr).
(3) HOW INSTALL IT
In the cgi-bin/fom-meta/config file
i've added a new variable called $codage = 'zz'.
between $cgiURL and $compactEditCmds
In the perl directory /FAQ/OMatic
http://members.xoom.fr/base/fom/html/I18C.pm
http://members.xoom.fr/base/fom/html/code/Code_zz.pm
http://members.xoom.fr/base/fom/html/Appearance.pm
http://members.xoom.fr/base/fom/html/appearanceForm.pm
Not mandatory :
http://members.xoom.fr/base/fom/html/install.pm
Thanks in advance for your help. |