How Can We Help?
You are here:
Print

Multi Language

Multi Language addon allows you to display names of services, providers and other WP BASE variables in language of the visiting user. It also allows sending of emails and SMS messages in client language.

A simplified example: A native French speaker visits your hair dressing website. When selecting among services, “la Coupe de cheveux” is displayed to him instead of the default “Hair Cut”. During checkout he can check Terms & Conditions in French. He forgets to fill in a field and warning message is in French. After he makes an appointment his confirmation email is sent in French.

Similarly to a German speaking visitor “Haarschnitt” is displayed and so on.

Supported Fields

The following core and addon fields can have multi language texts:

  • Service name
  • Service category name
  • Location name
  • Location address
  • Service Provider name
  • Names of extras
  • Titles and options of User Defined Fields
  • Recurring menu
  • email subjects and bodies of any context, including confirmation, cancellation, reminder, follow-up emails
  • SMS messages of any context
  • All front end custom texts
  • Terms & Conditions
  • Post/page/custom post excerpts (To be used as location/service/provider descriptions)
Setup – Adding Website Languages
  1. Visit WP BASE → Global Settings → Advanced → Multi Language page
  2. In the Website Languages pulldown menu, select all languages you want to support.
  3. Click Save Advanced Settings button.
Setup – Translating Fields of Locations, Services, Providers, Extras
  1. Visit Business Settings page for the context, e.g. Business Settings → Services
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. After page refresh, a new field with a flag showing the language will be displayed under the field to be translated
  4. Enter the translation. If the translation is the same as default value, you can leave the field empty
  5. Repeat translation for other fields, e.g. for names of other services
  6. Click Save button on the page
  7. Repeat translation for other languages and pages. Each time you can translate a single language while displaying the default value
  8. Repeat the process for other contexts, e.g. Business Settings → Providers, etc.
Setup – Translating Custom Texts
  1. Visit Display Settings → Custom Texts page
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. After page refresh, new fields with a flag showing the language will be displayed under each Your Text field
  4. Enter the translations for each field. If the translation is the same as default Your Text value, you can leave the field empty
  5. Click Save Custom Texts button
  6. Repeat the process for other languages
Setup – Translating Terms & Conditions
  1. Visit Display Settings → Advanced Features → Terms & Conditions page
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. After page refresh, new fields with a flag showing the language will be displayed under each of label, dialog title and dialog content fields
  4. Enter the translations for each field. If the translation is the same as default value, you can leave the field empty
  5. Click Save Settings button
  6. Repeat the process for other languages
Setup – Translating email Fields
  1. Visit Global Settings → emails page
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. After page refresh, new fields with a flag showing the language will be displayed under email subject and email message fields
  4. Enter the translations for each field. If the translation is the same as default value, you can leave the field empty
  5. Repeat the translation for each email context, i.e. pending, reminder, cancellation, etc.
  6. Click Save Email Settings button
  7. Repeat the process for other languages
Setup – Translating SMS Fields
  1. Visit Global Settings → SMS page
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. After page refresh, new fields with a flag showing the language will be displayed under SMS message field
  4. Enter the translation for the field. If the translation is the same as default value, you can leave the field empty
  5. Repeat the translation for each SMS context, i.e. pending, reminder, cancellation, etc.
  6. Click Save Settings button
  7. Repeat the process for other languages
Setup – Translating View of Menu for Recurring Appointments
  1. Visit Business Settings → Services page
  2. A Language selection pulldown should be visible on the page. Select the desired language to translate
  3. Click More link of the service for which recurring appointments is active. Please note that recurring appointments can be enabled separately per service
  4. Besides View of Menu field, you will see the translation field with a flag showing the selected language
  5. Enter the translation. If the translation is the same as default value, you can leave the field empty. Do NOT translate REPEAT and REPEAT_UNIT words. They are just placeholders which will be replaced by selection menus.
  6. Repeat translation for other services for which recurring appointments is also enabled
  7. Click Save Services button
  8. If needed repeat for other services on other pages
  9. Repeat the process for other languages
Setup – Translating Description Texts for Locations, Services, Providers and Extras

You can configure WP BASE to use standard WordPress page, post or custom post excerpts to display  description of locations, services, providers and extras. If this is the case, then you may need to translate those fields too. To do so:

  1. Visit WP BASE → Global Settings → Advanced → Multi Language page
  2. In the Supported Post Types pulldown menu, select post types you want to support. Normally these post types should include settings of  Post Type for Location/Service/Provider Description Pages under Admin tab of the same settings page
  3. Click Save Advanced Settings button
  4. Visit edit post/page which is used for description
  5. Under WP BASE Multi Language custom meta box, you will see fields for each website language. Enter your translation for each language.
  6. Click Update button
Language Selection Widget

Multi Language addon reads language preference of visitor from their browser and automatically apply that selection, provided that it is one of your supported website languages. However, sometimes this may not be desired by the visitor. For this purpose, addon provides a widget in order to let visitor select his own language. To enable this widget go to Appearance → Widgets page and move WP BASE Languages widget to the desired sidebar.

Admin – Editing Booking Language

When user makes a booking, their preferred language is saved as part of the booking record, so that emails and SMS messages are sent in that language. If you want to edit this value for any reason, you can do so by editing the Language field in booking record. Please see this article for details.

Integration with WPML and Polylang

With the features of Multi Language addon, WP BASE does not need WPML or Polylang. However if one of these plugins are activated on your website, WP BASE will automatically adapt their front end visitor language selection, provided that visitor language is in Website Languages setting. No other setting is required.

When a translation field is left empty, default field value is used. Therefore you do not need to copy/paste values for those fields.

Table of Contents