Fwd: Re: Re: [i18n] cannot display Chinese language(zh_TW)
Jan Schneider
jan at horde.org
Sat Jul 5 11:22:16 PDT 2003
----- Weitergeleitete Nachricht von herryyip at net-yan.com -----
Datum: Sun, 6 Jul 2003 02:17:12 +0800
Von: herryyip at net-yan.com
Antwort an: herryyip at net-yan.com
Betreff: Re: Re: [i18n] cannot display Chinese language(zh_TW)
An: Jan Schneider <jan at horde.org>
Jan
i get it not imap 3 ?
i can't see nls.php in config folder
only got below file on config,
-r--r--r-- 1 root root 8626 Jun 30 03:58 horde.php
-r--r--r-- 1 root root 8626 Feb 7 18:58 horde.php.dist
-r--r--r-- 1 root root 8449 Feb 7 18:58 horde.php.dist.orig
-r--r--r-- 1 root root 4205 Jun 30 03:58 html.php
-r--r--r-- 1 root root 4205 Feb 7 18:58 html.php.dist
-rw-r--r-- 1 root root 20045 Jul 5 03:11 lang.php
-r--r--r-- 1 root root 20013 Feb 7 18:58 lang.php.dist
-r--r--r-- 1 root root 9078 Jun 30 03:58 mime_drivers.php
-r--r--r-- 1 root root 9078 Feb 7 18:58
mime_drivers.php.dist
-r--r--r-- 1 root root 5184 Jun 30 03:58 mime_mapping.php
-r--r--r-- 1 root root 5184 Feb 7 18:58
mime_mapping.php.dist
-r--r--r-- 1 root root 140 Jun 30 03:58 motd.php
-r--r--r-- 1 root root 140 Feb 7 18:58 motd.php.dist
-r--r--r-- 1 root root 1159 Jun 30 03:58 prefs.php
-r--r--r-- 1 root root 1159 Feb 7 18:58 prefs.php.dist
-r--r--r-- 1 root root 8423 Jun 30 03:58 registry.php
-r--r--r-- 1 root root 8423 Feb 7 18:58 registry.php.dist
-r--r--r-- 1 root root 8477 Feb 7 18:58
registry.php.dist.orig
also in prefs.php no "$_prefs['widget_accesskey'] "
<?php
// $Horde: horde/config/prefs.php.dist,v 1.7.2.3 2002/04/17 22:58:26 jan Exp
$
$prefGroups['language'] = array(
'column' => _("Your Information"),
'label' => _("Language"),
'desc' => _("Set your preferred display language."),
'members' => array('language'));
$prefGroups['display'] = array(
'column' => _("Other Information"),
'label' => _("Display Options"),
'desc' => _("Set your page refreshing, and other display options."),
'members' => array('summary_refresh_time'));
// user language
$_prefs['language'] = array(
'value' => '',
'locked' => false,
'shared' => true,
'type' => 'select',
'desc' => _("Select your preferred language:")
);
$_prefs['summary_refresh_time'] = array(
'value' => 300,
'locked' => false,
'shared' => false,
'type' => 'enum',
'enum' => array(0 => _("Never"),
30 => _("Every 30 seconds"),
60 => _("Every minute"),
300 => _("Every 5 minutes"),
900 => _("Every 15 minutes"),
1800 => _("Every half hour")),
'desc' => _("Refresh Summary View:")
);
Herry
----- Original Message -----
From: "Jan Schneider" <jan at horde.org>
To: <i18n at lists.horde.org>
Sent: Sunday, July 06, 2003 1:22 AM
Subject: Fwd: Re: [i18n] cannot display Chinese language(zh_TW)
>
>
> ----- Weitergeleitete Nachricht von cwyeh at pest.yichi.org -----
> Datum: Sun, 6 Jul 2003 01:12:01 +0800 (CST)
> Von: Chih-Wei Yeh <cwyeh at pest.yichi.org>
> Antwort an: Chih-Wei Yeh <cwyeh at pest.yichi.org>
> Betreff: Re: [i18n] cannot display Chinese language(zh_TW)
> An: Jan Schneider <jan at horde.org>
>
> On Fri, 4 Jul 2003, Jan Schneider wrote:
> > Zitat von herryyip at net-yan.com:
> > > i use imap3.0 Chinese could not appear in the webmail, it displays all
> > > question marks (?????). Before upgrade, Chinese could be seen. Anyone
> > > know how to solve this problem, Thanks !
> > There is no imap 3.0. Please tell us exactly what version use and where
> you
> > did upgrade from.
>
> I think he meant IMP 3.0.
>
> There're three work around solution for this problem by now.
>
> 1) enable UTF-8 support in horde/config/nls.php. The side-effect is,
> if the mail doesn't contain enough information for its own encoding,
> the mail would not be able to display in correct format.
>
> 2) disable & lock $_prefs['widget_accesskey'] in horde/config/prefs.php,
> However, for some modules which support accesskey function without
> checking this preference value, such as CVS version of IMP and
> kronolith, this doesn't work.
>
> 3) dirty hack to horde/lib/NLS.php. Modify function getCharset in the
> line "$lang_charset = setlocale(LC_ALL, 0);". Make it into
> "$lang_charset = setlocale(LC_ALL, "zh_TW");"
> This is not a good way to patch this problem but it works.
> If your system doesn't serve for people in other language, this could
> be a temporary solution.
>
>
> --
> Chih-Wei Yeh
>
>
>
> ----- Ende der weitergeleiteten Nachricht -----
>
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
>
> --
> Horde i18n mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: i18n-unsubscribe at lists.horde.org
>
----- Ende der weitergeleiteten Nachricht -----
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the i18n
mailing list