You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring mutliple languages with weights I expect to see the the language with the lowest weight when opening the webpage for the first time.
Configuration is as follows:
languageCode: de# Manage languages# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/languages:
de:
languageName: Deutschweight: 1en:
languageName: Englishweight: 3# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.#DefaultContentLanguage: de
I've also tested languageCode: de-ch. Same effect.
The only way to make sure the page opens in German is to use DefaultContentLanguage which triggers the issue #916.
Current Behavior
When visiting the site I always see the english language. Also english is deployed to the site root, additional languages are deployed to a sub-directory.
Possible Solution
Steps to Reproduce
(See configuration snippet above)
Screenshots
(none)
Browsers Affected
Chrome
Edge
Safari 17
Detailed Description
English seems to be hardcoded as default language on the root dir. Maybe slightly related to #916.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When configuring mutliple languages with weights I expect to see the the language with the lowest weight when opening the webpage for the first time.
Configuration is as follows:
I've also tested
languageCode: de-ch
. Same effect.The only way to make sure the page opens in German is to use
DefaultContentLanguage
which triggers the issue #916.Current Behavior
When visiting the site I always see the english language. Also english is deployed to the site root, additional languages are deployed to a sub-directory.
Possible Solution
Steps to Reproduce
(See configuration snippet above)
Screenshots
(none)
Browsers Affected
Detailed Description
English seems to be hardcoded as default language on the root dir. Maybe slightly related to #916.
The text was updated successfully, but these errors were encountered: