Skip to content Skip to sidebar

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

Problem:
If you're using Greenshift as your content builder and notice that after updating the original dropdown menu, the translated links are not working anymore and are pointing to the original language.
Solution:
We recommend adding more custom XML configuration code to adjust the internal URLs automatically. Here is the code you should add:


<gutenberg-block type="greenshift-blocks/container" translate="1">
  <xpath type="link">//div/a/@href</xpath>
  <key name="containerLink" type="link"></key>
</gutenberg-block>

You can find this setting in WPML > Settings > Custom XML Configuration tab. After adding the code, edit the block mega menu and click on Update. This should display the correct translation URL in the mega menu.
For more detailed guidance, refer to our documentation on making custom Gutenberg blocks translatable: https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at https://wpml.org/forums/forum/english-support/.

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 6 replies, has 0 voices.

Last updated by riencov 2 months, 1 week ago.

Assisted by: Long Nguyen.

Author Posts
February 23, 2026 at 12:18 pm #17842951

riencov

I'm using greenshift as content builder. I have a dropdown menu that has some links in it. After i updated the original dropdown, the translated links are not working anymore and are pointing to the original language.

February 24, 2026 at 8:11 am #17844997

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Riencov,

I'm Long from the WPML Development team, I'm happy to help you with this issue.

I can see the issue with dropdown menus on your site like "Platform" or "Company", the link to the post is in the original Dutch language instead of the current language.

I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/

Looking forward to your reply.
Thanks

February 24, 2026 at 10:42 am #17845874

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I add more custom XML configuration code to adjust the internal URL automatically

    <gutenberg-block type="greenshift-blocks/container" translate="1">
      <xpath type="link">//div/a/@href</xpath>
      <key name="containerLink" type="link" />
    </gutenberg-block>

you can see it in WPML > Settings > Custom XML Configuration tab. Then edit the block mega menu and click on Update. Now you can see the translation URL in the mega menu displayed correctly.

Refer to the documentation https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/

Looking forward to your reply.
Thanks

Screenshot 2026-02-24 at 17.41.35 2026-02-24 17-41-45.png
February 24, 2026 at 10:54 am #17846023

riencov

This seems to be working now. However, I’m still experiencing a few issues:

* The CPT archive links are not being translated. For example: in the menu under
**Company > Vacatures (Working at)
**, the hero header button “Ontdek Findwhere”, and the button “Ontdek alle modules”.
* Is it possible to change all of these links at once? Whenever I try to update them, they revert back to the default (Dutch) version after I update the specific page where the link is located.

* In all languages except the default (core) language, the footer has disappeared.

February 25, 2026 at 2:55 am #17849156

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

1. For the CPT archive link and hero header button, the auto-adjust internal URL feature doesn't work because you are using the relative URL like "/modules/", "/vacatures/", see the attached screenshot.
To make this feature work, you have to use the absolute URL like
hidden link
hidden link

Also, there is an issue with the auto-adjust archive page URL. I suggest you use the same slug for all languages instead of translating it.

2. The issue with the footer template is similar to a previous ticket https://wpml.org/forums/topic/fse-theme-only-header-and-footer-are-visible/

I update the post name of the footer in other languages to "footer" in the database to fix it. This has been escalated to the development team and it should be fixed as soon as possible.

Thanks.

Edit Block Pattern “Menu – Company” ‹ Findwhere — WordPress 2026-02-25 08-54-39.png
February 25, 2026 at 8:45 am #17850135

riencov

Thanks for the update.

1. The homepage has several links pointing to hidden link, but none of them are being translated. I tried updating them, but most of them already had the correct URL. The translated URL still isn’t working. All translated pages are using the same slug.

2. After updating a link in the footer, the footer disappeared again on the translated pages.

February 26, 2026 at 2:17 am #17853255

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

1. As I mentioned in the previous ticket, there is an issue with auto-adjust internal URL for the archive page, which is hidden link

I use the same slug for all languages "modules" to fix the issue, you can check it in WPML > Settings > Post Types Translation section. Please follow the documentation to get more details https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

2. I applied a quick fix on your site to prevent this from happening again with the FSE (Full Site Editing) template. You can now edit the footer template and save it as well.

Thanks.

February 26, 2026 at 8:15 am #17855266

riencov

Thanks, i think it's all working now. Have a nice day!