Skip to content

Commit 33cb31f

Browse files
committed
Add readme for translation
1 parent 1041efc commit 33cb31f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

po/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# How to Translate Cherrypick
2+
3+
## First Things First
4+
5+
* Clone this repository by opening the terminal in a folder of your choice and typing ```git clone https://github.com/ellie_commons/cherrypick```
6+
7+
## Basics
8+
9+
* You'll need to know your language's code (ex. en = English).
10+
* Add that code to the LINGUAS file, in a new line, after the last line.
11+
* Translate the .pot file using the PO editor of your choice (I recommend POEdit).
12+
* Save it as <language_code>.po in this folder.
13+
14+
## Not so Basics
15+
16+
* Next, in the folder you've cloned this repo in, open a terminal and type: ```git checkout -b "Translation <language code>```
17+
* Then, type ```git add *```
18+
* Finally, ```git commit -m "Translated your app for <Language Name>" && git push```, follow the instructions in the terminal if need be, then type your github username and password.
19+
20+
And that's it! You've successfully translated Cherrypick for your language!

0 commit comments

Comments
 (0)