diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index 5bf710cc03e93..c381247346d5f 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -551,10 +551,11 @@ private function isSubDirectory($sub, $parent) { /** * Get a list of language files that should be loaded + * Note: This method is public because it is used by the nmctheme app. * * @return string[] */ - private function getL10nFilesForApp(string $app, string $lang): array { + public function getL10nFilesForApp(string $app, string $lang): array { $languageFiles = []; $i18nDir = $this->findL10nDir($app);