Plugins sold on WooCommerce.com are translation ready, and can be used with any translation plugin. Some even have bundled translations available, and we’re always happy to work with translators to increase translation coverage!
If you’re interested in translating WooCommerce or extensions, please review this document on localization to get started.
Using a Bundled Translation ↑ Back to top
If a plugin has a translation bundled, it will be loaded automatically when your site language is switched away from English. We try to bundle complete translations when possible, but will bundle partial translations if a complete translation is not available, so some strings may be missing from the translation.
If you build your own translation and would like to submit it for bundling, please get in touch with our help desk to pass the translation to the plugin developer.
Generating a New Translation ↑ Back to top
If you want to translate an extension into your own language manually, a gettext tool like PoEdit will be helpful. Please ensure you know how to properly translate a .pot file, these tutorials will be helpful:
You’ll need a couple things to get translating:
- Your gettext tool of choice, ie PoEdit (recommended) or LocoTranslate
- The plugin’s textdomain. If you’re not sure of which textdomain to use, it’s usually listed at the top of the main plugin file — download the plugin, unzip it, open the folder, and look in the file with the same name as the plugin (will not be in a sub folder, will always be in the main folder).
- The plugin’s .pot file — this is typically in a
/i18n/directory within the plugin.
Once you have the plugin’s textdomain and its .pot file, you can get translating 🙂
When you’re done, you can add your translations to the same folder in which you found the .pot file. Ensure you’ve named them correctly!
For example, if the plugin .pot file is named
woocommerce-plugin-textdomain.pot, your translation files should be named
aa_AA is the code for your language (e.g., fr_FR).
If you want your translations to be saved in the event of plugin upgrades, you could also move them to a WordPress core directory — translations for a plugin can be saved to:
wp-content/languages/plugins/ directory will hold translations for any plugin. You can safely store your custom translation there and it will not be overwritten with plugin updates.
Translating SkyVerge Extensions ↑ Back to top
SkyVerge extensions use a common skeleton for development, so as a result, the plugin will have a textdomain and translation, as well as a textdomain and translation for the skeleton. As such, some of the strings in your plugin may be part of the skeleton.
You can translate the skeleton just like a plugin, but its translation will need to be saved in a different location (with the benefit being that if you translate it once, it will apply to all SkyVerge extensions using those strings).
Here are some steps to translating the SkyVerge plugin framework — ensure you replace
nb_NO in the below steps with the appropriate text domain for your translation.
If you have already started a translation of the framework .pot file, you can skip steps 1 through 5 and just rename the
.mo files to
- In your plugin, find the
woocommerce-plugin-framework.potfile in either of the following two locations (your plugin will only have one of these):
- Open the
woocommerce-plugin-framework.potfile in PoEdit or similar and click on Create New Translation.
- Set the language of the translation and click OK
- Select File > Save then save the file on your computer, ensuring that you name it exactly
.poextension should be added automatically by the application).
- Translate some strings and click on File > Compile to MO… and ensure you name the file exactly
- Once you have made a few test translations, upload both the .po and .mo files via FTP to the
wp-content/languages/woocommerce-plugin-framework/folder in your site (you will likely have to create this folder). The two files should have the following paths:
- Visit the frontend or admin of your site to verify if the new translations were picked up. If not, please send us admin and FTP credentials and we would be more than happy to troubleshoot.
- Assuming the translation test passed, complete the translations on your local computer, recompile the MO file when satisfied, then upload the two files again to the
If you would like to submit a translation for the
woocommerce-plugin-framework, please open an issue or pull request on GitHub.
Working with WPML ↑ Back to top
If you want to use multiple languages or display a language different than your site language, than a multilingual tool like WPML comes into play. WPML has document available on translating plugins.
To use WPML with WooCommerce, you should install the WooCommerce Multilingual plugin, which their team can help you with in terms of set up and configuration.