Made i18n compatible with latest version of SQLAlchemy-i18n