Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (29 sloc) 724 Bytes
# extract translatable strings
cd ../i18n
find ../src -name "*.java" >files.tmp
find ../www -name "*.jsp" >>files.tmp
xgettext \
--files-from=files.tmp \
--from-code=UTF-8 \
--keyword \
--keyword=_ \
--keyword=_h \
--keyword=_x \
--language=java \
--output=../i18n/en.po \
mv he.po iw.po
../bin/ --destlang=af,ar,bg,ca,cs,cy,da,de,el,es,et,fa,fi,fr,ga,hi,hr,hu,id,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sk,sl,sr,sv,th,tl,tr,uk,vi,zh en.po
mv iw.po he.po
../bin/ en.po
mv en-intl.po zz.po
for f in *.po
../bin/ $f
mv `basename $f .po`.properties ../src/com/localeplanet/i18n/text/
../bin/ $f
mv `basename $f .po`.json ../www/js/text/
rm *.tmp
You can’t perform that action at this time.