How to localize function help string obtained from docstring? #2887
Unanswered
rffontenelle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Considering the following code, the
_("""Print FILENAME.""")causes the string "Print FILENAME." to be translateable, but its translation won't be printed in the command's --help (simply blank); and if I leave"""Print FILENAME."""as is, the string doesn't get extracted to the translation files and the English string is correctly shown in the command's --help.Beta Was this translation helpful? Give feedback.
All reactions