wearebraid / vue-formulate-i18n

Internationalization (i18n) support for vue-formulate
MIT License
8 stars 38 forks source link

Suggestion to add a validation test page to verify translations. #14

Open titusdecali opened 4 years ago

titusdecali commented 4 years ago

It would be useful for translators to have a separate example repo with all possible error messages shown so that we could quickly test our translated text. Seeing them in an actual form can change the wording significantly, thus improving the quality of the final translation.

justin-schroeder commented 4 years ago

This is a great idea. In fact I saw the Japanese translator did this for himself so in a relatively small sample size it's already proved value.

titusdecali commented 4 years ago

This is especially true of Asian languages (I'm translating it into Korean now) since connecting particles change depending on the context. If you have the Japanese translator's test page, I'd really appreciate a link. I'm currently using his version as a base since Japanese and Korean are so similar, however a test page would give me confidence in the final translation before making a PR.

justin-schroeder commented 4 years ago

Definitely a valuable feature. I never saw code for what @mimonelu used to create his demo page, but a screenshot is here https://twitter.com/jpschroeder/status/1237757436863414273?s=21

@mimonelu do you still have your demo page/server? Would you be willing to submit a PR with it and I can attach it to this project?

mimonelu commented 4 years ago

@justin-schroeder I just cut and paste the code from the document and display it in the Vue CLI, so I don't know if it's useful, but for now I'll just give you App.vue. https://gist.github.com/mimonelu/e23293d9d7e7966e8fc410e697daa211