getgrav / getgrav/grav-plugin-langswitcher
Page folder name instead of slug
Open
- Dominant language
- PHP
- Stars
- 31
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
I have a page in `01.Home` folder, it has `slug: start` metadata.
In language switcher links are generated as `/home` and `/pl/home` instead of `/start` and `/en/start`
How can I change this behaviour?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the language switcher link-generation entry point for a page in the `01.Home` folder with `slug: start`; trace whether it reads the folder name or the slug metadata. Reproduce the `/home` and `/pl/home` links, then verify that the generated links use the configured slug, `/start` and `/en/start`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100