TurboGears / tgext.pluggable

Pluggable applications support for TurboGears2
11 stars 13 forks source link

Add possibility to disable translations of pluggables #20

Closed barjomet closed 7 years ago

barjomet commented 7 years ago

It would be nice to have a way to disable i18n for extensions. It's hooks take 85% of controller time on simple page serving with four pluggables (python2 environment).

Though not sure this is the best way, it makes configuration process inconsistent — thus we need to set base_config['i18n.enabled'] in app_cfg.py, maybe it's better to pass it with kwargs options of plug() call.