python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
444 stars 159 forks source link

Make list_translations return the correct default locale #62

Closed Flyflo closed 4 years ago

Flyflo commented 10 years ago

The current implementation ignore BABEL_DEFAULT_LOCALE and returns the default_locale passed to Babel.init

ghost commented 9 years ago

Shouldn't you parse default_locale into a Locale object? As far as I know it is currently a string.