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 used the GitHub search to find a similar issue and didn't find it.
I searched the Typer documentation, with the integrated search.
I already searched in Google "How to X in Typer" and didn't find any information.
I already read and followed all the tutorial in the docs and didn't find an answer.
I already checked if it is not related to Typer but to Click.
Commit to Help
I commit to help with one of those options 👆
Example Code
python-mmy-cli-app--help
Description
I am interested in creating a CLI application with Typer that supports multiple languages. To do this I want to be able to localize automatically generated default strings in help, error messages, etc.
I am new to Typer (and Python in general) but I think I understand that Click is the one that wraps the internal strings with gettext. However, it is not clear to me how I can change the default messages from Typer.
Could someone give me a simple example of how to do it?
Thanks
Operating System
Linux
Operating System Details
No response
Typer Version
0.7.0
Python Version
3.10.9
Additional Context
No response
The text was updated successfully, but these errors were encountered:
First Check
Commit to Help
Example Code
Description
I am interested in creating a CLI application with Typer that supports multiple languages. To do this I want to be able to localize automatically generated default strings in help, error messages, etc.
I am new to Typer (and Python in general) but I think I understand that Click is the one that wraps the internal strings with gettext. However, it is not clear to me how I can change the default messages from Typer.
Could someone give me a simple example of how to do it?
Thanks
Operating System
Linux
Operating System Details
No response
Typer Version
0.7.0
Python Version
3.10.9
Additional Context
No response
The text was updated successfully, but these errors were encountered: