Skip to content

Translate the link-external-newwindow-label language key #15260

Open

Description

@mcanouil

Description

The new-tab announcement from #9469 uses a new language key, link-external-newwindow-label.
When link-external-newwindow: true is set, screen readers read it as the description of each external link.

Related: #9469

The key is only in _language.yml, so all 35 translations fall back to English for now.
A screen reader user reading a site in French or Japanese still hears "(opens in a new tab)".

The English value is:

link-external-newwindow-label: "(opens in a new tab)"

Each file below needs a translated entry.
Regional files (de-CH, fr-CA, pt-BR) already fall back to their parent language, so they only need the key when the wording should differ.

Language files (35)

Activity

  1. cderv commented on Nov 4, 2026

    @cderv
    Member

    Translated in #15285: ca, cs, da, es, eu, fi, fr, he, id, is, it, ja, ko, lt, nb, nl, nn, pl, pt, ru, sk, sl, sr-Latn, sv, tr, ua, zh and zh-TW. Each value is a machine translation that two independent reviewers accepted, or a correction both reviewers proposed. el and pt-BR already had a human translation.

    Three languages stay in English because the reviewers did not agree on the wording, and de-CH follows de. Native speakers, please pick one or suggest a better value:

    • az: "(yeni vərəqədə açılır)" or "(yeni vərəqdə açılır)". One reviewer says "vərəq" is the word for a browser tab.
    • bg: "(се отваря в нов раздел)" or "(отваря се в нов раздел)". One reviewer finds "се" at the start of the clause unnatural.
    • de: "(öffnet in einem neuen Tab)" or "(öffnet sich in einem neuen Tab)". One reviewer says the verb needs "sich" to read as natural German.
    Description each language announces for an external link

    Taken from the newWindowLabel value in the HTML of a page rendered with format: html, link-external-newwindow: true and lang: <code>. The page script adds it as a hidden description of each external link, read by screen readers after the link text. az, bg, de and de-CH show the English fallback.

    Language Description
    az (opens in a new tab)
    bg (opens in a new tab)
    ca (s'obre en una pestanya nova)
    cs (otevře se v nové záložce)
    da (åbnes i en ny fane)
    de (opens in a new tab)
    de-CH (opens in a new tab)
    el (ανοίγει σε νέα καρτέλα)
    es (se abre en una nueva pestaña)
    eu (fitxa berri batean irekitzen da)
    fi (avautuu uudelle välilehdelle)
    fr (s'ouvre dans un nouvel onglet)
    fr-CA (s'ouvre dans un nouvel onglet)
    he (נפתח בלשונית חדשה)
    id (dibuka di tab baru)
    is (opnast í nýjum flipa)
    it (si apre in una nuova scheda)
    ja (新しいタブで開きます)
    ko (새 탭에서 열립니다)
    lt (atsidaro naujame skirtuke)
    nb (åpnes i ny fane)
    nl (opent in een nieuw tabblad)
    nn (opnast i ny fane)
    pl (otwiera się w nowej karcie)
    pt (abre num novo separador)
    pt-BR (abre em uma nova aba)
    ru (открывается в новой вкладке)
    sk (otvorí sa na novej karte)
    sl (odpre se v novem zavihku)
    sr-Latn (otvara se u novom jezičku)
    sv (öppnas i en ny flik)
    tr (yeni sekmede açılır)
    ua (відкривається в новій вкладці)
    zh (在新标签页中打开)
    zh-TW (在新分頁中開啟)

    Source of each page:

    ---
    title: "Demo"
    lang: de
    format:
      html:
        link-external-newwindow: true
    ---
    
    An [external link](https://posit.co/) in the page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions