Closed florianley closed 6 months ago
Same issue here when trying to set German (de) as default.
I can confirm the issue.
The issue should be fixed now. Please, try pulling the latest change. Specify defaultContentLanguage
to your default language.
Works for me, thanks a lot for looking into it and also for this lovely theme.
Expected Behavior
My default language is french set with DefaultContentLanguage: fr in my config.yaml. I would like to be able to switch to english
Current Behavior
When I want to go from any language to english, I'm redirected to French
Steps to Reproduce
here is the configuration of my config.yaml for langage section : languages: fr: languageName: Francais disabled: false weight: 4 de: languageName: Deutsch disabled: false weight: 2 us: languageName: English disabled: false weight: 2 en: languageName: English disabled: false weight: 0
DefaultContentLanguage: fr defaultContentLanguageInSubdir: true
-> Open your website, try to switch to english. You are redirected to your default language
Screenshots
In this screenshot, href for english is href="/" but is correct for any other languages
Browsers Affected