You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing docs with i18n support.
There are two places where it should be done:
All docstrings of click-command functions and options help arguments. Like this:
@click.option('--quiet/--verbose', '-q/-v', flag_value=True, default=False, help=_("Disable processing output"))@doc(_("""Help text of subcommand."""))defsubcommand(quiet):
...
MkDocs docs directory. I'm using mkdocs-static-i18n plugin. So I've created index.XX.md for each supported language.
I want to pass different language code to mkdocs-click plugin in each cli.XX.md.
I think it will includes reloading of module each time with changing LANG variable.
The text was updated successfully, but these errors were encountered:
I'm writing docs with i18n support.
There are two places where it should be done:
docs
directory. I'm usingmkdocs-static-i18n
plugin. So I've createdindex.XX.md
for each supported language.I want to pass different language code to
mkdocs-click
plugin in eachcli.XX.md
.I think it will includes reloading of module each time with changing
LANG
variable.The text was updated successfully, but these errors were encountered: