X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=README.md;h=10756aadc7956fa9a1f3106c1422d18f54af6c82;hb=0daba3ec4ce446b8bea91b785fbf0f9d80c06cdc;hp=278752f23c4329f8605dd5a4fd452dfb58be4c03;hpb=e91550537cb692c193d0f7679211aafd9a1686a5;p=crypto-install.git diff --git a/README.md b/README.md index 278752f..10756aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -crypto-install.py +crypto-install # USAGE @@ -53,3 +53,31 @@ installed, then the two hooks in `git_hooks` will run the tests and check for PEP8 compatibility before committing as well. Run `git hooks --install` in the checked out folder to register the hooks initially. + +# LOCALISATION + +Currently working simultaneously on the English and German version. +Patches welcome. + +To run with a different language set, use: + + TEXTDOMAINDIR=locale LANGUAGE=de_DE ./crypto-install + +(I would really like to if that environment variable is okay to use +here!) + +**TODO**: If the application is installed, you should only have to set +the `LANGUAGE` environment variable instead, as the default locale +directory will be set during the installation (to +`prefix/share/locale` probably). + +To start off with a new translation, use: + + cd po + msginit -l en_US # or whatever language code + +You'll have to confirm, or edit the email address and author. +Afterwards, edit the new `.po` file as usual. + +Please read the `gettext` documentation (`info gettext`) for more +details.