[PR #3117] [CLOSED] add chinese translation support #3660

Closed
opened 2026-02-26 08:31:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3117
Author: @jerry-yuan
Created: 8/12/2023
Status: Closed

Base: developHead: i18n_zh_CN


📝 Commits (3)

  • 2e20769 translate all labels into chinese by ChatGPT
  • b78161e change some chinese translations
  • 3a08158 rollback english translations

📊 Changes

3 files changed (+295 additions, -2 deletions)

View changed files

📝 frontend/js/app/cache.js (+1 -1)
📝 frontend/js/app/i18n.js (+1 -1)
📝 frontend/js/i18n/messages.json (+293 -0)

📄 Description

I found NPM already has a simple i18n support and there has only English support.

I have made following changes:

  1. change default language from 'en' into fetch dynamicly from navigator.languages' first language
  2. add a zh-CN translate

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3117 **Author:** [@jerry-yuan](https://github.com/jerry-yuan) **Created:** 8/12/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `i18n_zh_CN` --- ### 📝 Commits (3) - [`2e20769`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/2e20769ca0f4843d9fe4c663fef829345b3b89da) translate all labels into chinese by ChatGPT - [`b78161e`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/b78161ee8e2dd4816f41d63ef3429fac2ef85107) change some chinese translations - [`3a08158`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/3a08158ebc71d8fe49e09d46352b7b75c6fb4e26) rollback english translations ### 📊 Changes **3 files changed** (+295 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/js/app/cache.js` (+1 -1) 📝 `frontend/js/app/i18n.js` (+1 -1) 📝 `frontend/js/i18n/messages.json` (+293 -0) </details> ### 📄 Description I found NPM already has a simple i18n support and there has only English support. I have made following changes: 1. change default language from 'en' into fetch dynamicly from `navigator.languages`' first language 2. add a `zh-CN` translate --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 08:31:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3660
No description provided.