forked from jamiebuilds/babel-handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84f0bfd
commit fce1a6f
Showing
24 changed files
with
17,532 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: ruby | ||
install: gem install crowdin-cli | ||
script: crowdin-cli upload sources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Contributing | ||
|
||
### Translating the handbook | ||
|
||
The english version of this handbook is the only one updated inside the | ||
repository, if you would like to contribute to other languages you must do so | ||
through Crowdin. You can | ||
[invite yourself to our crowdin project here](https://crowdin.com/project/babel-plugin-handbook/invite). | ||
|
||
### Downloading updated translations | ||
|
||
Note: This is for maintainers who have api access to Crowdin. If you do not have | ||
access to this and you would like for the translations to be updated please open | ||
an issue. | ||
|
||
First make sure you have the `crowdin-cli` installed. | ||
|
||
```sh | ||
$ gem install crowdin-cli | ||
``` | ||
|
||
The you can use it to download the latest translations. | ||
|
||
```sh | ||
$ CROWDIN_API_KEY=$(CROWDIN_API_KEY) crowdin-cli download | ||
``` | ||
|
||
Replace `CROWDIN_API_KEY` with the api key on | ||
https://crowdin.com/project/babel-plugin-handbook/settings#integration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
project_identifier: babel-plugin-handbook | ||
api_key_env: CROWDIN_API_KEY | ||
base_path: . | ||
files: | ||
- source: '/README.md' | ||
translation: '/translations/%two_letters_code%/%original_file_name%' | ||
languages_mapping: | ||
two_letters_code: | ||
'de': 'de' | ||
'es-ES': 'es-ES' | ||
'fr': 'fr' | ||
'it': 'it' | ||
'ja': 'ja' | ||
'ko': 'ko' | ||
'nl': 'nl' | ||
'pt-PT': 'pt-PT' | ||
'ru': 'ru' | ||
'zh-CN': 'zh-CN' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.