Skip to content
Browse files

add translate-en.html

  • Loading branch information...
1 parent c51228a commit 7208679cb13ba375a8653d1c10b055d5c8c61f5e @MarkLodato committed Apr 26, 2012
Showing with 76 additions and 1 deletion.
  1. +2 −1 Makefile
  2. +3 −0 index-en.html
  3. +71 −0 translate-en.html
View
3 Makefile
@@ -31,7 +31,8 @@ HTML := \
index-ko.html \
index-ru.html \
index-fr.html \
- index-zh-cn.html
+ index-zh-cn.html \
+ translate-en.html
PDF_OUT = $(FILES:=.pdf)
PNG_OUT = $(PDF_OUT:.pdf=.svg.png)
View
3 index-en.html
@@ -348,5 +348,8 @@ <h2 id="technical-notes">Technical Notes</h2>
Commons Attribution-Noncommercial-Share Alike 3.0 United States
License</a>.</p>
+ <p><a href='translate-en.html'>Want to translate into another
+ language?</a></p>
+
</body>
</html>
View
71 translate-en.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Translating "A Visual Git Reference"</title>
+ <link rel='stylesheet' type='text/css' href='visual-git-guide.css'>
+</head>
+<body>
+ <h1 id="top">Translating <em>A Visual Git Reference</em></h1>
+
+ <p>Thanks to kindness of others, <a href='index-en.html'><em>A Visual Git
+ Reference</em></a> has been translated from English into several other
+ languages. If you would like to translate it into your native language, I
+ would be happy to receive your patch! Please follow the below guide to get
+ you started.</p>
+
+ <ol>
+ <li>Fork <a href='https://github.com/MarkLodato/visual-git-guide'>MarkLodato/visual-git-guide</a>
+ on Github.</li>
+ <li>Clone your fork.</li>
+ <li>Translate the work, following the same scheme as the other languages.
+ Be sure to remember to add your name to the copyright notice in README.md
+ and index-en.html. There are more steps, but if you don't follow them,
+ don't worry&mdash;I'll take care of the rest.</li>
+ <li>Commit and push your changes back to Github repository.</li>
+ <li>Submit a pull request via the Github website.</li>
+ </ol>
+
+ <h3>The nitty-gritty</h3>
+
+ <p>I'll take care of these details if you don't want to worry about them,
+ but here they are in case you are interested:</p>
+
+ <ol>
+ <li>Add your name to the bottom of the copyright notice in README.md and
+ index-en.html.</li>
+ <li>Add a link from index.html to index-<em>LANG</em>.html, where
+ <li>Add index-<em>LANG</em>.html to the <tt>HTML</tt> Makefile
+ variable.</li>
+ <li>Copy index-en.html to index-<em>LANG</em>.html.
+ <li>Translate the new file. Remember to update the <tt>html lang</tt>
+ tag on line 2, remove the copyright notices for all the other languages,
+ and (if possible) link to the appropriate language Creative Commons
+ translation.</li>
+ <li>Add a link to your page on index-*.html. Again, please keep this
+ sorted by filename. Remember to create links on the other languages and
+ create a non-link for your language on your own page.</li>
+ </ol>
+
+ <h3>Images</h3>
+
+ <p>Unfortunately, the current setup makes it difficult to translate the
+ images. If there is sufficient interest, I can rearrange things so that
+ each language could have its own images. For now, they're all in English!
+
+ <hr>
+
+ <p>Copyright &copy; 2010,
+ <a href='mailto:lodatom@gmail.com'>Mark Lodato</a>.
+ </p>
+
+ <p><a rel="license"
+ href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img alt=""
+ src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/80x15.png"></a>
+ This work is licensed under a <a rel="license"
+ href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative
+ Commons Attribution-Noncommercial-Share Alike 3.0 United States
+ License</a>.</p>
+
+</body>
+</html>

0 comments on commit 7208679

Please sign in to comment.
Something went wrong with that request. Please try again.