Brian Kohan

Results 71 comments of Brian Kohan

Hi Jacob. I am looking into this as time permits. I will let you know what I find.

I've had this same issue in [sphinxcontrib/typer](https://github.com/sphinx-contrib/typer). The only way to fix it is the method you suggest, where you load it from a string import path. I use this...

One wrinkle here is that typer adds some of the help text for (i.e. --help) - that may eventually be wrapped in gettext and if it is - how do...

Does django have translations for the common options?

We will not translate error messages presented on the terminal per Django's practice. I do think translating the default CLI helps is important because the CLI interface may be used...

It would only be a development dependency, it wouldn't register on pypi at all. Translations would be produced at package time. Django's stance toward translation so far as I can...

Yeah, I wrestled with it too. I'm leaning towards yes for a few reasons: 1. It's pretty easy to use a different settings module when using the CLI, so even...

Also further clarification. I'm not talking about building translation infrastructure for commands that use django-typer, only including a .po file that contains google translate generated translations for the help strings...

@oliverandrich sanity check, does this make any sense? original english:

The remaining task here is to figure out how to get stdlib gettext translations in upstream Typer to work with the django translation system 🤔