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.

This topic contains 7 replies, has 2 voices.

Last updated by Riffaz 4 years, 6 months ago.

Assisted by: Riffaz.

Author Posts
November 16, 2020 at 2:57 pm #7459067

annaG-29

Hi there!

I have an action button in my header (I'm using the betheme wordpress template)

The website is translated into two languages, swedish and english. On the swedish page the action button in the top right corner is linked to "kontakt"- the swedish contact page. But when the site is in english I would like for the action button to be linked to the english version of the contact page, right now it still goes to the swedish "kontakt" one.

I asked the Bethem support and was told that the link could be changed in string translations but the action button is not located there so I was told to contact you guys for further inspection. Could you help me out? 🙂 Thanks!

November 17, 2020 at 5:32 am #7463013

Riffaz

Hi,

Thank you for contacting WPML Support. Could you please try the following steps after taking a backup and let me know how it goes:

1- Go to WPML >> Strings Translation
2- Click the link 'Translate texts in admin screens »' (you'll find it at the bottom of the page)
3) Search you action button link (without your site domain) or the action button text
4) Check the checkbox for your strings of interest.
5) Add it to 'string translation'
6) Now, all your selected strings should appear in the String Translation panel and you can translate those strings

Here is doc for more details:
https://wpml.org/documentation/getting-started-guide/translating-theme-options/

Before doing this please update all your WPML plugins. you are using older version of WPML.
You can check the latest version here: https://wpml.org/account/downloads/

Let me know the results after checking these steps, please.

Regards,
Riffaz.

November 18, 2020 at 1:52 pm #7475011

annaG-29

Hi! Alright I will try this, I can't find the action button in "Translate texts in admin screens" tho, Where should it be located? Thank you! Also how do I update wplm without ruining any of my translations? 🙂

November 19, 2020 at 5:45 am #7480069

Riffaz

Hi,

I can't find the action button in "Translate texts in admin screens" tho, Where should it be located?
- please refer the attached screenshot that I took from your site

how do I update wplm without ruining any of my translations?
- updating WPML plugins will not ruin your translations
- you should proceed this after taking a backup
- and, try to translate after the full update

Regards,

Strängöversättning ‹ Fricweld | Friktionssvetsning | Kolvstänger | Hydraulik — WordPress 2020-11-19 10-53-38.jpg
November 23, 2020 at 9:16 am #7506925

annaG-29

Hi Riffaz!
Sorry I was unclear, I can find the "Translate texts in admin screens" but I cant find the action action button link or the action button text- it's not there? 🙂

November 23, 2020 at 11:05 am #7508267

Riffaz

Hi,

I was able to find and translated it.
Please check the attached images.
Translate it as you want.

If you are asking something else please let me know.
If this is correct please check, confirm and close this ticket.

Regards,

String Translation ‹ Fricweld | Friktionssvetsning | Kolvstänger | Hydraulik — WordPress 2020-11-23 16-32-43.jpg
Fricweld | Friktionssvetsning | Kolvstänger | Hydraulik – På Fricweld specialiserar vi oss på friktionssvetsning som skapar nya… 2020-11-23 16-31-35.jpg
November 23, 2020 at 12:37 pm #7509135

annaG-29

Thank you Riffaz!
I actually don't need to translate the button- I only want to change the link of the button on the english page. For instance Right now when I'm on the swedish page the action button is linked to the swedish "kontakt"-page. But when the english flag is activated I would like for the action button to be linked to the english version of the "contact"-page.

Can you assist me with this issue? 🙂

Thank you!

November 24, 2020 at 8:55 am #7514787

Riffaz

Hi,

In that case, please refer the attached screenshot.

Regards,

String Translation ‹ Fricweld | Friktionssvetsning | Kolvstänger | Hydraulik — WordPress 2020-11-24 14-22-35.jpg