Language switching / Translations
For kids that don't speak English but still want to type and read little words 🙂
Ideas:
- "classic" - /de, /en etc as routes
- "let the browser do the work" - texts in HTML and make sure translation buttons work (no idea if this is technically even possible)
- "bring your own" - ?words=
- or to pull in custom data without coding
Personally I like both the routes (for something built-in) and bring-your-own - e.g. could put in a personalized list of kids names in a kindergarten group to type these
"bring your own" - ?words= or to pull in custom data without coding
I do not think that this would be a good idea for a game aimed at kids. Can be easily abused by adding inappropriate words.
Good point, even when I would certainly hope that kids at the age this is aimed at are under parental supervision.
Fancy, seems there's actually already a profanity filter in place:
- https://github.com/steveruizok/kdtype/blob/0f44412d61b4b1d653f88c5879035a4c41eab2c3/src/game/utils.ts#L31
I like it! For internationalization, we would need to
- collect words from the target language
- either connect a profanity filter for that language or verify that the word list is profanity-free
- set up internationalization using something like react-intl, which we use on tldraw
Our best bet for words lists may be to look at wordle clones, given the popularity of that app.
Here's one for german that looks reasonable, after looking at a number that just seemed to have random letter combinations or arcane old german words I have never heard of... http://www.sobiki.de/3buchstaben.html. Love that it goes all the way to 37-letter words, german is quite a language 😁