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.
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.
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:
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, run:
25 where xx is the subdirectory name.
27 If something in the original .txt files changed, goto your language folder and run:
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: