I couldn't solve this problem, any help will be appreciated :S

2010/12/4 Hugo M <[email protected]>

> I have in locale/esp/LC_MESSAGES/default.po:
>
> msgid  "on %s"
> msgstr "el %s"
>
> msgid  "%s ago"
> msgstr "hace %s"
>
> msgid  "Yesterday, %s"
> msgstr "Ayer, %s"
>
> msgid  "Today, %s"
> msgstr "Hoy %s"
>
> msgid "week"
> msgid_plural "weeks"
> msgstr[0] "semana"
> msgstr[1] "semanas"
>
> In app_controller before_filter I have:
>
> $this->Session->write('Config.language', 'esp');
> Configure::write('Config.language', 'esp');
> debug(__('week',true));
>
> __('week') is not being translated. Neither the sentences in Time helper.
> What's going on? I've already done sites with multi-language before :S. The
> only difference is that I'm using a newer cakephp version (1.3.5)
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to