-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 localizable (gettext) messages from some files in translation workflow #3412
Labels
bug
Something isn't working
Comments
f-string are not supported [1] but there is no error [2]. |
return42
added a commit
to return42/searxng
that referenced
this issue
Apr 21, 2024
To test this patch I used .. and checked the diff of the `messages.pot` file:: $ ./manage pyenv.cmd pybabel extract -F babel.cfg \ -o ./searx/translations/messages.pot searx/ $ git diff ./searx/translations/messages.pot ---- hint from @dalf: f-string are not supported [1] but there is no error [2]. searx/translations/messages.pot [1] python-babel/babel#594 [2] python-babel/babel#715 Closes: searxng#3412 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
return42
added a commit
to return42/searxng
that referenced
this issue
Apr 21, 2024
To test this patch I used .. and checked the diff of the `messages.pot` file:: $ ./manage pyenv.cmd pybabel extract -F babel.cfg \ -o ./searx/translations/messages.pot searx/ $ git diff ./searx/translations/messages.pot ---- hint from @dalf: f-string are not supported [1] but there is no error [2]. [1] python-babel/babel#594 [2] python-babel/babel#715 Closes: searxng#3412 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Thanks for pointing out .. / see my PR: |
return42
added a commit
that referenced
this issue
Apr 26, 2024
To test this patch I used .. and checked the diff of the `messages.pot` file:: $ ./manage pyenv.cmd pybabel extract -F babel.cfg \ -o ./searx/translations/messages.pot searx/ $ git diff ./searx/translations/messages.pot ---- hint from @dalf: f-string are not supported [1] but there is no error [2]. [1] python-babel/babel#594 [2] python-babel/babel#715 Closes: #3412 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
VieuL
pushed a commit
to VieuL/searxng
that referenced
this issue
Jul 5, 2024
To test this patch I used .. and checked the diff of the `messages.pot` file:: $ ./manage pyenv.cmd pybabel extract -F babel.cfg \ -o ./searx/translations/messages.pot searx/ $ git diff ./searx/translations/messages.pot ---- hint from @dalf: f-string are not supported [1] but there is no error [2]. [1] python-babel/babel#594 [2] python-babel/babel#715 Closes: searxng#3412 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that we use terms such as
searxng/searx/engines/wttr.py
Line 55 in f5bb64c
searxng/searx/engines/wttr.py
Line 68 in f5bb64c
But for some reason they seem to be missing in our translation workflow ... search for "Temperature" on Weblate ..
May we have a bug in our translation workflow ..
Originally posted by @return42 in #3359 (review)
I'm not sure, but it seems to me that pybabel doesn't find (all?)
gettext
passages in the engines?searxng/utils/lib_sxng_weblate.sh
Lines 143 to 147 in af3be2b
searxng/babel.cfg
Lines 1 to 6 in af3be2b
The text was updated successfully, but these errors were encountered: