Make lang a property which can be set from config file instead of only from app_cfg.py