wger
wger copied to clipboard
Automatic language recognition and language menu positioning
Use case
Currently the website https://wger.de/en/software/features uses english by default. The user has to change the language menu manually in the footer of the page.
Proposal
- Enable automatic language selection by recognizing the user's browser langauge, or OS language settings to show the website in the appropriate language.
- Place the language menu into the top navigation bar as a separate item instead of placing it at the bottom of the page.
Actually it already does. If you just open wger.de, /software/features (or any other url for that matter), it'll redirect the user to the detected language from the browser
@rolandgeider You're right. The localization for the website wger.de works!
I'll leave it up to you, whether to change my second proposal about placing the language menu into the top navigation bar as a separate item instead of placing it at the bottom of the page.
It is not really essential. It's just how I like to see localized websites.
I thing nav bar is a much better place for the language drop-down menu.
@rolandgeider For some reason the website https://wger.de again doesn't automatically detect the user's browser or system language! Opening https://wger.de/ in my Firefox browser (with Croatian as primary language) as well as in my iPhone Safari browser display the english version!?
Please check and correct it. Thank you
@rolandgeider The website still does not show all localized versions! Most localizations don´t work or work only partially! This is sad, because many languages have a high percentage of translations (see https://hosted.weblate.org/widgets/wger/#horizontal).
Please correct this issue as soon as possible, or ask contributors to help you to solve the issue. Unfortunaltely I can´t help, as I´m not a programmer. :-(