Koha-clms/misc/translator
Frédéric Demians 01c619fc17 Bug 4154 - Add a .po based mechanism to translate preferences
Add to previous patch (and replace it):
  - update function
  - translation of tab subsection labels
  - GPL2
  - fix last minute bug catched by Galen

Cut-and-past of pref-trans script perldoc:

NAME
       pref-trans - Handle preferences translation

SYNOPSYS
         pref-trans init fr-FR
         pref-trans update fr-FR
         pref-trans install fr-FR

USAGE
       pref-trans init lang
           Create a .po file in po directory, named lang-pref.po. This
           file contains text to translate extracted from .pref files.

       pref-trans update lang
           Update a .po file in po directory, named lang-pref.po. This
           file contains new text to translate extracted from .pref files.
           Previous translated text are kept. There is a minor bug, which can’t
           be fixed due to preferences data struture: preferences tab
           subsection labels are lost when updating .po file.

       pref-trans install lang
           Use lang-pref.po file to translate the english version of
           preferences files and copy those files in the appropriate
           directory.

DESCRIPTION
       Koha preferences are stored in a data structure found in
       koha-tmpl/intranet-tmpl/en/module/admin/preferences/ files.
       Depending of user language, other files are used. This script extract text
       from ’en’ preference files, and put them in one .po file.  This .po
       file can be updated. When completed, a .po file can be applied to create
       localized versions of preferences templates.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:50 -05:00
..
po French .po file for preferences 2010-02-11 05:52:35 -05:00
Makefile merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
TmplToken.pm Added hack to extract and translate strings inside JavaScript CDATA blocks, 2004-03-10 07:00:27 +00:00
TmplTokenType.pm New scripts for translation into Chinese and other languages where English 2004-02-19 21:24:30 +00:00
TmplTokenizer.pm Adding xsl strings to po 2009-09-30 11:30:13 +02:00
VerboseWarnings.pm synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
install-code.pl Translation scripts : Removing trailing / in scripts 2010-01-28 15:11:46 +01:00
install.pl Translation scripts : Removing trailing / in scripts 2010-01-28 15:11:46 +01:00
pref-trans Bug 4154 - Add a .po based mechanism to translate preferences 2010-02-11 05:52:50 -05:00
rebuild_lang.sh C4 and misc: permissions fixes 2007-12-13 19:00:34 -06:00
stats.pl renaming translation files to conform to our standard convention. Moving stats.pl and update.pl out of the po/ dir to avoid conflicts with kartouche stats system 2008-01-08 17:24:33 -06:00
text-extract.pl *** empty log message *** 2004-12-08 10:37:19 +00:00
text-extract2.pl Added hack to extract and translate strings inside JavaScript CDATA blocks, 2004-03-10 07:00:27 +00:00
tmpl_process3.pl Adding optgroup labels to translations 2010-01-28 15:11:45 +01:00
translator_doc.html Documents translator dependency on 'gettext' Linux tools and add it to debian.packages 2008-06-26 05:51:35 -05:00
translator_doc.txt Documents translator dependency on 'gettext' Linux tools and add it to debian.packages 2008-06-26 05:51:35 -05:00
update.pl Updating po files for 3.2 2009-09-22 22:51:55 +12:00
xgettext.pl Adding optgroup labels to translations 2010-01-28 15:11:45 +01:00