-
Navigate to red/docs. Click the
Forkbutton. -
Inspect your github profile to ensure that the fork was successful.
-
If succesful, use
gitcommand line to clone your fork and bring thedocsfiles to your local machine. -
In your favorite editor, open the docs directory that has been cloned to your local machine, and create a new language directory. Name the new directory using the appropriate language code for the language that you are translating. Language Codes
-
Copy the contents of the
endirectory into the newly created language directory. Make your edits to the copied files.
Example git workflow
-
Navigate to your cloned directory and use
git pullto ensure that the cloned directory is up to date withred/docs.-
git pull https://github.com/red/docs.git
-
-
After translating a file, add the file to your git index.
-
git add <your-translated-file>
-
-
Commit the file with a message.
-
git commit -m "Your message."
-
-
When you are finished translating files, add a language link to
LANGS.adoc, then push the files to your Fork.-
git add LANGS.adoc -
git commit -m "Added link for <language-code>"
-
-
Once the files have been pushed to your Fork, click the
New pull requestbutton on your GitHub Fork to create a Pull Request.