Automatically add links between different translations

Created on 8 August 2014, almost 10 years ago
Updated 5 August 2023, 11 months ago

If I create a translation of a page, I would want the two pages to link to each other both for authenticated and anonymous users. I believe this is part of D7, but not sure whether it's part of D7 core or the i18n module.

Steps:
1. Create site
2. Go to /admin/modules
3. Check add Content Translation
4. Check Language
5. Click save
6. Go to /admin/config/regional/language
7. Add language Spanish
8. Save
9. Go to /admin/structure/types/manage/page
10. Check Show language selector on create and edit pages
11. Check Enable translation
12. Save
13. Go to /node/add/page
14. Enter page content
Title: test page 1
Body: This is a test of an English page
15. Save and publish
16. Click Translate tab
17. On Spanish row click Add
18. Enter page content
Title: pagina 1
Body: Esta es una página en español.
19. Save and publish
20. Go to /node/1 (whether logged in or not)

Actual: no link to the Spanish
Expected: link to the Spanish

21. /es/node/1 (whether logged in or not)

Actual: no link to the English
Expected: link to the English

✨ Feature request
Status

Closed: outdated

Version

11.0 🔥

Component
Language module  →

Last updated 16 days ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇺🇸United States Charles Belov San Francisco, CA, US

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone New Zealand

    A solution was suggested 5 years ago, in #5,of using a contrib module. For, the way to get a link to the translations is to enable the Language Switcher block.

    Since this can be accomplished with core I am closing as outdated.

Production build 0.69.0 2024