[pLog-svn] About the localization

Ma'moon soosas at gmail.com
Fri Apr 27 04:20:38 EDT 2007


gettext is a powerful tool and i personally use it but the point is you have
to install the GNU gettext package in order to get a working gettext package
in your PHP installation plus that you have to have {--with-gettext} option
added with your PHP build which means that you need root access in order to
set things up and use gettext, and i think that out there, there are a lot
of people who doesn't have root access and their server maintainers refuses
to install gettext tool for a reason or another, so i think that the
localization should be kept with an array so we can make sure that
everything is running fine regarding the localization for everyone.
here you can find a very good tutorial about gettext {
http://www.onlamp.com/pub/a/php/2002/06/13/php.html}
also don't forget that we are using smarty in our templating, which means
that you need to deal  with smarty-gettext plugin provided by the smarty
project, you can find it here {http://smarty.incutio.com/?page=SmartyGettext}
but once again you will need root access to get things done.

-Ma'moon

On 4/27/07, Mark Wu <markplace at gmail.com> wrote:
>
>  Hi Team:
>
> Myabe we can consider change out translation method getText, it may gain
> some performance.
>
> Kindly follow the article:
>
>
> http://mel.melaxis.com/devblog/2006/04/10/benchmarking-php-localization-is-gettext-fast-enough/
>
> The best is, if we apply gettext way, then we have a lot translation tools
> can help us to do easy translation.
>
> Mark
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20070427/9735ef46/attachment.htm 


More information about the pLog-svn mailing list