Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Language(Chinese) #137

Closed
wants to merge 6 commits into from
Closed

Add Language(Chinese) #137

wants to merge 6 commits into from

Conversation

Buffett111
Copy link
Contributor

Users can select their preference language from the two language now

current support web
Chatroom
Navbar
dashboard
login
template
now support English and Chinese
},
zh: {
welcome: '歡迎來到Hinagiku!',
profile: '個人资料',
Copy link
Contributor

Choose a reason for hiding this comment

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

個人資料

login: 'Login'
},
zh: {
welcome: '歡迎來到Hinagiku!',
Copy link
Contributor

Choose a reason for hiding this comment

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

歡迎來到 Hinagiku!

openChatHistory: '打開聊天記錄',
openGroupChatHistory: '打開小組聊天記錄',
warningInappropriate: '警告:檢測到不適當內容。',
warningOffTopic: '警告:許多離題消息。'
Copy link
Contributor

Choose a reason for hiding this comment

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

警告:許多離題訊息。

{ id: 'ended', name: 'Ended Stage', color: 'bg-gray-500' }
{ id: 'preparing', name: '準備階段', color: 'bg-yellow-500' },
{ id: 'individual', name: '個人階段', color: 'bg-blue-500' },
{ id: 'before-group', name: '團體套論前階段', color: 'bg-purple-500' },
Copy link
Contributor

Choose a reason for hiding this comment

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

團體討論前階段

cancel: 'Cancel'
},
zh: {
confirmEndStage: '進入 Ended Stage 將無法返回,確定要繼續嗎?',
Copy link
Contributor

Choose a reason for hiding this comment

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

進入總結階段將無法返回,確定要繼續嗎?

},
zh: {
welcome: '歡迎來到Hinagiku!',
profile: '個人资料',
Copy link
Contributor

Choose a reason for hiding this comment

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

個人資料

},
zh: {
dashboardTitle: '參與者狀態儀表板',
loadingGroups: '加載小組...',
Copy link
Contributor

Choose a reason for hiding this comment

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

載入小組...

Copy link
Member

@JacobLinCool JacobLinCool left a comment

Choose a reason for hiding this comment

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

I don't know if it's a good idea to avoid using an i18n library for this task. In the long run, using an i18n library may be preferred.

@Buffett111
Copy link
Contributor Author

added some new features, making new PR, the comments above are all fixed in the new one

@Buffett111 Buffett111 closed this Feb 13, 2025
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.

3 participants