From be3a8848dd2a61917b622862b6f41e85b0fa03a5 Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Mon, 1 Feb 2021 11:19:07 -0500 Subject: [PATCH 1/2] Update TRANSLATIONS.md --- TRANSLATIONS.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index fda6a033..cb0e9dad 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -14,7 +14,11 @@ where _[language]_ is a two letter language abbreviation following the ISO 639-1 **Quizzes** -Add your translation to the quiz-app by adding a file here: https://github.com/microsoft/Web-Dev-For-Beginners/tree/main/quiz-app/src/assets/translations. Please don't localize the words 'true' or 'false' however. thanks! +1. Add your translation to the quiz-app by adding a file here: https://github.com/microsoft/Web-Dev-For-Beginners/tree/main/quiz-app/src/assets/translations, with proper naming convention (en.json, fr.json). **Please don't localize the words 'true' or 'false' however. thanks!** + +2. Add your language code to the dropdown in the quiz-app's App.vue file. + +3. Edit the quiz-app's [translations index.js file](https://github.com/microsoft/Web-Dev-For-Beginners/blob/main/quiz-app/src/assets/translations/index.js) to add your language. **THANK YOU** From c2808b28a8e0f547ff043cc1228243ab584fb795 Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Mon, 1 Feb 2021 11:20:38 -0500 Subject: [PATCH 2/2] Update TRANSLATIONS.md --- TRANSLATIONS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index cb0e9dad..81e3ef90 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -20,6 +20,8 @@ where _[language]_ is a two letter language abbreviation following the ISO 639-1 3. Edit the quiz-app's [translations index.js file](https://github.com/microsoft/Web-Dev-For-Beginners/blob/main/quiz-app/src/assets/translations/index.js) to add your language. +4. Finally, edit ALL the quiz links in your translated README.md files to point directly to your translated quiz: https://nice-beach-0fe9e9d0f.azurestaticapps.net/quiz/1 becomes https://nice-beach-0fe9e9d0f.azurestaticapps.net/quiz/1?loc=id + **THANK YOU** We truly appreciate your efforts!