Multilanguage possible on textboxes or buttons?

I have updated this example to show local storage use. And put the language text strings into object arrays.

The language text strings all have a key using the language code. i.e

en = english
es = spanish.

This just makes things a little bit simpler in the code for choosing the language and we can expand the codes use as shown with the language badge which shows the current users choice.

I have just used the text code in the badge but now it is simplified gives possibility of using JS conditional coding to display a language image.

lang_v2.1.hypetemplate.zip (49.8 KB)