New!

Introducing TranslatePress AI The fastest way to translate your WordPress Website

Learn More
0
Days
0
Hours
0
Minutes
0
Seconds

Last Chance Sale 25% OFF! Our only sale of the year ends soon!

Use Discount code BF2024 at Checkout. Bottom link

Documentation > Translation Editor > Translate links

Translate links

Browse Docs
Search Documentation

TranslatePress lets you easily translate links within the visual translation editor in just a few clicks.

How to translate links with TranslatePress

Internal links are translated automatically by TranslatePress. All the page or post links within your site are translated to their version of the currently displayed language.

Custom internal links that are added directly to the HTML (without using PHP functions to construct them) are those added in the post content for example. These links can also be automatically translated by TranslatePress if the option Force language in custom links is set to Yes. This option is active by default and can be changed in Settings → TranslatePress → General tab.

What’s left are links to internal media such as images, documents, or archive files, and external links. These can be translated manually from the Translation Editor interface.

Simply hover a link, click the button and translate the link. For each language you can either place the translated link or select a resource using Add Media button. This allows you to use the WordPress Media library to select an existing image, PDF, or other files, or upload a new file.

Translating links in the visual translation editor

In this screenshot, we have translated the external link of the Wikipedia article in English, to the French version of the Wikipedia article.
Basically, we have translated the href of that anchor to point to another URL.