Using WPML to translate WooCommerce Product Table
WooCommerce Product Table allows you to create tables or lists to allow customers to quickly find and purchase products. With WPML, you can easily translate your entire WooCommerce store, including the tables and lists you create.
WooCommerce Product Table also comes with several built-in languages which you can use without needing a separate multilingual plugin. Please see our article on translating WooCommerce Product Table.
You will need to install the following plugins:
- WPML Multilingual CMS
- WPML String Translation
- WooCommerce Multilingual
- WooCommerce Product Table
Please refer to the WPML Getting Started Guide to setup 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 product table.
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.
You can also use WooCommerce Multilingual to translate categories, attributes, variations, the cart and checkout pages, add other currencies to your store, and more. Please refer to the WooCommerce Multilingual setup guide for details.
Translating the product tables
If you need to translate other text in your product tables such as table headings and filters:
- Go to WPML → Theme and plugin localization and scan the WooCommerce Product Table plugin for strings.
- Go to WPML → String Translation and search for the text you want to translate.
- Click the plus icon to add translations yourself. Or, you can select all the strings you want to translate and add them to the Translation Basket to send to a translator or professional translation service.
To ensure the tables are displayed in the correct language we recommend that you do not enable the caching option. This ensures that the table is loaded with the correct language products for each user.
Translating posts and pages
Once your products and table headings have been translated, you need to translate the page or post where your product table appears. Again, if you have Translate Everything enabled, this is done for you automatically in the background.
To translate pages and posts yourself, go to the page or post screen and click the plus icon.
This opens the page in the Advanced Translation Editor where you can add your translations for the page title, taxonomy, and any other text that appears on the page.
You can then view the translated page with the translated product table on your site’s front-end.
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.