# HG changeset patch # User Thomas De Schampheleire # Date 2017-06-17 20:19:11 # Node ID 3b29103657df2ef72dcccf9b7981896ae87046a2 # Parent 89e50be94fcb8ae58e96f1039e056425659810c7 i18n: remove explicit formencode language setting Does not seem to be needed anymore, formencode validation is still translated in the current language without it. diff --git a/kallithea/config/app_cfg.py b/kallithea/config/app_cfg.py --- a/kallithea/config/app_cfg.py +++ b/kallithea/config/app_cfg.py @@ -174,8 +174,6 @@ def setup_configuration(app): repo2db_mapper(ScmModel().repo_scan(repos_path), remove_obsolete=False, install_git_hooks=False) - formencode.api.set_stdtranslation(languages=[config.get('lang')]) - hooks.register('configure_new_app', setup_configuration)