It appears on the login page in English and Spanish, that is, in the field where the user is entered, “Login with username” appears, and the password appears in Spanish. I want both cases to be in Spanish. This is defined as es.js and es.json, but I don’t understand how the user field is displayed in English, version 18 Nextcloud.
I found the problem, it was that the translation was not added in the file /var/www/nextcloud/core/l10n/es.js:
“Login with username” : “User”,
adding that line is enough