Skip to content

feat(i18n): add Simplified Chinese (zh-Hans) localization#14

Merged
Gradleless merged 6 commits intoGradleless:mainfrom
DejavuMoe:main
Dec 4, 2025
Merged

feat(i18n): add Simplified Chinese (zh-Hans) localization#14
Gradleless merged 6 commits intoGradleless:mainfrom
DejavuMoe:main

Conversation

@DejavuMoe
Copy link
Copy Markdown
Contributor

Add zh-Hans i18n support.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Simplified Chinese (zh-Hans) localization to Nah.pet, providing a complete translation of all 411 messages in the application. The translation covers all user-facing text including dashboard, authentication, administration, analytics, domain management, and API response messages.

Key Changes:

  • Complete Simplified Chinese translation file with all 411 message keys
  • Translations for all major features: URL shortening, analytics, custom domains, admin panel, and API responses
  • Proper use of Chinese punctuation and formatting conventions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread messages/zh.json Outdated
Comment thread messages/zh.json Outdated
Comment thread messages/zh.json Outdated
Comment thread messages/zh.json Outdated
Comment thread messages/zh.json Outdated
Gradleless and others added 3 commits December 3, 2025 18:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Owner

@Gradleless Gradleless left a comment

Choose a reason for hiding this comment

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

Could you add the locale in the settings.json of ParaglideJS
(see: https://github.com/anhostfr/nah.pet/blob/main/project.inlang/settings.json)?

I also created a new translation key for prohibited registration issue (auth.registration_disabled). Could you add the corresponding translation, please?

@DejavuMoe
Copy link
Copy Markdown
Contributor Author

Could you add the locale in the settings.json of ParaglideJS (see: https://github.com/anhostfr/nah.pet/blob/main/project.inlang/settings.json)?

I also created a new translation key for prohibited registration issue (auth.registration_disabled). Could you add the corresponding translation, please?

Ok, I just finished it.

Repository owner deleted a comment from netlify Bot Dec 4, 2025
@Gradleless
Copy link
Copy Markdown
Owner

That's fine, thank you!

@Gradleless Gradleless merged commit f49ccda into Gradleless:main Dec 4, 2025
4 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.

3 participants