Closed ltguillaume closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
I saw that some back-end stuff is not yet translatable.
Yes, that is true. I think several things in the frontend hasn't been updated to be translated either.
Thanks for this PR :)
@bjarneo I just updated the docker image, double-checked that the Dutch locale was present in the image, then fired up the browser: the interface sticks to English somehow. Tested in Chromium and LibreWolf.
SECRET_FORCED_LANGUAGE=nl
doesn't do the trick either.
Doesn't work either. I also tried to set SECRET_FORCED_LANGUAGE=de
for German. No go.
@bjarneo I just updated the docker image, double-checked that the Dutch locale was present in the image, then fired up the browser: the interface sticks to English somehow. Tested in Chromium and LibreWolf.
SECRET_FORCED_LANGUAGE=nl
doesn't do the trick either.
Hm, then we have a bug, for sure. The SECRETD_FORCED_LANGUAGE should have done the trick. I mean
https://github.com/HemmeligOrg/Hemmelig.app/blob/bd17097e57b23af88c8f3c08f14a40dde0f22951/src/i18n.js#L8C1-L21 this logic sets the fallback language.
I will have a look at it. I do not have time today though.
I saw that some back-end stuff is not yet translatable.