Skip Navigation

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

Problem:
The client is unable to find the ID for adding Admin Texts Translation in WPML for a custom link button provided by radiantthemes addons. The link field of the custom button is not multilingual ready, and the client is facing issues with incorrect URL encoding which affects the functionality of the translated links.
Solution:
1. Ensure you have a full backup of your website.
2. Navigate to WPML Settings > Custom XML Configuration and add the following line to the

lea_button_style

tag:

<attribute>link</attribute>

3. Make a minor edit on the page containing the URL and save it. This will make the link available for translation in the translation editor.
4. Remember that the URL is encoded. When translating, change only the text parts and leave the symbols untouched. For example, translate url:%2Fkeychain%2F to url:%2Fde%2Fschluesselanhaenger%2F.
5. Repeat this process for every page in every language.

If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at WPML 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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 month, 2 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
March 25, 2025 at 10:38 am #16856530

laszloB-13

Background of the issue:
I am trying to find the ID for adding Admin Texts Translation in WPML. We use radiantthemes addons - custom link button.

Symptoms:
I didn't find the ID for adding Admin Texts Translation.

Questions:
How can I find the ID for adding Admin Texts Translation in WPML?

March 25, 2025 at 11:21 am #16856954

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I'm not sure if I understood your request. Please tell me exactly what you wish to translate. Unfortunately, "ID for adding Admin Texts Translation" is not making sense to me.

Thank you for your cooperation.

March 25, 2025 at 12:38 pm #16857581

laszloB-13

I want translate the links on the buttons. That's it.

Képernyőkép 2025-03-25 133758.png
March 25, 2025 at 4:53 pm #16859116

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for clarifying it 🙂 This depends on the custom button, so I'll share different techniques you can try. Before proceeding, please make sure that you have a full website backup and that the destination pages (like /keychain/, for example) are also translated.

1. Go to WPML > Settings > Translate Link Targets and click on “Scan now and adjust links”. Wait for it to finish and check if the translated page shows the correct links;
2. If the options above did not work, access the Translation Editor for the page and search part of the link (like “keychain”) using the search bar in the top of the editor. Add the translation;

If none of the options work, let me know. It's possible that this custom button needs additional steps to be fully translatable.

March 26, 2025 at 11:37 am #16862341

laszloB-13

How translate the link url? So in the english site /keychain, in the german site will be the link url /schluesselanhaenger

The link url, I cannot see in Advanced. Where can I specify that the German equivalent of /keychain should be /schluesselanhaenger? Now /keychain is the URL for links in all languages.

Képernyőkép 2025-03-26 123523.png
March 26, 2025 at 1:20 pm #16863069

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Actually, internal links do not show inside the editor and should be translated automatically. If this is not happening, I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.

The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.

I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.

IMPORTANT

Please make a backup copy of the site files and database before giving us access.

- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:

hidden link

March 26, 2025 at 8:09 pm #16865469

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for waiting. I created a local copy of your website and confirmed that the link field of the custom button provided by your theme was not multilingual ready.

To solve it, please make sure to have a full website backup and follow the steps below:

1. Go to WPML Settings > Custom XML Configuration and add the following line to the lea_button_style tag:

'attribute>link</attribute>

Check attached image;
2. Make a small change on the page that contains the URL and save;

Now, when accessing the translation editor, the link will be available for translation. Please note that the URL is encoded, so change only the text parts and leave the symbols untouched.

Let me know if this works for you and if you have any other questions.

Advanced Translation Editor - WPML.jpeg
Settings _ Vondetech _ WordPress.jpeg
March 27, 2025 at 3:44 pm #16869459

laszloB-13

I made a test page: hidden link
I edited the link, but not working. I left the symbols in url. Now the link /kulcstarto/, after I view the page, the link vondetech.com/kulcstarto. Not working. The correct link /hu/kulcstarto.
And do I have to go through every page in every language to fix the links? Right?

March 27, 2025 at 4:43 pm #16869768

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Sorry, I wasn't clear enough in my last message. The "%2F" corresponds to "/". That's because your theme encodes the URL. Let me show some examples of you could translate a link:

Original: url:%2Fkeychain%2F
Translation: url:%2Fde%2Fschluesselanhaenger%2F

In this case, the translation corresponds to url: /de/schluesselanhaenger/. I know this solution is not optimal, but unfortunately, due to the way the theme stores the URL, it needs to be done this way.

It needs to be done in every page, to every translation. Let me know if you have any questions.