Skip to content

fix(plugin-import-export): revise zhTw translations #12685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

SonnyYou
Copy link
Contributor

@SonnyYou SonnyYou commented Jun 5, 2025

What?

Updated the zh-TW localisation for @payloadcms/plugin-import-export to improve wording and consistency:

Key Old Value New Value
exportOptions 出口選項 匯出選項
field-fields-label 田野 欄位
field-format-label 出口格式 匯出格式
field-limit-label 限制 筆數限制
field-locale-label 地區設定 語言/地區
field-selectionToUse-label 使用選擇 選擇範圍
field-sort-label 按照排序 排序方式
selectionToUse-currentFilters 使用當前過濾器 使用目前過濾條件
selectionToUse-currentSelection 使用當前選擇 使用目前選擇
totalDocumentsCount {{count}} 總文件數 共 {{count}} 筆文件

Changes located in
packages/plugin-import-export/src/translations/languages/zhTw.ts.

Why?

  • Aligns wording with common CMS terminology in Taiwan.
  • Improves readability for end-users.

How?

  1. Set your browser locale to zh-TW.
  2. Reload the Payload Admin UI.
  3. Open any Collection → Export dialog and verify that all labels match the “New Value” column above.
  • Before:
    image
  • After:
    image

@DanRibbens DanRibbens merged commit afbdf3d into payloadcms:main Jun 9, 2025
82 checks passed
Copy link
Contributor

github-actions bot commented Jun 9, 2025

🚀 This is included in version v3.42.0

elliott-w pushed a commit to elliott-w/payload that referenced this pull request Jun 12, 2025
<!--
PR / squash-commit title
fix(plugin-import-export): revise zhTw translations
-->

### What?
Updated the zh-TW localisation for
**`@payloadcms/plugin-import-export`** to improve wording and
consistency:

| Key | Old Value | New Value |
| --- | --------- | --------- |
| `exportOptions` | 出口選項 | **匯出選項** |
| `field-fields-label` | 田野 | **欄位** |
| `field-format-label` | 出口格式 | **匯出格式** |
| `field-limit-label` | 限制 | **筆數限制** |
| `field-locale-label` | 地區設定 | **語言/地區** |
| `field-selectionToUse-label` | 使用選擇 | **選擇範圍** |
| `field-sort-label` | 按照排序 | **排序方式** |
| `selectionToUse-currentFilters` | 使用當前過濾器 | **使用目前過濾條件** |
| `selectionToUse-currentSelection` | 使用當前選擇 | **使用目前選擇** |
| `totalDocumentsCount` | {{count}} 總文件數 | **共 {{count}} 筆文件** |

Changes located in  
`packages/plugin-import-export/src/translations/languages/zhTw.ts`.

### Why?
* Aligns wording with common CMS terminology in Taiwan.  
* Improves readability for end-users.

### How?
1. Set your **browser locale** to **`zh-TW`**.  
2. Reload the Payload Admin UI.  
3. Open any Collection → **Export** dialog and verify that all labels
match the **“New Value”** column above.

* Before:

![image](https://github.com/user-attachments/assets/5e3ac116-e3df-438e-b5f5-f89a6c29ad67)
* After:

![image](https://github.com/user-attachments/assets/176dea2d-d36a-4e7c-8470-824eae18a6f3)
@SonnyYou SonnyYou deleted the fix/plugin-import-export-zh-tw-translations branch June 16, 2025 10:24
@SonnyYou SonnyYou restored the fix/plugin-import-export-zh-tw-translations branch June 16, 2025 10:24
@SonnyYou SonnyYou deleted the fix/plugin-import-export-zh-tw-translations branch June 16, 2025 10:26
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.

2 participants