diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index d824fa461e77c..8c8735836bb3f 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -301,7 +301,7 @@ public function findAvailableLocales() { return $this->availableLocales; } - $localeData = file_get_contents(__DIR__ . '/locales.json'); + $localeData = file_get_contents(\OC::$SERVERROOT . '/resources/locales.json'); $this->availableLocales = \json_decode($localeData, true); return $this->availableLocales; diff --git a/lib/private/L10N/locales.json b/resources/locales.json similarity index 100% rename from lib/private/L10N/locales.json rename to resources/locales.json