1. Home
  2. Booking & Appointment Plugin for WooCommerce – NEW
  3. Compatibility with other plugins
  4. WordPress Multilingual Plugin – WPML

WordPress Multilingual Plugin – WPML

Integrating the Booking & Appointment for WooCommerce Plugin with the WPML plugin can let your booking store offer its services in the language of your customers.

For this, you will need the WPML Multilingual CMS. You will also get the following add-ons with your purchase:

WooCommerce Multilingual
WPML Media
WPML String Translation

To set up WPML, you will require all the plugins as mentioned earlier.

A. WPML Setup

B. WooCommerce Multilingual Set up

C. Translating Plugin Strings

D. Syncing Booking Details For Different Languages

E. WooCommerce Multi-currency

A. WPML Setup

While activating each plugin, you will get the following notice showing which plugins will be needed to complete the setup:

How To Setup WPML on WooCommerce

Once the plugins are activated, you will need to run the setup.

How To Setup WPML on WooCommerce

  1. Select the language of your existing content
  2. Select the language in which you want your content to be translated
  3. Select the language switcher
  4. Register your site to finish the setup and for future update notifications

You will need to add your website on wpml.org and generate a secret key, to complete the setup:

How To Setup WPML on WooCommerce

Generate the key after adding the website URL where you are set WPML.

Paste the secret key on your website.

How To Setup WPML on WooCommerce

After registering your site, Run the Setup for Media.

The Media translation will duplicate all your existing media files in the selected language.

All the media files for new content will also be duplicated.

How To Setup WPML on WooCommerce

B. WooCommerce Multilingual Set up

To set up WooCommerce Multilingual, run the WooCommerce Multilingual Setup Wizard from the notice displayed below:

How To Setup WPML on WooCommerce

Step 1:

How To Setup WPML on WooCommerce

Step 2:

How To Setup WPML on WooCommerce
All the selected languages for translation will be displayed here.

Step 3:

How To Setup WPML on WooCommerce
All the Global Attributes on your WooCommerce store will be displayed here.

Step 4:

How To Setup WPML on WooCommerce
Enable this setting if you want to have Multi-currency on your WooCommerce store

Step 5:

How To Setup WPML on WooCommerce

There are a few more steps that you need to perform To make your e-commerce store multilingual follow the other steps that need to be performed from here: Advance setup for WooCommerce Multilingual

C. Translating Plugin Strings

Activate the plugin you want to translate.

In this case, it will be the Booking and Appointment plugin for WooCommerce.

On activating the plugin, you will find a button asking if you want to scan the translatable strings from the plugin.

On clicking the ‘Scan now’ button, you will be taken to the ‘Theme and Plugins localization’ page.

How To Setup WPML on WooCommerce

Note: Under ‘Select how to translate strings in the theme and plugins’ set it to ‘Translate the theme and plugins using WPML’s String Translation and load .mo files as backup.’

As the setting says, it will load the .mo files as a backup.

How To Setup WPML on WooCommerce

Now select your plugin and scan the strings.

You can also scan your plugin from the ‘Theme and Plugins localization’ page’s strings in the Plugins section.

How To Setup WPML on WooCommerce

1. Translating the strings

Translate the strings of the plugin by clicking on the ‘View strings that need translation’ button.

You can even find all the strings from the String Translation menu page.

How To Setup WPML on WooCommerce

You will then be taken to the String Translation page.

How To Setup WPML on WooCommerce

Select the string and add the translated string.

Select the ‘Translation is complete’ checkbox, and save the translation.

How To Setup WPML on WooCommerce

You can check the translated strings of the plugin (Bookable product) on the product page.

2. Translating WooCommerce products

Go to your WooCommerce Product and select the Duplicate checkbox under the Language meta box:

How To Setup WPML on WooCommerce

This will generate a duplicate product in the selected language with all the settings from the existing product.

How To Setup WPML on WooCommerce

Note: Here the booking calendar also gets translated into the selected language.

You can also check the content setup for each product under the Multilingual Content Setup on the Edit Product page.

How To Setup WPML on WooCommerce

D. Syncing Booking Details For Different Languages

So far, products have been translated and displayed in different languages on the front end.

It is also important that the selected booking settings for all added products in English get synced for the same products in different languages.

Let’s say that a customer adds bookings for a specific period.

Another customer selects the same product in a different language.

The availability of this product will be displayed considering the booking made by the previous customer.

For instance, a booking for Hotel Country Inn for 10 days from 22nd December 2017 to 1st January 2018 was made.

The total bookings are set to 10 bookings.

This booking is set for the product Hotel Country Inn in the English language as shown below:

WordPress Multilingual Plugin – WPML - Tyche Softwares Documentation

Adding booking details for products in the English language

This product has been booked for a maximum number of days and is in English.

Now if a customer selects the same product in the French language for the same specified dates, then the booking calendar will show that these dates are booked as shown below:

WordPress Multilingual Plugin – WPML - Tyche Softwares Documentation

The same product in the French language shows as unavailable for booking

As you can see, the same product Hotel Country Inn, when selected in French, shows the dates 22nd December 2017 to 31st December 2017 disabled.

When you mouse hover over the dates, it shows a message Unavailable for booking as Indisponible pour réservation.

Thus this implies that the Bookings of the products are synced with different languages to avoid over-booking hassles.

E. WooCommerce Multi-currency

Find the settings under WooCommerce > WooCommerce Multilingual menu page > Multi-currency tab.

How To Setup WPML on WooCommerce

To set Currency, click the Add currency button:

WordPress Multilingual Plugin – WPML - Tyche Softwares Documentation

Select your currency and configure other settings:

How To Setup WPML on WooCommerce

You can let the product calculate the price in another currency automatically.

This means it will take the conversion rate of the selected currency from the global setup.

The other option is setting the conversion rate for each product manually.

How To Setup WPML on WooCommerce
Multi-currency settings available on product level

 

You can see the multi-currency functionality changes on the product page.

How To Setup WPML on WooCommerce

To conclude, setting up WPML and WooCommerce Multilingual is quite easy and quick. Benefit from translating your Booking & Appointment plugin to attract more customers!

Lastly, it gives us immense pleasure to share that we’re WPML Partners!

How To Setup WPML on WooCommerce
Compatibility certificate from WPML
Was this article helpful to you? Yes No

How can we help?