Permalink 2 users found helpful
Hi everyone! I'm using Concrete Always get this error, when I try to use Translate Site Interface after saving file: "Plural rule of merging text domain is not compatible with the current one". English version of site works fine, but Russian shows me this error. If I reset all translations, this error disappears. WAIDW???? Please, need help!

2 Attachments

View Replies: View Best Answer
bbrody replied on at Permalink Reply 1 Attachment
I've managed to solve this issue. It's some kind of bug or something, I don't know, but my solution works for me and may be helpful for someone else. The error was an exception of Zend Internationalization Module, and I just commented 3 lines of code that threw that exception. Look at the screenshot in attachment for details.
mlocati replied on at Permalink Reply
The problem is that the platform we use to translate the core strings (Transifex - ) contains a wrong definition for the Russian rules used by programs to determine the plural.

Transifex thinks that there are 4 different plural forms for integer numbers, whereas actually there are only 3 forms.

Tecnically, here's what Transifex says:
nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3)

but here's what it should be:
nplurals=3; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)

I've just contacted Transifex to ask them if they could fix this problem on their side.
mlocati replied on at Permalink Best Answer Reply 1 Attachment
The next release of concrete5 won't suffer of this problem.

In the meanwhile, you can revert your edit to zend framework and save the attached file to

PS: relevant change to the core:
bbrody replied on at Permalink Reply
Thank you for your assistance. Your fix solved the problem. I knew that commenting those lines wasn't the right solution, but it helped me to continue my work on my project. Marked your answer as the best.
jacobs83 replied on at Permalink Reply
This same issue is happening in the Turkey Language. Has there been a global fix posted anywhere that I am missing?
mlocati replied on at Permalink Reply
Turkish language shouldn't have this problem.

Could you post a reply with an attached zip archive containing the contents of your "languages" directories (the /application/languages and the languages directories of every package)?