Skip to content

Plugin Localization

Simple B&B Rental is fully localization-ready and can be easily translated into any language.

The plugin utilizes WordPress's native internationalization system (__(), _e(), esc_html__(), etc.) and already includes translations for the following languages:

  • Italian
  • French
  • German
  • Spanish

More languages will be added soon. All strings can be customized using 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 anyone who wants to customize or add a translation directly from WordPress.

1. Install Loco Translate

  1. Log in to your WordPress dashboard
  2. Go to Plugins → Add New
  3. Search for “Loco Translate”
  4. Install and activate the plugin

2. Open Simple B&B Rental in Loco Translate

  1. Go to Loco Translate → Plugins
  2. Look for Simple B&B Rental in the list
  3. Click the plugin name to view the available languages

3. Create or Modify a Translation

If the language you want to edit already exists (e.g., Italian), click it to open the editor.
If you want to add a new language:

  1. Click “New language”
  2. Choose:
    • Site language (recommended)
    • Or a custom language
  3. Choose the file location recommended by Loco:
    • Loco Translate (custom) → recommended
      (avoid saving files inside the plugin to prevent losing them during updates)
  4. Click “Start translating”

4. Translate the Strings

In the translation editor:

  1. Search for the string in the search bar
  2. Select it in the list
  3. Enter your translation in the lower text area
  4. Save by clicking “Save” (top right)

Your translation will be applied immediately to both the frontend and backend of the plugin.


Quick FAQ

Can I translate the plugin into any language?

Yes, you can create a translation with Loco Translate or with a .po / .mo editor like Poedit.

Which translations are included?

Currently, Simple B&B Rental offers translations in the following languages: Italian, French, German, and Spanish.

Can I modify an existing translation?

Yes. You can override any string using Loco Translate.

Can I share a translation with others?

Yes. .po and .mo files can be exported and reused on other websites.