Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291708

Not able to create menu link to the frontpage of other languages

$
0
0

Problem/Motivation

When developing a site (in norwegian) I also added an english version of it. It has the path prefix /en, while the "main" site is prefix free. I then tried to add a link to the english version (the frontpage) to the navigation menu. But the URL gets rewritten to /node (which is the front page, but not in english). I also tried to link to /en/node, with the same result.

Steps to reproduce:

- Enable content translation
- Add another language
- Change default language
- Remove path prefix from this new default language.
- Add menu link (for example in "main navigation") to /en

Expected result:
- A link appears, with the href set to /en

Result:
- A link appears, with the href set to /node

I have not examined why this is, just posting here while I still remember it. And so that if anyone knows that this issue is related to something else might close this and or link it.

Proposed resolution

Remaining tasks

User interface changes

API changes


Viewing all articles
Browse latest Browse all 291708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>