Problem: files app does not use l10n file from nextcloud/apps/files/l10n no translation
by choosing any language in settings, the entire interface is translated, except for the āfilesā app
attached screenshot:
occ status
- installed: true
- version: 31.0.3.2
- versionstring: 31.0.3
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
if you specify in config/config.php it also does not react
ādefault_languageā => āruā,
ādefault_localeā => āru_RUā,
ādefault_phone_regionā => āRUā,
Replaced that the translation does not work through https proxy:
where could be the problem?
the proxy is made very simply
server {
listen 80;
listen [::]:80;
server_name cloud.*******.**;
return 302 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
if ($host ~* ^www\.(.*)$) {
return 301 https://cloud.*******.**$request_uri;
}
ssl_certificate /etc/letsencrypt/live/*******.**/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/*******.**/privkey.pem;
ssl_client_certificate /etc/letsencrypt/live/*******.**.crt;
ssl_verify_client on;
server_name cloud.*******.**;
location /.well-known/carddav {
return 301 https://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 https://$host/remote.php/dav;
}
location ^~ /.well-known {
return 301 https://$host/index.php$uri;
}
location ~ ^/apps/files {
rewrite ^/(?!index) /index.php$request_uri;
}
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://192.168.*.**:80;
}
}
the issue was resolved by deleting the line:
# location ~ ^/apps/files {
# rewrite ^/(?!index) /index.php$request_uri;
# }