[development] t() function concept/bug/patch proposal

Gabor Hojtsy gabor at hojtsy.hu
Thu Sep 7 19:56:13 UTC 2006


On Thu, 7 Sep 2006, Moshe Weitzman wrote:
>> Moshe, is this what you support? 
>
> well, i was too vague. i support the strict issue only for now - 
> "performance: exit t() if $string is empty".
>
> gabor makes some good points about the problems associated with 
> overuse/misuse of t(). still, the workflow he describes is better than simply 
> being unable to localize taxonomy terms, for example. sometimes sucky is 
> better than impossible.
>
> thanks for the link to the i18n patch. i didn't know about it.

i18n (the contrib module) is a lot less sucky already without that patch, 
taxonomy_dhtml (which was mentioned as a module using t($term)) should 
collaborate with that module IMHO.

Gabor


More information about the development mailing list