Skip Navigation

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

Problem:
The client was unable to translate the "Aplica Acum" button from the desktop primary menu in a multilingual WordPress site. Additionally, the client needed assistance in translating the URL linked to this button.
Solution:
We advised the client to use the WPML -> String Translation to translate the widget where the button is located. For translating the URL, the client should search for the default language link in WPML -> String Translation and translate it accordingly. We provided a helpful link for further guidance on translating URLs: https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 10 replies, has 2 voices.

Last updated by Marsel Nikolli 5 months ago.

Assisted by: Marsel Nikolli.

Author Posts
June 11, 2024 at 12:05 pm #15726356

sebastianC-22

Hi,

Thank you for your reply.
I checked and re-checked the error message, and it is a theme error message.
Can you please open a new ticket for me, and please send me the exact steps how you fix this issue regarding the mobile and desktop menu"Aplica acum" button. You resolved this issue in the ticket regarding ""Aplica acum" button will not change when I change the language on mobile". I read all documentation regarding https://wpml.org/documentation/getting-started-guide/translating-menus/ - but i can not fix it.
You can see I that I synced the menus but on the German version it would not let me add different, name to the: "Apply now" button in :"Jetzt Bewerben"in mobile and desktop version(primary-desktop and off-canvas menu-mobile). I translated the strings for the "Apply now" button in :"Jetzt Bewerben" and also changed the link. But still doesn't work.

Thank you

June 11, 2024 at 12:12 pm #15726369

Marsel Nikolli

Hi,

Please check this video on how I fixed the issue on the previous ticket:
hidden link

Let me know if you have any questions or need further assistance.

Regards,
Marsel

June 13, 2024 at 6:26 am #15734174

sebastianC-22

Hi,
Thank you for the video.
I can now change the "Aplica Acum" from mobile menu.
But I can not change the " Aplica Acum " button from the German desktop language in "Jetzt Bewerben". I attach you images.
Where can I find to translate the "Aplica Acum" button from desktop primary menu?
It's a widget, but I can not find this widget.

Thank you

no-aplica-acum-button.PNG
aplica-acum-desktop-german.PNG
June 13, 2024 at 7:30 am #15734477

Marsel Nikolli

Hi,

Given that the button is a widget you should be able to translate it via WPML -> String Translation. Please check the attached image.

*It should be translated into German as after I clicked the "+" sign it automatically got the translation.

To translate the URL of the button you might need to check:
https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

Let me know if you have any questions.

Screenshot 2024-06-13 092521.png
June 14, 2024 at 7:11 am #15738368

sebastianC-22

Hi,

I found the "Aplica Acum" in translation and added the url. I attache you the image.
Can you please send me how I can add the url with an video like before.

Thank you

url_add_wpml.PNG
June 14, 2024 at 7:54 am #15738624

Marsel Nikolli

Hi,

From what I could check it seems that you are translating the links correctly, anyway if you need help can you show me where can I find the "Aplica Acum" you shared on the previous message?

Looking forward to your reply,
Marsel

June 14, 2024 at 8:39 am #15738918

sebastianC-22

Hi,

sure you can find it in: Wpml>Translations> you search for: Title: Strings translation-en|de-328c8ccb045e7e4... type: strings language: Romanian>>german
But is not working.
When you go to HP desktop hidden link click on "Bewerben" button it still redirects you to hidden link - the romanian version of the compensation form.

Thank you

June 14, 2024 at 8:51 am #15739159

sebastianC-22

I attache you also images for better understanding.

rumanian-version-of-compensation-form.PNG
bewerben-button-hp-desktop.PNG
June 14, 2024 at 9:30 am #15739313

Marsel Nikolli

Hi,

Thank you for the information.

You need to translate the link from WPML -> String translation, there you should search for the link: hidden link which is the default language.

The string to translate is the last one that shows on the table (please check the attached image).

Screenshot 2024-06-14 112746.png
June 14, 2024 at 11:08 am #15739784
sebastianC-22

Hi,

Thank you for your reply and problem fix.
Can you please open a new support ticket for:
I want on the HP hidden link....../en/de/hu/it... under the phrase: "We are here to help passengers." all this text should be translated as a single sentence: "We facilitate filing a complaints for passengers which nu are safe from rights their or which nu at time or experience required for a if hire in process from claim for compensatory amounts under EC261/2004."
When I check: WPML>Translation>Home(is the page)> and I search of the sentence:"We facilitate filing a complaints for passengers which nu are safe from rights their or which nu at time or experience required for a if hire in process from claim for compensatory amounts under EC261/2004." - I see all text is translated as single texts not as one single sentences. Please send me how can I make a single sentence.
PS. also in Romanian language, Wpml has translated this sentence as multiple words.
I attach you also images.

Thank you.

New threads created by Marsel Nikolli and linked to this one are listed below:

https://wpml.org/forums/topic/split-text-on-homepage-showing-in-multiple-lines/

one-sentence.PNG
as-a-single-sentence.PNG
June 14, 2024 at 11:42 am #15739953

Marsel Nikolli

Hi,

Glad to see that this issue is resolved.

I've split the ticket and we can continue working on the new issue on this ticket:
https://wpml.org/forums/topic/split-text-on-homepage-showing-in-multiple-lines/

Regards,
Marsel

June 14, 2024 at 12:07 pm #15740004

sebastianC-22

Thank you