move to django mechanisms for javascript translations
prepare settings for LocaleMiddleware