Skip to content

Fix app name not translated in the title of public pages#59639

Open
danxuliu wants to merge 1 commit intomasterfrom
fix-app-name-not-translated-in-the-title-of-public-pages
Open

Fix app name not translated in the title of public pages#59639
danxuliu wants to merge 1 commit intomasterfrom
fix-app-name-not-translated-in-the-title-of-public-pages

Conversation

@danxuliu
Copy link
Copy Markdown
Member

@nextcloud/vue automatically adds the localized app name to the page title if a page heading but not an explicit page title is given. The localized app name is expected to be provided in the core->apps initial state, but that was set only when rendering a page as a registered user. In public pages that data was not provided, so the title contained the app ID rather than the localized app name.

How to test

  • Configure your browser to show pages in German
  • Create a link share
  • In a private window, open the link to the public share

Result with this pull request

The title of the page is Öffentliche Dateifreigabe - Dateien - Nextcloud

Result without this pull request

The title of the page is Öffentliche Dateifreigabe - files - Nextcloud

@nextcloud/vue automatically adds the localized app name to the page
title if a page heading but not an explicit page title is given. The
localized app name is expected to be provided in the "core->apps"
initial state, but that was set only when rendering a page as a
registered user. In public pages that data was not provided, so the
title contained the app ID rather than the localized app name.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added this to the Nextcloud 34 milestone Apr 15, 2026
@danxuliu danxuliu added the bug label Apr 15, 2026
@danxuliu
Copy link
Copy Markdown
Member Author

/backport to stable33 please

@danxuliu
Copy link
Copy Markdown
Member Author

/backport to stable32 please

@danxuliu
Copy link
Copy Markdown
Member Author

Although it keeps failing after several restarts Cypress error should be unrelated.

@danxuliu danxuliu added the 3. to review Waiting for reviews label Apr 15, 2026
@danxuliu danxuliu marked this pull request as ready for review April 15, 2026 12:51
@danxuliu danxuliu requested a review from a team as a code owner April 15, 2026 12:51
@danxuliu danxuliu requested review from Altahrim, ArtificialOwl, icewind1991 and nfebe and removed request for a team April 15, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant