List Info

Thread: Translations




Translations
user name
2006-06-09 03:32:50
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-discusslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ezmlm
-www-discuss
Translations
user name
2006-06-10 14:33:23
On 9-06-2006 at 5:32, Daniel Iliev wrote:

 >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.

Daniel, I chose to switch everything to UTF-8. This change
will be
included in next release so that non-ISO Latin 1 languages
are
supported.

 >In addition I offer the Bulgarian translation in both
variants
 >bg-utf8.pm and bg-cp1251.pm for "UTF-8" and
"Windows-1251"
 >respectively. 

We'd all appreciate your UTF-8 contribution if you don't
mind 
Feel
free to e-mail me privately with the lang file.

  - alessandro.


_______________________________________________
Ezmlm-www-discuss mailing list
Ezmlm-www-discusslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ezmlm
-www-discuss
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )