Skip to content Skip to main navigation Skip to footer

Translating the Plugin

Chauffeur Booking System supports translation through standard WordPress .po and .mo language files. You can use one of the translations included with the plugin, modify an existing translation, or create a completely new translation using software such as Poedit.

Good to Know

Chauffeur Booking System includes ready-to-use translations for German, Greek, Spanish, French, Italian, Dutch, Turkish, Polish, Portuguese, and Croatian. These translations cover both the booking form and the WordPress admin area.

Set the WordPress Site Language

Navigate to ‘Settings’ -> ‘General’ in your WordPress admin panel and select the required language in ‘Site Language’.

WordPress uses this setting to determine which translation files should be loaded for the plugin.

Good to Know

If the selected language is already included with Chauffeur Booking System, WordPress will automatically use the corresponding translation files and no additional setup is required.

Translation File Formats

The plugin uses standard WordPress translation files:

  • .pot – the translation template containing the original source strings
  • .po – the editable translation file containing the original strings and their translations
  • .mo – the compiled translation file used by WordPress

The translation files are located in:

{YOUR_WORDPRESS_FOLDER}/wp-content/plugins/chauffeur-booking-system/languages/

Choose the Correct Translation Method

Before editing any files, decide which of the following situations applies to you:

  • You want to modify an existing translation – open the existing .po file for your language and edit only the required phrases.
  • You want to create a translation for a language that is not included – create a new translation from the source .pot file.

Important!

Do not create a new translation from the .pot file if you only want to modify an existing included translation. In that case, edit the existing .po file for your language instead.

Edit an Existing Translation

If Chauffeur Booking System already includes your language and you only want to change selected words or phrases, edit the existing translation instead of creating a new one.

For example, the French translation files are:

chauffeur-booking-system-fr_FR.po
chauffeur-booking-system-fr_FR.mo

To modify the translation:

  1. Locate the .po file for your language in:
    {YOUR_WORDPRESS_FOLDER}/wp-content/plugins/chauffeur-booking-system/languages/
    
  2. Create a backup copy of both the corresponding .po and .mo files.
  3. Download the .po file to your computer.
  4. Download and install Poedit.
  5. Open the existing .po file in Poedit.
  6. Search for the phrase you want to change and enter your preferred translation.
  7. Save the file. Poedit will also update or generate the corresponding .mo file.
  8. Upload the updated .po and .mo files back to the plugin’s languages directory.

Important!

Keep the original file names when modifying an existing translation. The locale code in the file name must continue to match the language selected in WordPress.

Create a New Translation

If your language is not included with the plugin, create a new translation from the source template:

{YOUR_WORDPRESS_FOLDER}/wp-content/plugins/chauffeur-booking-system/languages/chauffeur-booking-system.pot

You can access this file using an FTP client, your hosting file manager, or another tool that allows you to browse your WordPress installation files.

  1. Download chauffeur-booking-system.pot to your computer.
  2. Download and install Poedit.
  3. Open Poedit and create a new translation from the downloaded .pot file.
  4. Select the language you want to translate the plugin into.
  5. Translate the required strings.

In Poedit, select a source string and enter its translated version in the translation field. You can also use the search function to quickly locate a specific word or phrase.

Important!

Some strings contain placeholders such as ‘%s’ or ‘%d’, special characters, or HTML code. Keep these elements unchanged and translate only the visible text around them.

Important!

If a translation is marked as ‘Needs work’ in Poedit, it may not be included in the compiled translation. Make sure completed translations are not marked as unfinished before saving the files.

Save a New Translation

Save the translation using the following naming format:

chauffeur-booking-system-locale_CODE.po
chauffeur-booking-system-locale_CODE.mo

For example, a French translation uses:

chauffeur-booking-system-fr_FR.po
chauffeur-booking-system-fr_FR.mo

A Portuguese translation uses:

chauffeur-booking-system-pt_PT.po
chauffeur-booking-system-pt_PT.mo

You can find the appropriate WordPress locale code for your language at translate.wordpress.org.

Upload the Translation Files

Upload both the .po and .mo files to:

{YOUR_WORDPRESS_FOLDER}/wp-content/plugins/chauffeur-booking-system/languages/

Make sure the locale code in the file names matches the language selected in ‘Settings’ -> ‘General’ -> ‘Site Language’.

After uploading the files, clear any WordPress caching plugins and refresh the page. If necessary, also clear your browser cache.

Important!

Translation files stored inside the plugin directory may be overwritten when the plugin is updated. Always keep a backup copy of any translation files you have created or modified before installing an update.

Common Examples

Example 1.

You use French and want to change one phrase. Open chauffeur-booking-system-fr_FR.po, change the required phrase in Poedit, save the file, and upload the updated .po and .mo files.

Example 2.

You want to translate the plugin into a language that is not included. Start from chauffeur-booking-system.pot, create a new translation in Poedit, select the required language, translate the strings, and save the resulting .po and .mo files using the correct locale code.

Summary

Document version: 2.1
Last updated: August 27, 2026
Plugin version: 6.8+

Was This Article Helpful?

Related Articles