Skip to content

Add Chinese Translation Support#323

Open
wolfbolin wants to merge 1 commit into
LogicLabs-OU:mainfrom
wolfbolin:main
Open

Add Chinese Translation Support#323
wolfbolin wants to merge 1 commit into
LogicLabs-OU:mainfrom
wolfbolin:main

Conversation

@wolfbolin
Copy link
Copy Markdown

This PR adds complete Chinese language support to Open Archiver, including:

  1. New Translation File: Created packages/frontend/src/lib/translations/zh.json with full Chinese translations for all interface elements

  2. Translation Configuration: Updated packages/frontend/src/lib/translations/index.ts to import and register the Chinese language

  3. Type Definition: Added 'zh' to the SupportedLanguage type in packages/types/src/system.types.ts

  4. UI Integration: Added Chinese language option to the system settings page in packages/frontend/src/routes/dashboard/settings/system/+page.svelte

The translation follows the existing structure and terminology used in other language files, ensuring consistency across all supported languages. Users can now select Chinese from the language dropdown in system settings to use the application in Chinese.

This change enhances the accessibility of Open Archiver for Chinese-speaking users, aligning with the project's goal of providing a globally accessible email archiving solution.

- Create zh.json translation file with complete Chinese translations
- Update index.ts to import and configure Chinese language
- Add 'zh' to SupportedLanguage type definition
- Add Chinese language option to system settings page

Signed-off-by: WolfBolin <wolfbolin@foxmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 5, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@wolfbolin
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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.

1 participant