Skip to content

[Bug]: translated readme.md (for the folder) doesn't show when switching language #5953

Closed

Description

@audunmb

⚠️ This issue respects the following points: ⚠️

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

  1. Change language setting to Norwegian
  2. Add a description to a folder (which is saved as lesmeg.md)
  3. Change language setting to English
  4. 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.

Activity

  1. added
    bug
    on Jun 26, 2024
  2. transferred this issue fromnextcloud/serveron Jun 26, 2024
  3. kesselb commented on Jun 26, 2024

    @kesselb
    Contributor

    Moving to the text repository as the related code is here: https://github.com/nextcloud/text/blob/main/lib/Service/WorkspaceService.php

  4. max-nextcloud commented on Jun 26, 2024

    @max-nextcloud
    Contributor

    @audunmb Thanks for your report. You have a point. We'll need to discuss how best to address this.

  5. joshtrichards commented on Aug 2, 2024

    @joshtrichards
    Member

    Related: #5446

  6. XueSheng-GIT commented on Oct 3, 2024

    @XueSheng-GIT

    @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?

  7. max-nextcloud commented on Dec 11, 2024

    @max-nextcloud
    Contributor

    Can you confirm that this issue was fixed in the meantime?

    @XueSheng-GIT I don't think anything has changed. Here's how I understand the problem:

    1. user has a different language set and creates a folder description -> folder description is named according to locale.
    2. user with a different locale visits the folder - folder description does not show.

    The user in 2. may be an entirely different user, or the same user after switching the language setting.

  8. added
    design
    on Dec 11, 2024
  9. max-nextcloud commented on Dec 11, 2024

    @max-nextcloud
    Contributor

    @marcoambrosini I think this is a UX issue - and right now I don't know any way out. Two interests are conflicting here:

    • we want to localize the Readme.md name
    • we want to render the folder description for all users.

    I see different options:

    1. do not localize readme.md name
    2. hide the readme.md by default by calling it .readme.md
    3. try all translated names starting with the users locale, followed by readme.md and then all other possible translations.
    4. Live with the fact that people with different locales will not see the folder description.

    Personally I don't like the name Readme.md nor the tranlation Liesmich.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.

  10. kesselb commented on Dec 11, 2024

    @kesselb
    Contributor
  11. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Dec 11, 2024
  12. marcoambrosini commented on Dec 12, 2024

    @marcoambrosini
    Member

    @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.

  13. 5 remaining items

  14. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity teamon Dec 17, 2024
  15. rlke42 commented on Feb 10, 2025

    @rlke42

    Hey there,
    a small addition could be to also check for the .<localized-Readme>.md File 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

    • check for localized version of Readme.md or .Readme.md
    • check for Readme.md or .Readme.md

    Thanks

  16. removed their assignment
    on Mar 18, 2025
  17. obrb commented on Mar 26, 2025

    @obrb
    • we want to localize the Readme.md name

    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.

  18. slu-010101 commented on Apr 28, 2025

    @slu-010101

    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

  19. daCaPo commented on Apr 15, 2026

    @daCaPo

    Just a few suggestions:

    1. How about naming the Readme-files accoring to the schema README[_LC[_lc]].md with "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).
    2. Prefer the files for display in the order
      1. README_LC_lc.md according to the current user's locale.
      2. README.md, if (i.) is not present
      3. README_whicheverLocaleIsAvailableFirstInAlphabeticalOrder.md if (ii.) is not present
    3. In the web interface, add a checkbox to the richtext editor for optionally hiding the README by naming it .README_... for power-users 😉. (Hiding the file could also prevent unintentional edits by non-tech users.)
    4. Provide an occ-command for migrating READMEs from the old localized names to the new schema.
  20. self-assigned this
    on May 21, 2026
  21. added 2 commits that reference this issue on May 27, 2026
    c3be0c5
    0ed2472
  22. moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Productivity teamon May 27, 2026
  23. moved this from 🏗️ In progress to ☑️ Done in 📝 Productivity teamon May 28, 2026
  24. added a commit that references this issue on May 30, 2026
    0136306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1. to developbugdesignfeature: folder description

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions