nextcloud / nextcloud/server

[Bug]: If I don't set the directive: 'force_lingual' => 'it', the links are always written in English

Open
#55,368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

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

when I send the link url of a folder or a file nextcloud does not take into account the language set by the user or the default language set in config.php simply continues to indicate in English the writing: "- a safe home for all your data " while if I use the option 'force_language' => 'it', it is then correctly set in Italian I attach the 2 screenshots to make you understand

Steps to reproduce
  1. Get a link to a file or folder

  2. Send the URL via Telegram, WhatsApp, or similar

  3. You'll notice that the text is always in English, regardless of the user's language.

Expected behavior

I expect that the links will be in the language set by the user or in the default language.
without me forcing the language by excluding the users' choice

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

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

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

No file or test is named in the report. Start by reproducing a shared file or folder link with a user language and default language configured, then compare the generated preview text with and without force_language. Done means the preview follows the user or default language without forcing that setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.