-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Missing translations in 3.7.0, always shown in English #2520
Comments
Is this onlatest commit or on the specific release? Are you able to register on Crowdin to maybe translate these strings? I'm not sure if that's the cause or not. https://crowdin.com/project/CTFd |
Can't say for sure about old versions as I am a new user, but I feel it is not only in the latest commit. The six strings I found and posted above are not present in messages.po files according to github search. And the (core-beta) template does not call their translation either, as far as I understand how localization works. This is an example of a string being translated in CTFd/themes/core-beta/templates/components/navbar.html: I cannot find a call to "{% trans %}" for the strings I mentioned when opening the issue. Note: there might be more strings that miss the translation that I haven't met when testing a CTF. |
Environment:
What happened?
When playing a challenge in a language different than English, with the core-beta theme, some text is always shown in English.
What did you expect to happen?
Expected to be translated like everything else.
How to reproduce your issue
Set your language to non-English. Participate in a challenge and pay attention to these messages that appear when submitting an answer as they are always shown in English:
I think they are missing in all translations. I checked Italian, Spanish, French, Slovenski, German.
Any associated stack traces or error logs
N/A
The text was updated successfully, but these errors were encountered: