Plugin Localization
Simple Bike Rental is fully prepared for translation and can be easily adapted to any language.
The plugin uses the native WordPress internationalization system ('()', '_e()', 'esc_html()', etc.) and already includes translations for the Italian language
Other languages will be added. All strings can be customized via Loco Translate or other tools compatible with '.po' and '.mo' files.
How to translate the plugin with Loco Translate
Here is a quick guide for those who want to customize or add a translation directly from WordPress.
1. Install Loco Translate
- Access your WordPress dashboard
- Go to Plugin → Add new
- Search for "Loco Translate"
- Install and activate the plugin
2. Open Simple Bike Rental in Loco Translate
- Go to Loco Translate → Plugins
- Search for Simple Bike Rental in the list
- Click on the plugin name to access the available languages
3. Create or edit a translation
If the language you want to change is already present (e.g. Italian), click on it to open the editor.
If you want to add a new language:
- Click "New language"
-
Choose:
- Site language (recommended)
- Or a custom language
-
Set the file location in the folder recommended by Loco:
- Loco Translate (custom) → recommended (avoid saving files inside the plugin so as not to lose them with updates)
- Click "Start translation"
4. Translate the strings
On the translation screen:
- Search for the string in the search bar
- Select it from the list
- Enter the translation in the lower box
- Save by clicking "Save" (top right)
The string will be immediately updated in the frontend and backend of the plugin.
Quick FAQs
Can I translate the plugin into any language?
Yes, just create it via Loco Translate or generate a '.po'/'mo' file with Poedit.
What translations are included?
At the moment, Simple Bike Rental includes a translation into Italian.
Can I change a translation?
Yes. You can overwrite any string via Loco Translate.
Can I share a translation with others?
Yes. The '.po' and '.mo' files can be exported and reused on other sites.