octokatherine / word-master

A Mastermind-like word guessing game
MIT License
381 stars 240 forks source link

Add multi-language support #82

Closed cheeZery closed 2 years ago

cheeZery commented 2 years ago

I think adding multi-language support should be somewhat easy. At least for languages that use the latin alphabet. I also gladly give it a try.

I would start by adding an answers folder under word-master/src/data/ and then add directories for every supported language, naming them after their respective ISO 639-1 code (e.g. en, de). In their we add the answers.js and words.js files.

For those supported languages I'd then add some dropdown in the config menu and store the chosen language in the local storage.

And then we obviuosly need all the word lists :nerd_face: I can offer German!

octokatherine commented 2 years ago

This has come up before, see my comment here

Basically, I don't have the bandwidth to maintain that, and I recommend people fork the project and host their own version in other languages!