Zetawar / zetawar

Zetawar is a turn based tactical strategy game implemented in 100% ClojureScript.
MIT License
169 stars 14 forks source link

Enable localizations of UI #91

Open tbeddy opened 7 years ago

tbeddy commented 7 years ago

A user would have the option of changing the language of the game's UI through a dropdown with available languages.

tbeddy commented 7 years ago

@djwhitt The names of the units should be localized when shown in the unit picker, right? They aren't currently in the dict.

tbeddy commented 6 years ago

As I mentioned earlier, I'm using a dropdown for the user to select the language. It's currently in the upper right hand corner. (ALL CAPS is my test dict.)

dropdown

Would you prefer it be put somewhere else? And should I replace it with a modal?

tbeddy commented 6 years ago

I have since implemented the modal and it definitely makes more sense. I'm thinking of labeling the link "Settings" instead of whatever the current language is, so other settings, like whether or not to show the "You still have turns left" modal, can go there too.