Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

external_link_translation

11 sites No security coverage
View on drupal.org

This module builds on Drupal's multilingual capabilities by providing a straightforward means for translating external links. It uses a custom entity that enables content editors to define external link translations within the admin UI. To apply translations, editors just need to copy the canonical link generated by the entity and paste it into menus, link fields, or any site component that accepts internal links. The module then transforms these paths into the appropriate external links, helping support a consistent navigation structure for users in different languages.

Additional Info & Use Cases

Drupal's translation system works by creating content in a source language and then translating it into other languages. This setup allows users to link to translated content by using an internal link in the source language, and Drupal automatically updates the link for each translation.
Because of this model, many of Drupal's core functions, such as menu links, are designed for internal paths and don't support translating URIs directly.

This module's approach is to treat external links as content. By doing so, translating external links becomes as straightforward as translating other types of content in Drupal and opens up various practical use cases:

  1. Translating External Menu Links: Supports both traditional and decoupled menu setups.
  2. Reusing External Link Translations: Enables the reuse of translated external links across different pages and components, such as linking to a multilingual support minisite multiple times. You can translate it once and reuse it.
  3. Integrating with Twig Templates: Offers the ability to create translatable external links in Twig templates using the url function. Example: url('entity.external_link_translation.canonical', { 'external_link_translation': 1 })
  4. Leveraging Linkit Integration: Supports use as a Linkit matcher, simplifying content editing with a selection of pre-translated external links.

Post-Installation

  1. Make the External link translation entity translatable by going to Administration > Configuration > Content language and translation.
  2. Users with the Administer external link translations permission can begin creating and managing external link translations under Administration > Content > External Link Translations.

Similar projects

Activity

Total releases
1
First release
Feb 2026
Latest release
2 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha4 Pre-release Feb 9, 2026