1. Home
  2. WC Vendors Pro
  3. Getting Started
  4. Translating WC Vendors Pro : Language Support
  1. Home
  2. WC Vendors Pro
  3. How To
  4. Translating WC Vendors Pro : Language Support
  1. Home
  2. WC Vendors Pro
  3. Translating WC Vendors Pro : Language Support

Translating WC Vendors Pro : Language Support

Translating WC Vendors Pro

If you would like to translate WC Vendors into your own language we provide the base translation files in

  • wc-vendors-pro/languages/wc-vendors-pro.pot

There are a bunch of different ways to translate these files but we have found the easiest is to use POEdit.

Upgrade Safe Language files

If you have a specific custom language file that you don’t want to include in with WC Vendors but need to ensure is upgrade safe then you need to have the files in the correct location with the correct naming convention.

File Location

All custom language files should go in WP_CONTENT/WP_LANG_DIR this is usually wp-content/languages however these variables can be changed in wp-config so make sure your paths are correct.

For WC Vendors to detect the custom language files for WC Vendors Pro, you need to put them in a subdirectory called wc-vendors.

ex: wp-content/languages/wc-vendors/

File Names

The files need to be named correctly and go in the following format: domain-locale.mo & domain-locale.po our language domain is wcvendors and the locale is the iso standard for your language as listed here.

wcvendors-pro-en_AU.mo
wcvendors-pro-en_AU.po

Once you have your language files in the correct location wordpress will pick these translations up automatically after you change your base wordpress language.

 

We are native English speakers, yet we do our best to support our international users by ensuring that the plugin is translatable.  If you would like to submit a translation in your language we’d love to hear from you. Please create a new support ticket with a public or private link to the language files and we’ll work to get them included in the next release.

Updated on January 24, 2018

Was this article helpful?