public function getTranslation($locale) {
        if (!isset($this->translations[$locale])) {
            $this->translations[$locale] = $this->getFileTranslations($locale, $this->translatePath);
        }
        return $this->translations[$locale];
    }