feat: 添加葡萄牙语支持 Add Portuguese (Brazil) language support#526
Open
ozp wants to merge 1 commit intocodexu:devfrom
Open
feat: 添加葡萄牙语支持 Add Portuguese (Brazil) language support#526ozp wants to merge 1 commit intocodexu:devfrom
ozp wants to merge 1 commit intocodexu:devfrom
Conversation
- Add "Português" option to chat language selector - Add 'pt' to supported locales in i18n configuration - Create messages/pt.json with Portuguese translations - Enable Portuguese language selection in chat interface
Owner
|
我对葡萄牙语不了解,好像 pt.json 中全都是英语,并未翻译。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🎯 目标
为NoteGen应用程序添加葡萄牙语(pt)语言支持。
✅ 更改内容
messages/pt.json)🧪 测试
📁 修改的文件
messages/pt.json(包含完整葡萄牙语翻译的新文件)middleware.ts(在支持的语言中添加'pt')chat-language.tsx(添加葡萄牙语选项)page.tsx(更新LanguageType接口)准备好接受审查!🚀