The WooCommerce Bookings extension allows you to sell time-based or date-based bookings, like apartment rentals and exercise spaces. It is also fully compatible with WooCommerce Multilingual, which enables you to translate all sections of your bookable products.
Bookable products are translated just like any other products with WooCommerce Multilingual. You can use the WooCommerce Multilingual translation editor (recommended), or WooCommerce’s native product editor.
Bookable products can optionally include additional elements called “resources” and “persons,” which you can also fully translate.
Additionally, WooCommerce Multilingual allows you to use multiple currencies with your bookable products.
To be able to create bookable products with the WooCommerce Bookings add-on, you will need the following plugins installed and active on your site:
- WooCommerce Bookings
- WooCommerce Multilingual
- WPML String Translation
- WPML Translation Management
- WPML Media
Using WooCommerce Multilingual product translation
We recommend translating bookable products using WooCommerce Multilingual’s product translation page. To translate your products, go to the WooCommerce -> WooCommerce Multilingual page.
On this screen, you can translate your product attributes in the same manner as you translate all other product types. Click the “Plus” icon under the specific language flag to add product translation for that language. Click the “Pen” or the “Update” icon to edit a corresponding existing translation.
Translating the Resources Section
At times, bookings consist of additional items. For example, if you book a tennis court, you may need to borrow rackets. These rackets are called “resources.”
When booking, customers can select if they want to include “resources.” Resources are selected when adding products to the cart. Your online store can charge extra when resources are included along with the bookable products.
Bookable products with “resources” are translated in the same manner as any other product. All the resources are listed on the same product translation page.
Please note: New resources can only be added to products in the default language. It is not possible to add new resources when editing the product translation.
Translating the Persons Section
You can also make bookable products for a specific number of persons. The cost depends on the number and type of persons. For instance, when they book an apartment, customers need to enter the number of persons staying and whether they are adults or children.
You can translate the labels and the descriptions for the person types using the same product translation screen.
Using the WooCommerce native products editor
Another method to translate bookable products is using the standard WooCommerce products editor. To enable this, go to the WooCommerce -> WooCommerce Multilingual page and click the Settings tab. There, switch the Product Translation Interface option to the Native WooCommerce product editing screen and save changes.
Now, you can translate the product elements in the same manner as posts that are translated with WPML. This method of translating products is less flexible because you have to edit one product translation at a time.
To translate a product, edit it in the original language and click the Plus icon for the corresponding language, in the Language box.
Please note that additional elements like “resources” and “persons” appear on the product editing page only after you have first published the translation. Then, you can also use the standard WooCommerce editor to translate additional product information like resources and persons.
Using multiple currencies for bookable products
WooCommerce Multilingual allows you to sell bookable products in different currencies. First, you need to enable the multi-currency mode from the WooCommerce -> WooCommerce Multilingual page, under the Multi-currency tab.
Once this is done, you can add custom currencies. More about this topic is covered on our Multi-currency support for WooCommerce documentation page.
There are two ways you can determine prices for custom currencies. The first is to define a fixed exchange rate for a new currency. The other is to define custom prices in different currencies, per-product.
Fixed exchange rate
By default, the prices are calculated based on the exchange rate that you enter when adding a new currency, but they are also affected by other configuration settings: number of decimals, rounding, etc. When you update the exchange rate for a currency, all prices update accordingly.
On the front-end, the clients will be able to switch to prices in other currencies by using the currency selector.
WooCommerce Multilingual allows you to set up even more advanced options. For example, you can enable a different currency for each language, set it as the default currency that the users would see when switching to that language, but also exclude all other currencies. This means there will only be one currency available for each language.
Custom prices in different currencies
The other way to set prices in secondary currencies is by enabling the “manual” pricing mode. To do this, edit a bookable product and click the Costs tab in the Product data section. There, enable the Set costs in other currencies manually. When this option is enabled, a series of fields for entering prices in secondary currencies is displayed.
Now, the prices in secondary currencies are being explicitly set and are not determined automatically, based on the exchange rate. In other words, changing the exchange rate for a currency will not affect these prices.
Similar fields for custom prices show up on the Persons tab, as well as the Resources tab if enabled.
Once you have finished translating your bookable products, you should observe the results on the front-end. When you visit your products in one of the other languages, all of the options, persons, and resources should be translated.