Thursday, January 24, 2013

Re: CakePHP 2.0.5 and localization

Some of those translation strings went into the "cake" domain
 
    __d('cake', ...);

check the online source or the "Localized" plugin on how to make it work again and translations for it.

In the end you just need to move those strings from default.po into cake.po (or run extract once more)


Am Donnerstag, 24. Januar 2013 16:20:38 UTC+1 schrieb vanessa v:
I'm having an issue with this too. I'm using French though.

On Wednesday, January 18, 2012 1:51:28 AM UTC-5, ZoRRo wrote:
I used CakePHP 1.3, I want to migrate to version 2.
I have a problem of translation (russian lang), used po-file (app/
Locale/rus/LC_MESSAGES/default.po).
echo __('January') - work successfully
echo $this->Form->input('var', array('type' => 'date', 'dateFormat' =>
'DMY)) - displays the English names of months

I can use parameter 'monthNames', but it is not good. Is it possible
to get an automatic translation into a form?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: