circuitpython-org
circuitpython-org copied to clipboard
Adding spanish translation to the site
I think I would be of great use to the spanish community, if the circuitpython site was translated to spanish.
I'm happy to do the translating of the content, and if need with researching plugins for the website, etc.
@fede2cr Please do! I'm not sure the process for translation with Jekyll so please do whatever works for you. Thanks!
@jwcooper Here is the translation offer you and I talked about the other day.
@fede2cr It'll be best for you to work with Justin on how to do this.
I've been looking into plugins that might help us out. Tricky part is maintaining all of our existing links.
Will test this plugin out first: https://github.com/kurtsson/jekyll-multiple-languages-plugin
I do have some experience with doing this on a PHP-based website. I'm not sure how well that would transfer to Jekyll, but we maintained phrase lists for each language, similar to how we do it with CircuitPython, and just substituted it in the phrases. For missing phrases, we could use English as a fallback such as adding new boards.
So there's really 2 parts to this. The first is the actual translations for the page, which I think would be the easier part. I think it would be similar to how we have the same download page for each board, but swap in words. The second part is the UI for switching between languages, if you want that capability.