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

feat: i18n solution for prompts messages #348

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

luventa
Copy link
Contributor

@luventa luventa commented Sep 25, 2023

Straightforward i18n solution for prompts messages

@luventa
Copy link
Contributor Author

luventa commented Sep 25, 2023

ci test is blocked because of this:
1695653758469

Copy link
Member

@sodatea sodatea left a comment

Choose a reason for hiding this comment

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

Thanks! I've been thinking about this feature for a while.
However, I don't think it should be an additional option. Many people don't wanna bother selecting one at all.

Please make it implicit by reading the user's language setting from the environment variables.

@luventa
Copy link
Contributor Author

luventa commented Sep 27, 2023

Thanks! I've been thinking about this feature for a while. However, I don't think it should be an additional option. Many people don't wanna bother selecting one at all.

Please make it implicit by reading the user's language setting from the environment variables.

No problem, already updated. Is there anything that needs improvement?

index.ts Outdated Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
locales/zh-CN.json Outdated Show resolved Hide resolved
locales/zh-CN.json Outdated Show resolved Hide resolved
@luventa luventa requested a review from sodatea October 12, 2023 14:28
Copy link
Member

@sodatea sodatea left a comment

Choose a reason for hiding this comment

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

Thanks! Looks really good.

@sodatea sodatea merged commit 8fbe012 into vuejs:main Oct 16, 2023
101 checks passed
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.

None yet

2 participants