summaryrefslogtreecommitdiffstats
path: root/macosx/localize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/localize.sh')
-rwxr-xr-xmacosx/localize.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/localize.sh b/macosx/localize.sh
new file mode 100755
index 000000000..27c423caa
--- /dev/null
+++ b/macosx/localize.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# This script localize the built application
+ cd macosx/i18n/
+export LNG=`ls *strings | sed 's/.strings//g' | sed 's/Localizable//g'`
+cd ../../$1/Contents/Resources
+for l in $LNG
+do
+ cp -r English.lproj $l.lproj
+ cp ../../../macosx/i18n/$l.strings $l.lproj/Localizable.strings
+done