From: Tomas Kuliavas <tokul@us...> - 2003-07-07 08:14:30
Maybe somebody wants to check patches available at
i18n.php.diff.gz can be applied to current devel or stable 1.4 squirrelmail.
i18n.php.v.140.diff.gz patch is for squirrelmail 1.4.0
other three files - already patched versions of functions/i18n.php
These patches are created to fix situation when encodings of system locale
and squirrelmail locale don't match.
you have ru_RU system locale encoded in iso8859-5 and SM translation is in
KOI8-R. It results something like
I've already tried apache 1.3.27 + php 4.1.2/4.2.3/4.3.0 and apache2 + php
4.3.2 on Linux Debian Woody. Maybe you can check freebsd/redhat systems or
Patches are for gettext enabled php version. They should not have any
effect on php without gettext support.
If translated strings are displayed in different encoding, you need to
find your language in language array (functions/i18n.php file) and add
$languages['xx_XX']['LOCALE'] = 'xx_XX.encoding';
line. xx_XX - your locale, encoding - encoding of your locale. See Russian
or Lithuanian for example.
If you test SM v.1.4.0 and bg_BG, he_IL, hr_HR, hu_HU, it_IT, pt_PT,th_TH
or uk_UA translations, you need to fix fuzzy or broken header of
squirrelmail.po and recompile your translation.