klaro-js icon indicating copy to clipboard operation
klaro-js copied to clipboard

Internationalization for more languages

Open kjam opened this issue 6 years ago • 5 comments

We'd love to support more languages. Want to help? Consider submitting a translation to the tool!

kjam avatar May 28 '18 13:05 kjam

Would be good to have a list in the README and the PRs add their language 😄

tooolbox avatar Jul 23 '18 02:07 tooolbox

I can help to translate the plugin to Croatian, but I also have trouble to find all the used strings :)

BitchCO avatar Oct 17 '18 13:10 BitchCO

@BitchCO To start a new translation I recommend copying the English strings from en.yml. It contains all used strings. For the Croatian the language code is "hr", so you should create the file src/translations/hr.yml.

jaller94 avatar Mar 28 '19 03:03 jaller94

I'd like to add the translation for pt-BR

samnegri avatar Sep 25 '19 15:09 samnegri

@samnegri That would be awesome! The current translation files can be found here. I recommend to translate from English, but you may want to pick the source language that you are most familiar with.

To submit a translation please create a Pull Request. Alternatively, open an issue with the translation pasted into the description, so we can add it to Klaro.

Here is an example for how jorditarrida added Catalan. Have a look at what files he had to change in order to get the language added.

jaller94 avatar Sep 25 '19 19:09 jaller94