diff options
| author | koem <koem@petoria.de> | 2013-07-25 08:50:14 +0200 |
|---|---|---|
| committer | koem <koem@petoria.de> | 2013-07-29 16:41:18 +0200 |
| commit | c4529fea894a3f2dc28c3d13f4cbfcd7e6466bf4 (patch) | |
| tree | ab4114e60d62229e9edc8f419ad1474579451e12 /crowdin/README | |
| parent | bc584a347dc1057f0c2a151196a021463b48ab74 (diff) | |
| download | cgeo-c4529fea894a3f2dc28c3d13f4cbfcd7e6466bf4.zip cgeo-c4529fea894a3f2dc28c3d13f4cbfcd7e6466bf4.tar.gz cgeo-c4529fea894a3f2dc28c3d13f4cbfcd7e6466bf4.tar.bz2 | |
Scripts for crowdin integration
Diffstat (limited to 'crowdin/README')
| -rw-r--r-- | crowdin/README | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/crowdin/README b/crowdin/README new file mode 100644 index 0000000..d963cbb --- /dev/null +++ b/crowdin/README @@ -0,0 +1,31 @@ +INSTALLATION + +- create a NEW local repo from the github repo + -> the scripts automatically run git pull, git push, git commit + -> DON'T DO ANY WORK ON THIS REPO!! It will be pushed automatically! + -> this repo can be a copy (cp -a) from an existing one +- copy crowdin/credentials.template to crowdin/credentials +- edit crowdin/credentials + -> find the API-KEY here http://crowdin.net/project/cgeo/settings#project-settings-api +- prepare crowdin: + - run update manually + - upload language files to crowdin (values-*/strings.xml) via upload script. + Maybe it is best to start with one language or two and upload more later. +- create a cronjob to run crowdin/download every 60 mins or trigger it somehow +- create a cronjob to run crowdin/update every 60 mins or trigger it somehow + +THE SCRIPTS + +Run all scripts from within a repo. + +- update: no arguments + -> this will upload the base language file values/strings.xml to crowdin + +- download: no arguments + -> this will download the language files from crowdin and create/update a + pull request if necessary + +- upload: languages as arguments. e.g. upload cs da de es fr hu it ja nb nl pl pt sk sl sv + -> this will upload translations from actual branch of the repo to crowdin. + crowdin files will be overwritten, not merged. To merge it is best to + download them first, merge, then upload. |
