server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: folder description not showing up depending on browser language

Open joe-123 opened this issue 1 year ago • 3 comments

⚠️ This issue respects the following points: ⚠️

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

  1. Setup a folder description with your browser set to German (I used Firefox). This should make a new file named "Anleitung.md"
  2. Share that folder via external link
  3. Open a different browser with language set to English (I tried Chromium and Firefox for Android)
  4. Open the external link in that browser
  5. 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

joe-123 avatar Sep 16 '25 09:09 joe-123

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?).

rasos avatar Sep 17 '25 13:09 rasos

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.

joe-123 avatar Sep 17 '25 13:09 joe-123

Hi, please continue your discussion in https://github.com/nextcloud/text/issues/5953.

kesselb avatar Sep 17 '25 15:09 kesselb