Knowledge Base Tag Archives

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
522
Rate this FAQ answer

You are not allowed to rate this post.

Where should I install plugin translations?

All plugins are using core WordPress functions to load translation files. So, there are two locations where translations should be stored. First one is the ‘languages’ folder in the plugin folder. But, you can also use a¬†universal location for all translations: wp-content/languages/plugins. If this folder is missing, manually create it and store translation files there.

0
0
505
Rate this FAQ answer

You are not allowed to rate this post.

What is the language code for my language?

The most comprehensive list of WordPress supported languages and language codes can be found here:

https://make.wordpress.org/polyglots/teams/

Translation code to use in the name of the translation file is in the column ‘WP Locale’. Some languages use simple 2 letter code, and some use 5 letter combination.

0
0
809
Rate this FAQ answer

You are not allowed to rate this post.

Can I translate addon 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. The file name for translated and compiled MO file must be the same as POT file with the addition of language code: {addon-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

4
0
33026
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
51654
Rate this FAQ answer

You are not allowed to rate this post.