Skip Navigation

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

Problem:
The client is experiencing issues with untranslated buttons on the homepage and incorrect language display when navigating to different pages.

Solution:
1) For menu items pointing to default pages in other languages, we recommend synchronizing your menu. This will ensure that menu links are updated to correspond with the translated pages. Please follow the steps in our guide: Translating Menus.

2) For the links in the "Hizmetlerimiz" page not updating to the correct language, we found that the translation support for the button module used was missing. To resolve this, we added the following custom XML configuration in "WPML > Settings > Custom XML Configuration":

<shortcode><br />      <tag>dt_default_button</tag><br />      <attributes><br />        <attribute type="link" encoding="vc_link">link</attribute><br />      </attributes><br /></shortcode>

After adding this code, make a small change in the "Hizmetlerimiz" page and update the translation. This will ensure that the links point correctly in the English language. You can verify this by clicking on the "Read more" button on the translated "Our Services" page.

Please update the translation for other languages to ensure the links appear correctly.

If this solution doesn't look relevant, please open a new support ticket in our support forum.

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 5 replies, has 2 voices.

Last updated by fatihA-10 1 year, 5 months ago.

Assisted by: Prosenjit Barman.

Author Posts
January 1, 2024 at 8:47 am #15139247

fatihA-10

Some buttons on the home page do not translate on the pages. Please help me. translate all of these pages automatically. can't do it please help

Home page link: hidden link

January 1, 2024 at 9:52 am #15139294

fatihA-10

When I translate the page into English and click on our services page, the page appears in the native language and I have to translate it back into English for all languages. When I translate the page into English, shouldn't everything continue in English? By the way, this is the case for all languages

January 1, 2024 at 10:48 am #15139327

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 be happy to assist you in this matter.

Please note that all internal links should automatically update in other languages, based on the availability of their translations. Given that the linked pages have already been translated into other languages, they should appropriately point to their respective language versions.

Since it is not happening, please try the following and check if that helps to solve the issue.

- Please go to "WPML > Settings" and scroll down to the "Translate Link Targets" section.
- Click on the "Scan now and adjust links" and wait till the process gets completed.

This action will check the link targets and accordingly update the links in the other languages.

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

Best regards and wishing you a happy new year!
- Prosenjit

January 1, 2024 at 11:59 am #15139425

fatihA-10

Unfortunately, it doesn't work. My native language is Turkish. When I translate it to English, all the links do not continue in English. It is also valid for other languages.

January 2, 2024 at 4:11 am #15140029

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,
Thank you for the update.

Since you've shared the access in the last ticket, I have checked and included my findings below.

1) Menu items point to default pages in other languages: It seems you will need to synchronize your menu so that the menu links can get updated correctly to correspond with the translated pages. To achieve this, follow the steps outlined in this guide:https://wpml.org/documentation/getting-started-guide/translating-menus/#option-3-automatic-menus-sync-by-wpml

I hope it will help.

2) Links in the "Hizmetlerimiz" page: Upon checking, I found that the translation support was not included for the button module that you've used to include the service page links. That's why, the links weren't updated accordingly. To address the issue, I added the following code in "WPML > Settings > Custom XML Configuration", made a small change in the "Hizmetlerimiz" page, and then updated the translation. The links are now pointed correctly in the English language. You can check by clicking on the "Read more" button on this page: hidden link

<shortcode>
      <tag>dt_default_button</tag>
      <attributes>
        <attribute type="link" encoding="vc_link">link</attribute>
      </attributes>
</shortcode>

Please update the translation of other languages so that the link can appear properly.

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

Best regards,
Prosenjit

January 8, 2024 at 10:17 pm #15162662

fatihA-10

It's like bringing this topic up again, but I'm having the same problem again, I wonder where the problem is?