GIRA / PhysicalBits

A web-based programming environment for educational robotics that supports live coding and autonomy using a hybrid blocks/text programming language.
https://gira.github.io/PhysicalBits/
MIT License
18 stars 5 forks source link

initial translation into Estonian #3

Closed kristiank closed 4 years ago

kristiank commented 4 years ago

I didn't get the translations showing in the IDE by simply replacing the file. So far I haven't had time to find the code that loads the translations into the webpage. If you point me to the correct file and line numbers, I can try my best and include a patch for loading all languages that are present in the translations.js file, although this would need one more localization value (the name of the language, that would be shown in the IDE list of languages).

RichoM commented 4 years ago

I merged your commit, thank you! Currently to add the language to the UI you have to update the html with the radio button. I just made the change, look:

estonian

As you can see, some parts of the UI are not translatable yet because I want to change how they work first. I have that in the TO DO list.

kristiank commented 4 years ago

I'd be happy to help you with localization and technical questions involved in it. I studied computational linguistics for 10 years and localization is a small hobby I have.