adding $locale variable to override lazy I18n config