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 Crowdin translators.
- Request to join the Nodejs-Website in Crowdin
- Select the language you want to translate
- Start translating
If you have any questions or feedbacks on current translations, you can start a discussion by choosing the "New Topic" and your language from the right dropdown, or a conversation by adding your translators.
Go on /i18n/config.json
and add the new language to the locales
array.
Fill the language object with the following fields:
{
"code": "fr",
"localName": "Français",
"name": "French",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "fr",
"enabled": true
}
Field Name | Description | Examples |
---|---|---|
code |
The language code. It must be the same as the folder name | fr |
localName |
The language name in its own language (it's use in language selector) | Français |
name |
The language name in English | French |
langDir |
The direction of the language. ltr for left to right, rtl for right to left |
ltr |
dateFormat |
The date format. It must be a valid moment.js format | DD.MM.YYYY |
hrefLang |
The language code in ISO 639-1 format | fr |
enabled |
If the language is enabled or not | true |