public function setLocale(PhutilLocale $locale) { $this->locale = $locale; $this->localeCode = $locale->getLocaleCode(); $this->shouldPostProcess = $locale->shouldPostProcessTranslations(); return $this; }