From: Herouth M. <he...@it...> - 2002-07-29 10:58:49
Has any effort been made to internationalize PHPLib?
There are error messages in English embedded in the code, for
instance, in template.inc. I'd like to be able to replace them with
error messages according to language code, so if the web site is
accessed by a user whose preferred language is 'he', it will display
error messages etc. in Hebrew, and if it is 'en', then in English,
etc.
Herouth
From: Dr T. S. <ta...@sa...> - 2002-07-29 11:23:09
On Mon, 29 Jul 2002, Herouth Maoz wrote:
Good idea!!
Go ahead do it - then submit your code for inclusion :-)
Tarique
> Has any effort been made to internationalize PHPLib?
>
> There are error messages in English embedded in the code, for
> instance, in template.inc. I'd like to be able to replace them with
> error messages according to language code, so if the web site is
> accessed by a user whose preferred language is 'he', it will display
> error messages etc. in Hebrew, and if it is 'en', then in English,
> etc.
>
> Herouth
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Phplib-users mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phplib-users
>
--
=============================================================
PHP Applications for E-Biz: http://www.sanisoft.com
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug
=============================================================
Hi,
* Herouth Maoz wrote:
> accessed by a user whose preferred language is 'he', it will display
> error messages etc. in Hebrew, and if it is 'en', then in English,
I think this should not be a part of PHPLIB itself. Instead,
classes should have their own raiseError() function which
can be overwritten by a subclass the developer is working on.
And, raiseError() in the subclass can have the i18n code (because
there are numerous implementations of i18n out there).
--
Wenn mit der Website das Herz Ihres Unternehmens aus dem Takt
kommt. Wenn das kleine Problem vom Montag am Freitag vor dem
RollOut ein grosses ist. * te...@th...
Wir helfen Ihnen. Innerhalb von 2 Stunden. * 0931/78 43 804