Skip to content

docs(i18n): add Chinese (zh-CN) locale example#7438

Merged
BatuhanW merged 2 commits into
refinedev:mainfrom
SpencerJung:fix/7421-chinese-locale
Jun 3, 2026
Merged

docs(i18n): add Chinese (zh-CN) locale example#7438
BatuhanW merged 2 commits into
refinedev:mainfrom
SpencerJung:fix/7421-chinese-locale

Conversation

@SpencerJung

Copy link
Copy Markdown

docs(i18n): add Chinese (zh-CN) locale example

Description

This PR adds a complete Chinese (zh-CN) translation file for admin UI components and updates the i18n guide to include a Chinese tab.

Changes

  • Created documentation/docs/partials/_partial-translation-file-zh.md with full Chinese translations for all admin UI component keys
  • Updated documentation/docs/guides-concepts/i18n/index.md to include a Chinese (zh) tab in the translation file examples

Translation Coverage

The new Chinese translation file covers:

  • Auth pages (login, register, forgotPassword, updatePassword)
  • Error pages
  • Action buttons (create, edit, delete, etc.)
  • Notifications
  • Dashboard and posts examples
  • Document titles
  • Auto-save states

Related Issue

Closes #7421

Adds a complete Chinese translation file for admin UI components
and updates the i18n guide to include a Chinese tab.

Closes refinedev#7421
@changeset-bot

changeset-bot Bot commented May 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 975e3f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR


import I18nHeadless from './i18n-headless.tsx';
import TranslationFileEN from '../../partials/\_partial-translation-file-en.md';
import TranslationFileDE from '../../partials/\_partial-translation-file-de.md';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this?

Comment thread documentation/docs/guides-concepts/i18n/index.md
@BatuhanW
BatuhanW enabled auto-merge (squash) June 3, 2026 15:43
@BatuhanW
BatuhanW merged commit f717416 into refinedev:main Jun 3, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: improve Chinese (zh-CN) locale coverage for admin UI components

2 participants