From 8fe4dec985d174f0712e0c38aa3f25de0d7d6897 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Jan 12 2018 08:51:29 +0000 Subject: Add readme dealing with translations - Clarify relation between individual repositories containing translations - Explain how to use zanata interface on a few important use-cases --- diff --git a/README.translations b/README.translations new file mode 100644 index 0000000..eecd4ef --- /dev/null +++ b/README.translations @@ -0,0 +1,25 @@ +policycoreutils translations currently live in the following locations: + +- https://fedora.zanata.org/project/view/selinux + - contains translations for both stable (Red Hat Enterprise Linux) and master (Fedora) branches + - maintains large number of languages (several of which do not actually contain any translated strings) + - updated by community and partially by RH localization effort + +- selinux source repository (https://github.com/fedora-selinux/selinux) + - is kept up-to-date with fedora.zanata + +How to update source files on fedora.zanata: + $ git clone git@github.com:fedora-selinux/selinux.git + $ cd selinux/policycoreutils/po + # generate new potfile + $ make policycoreutils.pot + # Push potfiles to zanata + $ zanata-cli push --push-type source + +How to pull new translations from zanata + $ git clone git@github.com:fedora-selinux/selinux.git + $ cd policycoreutils/po + # Make sure "zanata.xml" file pointing to corresponding translations branch is present + # Optionally update source files on zanata + # Pull new translations from zanata + $ zanata-cli -e pull --pull-type trans