"Plural-Forms: nplurals=2; plural=(n != 1);\n"

That line in the .po file fix the plural problem with po edit

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

> Ok cache seems to have gone now, and now I can start again. The only thing
> I want is translate the Time Helper strings. Should I run i18n bake task in
> the time helper directory? (because if I run it in the whole application
> directory I got errors in Po Edit and I'm not able to generate my po file
> from mi pot file).
>
> 2010/12/8 Hugo M <[email protected]>
>
> WTF is going on? There is a Cache for translations? I don't know how but I
>> was able to translate "week" to "semana", but now I tried to change "semana"
>> to something different "semanadsgfdg" and is not working! I deleted my .po
>> file and Cake is still translating "week" to "semana". Im.. scared?
>>
>> 2010/12/6 Hugo M <[email protected]>
>>
>> Not working. When I go to i18n.php // method translate:
>>>
>>> debug($_this):
>>>
>>> I get:
>>>
>>> I18n Object
>>> (
>>>     [l10n] => L10n Object
>>>         (
>>>             [language] => English (United States)
>>>             [languagePath] => Array
>>>                 (
>>>                     [0] => eng
>>>                 )
>>>
>>>             [lang] => eng
>>>             [locale] => en_us
>>>             [default] =>
>>>             [charset] => utf-8
>>>             [direction] => ltr
>>>             [found] =>
>>>             [__l10nMap] => Array
>>>
>>> WTF?? :( (this is AFTER setting Config.language)
>>>
>>>
>>>
>>> 2010/12/6 100rk <[email protected]>
>>>
>>> > I have in locale/esp/LC_MESSAGES/default.po:
>>>>
>>>> locale/spa/LC_MESSAGES/default.po
>>>>
>>>> > $this->Session->write('Config.language', 'esp');
>>>> > Configure::write('Config.language', 'esp');
>>>>
>>>> $this->Session->write('Config.language', 'es');
>>>> Configure::write('Config.language', 'es');
>>>>
>>>> https://github.com/cakephp/cakephp/blob/master/cake/libs/l10n.php#L231
>>>>
>>>> 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]<cake-php%[email protected]>For
>>>>  more options, visit this group at
>>>> http://groups.google.com/group/cake-php?hl=en
>>>>
>>>
>>>
>>
>

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