Skip to content

Chybové kody / Error reference #15

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

Closed
AloisSeckar opened this issue Jan 16, 2024 · 2 comments
Closed

Chybové kody / Error reference #15

AloisSeckar opened this issue Jan 16, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@AloisSeckar
Copy link
Contributor

The recently added https://cs.vuejs.org/error-reference/ page has translated the surrounding texts, but the actual errors are only available in English.

The values are commig from inside vue packages.

Is there an approache to provide localized explanation? I guess it would have been a custom function pairing codes to Czech equivalents...

Is it even worth it?

@AloisSeckar AloisSeckar added help wanted Extra attention is needed question Further information is requested labels Jan 16, 2024
@Jinjiang
Copy link
Member

I personally think it's not necessary. And here no clear boundary between translation and runtime information since all the error messages are for developers to refer to the same error messages in the dev mode which are all in English. Once you translate them, it may even confuse people to find them.

However, custom pairing function is totally acceptable if necessary.

@AloisSeckar AloisSeckar added documentation Improvements or additions to documentation and removed question Further information is requested labels Mar 28, 2024
@AloisSeckar
Copy link
Contributor Author

AloisSeckar commented Apr 8, 2025

I set the custom translation up in 001215d

Remarks and corrections appreciated - feel free to open PRs or issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants