1. Home
  2. Docs
  3. Dokan Multivendor
  4. Common Questions
  5. Translate Dokan Plugin

Translate Dokan Plugin

Translating the FREE

  1. Choose your language and download from the WordPress repository https://translate.wordpress.org/projects/wp-plugins/dokan-lite. Both .po and .mo files can be downloaded.
  2. Place the language files you downloaded to –
  • /wp-content/languages/plugins/ (Recommended)
  • /wp-content/plugins/dokan/languages

Text Domain for the .MO or .PO file

Dokan FREE: dokan-lite-en_EN.mo or dokan-lite-en_EN.po

Translating the PRO version

You can translate Dokan PRO in your own language and download the translations files yourself to implement the language into your site.

If this is your first time translating, then follow this general procedure tutorial:  How to translate weDevs plugins or themes

Make sure that:

1. You have translation files for both FREE and PRO. Only using one translation file for the FREE or the PRO module will result in malfunctioning translation.

2. You have chosen the right project

Navigate to Dokan PRO from projects (or click here) and then choose the language you want to translate to.

3. Use the proper file location

Place the language files you downloaded to –

  • /wp-content/languages/plugins/ (Recommended)
  • /wp-content/plugins/dokan/languages

If we place the file in the languages folder of the plugin, the file might get lost while updating the plugin. So the safest place would be wp-content/languages/plugins.

4. Rename the language files with the following format with the text domain.

Text Domain for the .MO or .PO file

Dokan PRO: dokan-en_EN.mo or dokan-en_EN.po

Final Step: Activation

  1. Go to wp-admin → Settings → General and scroll to the bottom.
  2. You will get to see a drop down menu for languages. Choose your language from there (like, en_Es for Spanish) and save to enable the language of your choice. All of the instructions are given in this post about translating weDevs themes and plugins (the last step).

Manually editing a translation from a file

To do this you will need a person readable file (.po). Machine readable (.mo) files will not work.

Download a .PO version of your language file and edit it with Poedit, it’s a free software. Download here – https://poedit.net/download

Now, you will be able to find the strings and add or edit each string manually.

Dokan 2.5.2 and older

You will have to choose the project titled Dokan plugin (old) for v2.5.2 or older to get it translated. Note that, this version only requires one .mo file because the free and pro were not separated back then.

Was this article helpful to you?

How can we help?