1

How can I change the language of Magento's frontend calendar? Its a DHTML Calendar so that I can configure it in many ways. But I cant find out any multi-language options. Is there any way?

4
  • The core Magento JS calendar is multilingual by default . Isn't it working for you?
    – user487772
    Jun 24, 2013 at 13:23
  • Can you notify how could I set an another language in default magento calendar?
    – Vishnu R
    Jun 25, 2013 at 5:17
  • What what text for example?
    – user487772
    Jun 25, 2013 at 5:39
  • for months and days
    – Vishnu R
    Jun 25, 2013 at 5:44

1 Answer 1

1

The most of calendar translations are located in Mage_Page.csv file of your locale. However some variable stuff like months and weekdays are generated dynamically by Zend_Locale_Data class and can not be easily overwritten.

See Mage_Core_Block_Html_Calendar::_toHtml() for more info.

The quick solution would be to copy your /lib/Zend/Locale/Data/[your-locale].xml to app/code/local/Zend/Locale/Data/[your-locale].xml and modify it there but still not a very clean solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.