Problem: The client is experiencing an issue where the accommodation pricing on their website is correctly displayed in English as "price for 2 nights" but incorrectly in Portuguese, showing "xx per night" even though the price is set for 2 nights. This issue occurs on both the accommodations page and the search availability results on the homepage.
Solution: We recommend the following steps to resolve the issue: 1) Go to WPML > Theme and plugins localization. 2) Scroll down to the *Strings in the plugins* section. 3) Select the *Hotel Booking* plugin. 4) Click to scan for strings and wait until the process is complete. 5) Navigate to WPML > String Translation. 6) Search for the string "for %d nights" or "%d nights". 7) Translate the string into Portuguese, as the original string is in English.
Please ensure to clear all types of caches after performing these steps and check if the issue is resolved.
If the solution provided here is not relevant to your case, possibly because it's outdated or not applicable, we highly recommend opening a new support ticket. Before doing so, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can reach out to us on the WPML support forum.
Problem: The client was unable to translate the text inside a contact form created with the Getwid plugin.
Solution: We recommended registering the Getwid contact form blocks for translation by adding custom language configuration XML code. The client should navigate to WPML > Settings > Custom XML Configuration tab and add the following code:
Problem: The client is unable to translate the payment method blocks for PayPal and credit card using the Booklium theme (MotoPress) on their website. Although the strings are translated in the editor, they still appear in the original language on the website. Solution: 1. We recommend following our documentation to locate all relevant strings, especially in the "Translate texts in admin screens" section, and translate them to see if it resolves the issue. You can find the documentation here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ 2. It's important to note that the domain for these strings is "MotoPress Hotel Booking". Ensure that you are translating strings in the String Translation under the correct domain, and the translations should display correctly on the frontend.
If this solution doesn't look relevant, please open a new support ticket here: WPML Support Forum.
Problem: The client is experiencing issues with translating the titles of toggle boxes created with the Getwid plugin. Although the titles appear translated in the editor, the original text is displayed on the website. Additionally, the client is unable to translate the strings on the payment method blocks for PayPal and credit card using the Booklium theme. Solution: If you're experiencing issues with translating custom blocks, such as toggle box titles that are not updating on your website, we recommend you to create a custom language configuration file. This will register the titles for translation. You can follow our step-by-step documentation on how to make custom Gutenberg blocks translatable:
After creating the custom language configuration, re-translate the page and check if the issue is resolved. For the issue with translating payment method strings, we will address this in a separate support ticket to ensure focused assistance.
If this solution doesn't look relevant to your issue, please open a new support ticket with us, and we'll be happy to help.