#!/bin/sh
for lpath in $(ls -d fotokilof/locale/??)
do lp1="${lpath%:}"
lang="${lp1##*/}"
mypath=debian/fotokilof/usr/share/locale/$lang/LC_MESSAGES
mkdir -p $mypath
pofile=fotokilof/locale/$lang/LC_MESSAGES/fotokilof.po
msgfmt -o $mypath/fotokilof.mo $pofile
#echo "lang = "$lang
#echo "mypath = "$mypath
#echo "pofile =" $pofile
done
