Results 65 comments of Garito

Thanks @Legopapurida If this was a santa letter I will ask for a way to use cookies or header at the same time to allow using it as and API...

I'm already doing this: ```python lang_code: str | None = request.cookies.get('locale', None) or request.headers.get("Accept-Language", None) ```

Sure I have a list of rectangles that highlight pieces of the image I would like to allow the user to click on one of the highlights that will result...

Thanks If you think that you could do it without modifying the library, perhaps you could explain your idea and avoid the trouble of making the code run

In my mind, fastapi-babel should mimick pybabel as much as possible, otherwise should not be called fastapi-babel

python gettext doesn't allow placeholders and, with fastapi-babel, one expects the pybabel api integrated as well as possible with fastapi, no?

If this works well with po editors and allows the normal string formatting, would be good for my part

The new version raises this error: ```ImportError: cannot import name '_context_var' from 'fastapi_babel.core' (/usr/local/lib/python3.12/site-packages/fastapi_babel/core.py)``` Should I open a new issue?