Skip to content

Missing/incorrect locale name in "Publish in Locale" option #14875

@jefferyto

Description

@jefferyto

Describe the Bug

In the reproduction repo, I have configured two languages (en and de) and three locales (en, es, de) with names in each language.

When editing the es locale in the en language, the locale name is missing in the "Publish in Locale" option:

Image

When editing the de locale in the en language, the locale name is the de language name ("Deutsch") not the en language name ("German"):

Image

Link to the code that reproduces this issue

https://github.com/jefferyto/payload-publish-in-locale-missing-locale

Reproduction Steps

  1. Checkout the reproduction repo, npm install, npm run dev
  2. Open https://localhost:3000/admin, create first user
  3. Create a Post, check the "Publish in Locale" option under different language/locale combinations

Which area(s) are affected?

area: ui

Environment Info

Binaries:
  Node: 24.11.1
  npm: 11.6.4
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  payload: 3.68.1
  next: 15.4.8
  @payloadcms/db-sqlite: 3.68.1
  @payloadcms/drizzle: 3.68.1
  @payloadcms/graphql: 3.68.1
  @payloadcms/next/utilities: 3.68.1
  @payloadcms/richtext-lexical: 3.68.1
  @payloadcms/translations: 3.68.1
  @payloadcms/ui/shared: 3.68.1
  react: 19.2.1
  react-dom: 19.2.1
Operating System:
  Platform: linux
  Arch: x64
  Version: #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 UTC 2025
  Available memory (MB): 7224
  Available CPU cores: 4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions