From d84907051bb0abbc88305af16cea742e87a49109 Mon Sep 17 00:00:00 2001 From: Stefano Date: Wed, 17 Jul 2013 22:14:19 +0200 Subject: Created a readme for the l10n process --- locale/README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 locale/README.md diff --git a/locale/README.md b/locale/README.md new file mode 100644 index 000000000..7a9d49f4b --- /dev/null +++ b/locale/README.md @@ -0,0 +1,39 @@ +# Localization + +The localization process take place on Crowdin: + +http://translate.pyload.org + +or + +http://crowdin.net/project/pyload + +## Updating templates + +To update POT files run: + +`paver generate_locale` + +to automatically upload the updated POTs on Crowdin for the localization process just run: + +`paver upload_translations -k [api_key]` + +the API Key can be retrieved in the Settings panel of the project on Crowdin. + +## Retrieve updated PO files + +Updated PO files can be automatically download from Crowdin using: + +`paver download_translations -k [api_key]` + +This is allowed only to administrators, users can download the last version of the translations using the Crowdin web interface. + +## Compile PO files + +MO files can be generated using: + +`paver compile_translations` + +To compile a single file just use `msgfmt`. For example to compile a core.po file run: + +`msgfmt -o core.mo core.po` -- cgit v1.2.3