protected function loadTranslations($path) { $meta = $this->loadJson($path); foreach ($meta as $one) { $this->cache[$path][$one['code']] = $one; } }