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.
<br>here you can find a very good tutorial about gettext {<a href="http://www.onlamp.com/pub/a/php/2002/06/13/php.html">http://www.onlamp.com/pub/a/php/2002/06/13/php.html</a>}<br>also don&#39;t forget that we are using smarty in our templating, which means that you need to deal&nbsp; with smarty-gettext plugin provided by the smarty project, you can find it here {
<a href="http://smarty.incutio.com/?page=SmartyGettext">http://smarty.incutio.com/?page=SmartyGettext</a>} but once again you will need root access to get things done.<br><br>-Ma&#39;moon<br><br><div><span class="gmail_quote">
On 4/27/07, <b class="gmail_sendername">Mark Wu</b> &lt;<a href="mailto:markplace@gmail.com">markplace@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div><span><font size="2">Hi Team:</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2">Myabe we can consider change 
out translation method getText, it may gain some 
performance.</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2">Kindly follow the 
article:</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2"><a href="http://mel.melaxis.com/devblog/2006/04/10/benchmarking-php-localization-is-gettext-fast-enough/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mel.melaxis.com/devblog/2006/04/10/benchmarking-php-localization-is-gettext-fast-enough/
</a></font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2">The best is, if we apply 
gettext way, then we have a lot translation tools can help us to do easy 
translation.</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2">Mark</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div></div>
<br>_______________________________________________<br>pLog-svn mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pLog-svn@devel.lifetype.net">pLog-svn@devel.lifetype.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">
http://limedaley.com/mailman/listinfo/plog-svn</a><br></blockquote></div><br>