This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by Bigul 3 months, 3 weeks ago.

Assigned support staff: Bigul.

Author Posts
June 26, 2019 at 11:42 am #4092147

alexN-8

Hi,
I'm trying to translate a hotel website from English to French. I translated all pages but the booking page doesn't translate for some reason.

Once they search for rooms and enter dates the site takes them to: hidden link and there everything is in English.
Maybe I didn't translate some strings?
Does it have to do with one particular string?

June 26, 2019 at 3:39 pm #4093745

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve these issues.

Please check the attached image. The site is showing a lot of PHP warnings. This issue may be happening because of that.

Please add the following code in wp-config.php file of your site to enable WordPress to debug mode. It will create a *debug.log* file in *wp-content* folder. The PHP warnings and notices will be stored in *debug.log* file. Then please make sure the issue is existing or not.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
 
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check the following links to read more about debugging with WordPress.

https://codex.wordpress.org/Debugging_in_WordPress

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

--
Thanks!

Bigul

June 28, 2019 at 9:38 pm #4110223
alexN-8

Thank you so much for your help.
The developer added the code you mentioned but it seems that the problem is still there;
The booking system doesn't work in French it just works in English. Can I give you username password so you will be able to log on to check it?

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/split-some-pages-in-english-are-french/

June 29, 2019 at 5:34 pm #4112653

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. I am enabling the private option for the next reply. Please share the site credentials.

Please check the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

July 1, 2019 at 1:43 pm #4119461

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the login information. I have tried a few times and not able to reproduce the search issue exactly now. When I search from the French Homepage and Reservation page(Book now) it is showing me the expected result. Please check the attached images for more details and let me know your feedback.

Please note, I have opened a new ticket for the mixed contents issue. Because as per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the new ticket. Please wait. Thank you for your understanding.

--
Thanks!

Bigul

The topic ‘[Closed] Booking translation’ is closed to new replies.