Hi, everyone!
While waiting for some help about setting the search engine
up, I took the
liberty to mess a little with the src code. I found that the
translations
of this system are located in a directory called
"lang". So I translated
the English file into Bulgarian (yes, I'm a Bulgarian),
named it "bg.pm"
and it *almost* worked.
It showed some cryptic symbols in the browser, because the
system sends
header setting the character set to
"iso-8859-1". OK, I "grep-ed" the
directory and found this header has only one occurrence in
"ezmlm-www.pl".
I changed "iso-8859-1" to "UTF-8"
and it really worked.
The most common encoding used in Bulgaria is
"cp1251" a.k.a.
"Windows-1251". So I made another file called
bg.pm encoded in "cp1251",
changed the header to "Windows-1251" and it
worked again.
My proposition is that encoding should be set by a variable
in the *.pm
file, defined by the one whtranslates the *.pm file...for
example
"charset=iso-8859-1" for the English version.
This way the system could
take the value from the translation and send it to the
browser.
In addition I offer the Bulgarian translation in both
variants bg-utf8.pm
and bg-cp1251.pm for "UTF-8" and
"Windows-1251" respectively. If this is
of interest to the developer(s) I would send the translation
for including
in the next versions of this useful tool.
--
Best regards,
Daniel
_______________________________________________
Ezmlm-www-discuss mailing list
Ezmlm-www-discuss lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ezmlm
-www-discuss
|