diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index a4ecadaf253f6..9e9076146d3ba 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -552,10 +552,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);