Skip to content

Update zh-cn.json and zh-hant.json#1863

Merged
UnschooledGamer merged 1 commit intoAcode-Foundation:mainfrom
LaunchLee:Patch-CN
Feb 7, 2026
Merged

Update zh-cn.json and zh-hant.json#1863
UnschooledGamer merged 1 commit intoAcode-Foundation:mainfrom
LaunchLee:Patch-CN

Conversation

@LaunchLee
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the translations Anything related to Translations Whether a Issue or PR label Feb 7, 2026
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 7, 2026

Greptile Overview

Greptile Summary

This PR completes the Chinese localization by translating previously untranslated UI strings in both Simplified and Traditional Chinese language files.

Key Changes:

  • src/lang/zh-cn.json: Translated 10 UI strings (lines 493-502) including "recent", "command palette", "change theme", "documentation", "open in terminal", "developer mode", and related strings
  • src/lang/zh-hant.json: Translated 11 UI strings (line 347 + lines 493-502) including "save all changes warning" and the same set of UI strings as the Simplified Chinese version

Translation Quality:

  • All translations appear accurate and contextually appropriate
  • Consistent terminology usage between both Chinese variants
  • JSON structure remains valid with proper formatting maintained

Impact:

  • Improves user experience for Chinese-speaking users by providing a fully localized interface
  • Ensures feature parity between English and Chinese language versions
  • No functional code changes, only translation data updates

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • The changes are limited to translation strings only, with no code modifications. JSON structure is valid and the translations are consistent and appropriate for the context. This is a straightforward localization update with zero risk of introducing bugs or breaking existing functionality.
  • No files require special attention

Important Files Changed

Filename Overview
src/lang/zh-cn.json Translated 10 previously untranslated UI strings from English to Simplified Chinese (lines 493-502)
src/lang/zh-hant.json Translated 11 previously untranslated UI strings from English to Traditional Chinese (line 347, lines 493-502)

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant LangFiles as Translation Files
    participant App as Acode Application
    participant User as Chinese Users
    
    Dev->>LangFiles: Update zh-cn.json (10 strings)
    Dev->>LangFiles: Update zh-hant.json (11 strings)
    Note over LangFiles: Translate UI strings:<br/>- recent<br/>- command palette<br/>- change theme<br/>- documentation<br/>- open in terminal<br/>- developer mode<br/>- copy relative path<br/>etc.
    LangFiles->>App: Load updated translations
    App->>User: Display UI in Chinese
    Note over User: Improved experience with<br/>fully localized interface
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

2 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 7, 2026

Additional Comments (1)

src/lang/zh-hant.json
Untranslated UI string
"save all changes warning" is still English ("Are you sure you want to save all files?") in zh-hant, so users selecting Traditional Chinese will see mixed-language UI. Please translate this value to zh-hant for consistency with the rest of the file.

@LaunchLee LaunchLee marked this pull request as draft February 7, 2026 08:52
@LaunchLee LaunchLee marked this pull request as ready for review February 7, 2026 08:56
@LaunchLee
Copy link
Contributor Author

Additional Comments (1)

Resolved.

@UnschooledGamer
Copy link
Member

@LaunchLee Merging this, I'm hoping everything you have changed is correct, accurate, & as needed.

Thanks For the Pull Request.
UG.

@UnschooledGamer UnschooledGamer merged commit 4158d37 into Acode-Foundation:main Feb 7, 2026
8 checks passed
@UnschooledGamer UnschooledGamer self-assigned this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community translations Anything related to Translations Whether a Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants