Tuesday, January 17, 2012

CakePHP 2.0.5 and localization

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?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate