updating doc & adding a script to rebuild officially supported languages
authortipaul <tipaul>
Mon, 3 Jan 2005 16:30:13 +0000 (16:30 +0000)
committertipaul <tipaul>
Mon, 3 Jan 2005 16:30:13 +0000 (16:30 +0000)
misc/translator/rebuild_lang.sh [new file with mode: 0644]
misc/translator/translator_doc.txt

diff --git a/misc/translator/rebuild_lang.sh b/misc/translator/rebuild_lang.sh
new file mode 100644 (file)
index 0000000..be036e5
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+./tmpl_process3.pl install -r -s po/css_opac_fr_FR.po -i ../../koha-tmpl/opac-tmpl/css/en -o ../../koha-tmpl/opac-tmpl/css/fr
+./tmpl_process3.pl install -r -s po/default_intranet_fr_FR.po -i ../../koha-tmpl/intranet-tmpl/default/en -o ../../koha-tmpl/intranet-tmpl/default/fr
+
+./tmpl_process3.pl install -r -s po/css_opac_zh_TW.po -i ../../koha-tmpl/opac-tmpl/css/zh_TW -o ../../koha-tmpl/opac-tmpl/css/zh_TW
+./tmpl_process3.pl install -r -s po/default_intranet_zh_TW.po -i ../../koha-tmpl/intranet-tmpl/default/en -o ../../koha-tmpl/intranet-tmpl/default/zh_TW
+
+./tmpl_process3.pl install -r -s po/css_opac_es_AR.po -i ../../koha-tmpl/opac-tmpl/css/zh_TW -o ../../koha-tmpl/opac-tmpl/css/es_AR
+./tmpl_process3.pl install -r -s po/default_intranet_es_AR.po -i ../../koha-tmpl/intranet-tmpl/default/en -o ../../koha-tmpl/intranet-tmpl/default/es_AR
index d1a0840..2e1b226 100644 (file)
@@ -21,8 +21,7 @@ HOW TO TRANSLATE Koha:
  1. Create your translation file (assuming your current directory is this
     directory, i.e., misc/translator):
    
-        ./tmpl_process.pl create -i ../../koha-tmpl/opac-tmpl/default/en/ -s
-        css_opac_fr_FR.po -r
+        ./tmpl_process3.pl create -i ../../koha-tmpl/opac-tmpl/default/en/ -s css_opac_fr_FR.po -r
    
     (In the above example, ../../koha-tmpl/opac-tmpl/default/en/ contains the
     English templates in the "default" theme, and po/css_opac_fr_FR.po is where
@@ -33,9 +32,7 @@ HOW TO TRANSLATE Koha:
     translation tool.
  3. Create your translated templates:
    
-        ./tmpl_process.pl install -i ../../koha-tmpl/opac-tmpl/default/en/ -o /
-        home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/fr2/ -s
-        css_opac_fr_FR.po -r
+        ./tmpl_process3.pl install -i ../../koha-tmpl/opac-tmpl/default/en/ -o ../../koha-tmpl/opac-tmpl/default/fr2/ -s css_opac_fr_FR.po -r
    
     (In the above example, /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default
     /fr2/ is where you want your translated templates to be saved.)
@@ -46,18 +43,21 @@ If something changes in English version:
 
  1. Update your translation file:
    
-        ./tmpl_process.pl update -i /home/paul/koha.dev/koha/koha-tmpl/
-        opac-tmpl/default/en/ -s po/css_opac_fr_FR.po -r
+        ./tmpl_process3.pl update -i ../../opac-tmpl/default/en -s po/css_opac_fr_FR.po -r
    
  2. Translate your new css_opac_fr_FR.po file. Look for strings marked as
     "fuzzy" and strings that are not translated.
  3. Create your translated templates:
    
-        ./tmpl_process.pl install -i /home/paul/koha.dev/koha/koha-tmpl/
-        opac-tmpl/default/en/ -o /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/
-        default/fr2/ -s po/css_opac_fr_FR.po -r
+        ./tmpl_process.pl install -i ../../koha-tmpl/opac-tmpl/default/en/ -o ../../koha-tmpl/opac-tmpl/default/fr2/ -s po/css_opac_fr_FR.po -r
    
  4. Copy new images/css files in your new directory if needed
+REBUILD ALL
+===========
+The rebuild_lang.sh script can be used to rebuild all languages officially supported in 2.2 release, when needed.
+Useful for developpers, probably useless for all end-users.
+
 
 WEAKNESSES
 ==========
@@ -70,5 +70,4 @@ COPYRIGHT
 
   * Paul Poulain (paul.poulain _@_ free.fr) & Jerome Vizcaino (vizcainj _@_
     esiee.fr)
-  * Parts of V3.0 by Ambrose Li (acli _@_ ada.dhs.org)
-
+  * Parts of V3.0 by Ambrose Li (acli _@_ ada.dhs.org)
\ No newline at end of file