Re: How to do i18n better?
| From: | Michiel Sikma | Date: | Mon, 19 Apr 2010 21:46:04 +0000 |
| Subject: | Re: How to do i18n better? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304238@lists.php.net to get a copy of this message | ||
On 19 April 2010 15:56, Robert Cummings <robert@interjinn.com> wrote:
> -snip-
>
>
> Unless you have namespaces (and I can't remember if they completed
> namespaced based functions) then don't use something so commuon as a
> function named underscore :/
>
> Cheers,
> Rob.
>
>
No, you're actually absolutely right about that, since I had a custom
function in mind when I wrote that example code, not PHP's built in gettext
function ;)
I use frameworks so I end up doing $this->lang() or something similar
myself.
Michiel