Questions tagged [flask-babel]

Flask-Babel is an extension to Flask that adds i18n and l10n support to any Flask application.

Flask-Babel is an extension to Flask that adds i18n and l10n support to any Flask application with the help of babel, pytz and speaklater.

It has builtin support for date formatting with timezone support as well as a very simple and friendly interface to gettext translations.

77 questions
0
votes
2 answers

Flask-Babel -0 pybabel: error: unknown locale 'jp'

I am having issues with Flask-babel. I cant create a translation for Japanese. pybabel: error: unknown locale 'jp' Is this a Flask-Babel issue? That is the same error when a language does not exists. But, german works. So.....babel does nit…
Tampa
  • 75,446
  • 119
  • 278
  • 425
-1
votes
1 answer

Syntax error when trying to render form field in Jinja

I am trying to get the placeholder on my form to be translated with Flask-Babel's _() function. {{ render_field(form.search, placeholder="{{ _('Buscar') }}" }} I get this error: File "/home/john/Scripts/Python/games/templates/index.html", line…
nadermx
  • 2,596
  • 7
  • 31
  • 66
1 2 3 4 5
6