Locales - adding a language


I'm past basic installation and I need to change language to Croatian. I created new folder hr_HR in


and uploaded there messages.po from Transifex.

In CA user interface I opened MANAGE -> Adminstration -> Locales and created new locale Hrvatski with hr as ISO 639 language code and HR as ISO 3166-1 alpha-2 country code. I saved it and opened MANAGE -> My preferences and selected my new language, but got message Error loading locale hr_HR.

I do not have messages.mo there, can I copy it from other language and change to hr_HR.

Is there some tutorial about creating locales which are not in the default list?



  • edited September 11

    I tried to generate and compile messages.po with Poedit into messages.mo but with no luck.

  • Maybe I wasn't clear enough in my last post, I did create messages.mo with Poedit, but placing it into /var/www/html/ca/app/locale/hr_HR did not change anything, I still have Error loading locale hr_HR.


Sign In or Register to comment.