These scripts are intended to facilitate translations tasks.
* mergepo. A standard script that merges new strings into
a locale version.
* compilepo. A standard script to compile po files to mo.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1554
7612ce4b-ef26-0410-bec9-
ea0150e637f0
--- /dev/null
+#!/bin/sh
+
+# **
+# ** This script compiles locale PO files
+# **
+# ** Usage: compilepo <locale id>
+# ** Example: compilepo es
+# **
+# ** Philipe Mingo <mingo@rotedic.com>
+# **
+# ** $Id$
+
+msgfmt -o $1/LC_MESSAGES/squirrelmail.mo $1/LC_MESSAGES/squirrelmail.po
+
--- /dev/null
+#!/bin/sh
+
+# **
+# ** This script merges global PO to locale PO files.
+# ** It creates a squirrelmail.po.new that have to
+# ** be renamed to squirrelmail.po once before to
+# ** compile the file.
+# **
+# ** Usage: mergepo <locale id>
+# ** Example: mergepo es
+# **
+# ** Philipe Mingo <mingo@rotedic.com>
+# **
+# ** $Id$
+
+msgmerge $1/LC_MESSAGES/squirrelmail.po ../po/squirrelmail.po > $1/LC_MESSAGES/squirrelmail.po.new
+echo "Once you've got the strings tranlated rename "
+echo "manualy po file to squirrelmail.po"