Skip to content
codeanticode edited this page Nov 14, 2019 · 3 revisions

Welcome the wiki of the Processing for Android website! The site is hosted at http://p5android.org/

Translating the website

Translations into other languages are highly appreciated. If you want to create a translation of the website's contents, please follow the steps below:

  1. Create a fork of this repo.
  2. Create a sub-folder with the ISO 639-1 2-letter language code you want to add.
  3. Copy the html files located in the root of the repo to the new language sub-folder (index.html, install.html, team.html, and whatsnew.html), as well as the books, gallery, reference, and tutorials sub-folders. Now you have all the html files that need to be translated from English into the new language. No other files need to be modified.
  4. In addition to translating the text, make sure to update the image links. In order to avoid duplicating resources, all the images are located under the imgs sub-folder inside the root, and none under language-specific folders. Because the original English html files are directly under root, the image links in the translated files need to add a "directory-up" direction to the images' source URLs in order to be resolved correctly. for example, if the image source is "../imgs/logo.png" in the English file, it should be changed to "../../imgs/logo.png" in the corresponding translated html.
  5. Push your translated files to your forked repo, and then create a pull request against the master branch.

Once we receive the pull request with the translation, we will review it, merge into the repo, and update the live website if everything looks correct.

Clone this wiki locally