WP Hotelier Multilingual
A glue plugin for WP Hotelier and WPML
by WP Hotelier · github.com/wp-hotelier/wp-hotelier-wpml · website
★ 5stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wp-hotelier/wp-hotelier-wpml/archive/refs/heads/master.zipFrom the readme
WP Hotelier Multilingual
This extension lets you run a multilingual website with the WP Hotelier - WordPress Booking Plugin and WPML. This is a glue plugin, that uses hooks in both WP Hotelier and WPML.
Requires WP Hotelier 2.0.0 or above.
Scope of this plugin
This a very basic and not supported integration between WP Hotelier and WPML. The main function of this plugin is the synchronization of the stock of the rooms between different languages. WPML creates a new room for each translation (with a different ID), so we must have a function that synchronizes the stock.
The extension includes also a ready to use language configuration file for WPML. But again, support is not provided for this plugin (or for WPML in general). You are free to extend or build a most complete solution.
WP Hotelier and WPML: the workflow
The first step is read the WPML documentation.
WP Hotelier requires two pages to work, the listing page and the booking page. You must create a translation for each of those pages and include the [hotelierlisting] and the [hotelierbooking] shortcodes (respectively) in the translated pages. In Hotelier Settings Hotelier Pages you can always check if the required p
Read the full README on GitHub →