nextcloud / nextcloud/text

[Bug]: Files app: creating a new folder description creates a localized readme.md

Open
#6,462 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: folder description
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Hello, i found a harmless bug while using my Nextcloud and wanted to help by pointing it out. below are the details:

In the Files App: Creating a folder description file (normally a readme.md) using the user interface, instead creates one in the language of the user interface, in my case : [lisez moi.md] . Nextcloud doesn't recognize it, i simply renamed it to readme.md and the description box appeared :)

Below i am attaching a screen capture of the Files app successfully creating a [Lisez moi.md] despite the correct recognized file name being [readme.md] and the user interface not showing the folder description box.
Screenshot_20240927_161343

Steps to reproduce
  1. set your nextcloud language to french (in my case)
  2. open the Files app and navigate to a folder with no readme.md
  3. select "create a folder description"
Expected behavior
  • Selecting "add folder description" in the user interfaces generates a [readme.md] file, no matter the language of the user interface. i think.
Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

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

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

browser : Firefox-esr-fr
Nextcloud : Hub 8 (29.0.7)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Files app flow for “create a folder description” and trace how the description filename is selected when the interface is French. Reproduce the issue with a folder lacking readme.md, then verify that the action creates readme.md regardless of interface language and that the folder description appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.