/** * Sets a translation for the provided locale * @param string $localeCode Code of the locale * @param string $key Key of the translation * @param string $translation * @return null */ public function setTranslation($localeCode, $key, $translation) { $this->io->setTranslation($localeCode, $key, $translation); $this->cache->set(self::CACHE_TYPE, $localeCode, null); }
/** * Sets a translation for the provided locale * @param string $localeCode Code of the locale * @param string $key Key of the translation * @param string $translation * @return null */ public function setTranslation($localeCode, $key, $translation) { $this->io->setTranslation($localeCode, $key, $translation); }