From b9684ee0d3514429e6668cbffa924e68abfff4f0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 11 Mar 2019 15:14:57 +0100 Subject: [PATCH] Fix plural rule detection for languages Signed-off-by: Joas Schilling --- core/js/l10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/l10n.js b/core/js/l10n.js index 6027d42dca..426fc706a5 100644 --- a/core/js/l10n.js +++ b/core/js/l10n.js @@ -167,7 +167,7 @@ OC.L10N = { * @private */ _getPlural: function(number) { - var locale = OC.getLocale(); + var locale = OC.getLanguage(); if ('pt_BR' === locale) { // temporary set a locale for brazilian locale = 'xbr';