diff options
Diffstat (limited to 'lib/public/L10N/IFactory.php')
-rw-r--r-- | lib/public/L10N/IFactory.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php index 9820082c72e..08e4f834168 100644 --- a/lib/public/L10N/IFactory.php +++ b/lib/public/L10N/IFactory.php @@ -54,10 +54,32 @@ interface IFactory { public function findAvailableLanguages($app = null); /** + * @return array an array of available + * @since 13.0.0 + */ + public function findAvailableLocales(); + + /** * @param string|null $app App id or null for core * @param string $lang * @return bool * @since 9.0.0 */ public function languageExists($app, $lang); + + /** + * @param string $locale + * @return bool + * @since 13.0.0 + */ + public function localeExists($locale); + + /** + * Creates a function from the plural string + * + * @param string $string + * @return string Unique function name + * @since 9.0.0 + */ + public function createPluralFunction($string); } |