feat: |Worker| support multi language #584
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement, dependencies
Description
Added multi-language support to the Worker.
Implemented language-specific messages in English and Chinese.
Updated dependencies and version numbers.
Included language context in API requests and responses.
Changes walkthrough 📝
15 files
Add multi-language support in Worker
Add language support to mail API
Add Chinese language messages
Add English language messages
Add language support to admin API
Add language support to send mail API
Add language support to Telegram miniapp
Add language support to user API
Define type for locale messages
Add language context to types
Initialize i18n for frontend
Add language message retrieval logic
Update version constant
Include language header in API requests
Import i18n in main frontend file
5 files
Update dependencies
Update version and dependencies
Update version and dependencies
Update version and dependencies
Update version and dependencies
1 files
Update changelog for version 0.9.0
2 files