[translations] Use of variables in t()

Fernando P. García fernando at develcuy.com
Wed Dec 24 02:11:09 UTC 2008


> But if someone happens to install two modules that define the same
> tr() function, they get PHP errors on duplicate function definitions.
> For this to be a viable work-around, it needs to be in your module's
> namespace, such as mymodule_tr().  I'm not sure that's fundamentally
> more readable than just doing:


What I mean is to include that function in the Drupal core. That's it.

Blessings!

-- 
Fernando P. García, http://www.develcuy.com
Developer - Analista de Sistemas
+51 1 9 8991 7871, Mz. P Lt. 30 1et Urb. Pachacamac - VES, Lima - Perú
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/translations/attachments/20081223/89901ecd/attachment.htm 


More information about the translations mailing list