feat(i18n & ux): auditoria, traduccion completa, correcciones ux y gestion de idioma en perfil
This commit is contained in:
+3
-1
@@ -1,5 +1,7 @@
|
||||
import os
|
||||
|
||||
basedir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
|
||||
class Config:
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY') or 'dev-secret-key-change-in-production'
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://postgres:password@localhost:5432/classrooms_db'
|
||||
@@ -18,4 +20,4 @@ class Config:
|
||||
LANGUAGES = ['en', 'es']
|
||||
BABEL_DEFAULT_LOCALE = 'en'
|
||||
BABEL_DEFAULT_TIMEZONE = 'UTC'
|
||||
BABEL_TRANSLATION_DIRECTORIES = 'translations'
|
||||
BABEL_TRANSLATION_DIRECTORIES = os.path.join(basedir, 'translations')
|
||||
Reference in New Issue
Block a user