summaryrefslogtreecommitdiffstats
path: root/macosx/localize.sh
blob: 27c423caa47c4885a1a865277764179d05256eb4 (plain)
1
2
3
4
5
6
7
8
9
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