Koha/misc/translator
Bernardo Gonzalez Kriegel e875e39806
Bug 24211: Compress/uncompress translation files
This patch adds the ability to compress/uncompress
translations files.

On update/install the files are uncompressed first

The only gain is to use less space.

To test:
1) Apply the patch
2) Go to misc/translator
3) Try it
   $ ./translate compress fr-FR (check po/*.gz)
   $ ./translate uncompress fr-FR ( check normal files)
4) Try again with verbose mode
   $ ./translate compress fr-FR -v (list compressed files)
   $ ./translate uncompress fr-FR -v (list uncompressed files)
5) Try update compressed files
   $ ./translate compress fr-FR
   $ ./translate update fr-FR (result is uncompressed)
6) Try install compressed files
   $ ./translate compress fr-FR
   $ ./translate install fr-FR
7) Try compress all
   $ ./translate compress  (add '-v' for verbose output)
8) Try uncompress all
   $ ./translate uncompress  (add '-v' for verbose output)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-24 13:19:31 +00:00
..
po Translation Fixes 2019-11-27 15:54:31 +00:00
LangInstaller.pm Bug 24211: Compress/uncompress translation files 2020-02-24 13:19:31 +00:00
po2json Bug 21156: Add plural translation capabilities to JS files 2020-02-10 10:14:46 +00:00
tmpl_process3.pl Bug 18688: Warnings about UTF-8 charset when creating a new language 2019-12-23 12:02:15 +00:00
TmplTokenizer.pm Bug 24217: use Modern::Perl for modules when strict is missing 2020-01-03 10:45:46 +00:00
translate Bug 24211: Compress/uncompress translation files 2020-02-24 13:19:31 +00:00
VerboseWarnings.pm Bug 24217: use Modern::Perl for modules when strict is missing 2020-01-03 10:45:46 +00:00
xgettext.pl Bug 24365: (bug 24217 follow-up) Fix encoding issue for translator script 2020-01-07 15:07:31 +00:00