equal
deleted
inserted
replaced
10 from flask.ext.babel import gettext as _ |
10 from flask.ext.babel import gettext as _ |
11 from flask.ext.babel import Babel |
11 from flask.ext.babel import Babel |
12 |
12 |
13 from config import LANGUAGES |
13 from config import LANGUAGES |
14 |
14 |
15 LANGUAGE_SELECTED = None |
15 LANGUAGE_SELECTED = "de" |
|
16 #ToDo after engelish is implemented set LANGUAGE_SELECTED = None |
16 |
17 |
17 app = Flask(__name__) |
18 app = Flask(__name__) |
18 babel = Babel(app) |
19 babel = Babel(app) |
19 |
20 |
20 @babel.localeselector |
21 @babel.localeselector |