circuitpython-org icon indicating copy to clipboard operation
circuitpython-org copied to clipboard

Adding spanish translation to the site

Open fede2cr opened this issue 4 years ago • 4 comments

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 avatar Aug 10 '20 17:08 fede2cr

@fede2cr Please do! I'm not sure the process for translation with Jekyll so please do whatever works for you. Thanks!

tannewt avatar Aug 10 '20 21:08 tannewt

@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.

kattni avatar Aug 10 '20 21:08 kattni

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

jwcooper avatar Aug 11 '20 16:08 jwcooper

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.

makermelissa avatar Aug 11 '20 16:08 makermelissa