gforti / game-show

0 stars 0 forks source link

Multiple language support #1

Open crisp-papa opened 5 years ago

crisp-papa commented 5 years ago

I see you have a second attribute in questions.js to represent another language (questionES), but the choices and answers are not separated. Is there a better way to organize this? Also, I assume this is for a class. Maybe poll the class to see what their thoughts are?

gforti commented 5 years ago

Actually this was just for fun. I added a Spanish translation because this was played with a group, some of who spoke and read better in Spanish while others in English. (I did not use the buzzers so I did not make any updates to that). Having the possible answers in Spanish was helpful. If you wanted to do Portuguese with English US or just Portuguese it is possible. The Translation is pretty bad because google translator was used. Coping the questions.js file and adding your own translation of just one language would be the way to go. For the buzzers I would split the answers and have a checkbox to be able to switch the language on the fly.