diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index d824fa461e..8c8735836b 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -301,7 +301,7 @@ class Factory implements IFactory { 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