Translating Calculator with WPML
For multilingual sites, it is important to translate the same calculator and have it automatically displayed in the chosen language by the user. Using WPML plugin by following the manual below the Calculators can be translated into multiple languages.
The manual below is for translating the Plugin into different languages at the same time to make it multilingual. If you need to just translate into another language please skip this section and follow the Translation Basics and Translation Static Strings sections.
WPML is a popular plugin among users for setting up a multilingual WordPress site and has control over the translations on a deeper level.
WPML requires a Multilingual CMS license or higher. More information about WPML's pricing options can be found on its website.
Translating Calculator into different Languages
Installing and Activating WPML
To make site multilingual the main WPML components should be installed and activated:
WPML Multilingual CMS (the core plugin)
String Translation
Media Translation
They are available from your account’s Downloads page on WPML.org.
You can read more about how to download and activate your WPML plugins on your site.
Configuring WPML
After activating WPML main components, click on Configure WPML to finish the plugin installation:
In the setup wizard you will be offered two different translation modes:
Translate Everything - This option sends all of your site’s content to be translated automatically when you finish the setup wizard or change your translation mode. As you add new content or edit existing content on your site, WPML translates it immediately, which means your site’s translations are never out of date.
Translate Some - This option allows you to set a translator and work on your website to translate selected content. To Translate the Cost Calculator this mode is suitable.
Translating the Calculator
Initially, build Calculator that matches your business needs by adding elements in the main language:
When a calculator is not translated into multiple languages, and a user switches the language settings of the page, the calculator will still be displayed in the main language that it was originally designed for.
After creating a calculator in the main language, it can be translated into other languages following these steps:
Go to the WPML > Translation Management page.
Select the previously created that you want to translate.
In the Select Translation options section, choose the Translate option corresponding to the language(s) you want to translate the page.
Click the "Translate selected content" button to add the item to the translations queue.
To translate content including calculators, translators must be added to your site.
To translate those jobs, go to WPML > Translations section and click on "Take and Translate" to begin the translation process:
On the opened Advanced translator editor, translate the labels of the fileds and click on the "Complete" button:
Translating the Pages with an Embedded Calculator
Initially, create the page and following the manual below embed one of the calculators to the page:
To translate the page where the Cost Calculator is added follow these steps:
Go to the WPML > Translation Management page.
Select the page that you want to translate.
In the Select translation options section, choose the Translate option corresponding to the language(s) you want to translate the page.
Click the Translate button to translate the content of the page to another language.
To translate those jobs, go to WPML > Translations section and click on "Take and Translate" to begin the translation process:
On the opened Advanced translator editor, translate the labels of the fileds and click on the "Complete" button:
Translating Static Strings
While translating the Cost Calculator, you may notice a couple of parts that aren't translatable by editing the Calculator and its settings.
If Translate Everything is turned on while configuring the WPML, the strings will be available for translation.
If you selected Translate Some follow these steps:
Navigate to WPML > Theme and plugins localization and select Cost Calculator Builder & Cost Calculator Builder Pro plugins to Scan for strings:
WPML makes static texts in Cost Calculator available to translate with String Translations.
Navigate to WPML > String Translation and search for the text that you want to translate:
Some texts from the Cost Calculator admin area may not be listed in the String Translation section, and they may not be found in search results. For example, content of Company Info in PDF Entries settings:
Navigate to WPML > String Translation > Translate texts in admin screens to make available for translation:
Search for the Text that you are looking for and add to String Translation:
Following the Steps above your Calculator can be translated into more than one language.
Translating WooCommerce Products
The Calculators can be added to the Single product page of WooCommerce using the Product Category.
To assign a Proper calculator for different translations of the products, they should be translated by the following manual:
Installing and Activating WooCommerce Multilingual
To install the plugin, go to Dashboard and find the Plugins section from the left menu and choose Add New.
You need to search WooCommerce Multilingual & Multicurrency and install & activate it on the opened page.
After activating the Plugin run WooCommerce Multilingual & Multicurrency Set Up wizard:
In Translation Options step, select "I'll choose which products to translate. Only show translated products.":
Translating WooCommerce Products and Categories
After finishing Set up wizard go to the Dashboard > WooCommerce > WooCommerce Multilingual & Multicurrency and open Categories Tab.
There translate all Product Categories on your website:
Go to the Dashboard > WooCommerce > WooCommerce Multilingual & Multicurrency and open Products Tab.
There translate all Products on your website:
Assigning Calculators to WooCommerce Products
Edit the Calculator that matches with selected Site language:
Go to Settings > Woo Products and select the WooCommerce product category in the corresponding language:
Do the same steps for other languages and select the WooCommerce product category in the corresponding language:
When manual above followed, the correct calculator is attached depending on the translation of the product.
Please contact our support team if for some reason the translations do not work even though you have done all according to the manual.
Last updated