[Bug]: Files app: creating a new folder description creates a localized readme.md
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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.
Steps to reproduce
- set your nextcloud language to french (in my case)
- open the Files app and navigate to a folder with no readme.md
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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