What if we implement a javascript to solve this
problem?
I mean, if we can not do it at php level, we can use
php gettext to load translations into javascript
variables, when javascript loaded from client side,
the "display" strings of system folders will be
rewritten with translations, while preserving the
links beneath of them. although I do quite understand
why it could not be done at php (server) level. maybe
it is too difficult, maybe there will be to much
changes on the codings. I think using javascript
should be a quick fix.
What do you think?
Thanks!
Benson
--- javier wilson <javier.wilson@...> wrote:
> On Apr 1, 2005 7:29 AM, Tomas Kuliavas
> <tokul@...> wrote:
> > > Hi guys,
> > >
> > >
> > > While I was updating the Chinese (simplified)
> translations, I was just
> > > wondering if we could display system folders
> e.g. sent/draft/trash in
> > > Chinese. I remembered that there was once a
> discussion about this issue a
> > > year ago (or two maybe?). How was that going?
> Can we do that with the
> > > current release? If so, how do I do that?
> >
> >
>
https://sourceforge.net/tracker/?func=detail&aid=672904&group_id=311&atid=350311
> >
> > In SquirrelMail 1.5.1cvs you can have correctly
> encoded Chinese folder
> > names, if you use php 4.3+ mbstring extension with
> cn support. In
> > SquirrelMail 1.4.4 list of mbstring charsets is
> hardcoded to the one that
> > is supported by php 4.0.6. euc-kr, gb2312 and big5
> charsets are not
> > included.
> >
> >
>
https://sourceforge.net/tracker/?func=detail&aid=1005353&group_id=311&atid=423691
> >
> > Maybe we can do that without mbstring support, but
> I haven't investicated
> > utf7 format well enough. Conversion to gb2312 or
> other Eastern multibyte
> > charsets is not easy without external functions.
> >
> > You can translate folder names in user's
> preferences and squirrelmail
> > configuration. When you set folder names in
> squirrelmail configuration,
> > you should use utf7-imap encoded folder names.
> >
> > See
> http://www.topolis.lt/squirrelmail/utf7-imap.php and
> > http://www.topolis.lt/squirrelmail/utf7-imap.phps,
> if you want to find
> > easy way to get utf7-imap encoded text.
> >
> > conf.pl -> 3. Folder Defaults ->
> > ...
> > 3. Trash Folder : Trash
> > 4. Sent Folder : Sent
> > 5. Drafts Folder : Drafts
> >
> > Rewriting Sent, Trash and Drafts inside interface
> the way we rewrite INBOX
> > is not implemented. INBOX is unique system folder.
> Drafts, Trash and Sent
> > are not unique. We can rewrite Sent/Drafts/Trash,
> but user can create
> > translated Sent/Drafts/Trash folders too and
> he/she will get two folders
> > that look identical in interface. You can't safely
> detect creation of
> > duplicate folder names, because interface can
> detect them only when
> > translation is active.
> >
>
> I remember talking about this same issue some time
> ago. The problem of
> creating your own translated folder names (eg, in
> Spanish "Enviados"
> instead of "Sent") is that users may want to change
> the language, from
> Spanish to English for instance, and when in English
> it should read "Sent", and when in Spanish is should
> read "Enviados"
>
> All i am saying is that creating your own translated
> folder names is
> not a solution to this problem, but i have no idea
> what can be done
> either. anyone?
>
> javier
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free
> today!
> http://www.demarc.com/info/Sentarus/hamr30
> --
> squirrelmail-i18n mailing list
> Posting guidelines:
>
http://squirrelmail.org/wiki/MailingListPostingGuidelines
> Information about translations:
> http://www.squirrelmail.org/wiki/LanguageTranslation
> List address:
> squirrelmail-i18n@...
> List archives:
>
http://news.gmane.org/gmane.mail.squirrelmail.internationalization
> List info (Subscribe/Unsubscribe/Change options):
>
https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n
>
|