Locales - adding a language


Hi,

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

/var/www/html/ca/app/locale 

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?

tnx

Comments

  • 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.


    Is

Sign In or Register to comment.