Steps to reproduce
- Inside the server, set the language to a translation, for example, Spanish Argentina
- Find some plural translations. For example the summary of the current folder.
- Just check if the plural works.
Expected behaviour
In summary expect:
6 carpetas y 5 archivos 8,5 GB
Actual behaviour
In summary i see:
6 carpeta y 5 archivo 8,5 GB

😞
Note that the translation is programmed correctly:
|
// Substitute old content with new translations |
|
$dirInfo.html(n('files', '%n folder', '%n folders', this.summary.totalDirs)); |
|
$fileInfo.html(n('files', '%n file', '%n files', this.summary.totalFiles)); |
|
$hiddenInfo.html(' (' + n('files', 'including %n hidden', 'including %n hidden', this.summary.totalHidden) + ')'); |
..and also is translated.
|
"_%n folder_::_%n folders_" : ["%n carpeta","%n carpetas"], |
|
"_%n file_::_%n files_" : ["%n archivo","%n archivos"], |
But use the singular, with the number greater than 1.
Server configuration detail
Operating system: Linux 5.5.10-200.fc31.x86_64 #1 SMP Wed Mar 18 14:21:38 UTC 2020 x86_64
Webserver: Apache/2.4.43 (Fedora) OpenSSL/1.1.1d (fpm-fcgi)
Database: mysql 10.3.22
PHP version:
7.3.16
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, mcrypt, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, apcu, igbinary, imagick, msgpack, pcov, pdlib, smbclient, zip, redis, libsmbclient, Zend OPcache
Nextcloud version: 18.0.2 - 18.0.2.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one:
Are you using encryption:
Are you using an external user-backend, if yes which one:
Client configuration
Browser: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Operating system:
Logs
Web server error log
Insert your web server log here
Nextcloud log
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Steps to reproduce
Expected behaviour
In summary expect:
Actual behaviour
In summary i see:
😞
Note that the translation is programmed correctly:
server/apps/files/js/filesummary.js
Lines 223 to 226 in 2b913de
..and also is translated.
server/apps/files/l10n/es_AR.js
Lines 61 to 62 in df463f9
But use the singular, with the number greater than 1.
Server configuration detail
Operating system: Linux 5.5.10-200.fc31.x86_64 #1 SMP Wed Mar 18 14:21:38 UTC 2020 x86_64
Webserver: Apache/2.4.43 (Fedora) OpenSSL/1.1.1d (fpm-fcgi)
Database: mysql 10.3.22
PHP version:
7.3.16
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, mcrypt, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, apcu, igbinary, imagick, msgpack, pcov, pdlib, smbclient, zip, redis, libsmbclient, Zend OPcache
Nextcloud version: 18.0.2 - 18.0.2.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one:
Are you using encryption:
Are you using an external user-backend, if yes which one:
Client configuration
Browser: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Operating system:
Logs
Web server error log
Nextcloud log
Browser log
Insert your browser log here, this could for example include: