Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 12 replies, has 3 voices.

Last updated by Bobby 1 year, 2 months ago.

Assisted by: Bobby.

Author Posts
April 28, 2024 at 4:37 pm #15574182

dominicS-15

I have installed the WPML plugin on my website and configured the settings properly. However, the translations are not working as expected. When I visit the website, only the English flag appears in the language switcher, and the French flag is not displayed.

April 28, 2024 at 7:44 pm #15574274

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hello,

Thank you for contacting WPML support. While you wait for assistance from one of my colleagues, allow me to offer some initial debugging steps to help resolve the issue promptly.

1) Navigate to Translation Management and filter the dashboard to "pages". Check if the translated page displays a green checkmark, indicating it's fully translated.

2) Edit the English language page. In the WordPress backend, use the language switcher on the top admin bar to switch to your translated French page. Confirm if the translated page remains in draft status. If it does, please publish the page, and it will appear on the frontend.

I hope these steps assist in diagnosing the issue. Let me know if you require further assistance.

May 1, 2024 at 3:46 pm #15584424

dominicS-15

Hello,
I hope you are doing well!

Thanks! the issue is resolved now , But I need assistance with an another issue!

French pages of of these links are not working.
hidden link
hidden link

Please resolve this issue ASAP.

May 1, 2024 at 6:45 pm #15584797

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

The events calendar content appears missing despite the page being translated into French.

Please refer to the documentation on how to translate the events calendar with WPML and ensure that the content has been translated accordingly:

https://wpml.org/documentation/plugins-compatibility/build-multilingual-events-websites-events-calendar-wpml/

May 2, 2024 at 6:13 am #15585530

dominicS-15

Hello
Hope you are doing well!

I am not using events calendar, it's a combination of custom post type, elementor template and custom code. Please check and let me know.

Thanks!

May 2, 2024 at 5:35 pm #15588645

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me.

Please note that custom code is outside the scope of our support, however, I will do my best to help you resolve this issue.

From the looks of it, the page is translated into French, however, the bookings are not pulled into French, meaning that they are most likely not translated.

Are these created with CPT ? Can you please verify that the bookings are translated as well

May 4, 2024 at 3:22 pm #15593586

dominicS-15

Hello,

I hope you are doing well!

Yes, everything is translated; I have done the same on my previous website, montrealnurumassage.com.

The current domain is the same as the one mentioned above; only the design is different. The previous website is working properly; you can check it.

Please fix this issue ASAP.

Thanks.

May 6, 2024 at 6:09 pm #15598978

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Please try the steps recommended in your previous thread with our team and let me know your results

We recommend the following steps to resolve the issue:
1) Clear all types of caches to ensure the issue still exists.
2) Navigate to WPML >> Languages >> Make themes work multilingual.
3) Select the Adjust IDs for multilingual functionality option.
4) Save the changes.
5) Go to Settings >> Permalinks.
6) Resave the settings.

May 7, 2024 at 2:04 am #15599556

dominicS-15

Hello,
Hope you are fine!

I have already tried these steps, but don't get any results, can you check again. I really need this to be done ASAP.

Thanks.

May 7, 2024 at 7:20 am #15600107

dominicS-15

They provided me a sql query for the previous website to fix the issue. Maybe you can provide me the sql query and I will run it and maybe it can help in resolving the issue.

May 7, 2024 at 9:07 pm #15603904

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

we recommend taking a full site backup. Then, run the following SQL query through tools like PHPMyAdmin:

UPDATE wpwj_posts AS posts_translated JOIN ( SELECT trans_attachments.element_id AS translated_attachment_id, (SELECT posts_new_parent.ID FROM wpwj_posts AS posts_new_parent INNER JOIN wpwj_icl_translations AS trans_new_parent ON posts_new_parent.ID = trans_new_parent.element_id WHERE trans_new_parent.trid = ( SELECT trid FROM wpwj_icl_translations WHERE element_id = posts_original.post_parent AND element_type LIKE 'post_%' ) AND trans_new_parent.language_code = trans_attachments.language_code LIMIT 1) AS new_post_parent_id FROM wpwj_icl_translations AS trans_attachments INNER JOIN wpwj_icl_translations AS trans_original ON trans_attachments.trid = trans_original.trid AND trans_original.element_type = 'post_attachment' AND trans_original.source_language_code IS NULL INNER JOIN wpwj_posts AS posts_original ON trans_original.element_id = posts_original.ID WHERE trans_attachments.element_type = 'post_attachment' AND trans_attachments.source_language_code IS NOT NULL ) AS updates ON posts_translated.ID = updates.translated_attachment_id SET posts_translated.post_parent = updates.new_post_parent_id;

Notice the SQL Query is using wpwj_ for ' wpwj_posts' if your current site has a different prefix, please make sure to adjust the SQL query accordingly

After running the query, if the problem persists, update one of the English posts by making a minor edit to the content to refresh the translation settings and then update the French translations.

Let me know your results, please.

May 9, 2024 at 8:03 am #15609123

dominicS-15

Hi,

We are getting this error:
Warning: #1048 Column 'post_parent' cannot be null

We don't know why it's throwing this error.

May 9, 2024 at 7:28 pm #15612257

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

The topic ‘[Closed] Website not translating to French’ is closed to new replies.