use po4a for translating
[gitmagic.git] / po4gitmagic / README
bloba5848f6386009f2a7a3d75f507e595d059f86f25
1 This Makefile should make it easy to translate gitmagic with gettext tools on Linux systems.
2 To use it, you have to install the po4a package.
4 To start, clone the gitmagic project.
6 Make the directory corresponding to your language tag and change into it.
7         mkdir xx
8         chdir xx
10 Create a symlink to this Makefile:
11         ln -s ../po4gitmagic/Makefile Makefile
13 Now run make to create the pot folder and all the .po files in there.
14         make gettext
16 Start translating with your prefered .po file editor (e.g. poedit, gtranslator).
18 You need to have 80% of a .po file translated, then you can run:
19         make translate
21 This will create a translated .txt file in your language folder for each .po file that is more than 80% translated.
23 To proof your work change in the gitmagic root folder an run:
24         make LANG=xx
25 Where xx is your subfolder name  and language tag
27 If something in the original .txt files changed, goto your language folder and run:
28         make update
30 This will update your .po files and mark the changed items as 'fuzzy'. 
32 Check the .po files for changes, translate them and run again:
33         make translate