Commit 0d8ed792 authored by Serge S. Koval's avatar Serge S. Koval

Use Flask-BabelEx extension

parent 6a5f0c14
This example show how to translate Flask-Admin into different language using customized version of the `Flask-Babel <https://github.com/mrjoes/flask-babel>`
\ No newline at end of file
This example show how to translate Flask-Admin into different language using customized version of the `Flask-Babel <https://github.com/mrjoes/flask-babelex>`
\ No newline at end of file
......@@ -2,7 +2,7 @@ from flask import Flask, request, session
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext import admin
from flask.ext.babel import Babel
from flask.ext.babelex import Babel
from flask.ext.admin.contrib import sqlamodel
......
try:
from .helpers import get_current_view
from flask.ext.babel import Domain
from flask.ext.babelex import Domain
from flask.ext.admin import translations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment