How to translate strings using LOCO Translate
This guide will help you translate strings from the WooCommerce Extra Fee Plugin using the Loco Translate plugin.
In the article
What is Loco Translate?
Loco Translate is a free and widely used WordPress plugin that allows you to translate theme and plugin strings directly from the WordPress dashboard.
Why use Loco Translate?
- Built-in translation editor
- No technical knowledge required
- Supports direct translation of plugin files
Steps to translate extra fee strings
Step 1: Install and Activate Loco Translate
- Go to your WordPress Dashboard → Plugins → Add New
- Search for Loco Translate
Click Install Now and then Activate
Step 2: Set Up Language (if not already added)
- Go to Loco Translate → Plugins
- Search for WooCommerce Extra Fee
- Click on it and then click New Language
- Select your target language
- Choose System as the file location
Click Start Translating
Step 3: Translating Strings
Example 1: "Optional Fee (s)" (from the optional fees section)
- Go to Loco Translate → Plugins → WooCommerce Extra Fee
- Select language
- Click Edit
- Search for the string Service Fee
- Enter your translated text
Click Save
Example 2: "Optional Fee Section Title"
- Repeat the above steps
Search and Translate Optional Fee Section Title
Notes
- Always select the System location while saving.
- Translations will show based on the active site language.