Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing issues with the WPML plugin on their website. The automatic translation feature was not working, leaving most of the website untranslated. They were unable to initiate the translation process manually or automatically. Additionally, there were problems with menu item translations and missing buttons in the header on translated pages.

Solution:
Firstly, we resolved the issue with the automatic translation not appearing by:
1. Completing the Translation review. Guide to review automatic translations
2. Making a small change in the default page and saving it to trigger an update in the translation.
3. Completing the translation review again.
If the client encounters similar issues on other pages, we recommend following the steps above and checking the guide: Why aren't my translations showing?

For untranslated menu items, we advised manually translating them and provided a guide for translating menus: Translating menus.

To fix the issue with the 'Colors' Menu on the Single Product Page, we regenerated the translation files for the theme.

For links in translated pages that were defaulting to the default language, we suggested checking the translation of the corresponding page or post and using relative URLs.

Regarding the menu synchronization issue, we increased the 'max_input_vars' setting to at least 2500 and the 'max_execution_time' to 600 to successfully complete the process. We provided a guide on how to increase 'max_input_vars': Increasing max_input_vars and a tutorial for increasing 'max_execution_time': Increasing max_execution_time.

For the missing buttons in the header, we instructed the client to add button links through custom fields in the 'Website > Header' section for each language.

If this solution doesn't look relevant, please open a new support ticket at the WPML support forum.

0% of people find this useful.

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.

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 4 months ago.

Assisted by: Prosenjit Barman.

Author Posts
January 14, 2024 at 3:02 pm #15182473

whiteR

Dear WPML Support Team,

I am reaching out for urgent assistance with an issue I'm experiencing with the WPML plugin on my website. Despite having set up everything according to the provided guidelines, the automatic translation feature is not functioning as expected. The majority of my website remains untranslated, and I am unable to initiate the translation process manually or automatically.

url: satelliteindustries.eu

I can provide you with the wordpress credentials if it can help

I have checked the settings multiple times and followed all the recommended setup procedures. However, the website still displays content primarily in the default language, and the switch to other languages does not reveal any translated content.

Could you please provide guidance on how to resolve this issue? I am keen to have the website fully functional in multiple languages as soon as possible. Any specific instructions or insights would be greatly appreciated.

Thank you for your prompt attention to this matter.

January 15, 2024 at 1:15 pm #15185402

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

Based on the information in the WPML Debug Info, it appears that your site has older versions of both WPML and String Translation installed. Since each update comes with several fixes and adjustments, could you please update these plugins to their latest versions, which are WPML version 4.6.9 and String Translation version 3.2.9?

However, upon reviewing the information you provided, I conducted a thorough check of the homepage by switching between different languages. I can see that the translated contents are showing correctly in each language. Please check this full-page screenshot for a better understanding: hidden link

Since the translations are showing correctly in each language, could you please clear the caches from your site and browser and then try again?

If the issue persists, kindly guide me on where/how I can check to see the problem. Additionally, could you navigate to "WPML > Support > Advanced Translation Editor > Error Log" and share a screenshot of that page with me? Please make sure that the screenshot includes the most recent errors and displays all the columns clearly.

I will review this information and advise you on the next steps to take. Looking forward to your response.

Best regards,
Prosenjit

January 16, 2024 at 11:17 am #15189393

whiteR

Hello, thanks for your fast and precise answer.

I've updated all the plugins, but the problem is still here. Find here teh screenshot of the error logs, they all concerns exporting to xliff (what I tried a few days ago).

Find here the bugs for the translation:

Content doesn’t translate for all languages (examples bellow)
hidden link
hidden link
hidden link
hidden link

On the header menu some keywords (like products, online store and languages)

On the product pages the entire "colors menu" is not translated (see the screenshot):
hidden link

And finally: Links from translated pages sending to English page instead of the
correlated page

Thank you for your help, if we can fix this asap I'll be really grateful to you 🙂

Have a great day !

Screenshot from 2024-01-16 12-14-49.png
Screenshot from 2024-01-16 12-09-56.png
January 17, 2024 at 11:55 am #15194580

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

I tried to access the links you provided, but unfortunately, I encountered an issue where each link redirects me to a site called Sedo. This redirection is preventing me from accessing the necessary information.

Additionally, I've reviewed the default version of the page and noticed that the content doesn't seem to be added using a standard page builder. To understand the situation better and offer more specific assistance, could you kindly explain how you added the content to the page?

Moreover, to conduct a thorough investigation, it would be greatly beneficial if you could grant me access to your site. This will enable me to delve deeper into the issue and explore it in detail. If possible, providing access to a testing site where the issue is replicated would be ideal. This approach ensures that any investigations or changes made do not affect the live site.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response and I'm here to help!

Best Regards,
Prosenjit

January 18, 2024 at 6:39 am #15198060

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Nils,
Thank you for sharing the access information.

I've checked and am happy to inform you that the translations are now showing correctly on the pages you've shared. Here's how the translations started to appear.

- I completed the Translation review first[Check this guide to understand the process: https://wpml.org/documentation/automatic-translation/how-to-review-automatic-translations-on-your-site/]
- Once done, I made a small change in the default page and saved the changes. This action triggers an update in the translation, and since the automatic translation is enabled on your site, any untranslated content gets translated automatically.
- After that, I completed the translation review again and that immediately solved the issue.

If you face a similar issue on any other pages, I recommend trying the steps I outlined earlier, which should effectively resolve the problem. Additionally, you can also follow the instructions mentioned in this guide: https://wpml.org/faq/why-arent-my-translations-showing/](https://wpml.org/faq/why-arent-my-translations-showing/.

- Regarding the translation of menu items: Menu items that aren't linked to any pages on your site will remain untranslated until you manually translate them. For guidance on translating the menu, please refer to this guide: https://wpml.org/documentation/getting-started-guide/translating-menus/. This should provide you with the necessary steps.

- As for the issue with the 'Colors' Menu on the Single Product Page: The problem with the untranslated tabs in the Colors Menu has been resolved. I regenerated the translation files (MO Files) for the theme by navigating to "WPML > Support > Troubleshooting ↳ Show custom MO Files Pre-generation dialog box". This action promptly fixed the issue.

- Links in translated pages going to the default page: Please note that all internal links should automatically update in other languages, based on the availability of their translations. If you find that the links are not updating as expected, it's advisable to check the corresponding page or post to confirm that it has been accurately translated into the other languages. Also, make sure that the translated page or posts are not saved in 'Draft'.

I'd also like to suggest that when linking to a post/page, use the relative URL format instead of the full URL. For example- While linking to the "contact" page, rather than using 'hidden link', simply use '/contact'. Using the relative URL format often resolves issues related to links pointing incorrectly in other languages.

You can check this article to know more about the URL formats: hidden link

After updating the URL format in the default page, make sure to update the translation as well.

Please check and let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

January 18, 2024 at 1:15 pm #15199873

whiteR

Hi,

Thank you so much for your help and all the fixes you've implemented !! Your help is really appreciated. Regarding the header's menu, I followed all the steps described in what you sent me but it doesn't work so far, do you have any idea why it isn't updating (see the points in previous messages on which links are concerned) ?

Last point: I noticed that a button in the header is sometimes missing in translated page (while the linked page is translated well) : Stay informed and Calculator buttons are missing in some languages. Could you check that too, because I can't find the reason.

Again I am really thankful for the time you're giving to help us.

Best regards,
Nils

January 19, 2024 at 4:53 am #15202821

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Nils,
Thank you so much for the feedback.

I have taken another look and noticed that you've translated one of the menu items(Products) in String translation. Now, to see that translation, you need to synchronize the menu. I tried to do that but it seems it is not possible due to this warning(Screenshot: hidden link)

Could you please increase the "max_input_vars" settings to at least 2500 and try to do the menu synchronization? Please check the guide below to understand how you can increase the max_input_vars.

- https://wpml.org/faq/unable-to-complete-page-translations-in-the-classic-translation-editor/#how-can-i-increase-the-max_input_vars-setting-in-my-php-configuration

Once the max_input_vars setting is adjusted, please do the menu synchronization by following the instructions mentioned here: https://wpml.org/documentation/getting-started-guide/translating-menus/#option-3-automatic-menus-sync-by-wpml

I hope it will help.

Regarding the issue with the buttons in the Header - I've noticed that the button links are added through custom fields on the "Website" options page. The translation settings for these fields are currently marked as "Translatable." To add buttons in different languages, please follow these steps, which should hopefully resolve the issue:

- Access the "Website > Header" section from your WordPress Dashboard.
- Use the Language switcher at the top of the Admin panel to switch to a different language.
- To see the buttons in the Header, find the "Header Link" and "Header Outlined Link" fields and input the desired links for these buttons.

I have done this for the German language, and the buttons are now displaying correctly there.

Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

January 20, 2024 at 4:59 pm #15207374

whiteR

Hi,

I followed each steps you provided for the menus sync, unfortunately I am now able to start the syncing process but it never finish... Could you help me making it work ?

January 22, 2024 at 4:03 am #15209288

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

I've taken another look and am happy to inform you that the Menu synchronization has been completed successfully. All the Menu items are now showing correctly translated in other languages. Please check this screenshot for a better understanding: hidden link

The max_execution_time was initially set at 30, which was not sufficient given the large number of menu items on your site. To address this, I have increased the max_execution_time to 600, which helped to swiftly complete the menu synchronization process.

Here's how the max_execution_time has been increased: hidden link

Please check and let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit