1. Home
  2. Docs
  3. Dokan Extensions
  4. WPML Integration

WPML Integration

Initial Steps

To enable WPML for your Dokan Multivendor Marketplace, you will need the following –

  • Sitepress Multilingual
  • WooCommerce Multilingual
  • WPML Translation Management
  • WPML Media
  • WPML String Translation
  • Dokan WPML Integration

Installation & Configuration Steps

  1. Install and activate Sitepress Multilingual, WooCommerce Multilingual, WPML Translation Management, WPML Media, WPML String Translation plugin.
    dokan wpml required plugins
  2. Configure WPML & WooCommerce Multilingual. You can read this documentation for details.
  3. Install and activate Dokan WPML Integration plugin.
  4. Navigate to – WP Dashboard → WPML → Languages → Language  URL Format
  5. Set the translation link structure to sub-directories. That means the translation link for french would be site.com/fr
    wpml language directory settings
  6. Create translation of your pages and products and you are done
    wpml product translation for products

Translation Text Domain

You have to rename the .mo file according to this format for translating: pluginname-languagecode_countrycode.mo 
for this extension, just rename the .mo and .po file to the following –
dokan-wpml-languagecode_countrycode.po/mo
For example, in case of French Language, the code will be- dokan-wpml-fr_FR.mo

Was this article helpful to you?

How can we help?