vuejs-translations / docs-cs

Czech translation for Vue docs
https://cs.vuejs.org/
Other
2 stars 2 forks source link

Chybové kody / Error reference #15

Open AloisSeckar opened 8 months ago

AloisSeckar commented 8 months ago

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?

Jinjiang commented 8 months ago

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.