picocms.github.io icon indicating copy to clipboard operation
picocms.github.io copied to clipboard

Add support to translate the entire website to other languages

Open aferrop opened this issue 7 years ago • 7 comments

I want to contribute with Pico translating the site into Spanish

aferrop avatar Nov 06 '18 13:11 aferrop

Sorry for the late response @aferrop

First of all I'd like to thank you for your intention to translate the website. Doing so would be a really amazing thing to do and I'd really love to see it happen! :heart:

Unfortunately I don't see a fast way to achieve a full website translation without completely overhauling Pico's website (something that is planned indeed, but due to very limited time probably not going to happen soon).

However, what we can do is a partial translation of the website. I think the most important thing to translate are the user docs - which are (besides some syntactical differences) identical to Pico's sample contents (resp. the sample index.md) and Pico's README.md.

The easiest way to translate the user docs would be to simply fork the picocms/Pico repo and translate content-sample/index.md and README.md to Spanish. This even allows us to create a Spanish-version of Pico later. What do you think about this approach?

PhrozenByte avatar Dec 23 '18 20:12 PhrozenByte

It is OK, in a few days I will send a PR with the translations

aferrop avatar Dec 24 '18 12:12 aferrop

Would it be interesting to do the same for Italian? I could take care of it

stefanocpp avatar Jan 02 '19 17:01 stefanocpp

@stefanocpp Sure, why not? Would love to incorporate more translations of the user docs.

PhrozenByte avatar Jan 02 '19 22:01 PhrozenByte

Is it possible to create another repository such as es.picocms.github.io to contain Spanish translations? I have already translated around 70% of the main site.

aferrop avatar Jan 09 '19 13:01 aferrop

Hello there! I posted the first bit of work, hope to have used correctly forks and pull requests

stefanocpp avatar Jan 17 '19 06:01 stefanocpp

Hi there, if you are willing to add translation on your CMS you can use this package of mine here:

https://www.npmjs.com/package/@aminnairi/translation

You can even use the In-Browser to have little to no friction adding the translation to your front-end (if you have no JavaScript build tool or are not using Node).

If you find that this library suits your needs I can provide some help for translations as well.

aminnairi avatar Apr 18 '21 12:04 aminnairi