I'm trying to translate my package going by the steps in this Howto: http://www.concrete5.org/documentation/how-tos/developers/translate-your-package/.
For example, I have this:
echo $form->label('name', t('Your Name'), array ('class'=>"required"));
then gone through all the steps creating my messages.po and messages.mo files - it didn't work, the text doesn't get translated. The po and mo files are in my application/packages/MY_PACKAGE/languages/ru_RU/LS_MESSAGES folder.
I tried another HowTo: http://www.concrete5.org/documentation/how-tos/developers/translating-site-specific-texts/. I've renamed my messages files to ru_RU.po and ru_RU.mo and moved them to application/languages/site - still doesn't work, I only see English.
Then I've uninstalled my package, installed it again. I go the an English page - ok. Then go to a Russian page and get this error:
Zend \ I18n \ Exception \ RuntimeException
Plural rule of merging text domain is not compatible with the current one
What's wrong? I'm totally clueless now what to do. Could anyone help please?
/packages/package_handle/languages/ru_RU/LC_MESSAGES/messages.mo. Exactly this way, incluuding capital letters - toesslab