def set_locale(self, locale):
        self.locale = locale
        self.translations = self.store.get_translations(locale)
Sets the locale code for this request.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/i18n.py/I18n.set_locale