What is Loco Translate?
It is a free WordPress plugin useful for translating your WordPress theme or plugins into a language other than the one it originally comes in (which is typically English).
Why Loco Translate :
It has a built-in translation editor.
A simple way to translate theme/plugin files directly from the WordPress Dashboard.
Let's take an example of translating the texts discount and free:
Step 1: Installation and Activation :
You can search for the loco translate plugin from the plugin section.
Click on Install now and activate the plugin.
Now that the LOCO Translate plugin is installed, let's start using it.
Navigate to Loco Translate --> Plugins --> Search for "Woo discount Rules PRO 2.0".
Step 2: (Only required if you don't see your language displayed in the Loco translate . If you see your language, you can skip this step)
Select Woo discount Rules PRO 2.0 and click on New language.
Choose the installed language from WordPress and choose the location as " languages/plugins/woo-discount-rules-pro-/".
Click on Start Translating.
Step 3: Start Translating
Click on the language.
Search for the content which you want to translate and enter the translated message and click on save.
Similarly, you can translate for all your desired texts.
Here is a screenshot of cart page after translating :
Frequently Asked Questions:
The text is not shown when I try to search, what should I do?
If the text is not shown, you might have to first add the text in the template.
Example: I am adding the text free.
Once you did this, select the language and translate it.
There are two plugins in Discount Rules for WooCommerce:
Woo Discount Rues
Woo Discount Rules PRO 2.0
Let's see one example for each scenarios (one translation with free version and another translation with PRO pack):
1. Free Version Translation:
Let's see how to translate one of the string "Title" from Discount Table.
Why do we choose Woo Discount Rues (free pack) to translate Discount Table strings?
Since, it is free feature/ available in free version, the strings will be stored in free pack. Hence we can choose the pack titled "Woo Discount Rues" and translate.
Let's try to translate the string "Title" in discount table.
Step 1: Choose our free pack -> Woo Discount Rues
Now, the string will be reflected as:
2. PRO pack translation:
Let's see how to translate the string "Change Variant"
Why do we choose Woo Discount Rules PRO 2.0 (PRO pack) to translate the Change Variant String?
Since, autoadding a variable product as free is a PRO feature, "Change Variant" string will be in PRO pack. Hence we can choose the pack titled "Woo Discount Rules PRO 2.0" and translate.
Let's try to translate the string "Change Variant".
Step 1: Choose our PRO pack -> Woo Discount Rules PRO 2.0
Now, the string get reflected as:
Likewise, as per the strings we are going to translate, we can choose the respective packs.
Always make sure to choose the second option in the choose a location.
(System) in the loco translate plugin.
The translated texts will be visible based on the chosen site language.
In the above video, why we choose "Woo Discount Rules PRO 2.0" plugin for translation?
Reason: Since "Discount" and "Free" texts are part of buy x get y rules and it a PRO feature. ie.., pro translations has to be done in discount rules 2.0 plugin (PRO pack).
Meanwhile, the string/ text you are trying to translate is available in free pack, then you can choose core plugin (Woo Discount Rues) and translate it.
Please submit a support request. We are always happy to assist you :)