Thursday, January 24, 2013

Re: CakePHP 2.0.5 and localization

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: