[pLog-svn] About the localization

Oscar Renalias oscar at renalias.net
Sat Apr 28 18:09:15 EDT 2007


The problem is, how many people are actually using the gettext  
extension? I just checked my server and it's installed, but I don't  
know if it's a very common one.

If it's not installed in many servers, we'll actually be losing  
performance because we'll have to use the non-native implementation  
of gettext, and only a very few hosts will be able to use it.  
According to the link you sent, the array implementation (the one  
we're using now) seems to be somewhere in between the native and non- 
native gettext implementations so it's not too bad.

On 27 Apr 2007, at 19:51, Mark Wu wrote:

> Hi Oscar:
>
> This article is introduce the benchmark of gettext-extension and  
> gettext-php
> ( a native php implementation) . So, it doesn't need any extension.
>
> Wordpress use both of them.  See the following to knoe more gettext- 
> php
>
> http://savannah.nongnu.org/projects/php-gettext/
>
> If( function_exists( gettext) )
> 	use gettext-exntesion
> Else
> 	use gettext-php library
>
> So, it can help the big site to get better performance. I guess ...
>
> Mark
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.lifetype.net
>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
>> Oscar Renalias
>> Sent: Saturday, April 28, 2007 12:32 AM
>> To: plog-svn at devel.lifetype.net
>> Subject: Re: [pLog-svn] About the localization
>>
>> Unfortunately, anything that requires an additional php
>> extension that is not enabled by default will not be
>> considered, otherwise we'd be restricting ourselves (although
>> I think WP uses gettext, doesn't it?)
>>
>> On 27 Apr 2007, at 06:01, Mark Wu 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
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list