Skip Navigation

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

Problem:
The client updated the English version of a footer inside a reusable block by adding a new link called "Impressum" but it did not propagate to other languages. Additionally, the client removed a location from a page which also did not update in other languages. Lastly, the client needed to add an extra link only in the German version of a page.

Solution:

1. Navigate to WPML > Translation Management and search for the reusable block by its name.
2. Follow the instructions in our guide to translate it: Translating pages, posts, and custom post types.
3. After translating, if the link "Impressum" still isn't translated, go to WPML > Settings > Translate Link Targets and wait for the process to finish.

If the link was added internally and is not appearing in the translation editor, you can search for it there. If WPML detects it as an internal link, it should translate automatically once you update the translation via WPML > Translation Management.

For adding a link visible only in the German language, you need to localize the page by adding an empty link at the end of the paragraph:

<a href="URL of the page you want to add in German">   </a>

Then, use the translation editor to add the URL, making the link visible only in German.

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

Last updated by Alejandro 10 months, 3 weeks ago.

Assisted by: Alejandro.

Author Posts
December 27, 2023 at 4:37 pm #15132881

mariannaF-4

Yes the icon box and the regular translations seem to be ok now. I did updated the English version of our footer which is inside of an element called reusable block by adding a new link to it called “ompressum” - I don’t see that it propagated to the other languages. What is the process for this type of problem?

December 27, 2023 at 4:44 pm #15132907

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

In the meantime:
- Go to WPML > Translation Management
- Look for he reusable block by searching for its name
- Follow the instructions as found ont his guide to translate it: https://wpml.org/documentation/translating-your-contents/#translating-pages-posts-and-custom-post-types

- Once you have translated it chekc if the link has been translated and if it still hasn't then please go to WPML-> Settings-> Translate Link Targets and wait for the process to finish.

----------

If none of that works, then please allow me access to the site again by adding the credentials on the credential field. i'll send you my IP for the whitelisting in private

Regards.

December 27, 2023 at 5:57 pm #15133151

mariannaF-4

I am able to assign it in Translation Management but the new link "Impressum" that was added to the English isn't available for me to translated in the Advanced Editor. I also made a change to a page: hidden link under California, we removed one of the locations, but that's also not propagating to the other languages. How should this work?

Screenshot 2023-12-27 at 12.55.48 PM.png
December 28, 2023 at 12:29 pm #15134577

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

In the translation editor, all the links are "hidden" you can find them when you look for them in the search box.

However, depending on how the link was added and how that reusable block works they should be translated automatically (since it seems we're talking about an internal link).

However, if it's not, you can search for it in the translation editor. if the system detects it as a n internal link, then it won't appear, and should be translated by WPML as soon as you update the translation (update as in, select and resend it from WPML > Translation management, not just edit it by clicking the "pencil" icon on the reusable block).

Try it out and let me know the outcome so i can understand how to continue.

January 5, 2024 at 6:00 pm #15156121

mariannaF-4

Hi!
So, the request for this changed a bit. There needs to be an extra link on within German and not any other language. How do I go about doing this?

January 8, 2024 at 10:16 am #15159513

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Well, before we continue you need to know the difference between translation and localization.

- If you have the same content + structure between the languages = translation
- If you have different content and/or structure between the languages = localization

what you're asking is to localize a page, and that means that you can't use the translation editor in that case since it's meant to be used for translations.

However you can try something.

at the end of the paragraph where you need to add the link, add an empty link:

<a href="URL of the page you want to add in german">   </a>

this will create the structure which you can then use on the translation editor to just add the URL there and as a result the link will be visible only on one language.

Maybe that can help you.

January 8, 2024 at 2:19 pm #15160872

mariannaF-4

I added the empty link but I don't see where to translate it.

January 8, 2024 at 2:31 pm #15160939

mariannaF-4

actually wordpress removed the empty link right after i save the block.

January 8, 2024 at 3:46 pm #15161521

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Ok, let me see if i can find you another workaround.

January 9, 2024 at 9:33 am #15163631

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Could you please check this video and let me know if any of these solutions work for you? if not, then you can always go directly to the translated language and try to translate those.

hidden link

In short we add a character or something that looks invisible and add them to the paragraph where you want to add the URL and then you can translate it as such.

Let me know if that works for you.

January 10, 2024 at 5:02 pm #15170580

mariannaF-4

the link doesn't work..

January 11, 2024 at 11:32 am #15173794

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Sorry, it seems loom deleted the video. here it is: hidden link

Regards.