RunestoneComponents
RunestoneComponents copied to clipboard
Translation of the components
I need to translate the components to French. I could of course do that my own copy but how could I contribute back ? What would be the best way to include translation support right in the components ?
the activecode.js file implements some i18n for that component, which uses jquery's i18n framework. I suggest you expand on that work as it seems relatively easy to implement and understand.
You can see that in activecode/js there is a activecode-i18n.en.js and activecode-i18n.sr-Cyrl.js file. These files contain key value pairs where we use the keys in the code and the values are the translation to whatever language.
Brad
Cool. Thanks. I will have a look.