fastapi-babel icon indicating copy to clipboard operation
fastapi-babel copied to clipboard

FastAPI babel support pybable tools like translation of text, formatting of dates, times and numbers, and time zones.

Results 10 fastapi-babel issues
Sort by recently updated
recently updated
newest added

With Jinja2 3.1, WithExtension and AutoEscapeExtension are built-in now. If the extensions are still listed in the .cfg file it will throw an error https://stackoverflow.com/questions/72651555/attributeerror-module-jinja2-ext-has-no-attribute-autoescape-while-trying-t

Hi Seems weird to me that these code doesn't allow to use this way to select the locale giving the fact that it is a very popular way Even will...

Since jinja 2.9 This 2 extensions are deleted or included https://jinja.palletsprojects.com/en/3.0.x/extensions/#adding-extensions

`Traceback (most recent call last): File "/opt/pyenv/versions/sem-app/bin/uvicorn", line 8, in sys.exit(main()) File "/opt/pyenv/versions/3.9.4/envs/sem-app/lib/python3.9/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/opt/pyenv/versions/3.9.4/envs/sem-app/lib/python3.9/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File...

Hi! In pybabel you could use _("$(name)s's house", name = "Garito") Whould be nice to have it here Thanks!

Hi, I just want to say thank you for your work. I use fastapi-babel and it has been working fine so far. After the latest update I get this: ```...

Hi @Legopapurida , I have encountered an issue with the Babel class in library while setting up internationalization for my FastAPI-based application. Issue Description: When the default language is set...

Hi! First of all, thank you for this amazing library! I'd like to reopen this issue because I have a similar problem and I wasn't able to solve it. I'm...

Hi, I'm facing some errors related to lazy gettext with FastAPI response_model, It seem like lazytext not be evaluated correctly. ` error_message = _("Some error message") @app.get("/multilingual/template", response_class=JSONResponse) async def...

Analog to the flask-babel locale_selector, these small, but effective changes provide a much higher user-comfort as they are not restricted to only the integrated locale-selection method. For instance, some users...