script:
cd /mnt/Git-Projects/Friendica/friendica/addon/
echo "[main]
host = https://www.transifex.com
"
for folder in * ; do
if [[ -s ${folder}/lang/C/messages.po ]]; then
echo "[friendica.addon_${folder}_messagespo]
file_filter = ${folder}/lang/<lang>/messages.po
source_file = ${folder}/lang/C/messages.po
source_lang = en
type = PO
"
fi;
done;