Frequently Asked Questions

Tag: Translation

Why plugins POT file can’t be imported in POEditor?

POT file for this plugin includes duplicate strings with different contexts, but POEditor currently doesn’t check for context to determine if the string is valid, it just checks for string duplicates, regardless of context. Until that is fixed, POEditor can’t be used to edit translations for this plugin. We have opened ticked with POEditor for them to properly support duplicate strings with different contexts, and hopefully, they will support that soon.

This problem is fixed in POEdit 2.1.

0
0
990
Rate this FAQ answer

You are not allowed to rate this post.

Can I translate plugin to my language?

Yes. POT file is provided as a base for translation in the root folder for each plugin. Translation files should go into languages directory, and WordPress must be set to your language to load the file. As an alternative, translation file can go into wp-content/languages/plugins directory.

The file name for translated and compiled MO file must be the same as POT file with the addition of language code: {plugin-name}-{language-code}.mo.

You can check out this for translating plugins using POEdit program:
wp.dev4press.com/tutorials/translating-plugins-or-themes-using-poedit

8
0
62268
Rate this FAQ answer

You are not allowed to rate this post.