Using WPML to translate WooCommerce Private Store
WooCommerce Private Store is a WordPress plugin that allows you to make your WooCommerce store hidden and private, while leaving the rest of your website available to everyone. You can use WPML and WooCommerce Multilingual to easily translate your entire WooCommerce Store, including the login form.
What you will need
- WooCommerce Private Store
- WPML Multilingual CMS
- WPML String Translation
- WooCommerce Multilingual
Please refer to the WPML Getting Started Guide to set up WPML correctly for your site. You can choose to translate your site yourself, send it to a translator, or hire a professional translation service. Or, you can translate your whole site automatically using Translate Everything mode.
Translating your WooCommerce products
Once you have set up WPML and WooCommerce, you will need to configure WooCommerce Multilingual. This allows you to translate all your WooCommerce content, including the content you will display in your private store.
If you enable WPML’s Translate Everything mode, your products will be automatically translated. Otherwise, you can choose which products you want to translate by going to WooCommerce → WooCommerce Multilingual. Then, click the plus icon to enter the product’s translations in the Advanced Translation Editor.
Read more about translating your WooCommerce store using WooCommerce Multilingual.
Translating the WooCommerce Private Store login form
If you are using the Logged In Users option, which automatically unlocks the store for logged in users, you do not need to translate the login form. This is because your users will log in using the WordPress login page rather than the password login form that comes with our plugin. WPML translates the WordPress login page by default.
If you use the option to password protect your store, you can specify your own login form text by going to WooCommerce → Settings → Private Store. To translate this text:
- Go to WPML → String Translation.
- Search for the text you want to translate.
- Click the plus icon to add your translation.
Where to get support
We hope that the above instructions give you everything you need.
As Barn2 are not experts in using the WPML plugin, WPML have kindly offered to support our customers with any problems that you have with translating our plugins using WPML. They will help you to ensure that you have set up WPML correctly, and will liaise with our developers directly if they discover any compatibility issues.