{"id":34,"date":"2026-09-16T10:29:03","date_gmt":"2026-09-16T10:29:03","guid":{"rendered":"https:\/\/docs.latw.ai\/uncategorized\/internal-links\/"},"modified":"2026-09-16T10:29:03","modified_gmt":"2026-09-16T10:29:03","slug":"internal-links","status":"publish","type":"post","link":"https:\/\/docs.latw.ai\/pl\/latw-for-wpml\/internal-links\/","title":{"rendered":"Do internal links point to the translated pages?"},"content":{"rendered":"<p>A typical case: your <em>Home<\/em> page contains a link to <em>Contact<\/em>. You translate both pages into French. On the French <em>Home<\/em> page, the link should lead to the French <em>Contact<\/em> page, not to the English one.<\/p>\n<p>Link handling belongs entirely to WPML&#8217;s translation layer. LATW only supplies the translated text through your own AI provider (BYOK) inside WPML&#8217;s normal translation flow, so link behaviour is identical whether you translate manually, with WPML credits, or with LATW.<\/p>\n<h2>How it works<\/h2>\n<p>When content is sent through WPML&#8217;s Translation Editor, WPML detects internal links in that content and rewrites them so they point at the corresponding translation. You don&#8217;t need to set the URL for every link by hand.<\/p>\n<p>Two conditions have to be met:<\/p>\n<ol>\n<li>The target page must already be translated.<\/li>\n<li>The link has to be part of the translated content.<\/li>\n<\/ol>\n<h2>Fixing links that already point to the wrong language<\/h2>\n<p>If a link ended up pointing at the original language:<\/p>\n<ul>\n<li>Re-send the page for translation.<\/li>\n<li>Or run <strong>WPML \u2192 Settings \u2192 Translate Link Targets \u2192 Scan now and adjust links<\/strong>. This scans the site and rewrites internal link targets to the correct translations. It is a full-site operation, there is no way to scan only selected pages, and it can be slow on large sites, so take a backup first.<\/li>\n<\/ul>\n<h2>Menus<\/h2>\n<p>Menus use a separate mechanism:<\/p>\n<ul>\n<li><strong>Menu items linking to content<\/strong> (pages, posts, categories): just translate the content they link to. The menu follows automatically.<\/li>\n<li><strong>Custom Links in menus<\/strong>: these hold a raw URL, so you have to add a translated Custom Link for each language yourself.<\/li>\n<li><strong>Block-based menus<\/strong> (Navigation block in the Site Editor): translate the corresponding template part and the navigation block from the Translation Dashboard.<\/li>\n<\/ul>\n<h2>Where automatic link conversion does not apply<\/h2>\n<p><strong>Links stored in ACF fields are not automatically re-pointed to the translated page.<\/strong> This is the most common surprise on custom-built themes.<\/p>\n<h2>WPML documentation<\/h2>\n<ul>\n<li>\n<p><a href=\"https:\/\/wpml.org\/faq\/how-to-translate-links\/\">How can I translate links in WPML?<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/faq\/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor\/\">How to translate URLs, shortcodes and HTML attributes using the Advanced Translation Editor<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/translating-menus\/\">Translating menus<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/documentation\/getting-started-guide\/translating-custom-fields\/\">Translating custom fields<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/documentation\/related-projects\/translate-sites-built-with-acf\/\">Translating sites built with ACF<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/documentation\/related-projects\/translate-sites-built-with-acf\/recommended-custom-fields-translation-preferences-for-acf-and-wpml\/\">Recommended custom fields translation preferences for ACF and WPML<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/documentation\/related-projects\/translate-sites-built-with-acf\/acf-multilingual-acfml-constants-and-hooks-reference\/\">ACF Multilingual (ACFML) constants and hooks reference<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wpml.org\/known-issues\/\">WPML known issues<\/a><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A typical case: your Home page contains a link to Contact. You translate both pages into French. On the French Home page, the link should lead\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_latwm_translated_slug":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-latw-for-wpml"],"_links":{"self":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":1,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/34\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}