Skip to content Skip to sidebar

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

Last updated by Mateus Getulio 1 year, 5 months ago.

Assisted by: Mateus Getulio.

Author Posts
March 12, 2024 at 12:55 pm

jimeH

Hi Mateus, We need help with translating our website. How can we update our links automatically in our text, buttons and other elements?

At the container link url sections, the translate sections are not translated to the english url /en/. How can we fix this?

March 12, 2024 at 1:50 pm
March 12, 2024 at 9:35 pm #15401645

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hello there,

I checked it and it seems like when there are different values for WordPress Address and Site Address fields, or when those values are manually set in the wp-config.php, it can prevent the 'Translate Link Targets' feature to properly adjust the internal site links.

I went to wp-admin > Settings > General, and while they values seem the same, I just re-save the settings in the screen and tried scanning the links again in WPML -> Settings -> Translate Link Targets.

Now when I check the links in the secondary languages, they seem updated. Can you please test it again?

Thank you, please let us know.
Mateus

March 13, 2024 at 8:35 am #15402460

jimeH

Hi Mateus,

Unfortunately, we manually edited these links yesterday. However, if you implement these changes and activate the function for automatic links, I don't believe this issue will be resolved. Please review the product page with internal links for further examination.

See productpage link and also see screenshot:
hidden link

When you click on the internal link you go to the dutch page:
hidden link

But you need to go to: hidden link

I tried to select the text and apply the marker, but no succes.

Schermafbeelding 2024-03-13 om 09.33.06.png
Schermafbeelding 2024-03-13 om 09.28.32.png
March 13, 2024 at 6:41 pm #15405809

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hey there,

I checked this out but so far I couldn't find a fix for it.

I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,