I am building and international website using *Flask* framework that can handle two languages (for now): English and French, using *Flask-Babel* and I have data stored in SQL database using *SQLAlchemy* as a toolkit.

Currently, my models have several duplicated attributes for each language:

```
from project import db

class Model(db.Model)

    [...]
    name_en = db.Column(db.String)
    name_fr = db.Column(db.String)
    description_en = db.Column(db.String)
    description_fr = db.Column(db.String)

```

And in my .html template I am displaying the value using things like:

```
{% if g.locale == 'fr' %}
  {{ model.name_fr }}
{% else %}
  {{ model.name_en }}
{% endif %}

```

Is there a better way managing this? If I want to add a new language it will be tedious to modify all the templates.
Ideally I would like to put in my template something like:

```
{{ model.name[g.locale] }}

```

Is it achievable?