Skip Navigation

Resolved by author

Topic Tags: Compatibility

Overview of the issue

If you are using Traveler theme, you may encounter an issue where rental listings do not display in secondary languages when using WPML.

Workaround

We recommend you to contact Traveler theme support as this is per design:

  • You need to set some custom fields as Copy in WPML > Settings page as explained in the documentation.
  • Go to Traveler > Sync Availability page and click on the Sync Now button.
  • Change the language from the top bar language switcher and click on the Sync Now button for every language.

4 Responses to “Traveler theme: Rental Listings aren't displayed on secondary languages”

  1. Hello,

    The 1st – $rental->alter_search_query(); is to modify query get rental. Therefore, this code cannot be removed
    The 2nd – issue comes from the setting at WPML. Here are some notes:
    1. Custom fields in Multilingual Content Setup must be Copy or translate status
    https://prnt.sc/iDpU9mx8Nj7B and https://prnt.sc/oo4gHNPVZHSH and https://prnt.sc/MhHKcRnqw64x

    2. ST list of service elements will show only rental which is available on the current date
    Therefore, to make sure this rental is available, you need to run Sync Availability in all languages. https://prnt.sc/38tduk3D_-HT

    Please feel free to contact us if you need any further information.
    Thank You and Best Regards

  2. Hello,

    The 1st – $rental->alter_search_query(); is to modify query get rental. Therefore, this code cannot be removed

    The 2nd – issue comes from customer’s setting on WPML. Here are some notes:
    1. Custom fields in Multilingual Content Setup must be Copy or translate status
    https://prnt.sc/iDpU9mx8Nj7B and https://prnt.sc/oo4gHNPVZHSH and https://prnt.sc/MhHKcRnqw64x

    2. ST list of service elements will show only rental which is available on the current date
    Therefore, to make sure this rental is available, you need to run Sync Availability in all languages. https://prnt.sc/38tduk3D_-HT
    Run Sync Availability in primary language >> switch to other language and run Sync Availability again

    Please feel free to contact us if you need any further information.

    Thank You and Best Regards