summaryrefslogtreecommitdiffstats
path: root/lib/public/L10N
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-06-26 17:25:37 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-29 09:11:04 +0200
commit25d9c3e52921b107383e5d05f3649178bd7cd1cf (patch)
tree837fb580784174aa14a1d412056b1e9bf4f61772 /lib/public/L10N
parent4ed8ee1c1e8ada0e5d26f6e014896accc89d4d6a (diff)
downloadnextcloud-server-25d9c3e52921b107383e5d05f3649178bd7cd1cf.tar.gz
nextcloud-server-25d9c3e52921b107383e5d05f3649178bd7cd1cf.zip
adjust backend and gui to update and changelog server
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/L10N')
-rw-r--r--lib/public/L10N/IFactory.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php
index 263ebe81d05..9c006073200 100644
--- a/lib/public/L10N/IFactory.php
+++ b/lib/public/L10N/IFactory.php
@@ -89,4 +89,14 @@ interface IFactory {
* @since 14.0.0
*/
public function createPluralFunction($string);
+
+ /**
+ * iterate through language settings (if provided) in this order:
+ * 1. returns the forced language or:
+ * 2. returns the user language or:
+ * 3. returns the system default language or:
+ * 4+∞. returns 'en'
+ * @since 14.0.0
+ */
+ public function iterateLanguage(bool $reset = false): string;
}