]> khamidou — GitHub mirrors - electron.git/commitdiff
Add section on documentation translations
authorJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 20:33:11 +0000 (13:33 -0700)
committerJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 20:33:11 +0000 (13:33 -0700)
CONTRIBUTING.md
docs/styleguide.md

index 61a8e474099a33443915c7fc6ea5084e347ef82c..516f6289ac0fc7cd4e14da173e67c4abcd3d8ca3 100644 (file)
@@ -29,6 +29,7 @@ possible with your report. If you can, please include:
 * Include screenshots and animated GIFs in your pull request whenever possible.
 * Follow the CoffeeScript, JavaScript, C++ and Python [coding style defined in docs](/docs/development/coding-style.md).
 * Write documentation in [Markdown](https://daringfireball.net/projects/markdown).
+  See the [Documentation Styleguide](/docs/styleguide.md).
 * Use short, present tense commit messages. See [Commit Message Styleguide](#git-commit-messages-styleguide).
 
 ## Styleguides
index d02b7f56861f64be93bc9a0d5d0953c76cc6165d..77c90467ca93f1daf1cf8cd8c6461f0afb75d4b8 100644 (file)
@@ -27,6 +27,21 @@ These are the ways that we construct the Electron documentation.
  - ```### `method(foo, bar)` _OS X_```
 - Prefer 'in the ___ process' over 'on'
 
+### Documentation Translations
+
+Translations of the Electron docs are located within the `docs-translations`
+directory.
+
+To add another set (or partial set):
+
+- Create a subdirectory named by language abbreviation.
+- Within that subdirectory, duplicate the `docs` directory, keeping the
+  names of directories and files same.
+- Translate the files.
+- Update the `README.md` within your language directory to link to the files
+  you have translated.
+- Add a link to your translation directory on the main Electron [README](https://github.com/atom/electron#documentation-translations).
+
 ## Reading Electron Documentation
 
 Here are some tips for understanding Electron documentation syntax.