Answer the question
In order to leave comments, you need to log in
How to translate Event Calendar?
Installed Event Calendar on the site. The language of the site is Ukrainian, and accordingly the calendar should also be translated. But, wp does not automatically translate the plugin. Editing via loco translate does not change anything. I tried to edit all languages, for a trial one parameter, as a result, all "po" files have a translation, but the plugin remained in English as it was. I tried to edit through poedit, but it didn't help either. Climbed into the source of "pot" and also did not give any results. I wrote a function in js that replaces words with translated ones, it helped in part, but it's like a huge crutch. WP 5.3.3. Who will tell you what?
Answer the question
In order to leave comments, you need to log in
Hello!
First of all, open the plugin source and see if the code is prepared for localization.
Are there inserts _e()
, etc. Most likely, taking into account the fact that the plugin has translation files, it means that it is localized.
Another point - pay attention to whether you have correctly specified the name of the translation files.
For the Ukrainian language should be:
название_плагина-uk.po
название_плагина-uk.mo
название_плагина-uk.pot
название_плагина-uk_UA.po
название_плагина-uk_UA.mo
название_плагина-uk_UA.pot
define ('WPLANG', 'uk_UA');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question