-
Notifications
You must be signed in to change notification settings - Fork 1
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
Multi-language support #72
Comments
Thanks for the task, I like 😺 As spoken f2f - I will have a look and report! |
Hi @nesnoj, multi-language works! In templates and views (also in the Charts 🚀). I had to do some workarounds, because multi-language support is normally tied as global state to I added a simple version with a (unstyled) language switcher in the navbar: 031e415 To test it out you have to add locale as middleware in
The last problem are the labels and texts in the config files in Maybe I find a doable solution for the config files tomorrow ... |
As agreed yesterday f2f, you create a draft to find out if all language-related parts can be covered. EDIT: |
Hi @nesnoj, enabling I18N in stemp_abw is as good as done. As far as I can see, there are only some minor things left to do (e. g. the In the end I opted for the So, the way to add a language to stemp_abw is relatively simple now:
Next week, I can explain this approach in more detail f2f, if you like. |
Sounds great, looking forward! :) |
Good work @4lm! There're some shortcomings, I'd be very happy if you could tackle them:
I saw u added some structure for i18n to the docs, please complete this section :). Branch Thanks a lot! |
@4lm Urgent: |
@nesnoj, I think I see the problem, will do fix a branch! |
Ok, will test now |
Both merged and dev deployed on WAMdev |
Mhh, Ok, will have a look ... |
Locale Middleware moved as you proposed. |
Maybe it's something with the webserver - caddy behaves differently than Django's (gunicorn?) |
@nesnoj, can you test if this commit 6e5f7c7 fixes it, the code is on branch |
Works out!! 🎉 🎉 🎉 🚀 Can you crate a PR (just for the log) |
I'll do it |
Explicitly set next value to the path the request originated from #72
🎉 🎉 🎉 Cool 😎 |
Here comes the next PR, I fixed the accordion #97. This one was easy 😉 |
…ior-of-accordion Fix default area expand behavior of accordion #72
ooops |
@4lm Last remaining task: docs |
Can u finish this one today too? |
Text is prepared by @Stefanie08 in
https://github.com/rl-institut/WAM_APP_stemp_abw/tree/feature/multi_language_support
@4lm What options do we have to implement multi-language support?
The text was updated successfully, but these errors were encountered: