Repository navigation
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
Readme.md-files are saved as lesmeg.md when I use Nextcloud in Norwegian. Though, when someone uses Nextcloud in English, the lesmeg.md-file is not interpreted as a readme.md-file for that folder, and it is not shown as a description for that folder.
I guess this happens with other languages as well.
Steps to reproduce
- Change language setting to Norwegian
- Add a description to a folder (which is saved as lesmeg.md)
- Change language setting to English
- Open folder and observe that the description isn't showing.
Expected behavior
Expected behaviour is that folder descriptions are shown regardless of which language the user has.
I guess the current behaviour is the result of having an option to have translated folder descriptions, but when the result is that folder descriptions aren't shown at all if a user has a different language than what is used for the default description this is a bug.
As in my case, multilingual users will have no problem reading folder descriptions in Norwegian, despite choosing English as the default language (or vice versa).
Installation method
None
Nextcloud Server version
27
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
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
I'm on a hosted solution by Tab.Digital, so don't have access to all the technical details of the setup. They aren't relevant for this bug.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields☑️ Done
Activity
kesselb commentedon Jun 26, 2024
Moving to the text repository as the related code is here: https://github.com/nextcloud/text/blob/main/lib/Service/WorkspaceService.php
max-nextcloud commentedon Jun 26, 2024
@audunmb Thanks for your report. You have a point. We'll need to discuss how best to address this.
joshtrichards commentedon Aug 2, 2024
Related: #5446
XueSheng-GIT commentedon Oct 3, 2024
@max-nextcloud is there a workaround until this is fixed? For non english and non technically skilled persons it's currently not possible to add folder descriptions.
Update: Just double checked on NC29.0.7 and realized that folder descriptions are now recognized even if those are automatically translated. Can you confirm that this issue was fixed in the meantime?
max-nextcloud commentedon Dec 11, 2024
@XueSheng-GIT I don't think anything has changed. Here's how I understand the problem:
The user in 2. may be an entirely different user, or the same user after switching the language setting.
max-nextcloud commentedon Dec 11, 2024
@marcoambrosini I think this is a UX issue - and right now I don't know any way out. Two interests are conflicting here:
I see different options:
.readme.mdreadme.mdand then all other possible translations.Personally I don't like the name
Readme.mdnor the tranlationLiesmich.md. I know it since 25 years from back when it was on floppy disks 💾 . I also know it from github and the like. But I don't think average users know it - in particular not in the translated form.kesselb commentedon Dec 11, 2024
Some older discussions about it:
marcoambrosini commentedon Dec 12, 2024
@max-nextcloud From a UX perspective, I think it's best to hide the readme.md file. We can also change the name into something you deem more appropriate.
5 remaining items
rlke42 commentedon Feb 10, 2025
Hey there,
a small addition could be to also check for the
.<localized-Readme>.mdFile for cases in which a Team wants localized descriptions whose files are hidden.If that's already your plan, then please ignore the following.
I'd assume a multilingual team (or a charity sharing a folder to the public) is more likely to want to hide multiple of these files in each folder as the casual user.
so maybe
Readme.mdor.Readme.mdReadme.mdor.Readme.mdThanks
obrb commentedon Mar 26, 2025
Sorry, but I don't think that's a good reason. Why does everything have to be localised at all costs? I mean, anyone who has spent more than 5 minutes on the internet knows what a Readme is, even if they are not native English speakers.
If the goal is to be able to provide multiple files in different languages then of course localisation makes sense, but then the files would have to be hidden, otherwise you end up with folders containing more Readme.md, Anleitung.md etc files than actual files you want to work with 😉
Also, in order to use multiple languages in a meaningful way, there would need to be a way to provide a default or fallback file that would be used if there is no matching localised file, and all this would probably lead to requests for configuration options, and eventually a user interface to manage it.
So it would definitely not be the nice and simple self-explanatory "just works" feature anymore. Actually, imho, because of localisation, it's already not quite that anymore.
slu-010101 commentedon Apr 28, 2025
Same here with DE, the file was added as "Anleitung.md" which works only with DE Users.
As soon the language is set to US I can't see the folder description.
Workaround: New text file "Readme.md", this works always as far I can see.
Nextcloud 31.0.4
daCaPo commentedon Apr 15, 2026
Just a few suggestions:
README[_LC[_lc]].mdwith "LC" and "_lc" being the respective language code? This would allow for localization and at the same time at least keep the (potentially) several READMEs as siblings in the directory view - easy enough to graps for non-english, non-tech persons (and thus adressing @obrb 's comment).README_LC_lc.mdaccording to the current user's locale.README.md, if (i.) is not presentREADME_whicheverLocaleIsAvailableFirstInAlphabeticalOrder.mdif (ii.) is not present.README_...for power-users 😉. (Hiding the file could also prevent unintentional edits by non-tech users.)occ-command for migrating READMEs from the old localized names to the new schema.fix(folderDescription): always use 'Readme.md' as filename
fix(folderDescription): always use 'Readme.md' as filename
fix(folderDescription): always use 'Readme.md' as filename