Internal translations
TheBooking includes an internal translation catalog for customer-facing booking content.
Use it when the same site serves customers in more than one language and each language needs its own service names, descriptions, form labels, options, and notification text.
Enable translations
Open Settings > Business model and turn on Enable translations.
Translation controls then appear where customer-facing text is edited, including:
- service name, short description, and description;
- booking-form labels, default text, and options;
- customer email subjects and bodies.
Source and target languages
The source language is the language of the original content. Target languages are the other active site languages.
With WPML active, the source language and the target languages come from WPML; otherwise they come from WordPress: the site language, English (United States), and every language installed under Settings > General > Site Language. When there is no other language, the translation panels say so.
Edit the source content in the normal service or notification settings. Edit translations in the Translations panels: choose the language in Translate into, and type the translation of each text in the field under its original.
Save translations
- Service and booking-form translations are saved with the other changes of the page: select Save in the Unsaved changes bar, or Discard to drop them. You can translate several languages, one after the other, and save them all at once.
- Email translations open from the Translations button of a notification, next to Edit email content. They are saved at once, separately from the other changes of the service: select Save translations. A language without a translation starts from the current template; Use the current template starts over from it, for example after the template changes. Keep the HTML tags and the placeholders as they are. Closing the window with unsaved changes asks you to confirm.
During booking
The booking widget follows the language of the page: its text, and also its dates, times, numbers, and prices, use that language's formats. On a multilingual site, the Italian page shows "martedì 20 ottobre" and the English page "Tuesday, October 20".
The booking widget sends the current language with the reservation. TheBooking stores that language and uses it for the customer emails of that reservation: the confirmation, the reminder, a reschedule, or a cancellation arrive in the language the customer booked in, whatever the language of the person who triggers them.
A reservation that you add from the WordPress admin for an existing customer uses the customer's Language, set in their customer settings.
When you add a reservation for a new customer from Reservations > New reservation, the wizard asks the customer's Language: the request comes from the WordPress admin, so it cannot tell the customer's language by itself. The field appears when translations are enabled and the site has more than one language, and it starts on the source language. TheBooking saves the language with the customer and uses it for their emails. See Create a reservation from the admin.
When translations are disabled, saved translations remain stored, but customer-facing output uses the source content.