Knowledge Base Category Archives

Category: Translations

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
116
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
216
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
22007
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

4
0
29219
Rate this FAQ answer

You are not allowed to rate this post.