Resolved by author
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.
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
Hello Harry,
Thank you for your insights, we have modified the errata accordingly.
Regards
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
Hello there,
Thank you for your insights, we have modified the errata accordingly.
Regards