Multilanguage possible on textboxes or buttons?

That's unfortunate. I made a template and there's a video…

The coding part is right there. It's more about cutting and pasting. It's just a little bit of tedium to set it up in a new project. If it's just english and French, then you just need a column for English and French…

fr-FR — France
fr-CA — Canada

If multi-dimensional arrays are too confusing, you don't need to use them. You could just make a bunch of conditionals…

    if (navigator.language == "en-US") {
        // United States English stuff here 
    }

   if (navigator.language == "fr-FR" || navigator.language == "fr-CA") {
        // French stuff here
    }

Should this be part of Hype? Well, I did mention that variables and arrays should be part of Hype… Ideas For Hype 5 Features…

Hype would be more powerful if it could better manage data. But since it doesn't, there's just a little bit of coding to add multilingual support.

2 Likes