Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language preference #5465

Open
aapeliv opened this issue Jan 14, 2025 · 0 comments
Open

Language preference #5465

aapeliv opened this issue Jan 14, 2025 · 0 comments
Labels
1.topic backend This issue relates to the python backend 1.topic frontend

Comments

@aapeliv
Copy link
Member

aapeliv commented Jan 14, 2025

Right now there is some black magic that figures out what language to show you the UI in. We forgot if it's possible and/or how to force this... We should have this easy and obvious to configure in the frontend.

  • There should be a language selection toggle (also it should link to "Help translate Couchers to your language" or similar) that stores the value in a cookie called couchers-preferred-language and changes the language based on this, this should also send the info to the backend to be stored in the profile once that is implemented

  • The frontend should have automatic language detection code and suggest switching languages in e.g. a snackbar (but if you dismiss it it should remember you did and not annoy you in the future), or maybe highlight the language toggle when the UI language doesn't match, or similar

  • The user's language preference should be stored in the backend in the profile field

  • The backend should set the language preference in a cookie to overwrite the frontend when a user logs in

@aapeliv aapeliv added 1.topic backend This issue relates to the python backend 1.topic frontend labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.topic backend This issue relates to the python backend 1.topic frontend
Projects
Status: Ready
Development

No branches or pull requests

1 participant