[Bug]: folder description not showing up depending on browser language
⚠️ This issue respects the following points: ⚠️
- [x] This is a bug, not a question or a configuration/webserver/proxy issue.
- [x] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [x] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct.
Bug description
If you setup a folder description with the browser set to "German" the folder description file will be named "Anleitung.md" (not Readme.md). If you view that folder with a browser set to English Nextcloud will not use that file "Anleitung.md" for the folder description.
Steps to reproduce
- Setup a folder description with your browser set to German (I used Firefox). This should make a new file named "Anleitung.md"
- Share that folder via external link
- Open a different browser with language set to English (I tried Chromium and Firefox for Android)
- Open the external link in that browser
- Folder description will not show up at the top
If you go the other way around it works, though (first use a browser set to English and generate a Readme.md. Then share the folder and view it in a browser set to German).
Expected behavior
The folder description should show up no matter the browser language.
Nextcloud Server version
31
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- [ ] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
I think it is a feature (and not a bug) to support multilinguality:
- Readme.md is used for EN and as a fall back for other languages
- Anleitung.md is specific for users with DE settings only
Well, one could argue, if there is no Readme.md, then any other folder plate text should be shown (but which one, if several other translations exist?).
I get your point. The behavior might be intended. But in practice doesn't work well, at least in some cases.
There are many people that live in Germany and speak German but have a phone or laptop set to English (or another language). If they access a Nextcloud with German folder descriptions, they easily miss important information.
A solution could be: If someone creates a new folder description, ask them if they want to create it for their browser language or for everybody (English). Or at least show a warning.
Hi, please continue your discussion in https://github.com/nextcloud/text/issues/5953.