Skip Navigation

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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 17 replies, has 0 voices.

Last updated by Kor 2 days, 2 hours ago.

Assisted by: Kor.

Author Posts
May 7, 2025 at 1:48 am #17004033

arkC

Background of the issue:
我希望我网站全部自动翻译完成后网站内超链接也能对应转变到对应语言。

Symptoms:
没有提到具体的问题或错误信息。

Questions:
如何在使用WPML自动翻译网站内容后,确保网站内的超链接也能对应转变到对应语言?

May 7, 2025 at 9:58 am #17005436

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for contacting us. I need to check how the links are being created. If it's a custom link, you'll need to translate the links manually as explained here https://wpml.org/faq/how-to-translate-links/

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

May 8, 2025 at 5:58 pm #17013316

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I've checked, and it looks like the links are using custom URLs as shown in the attached screenshot. You'll have to manually translate the links following the instructions here. https://wpml.org/faq/how-to-translate-links/

To translate the links, navigate to the page editor in the backend hidden link and trigger the translations. Then, in the search box provided in the Advanced Translation Editor, type "HTTP" and all links will appear for translation.

Screenshot_3.jpg
Screenshot_4.png
May 9, 2025 at 7:53 am #17015007

arkC

hidden link 但是我这个页面的图片链接wpml编辑器无法对其进行翻译

微信图片_20250509155257.png
May 9, 2025 at 8:51 am #17015266

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I've inserted the custom XML configuration below into WPML > Settings > Custom XML Configuration and translating the links should be possible now.

<wpml-config>
  <elementor-widgets>
    <widget name="image">
      <fields>
        <field>link>url</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>
Screenshot 2025-05-09 at 4.50.50 PM.png
May 12, 2025 at 3:34 am #17020915

arkC

Thanks for your help, but when i visit page "hidden link", this page still keeps the same way,could you please help me check out some of these pages.

微信图片_20250512113335.png
May 12, 2025 at 5:29 am #17020960

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. You need to update the page first so that the Advanced Translation Editor can rescan the page. Here is a screen recording for your reference hidden link

May 14, 2025 at 1:21 am #17029983

arkC

你好,我现在有4种语言,比如我有400个链接,就要手动改写1600个链接,有没有快捷的方法让我能够直接把链接全部翻译过来,而且为什么"翻译链接目标"功能对我这些链接不生效,如果一个个手动改会导致改不全而且耗费大量时间,有没有快捷的方法?

May 14, 2025 at 6:29 pm #17034077

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. My mistake, the links should correct itself when using the Advanced Translation Editor. Did you make changes already, because all the links seems to be working fine now when I checked hidden link

Here is my test site. hidden link

May 15, 2025 at 12:58 am #17034693

arkC

您好,感谢您的回复,因为这是我自己手动调整的,会耗费大量的时间精力。

May 15, 2025 at 6:46 am #17035138

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Alright then, if the issue persists, please contact us here again and we'll check this out for you.

May 16, 2025 at 8:33 am #17040109

arkC

我修改了自定义链接怎么把我原来的图文的文字翻译给去掉了,我的文字翻译都没了。

May 16, 2025 at 8:42 am #17040159

arkC

like this

微信图片_20250516163402.pngaa.png
May 16, 2025 at 11:04 am #17041164

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Did you adjust the links using the Advanced Translation Editor? If not, may I know how you modify the link?

May 19, 2025 at 1:40 am #17046298

arkC

当您给我添加完xml代码时,原先图片1的文字翻译内容就被顶替掉了,因此显示的是链接而不是Molybdenum对应的语言翻译,我想这是问题所在,也许应该重新更新xml代码让文字和链接都能更改才是。

微信图片_20250519094025.png
微信图片_20250519093821.png