moved locale from contest/model.py to config.py