Translating WC Vendors
If you would like to translate WC Vendors into your own language we provide the base translation files in
- wc-vendors/languages/wc-vendors.pot
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 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.
wc-vendors-en_AU.mo
wc-vendors-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.