latata
latata

Reputation: 1723

CakePHP month names translations

What is the best way to translate months names into another language when I use

$form->input('date_field');

Upvotes: 4

Views: 4323

Answers (1)

JJJ
JJJ

Reputation: 33143

The month names are already wrapped in __() so you can just provide the translations (as per http://book.cakephp.org/1.3/en/The-Manual/Common-Tasks-With-CakePHP/Internationalization-Localization.html) and it should work.

Upvotes: 7

Related Questions