Node.js is a global platform and so this site has many translations. The translation of the site into languages other than English is handled by the localization working group of the language in question. If you would like to contribute to the translation of nodejs.org, please refer to the following process:
-
Contact your appropriate localization group, and discuss with them the best possible way to contribute. A list of the localization groups can be found here (please keep in mind that some groups have not yet taken action upon the project name changes, hence the outdated repository names):
nodejs-ar
Arabic Communitynodejs-bg
Bulgarian Communitynodejs-bn
Bengali Communitynodejs-zh-CN
Chinese Communitynodejs-cs
Czech Communitynodejs-da
Danish Communitynodejs-de
German Communitynodejs-el
Greek Communitynodejs-es
Spanish Communitynodejs-fa
Persian Communitynodejs-fi
Finnish Communitynodejs-fr
French Communitynodejs-he
Hebrew Communitynodejs-hi
Hindi Communitynodejs-hu
Hungarian Communitynodejs-id
Indonesian Communitynodejs-it
Italian Communitynodejs-ja
Japanese Communitynodejs-ka
Georgian Communitynodejs-ko
Korean Communitynodejs-mk
Macedonian Communitynodejs-ms
Malaysian Communitynodejs-nl
Dutch Communitynodejs-no
Norwegian Communitynodejs-pl
Polish Communitynodejs-pt
Portuguese Communitynodejs-ro
Romanian Communitynodejs-ru
Russian Communitynodejs-sv
Swedish Communitynodejs-ta
Tamil Communitynodejs-tr
Turkish Communitynodejs-zh-TW
Taiwanese Communitynodejs-uk
Ukrainian Communitynodejs-vi
Vietnamese Community
-
Ensure that any site translations are done as pull requests into the appropriate language folder in this repo. This will ensure the build process, layout, and styling, remain consistent across the different translations of the site.
-
You can find the appropriate language folder within
locale/
. If not, create one matching the two-letter ISO code of your language. To specify a dialect for your language, separate it with a dash (e.g.pt-br
for Brazilian Portuguese,zh-tw
for Taiwanese Mandarin). -
The following files need to be in your language folder:
site.json
(this contains the basic settings and navigation structure for the website)index.md
(this contains the Markdown translation for the home page.)styles.styl
(this imports the necessary Stylus files)- All files and files in subfolders that end in
.md
are content pages and should be translated.
-
Prefix your PR with the localization group's name (e.g.
nodejs-no
). If you are only translating one of the above files, please mention them in your PR's subject as well, e.g.:
nodejs-de: Add files - index.md, faq.md
nodejs-ro: Add files - 15 files
nodejs-fr: Update files - es6.md
nodejs-ja: Update files - all files
-
Do not make language specific changes to layout or styling in a translation PR. If they are needed, make a separate styling/layout pr and talk with one of the website WG about the change. We want to make sure, for example, a Chinese layout change doesn't cascade failure to the German page.
-
To be merged, translation PR's require a Website WG +1 and a +1 from another native speaker in your language. Make sure whoever you have review the PR adds a +1 in the comments of it so we know it is translated properly.