diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-07-05 17:37:12 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-06-27 13:17:26 +0200 |
commit | ea380b2918b298259f7f45a3e4671f50d89e6c13 (patch) | |
tree | 68273792b8a1047f32ea1f0f69f8d56cd5264856 /lib/public | |
parent | d8921ccd85f3414c1f3e13b23b6da735bf9b69b8 (diff) | |
download | nextcloud-server-ea380b2918b298259f7f45a3e4671f50d89e6c13.tar.gz nextcloud-server-ea380b2918b298259f7f45a3e4671f50d89e6c13.zip |
Allow apps to specify locale for localisation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IL10N.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php index 2e55c151f62..43d19059d9c 100644 --- a/lib/public/IL10N.php +++ b/lib/public/IL10N.php @@ -8,6 +8,7 @@ declare(strict_types=1); * @author Joas Schilling <coding@schilljs.com> * @author Morris Jobke <hey@morrisjobke.de> * @author Roeland Jago Douma <roeland@famdouma.nl> + * @author Thomas Citharel <tcit@tcit.fr> * * @license AGPL-3.0 * @@ -107,4 +108,12 @@ interface IL10N { * @since 7.0.0 */ public function getLanguageCode(): string ; + + /** + * * The code (en_US, fr_CA, ...) of the locale that is used for this IL10N object + * + * @return string locale + * @since 13.0.0 + */ + public function getLocaleCode(); } |