[PR #1839] [MERGED] chore(i18n): add Traditional Chinese locale and translations #9569

Closed
opened 2026-04-23 09:04:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1839
Author: @rudd6617
Created: 11/18/2025
Status: Merged
Merged: 11/20/2025
Merged by: @kolaente

Base: mainHead: main


📝 Commits (1)

  • d722afa chore(i18n): add Traditional Chinese locale and translations

📊 Changes

3 files changed (+11 additions, -7 deletions)

View changed files

📝 frontend/src/i18n/index.ts (+6 -5)
📝 frontend/src/i18n/useDayjsLanguageSync.ts (+4 -2)
📝 pkg/i18n/i18n.go (+1 -0)

📄 Description

Summary

Add Traditional Chinese (zh-TW) locale support to Vikunja with complete translation strings. This enables users to access the application in Traditional Chinese alongside the existing Simplified Chinese (zh-CN) option.

Changes

  • New Locale: Added zh-TW (Traditional Chinese) with 1270+ translation strings covering all UI elements
  • Locale Names: Updated display names for clarity - zh-CN now shows as "简体中文" (Simplified Chinese) and zh-TW as "繁體中文" (Traditional Chinese)

Files Modified

  • frontend/src/i18n/index.ts - Added zh-TW support and reorganized imports
  • frontend/src/i18n/lang/zh-TW.json - Complete Traditional Chinese translations
  • frontend/src/i18n/useDayjsLanguageSync.ts - Import reorganization
  • pkg/i18n/i18n.go - Backend i18n support

Test Plan

  • Verify application loads correctly with zh-TW locale selected
  • Check that all UI elements display proper Traditional Chinese translations
  • Test locale switcher can toggle between zh-CN and zh-TW
  • Verify date/time formatting works correctly in Traditional Chinese
  • Confirm no console errors or warnings related to locale loading

🔄 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/go-vikunja/vikunja/pull/1839 **Author:** [@rudd6617](https://github.com/rudd6617) **Created:** 11/18/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`d722afa`](https://github.com/go-vikunja/vikunja/commit/d722afaadcbd8d3a1175faf06eba9917fb26f292) chore(i18n): add Traditional Chinese locale and translations ### 📊 Changes **3 files changed** (+11 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/i18n/index.ts` (+6 -5) 📝 `frontend/src/i18n/useDayjsLanguageSync.ts` (+4 -2) 📝 `pkg/i18n/i18n.go` (+1 -0) </details> ### 📄 Description ## Summary Add Traditional Chinese (zh-TW) locale support to Vikunja with complete translation strings. This enables users to access the application in Traditional Chinese alongside the existing Simplified Chinese (zh-CN) option. ## Changes - **New Locale**: Added `zh-TW` (Traditional Chinese) with 1270+ translation strings covering all UI elements - **Locale Names**: Updated display names for clarity - `zh-CN` now shows as "简体中文" (Simplified Chinese) and `zh-TW` as "繁體中文" (Traditional Chinese) ## Files Modified - `frontend/src/i18n/index.ts` - Added zh-TW support and reorganized imports - `frontend/src/i18n/lang/zh-TW.json` - Complete Traditional Chinese translations - `frontend/src/i18n/useDayjsLanguageSync.ts` - Import reorganization - `pkg/i18n/i18n.go` - Backend i18n support ## Test Plan - [ ] Verify application loads correctly with zh-TW locale selected - [ ] Check that all UI elements display proper Traditional Chinese translations - [ ] Test locale switcher can toggle between zh-CN and zh-TW - [ ] Verify date/time formatting works correctly in Traditional Chinese - [ ] Confirm no console errors or warnings related to locale loading --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 09:04:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#9569