#!/bin/bash

file="facturx.lang"
mainlang="fr_FR"
dest="en_US"

for key in `cat ${mainlang}/${file} | grep "=" | cut -d "=" -f1 | more`
do
    tst=`grep "^${key}=" ${dest}/${file}`
    if [ -z "${tst}" ]; then
        grep "^${key}=" ${mainlang}/${file} >> ${dest}/${file}
	    #echo "${key}=" >> ${dest}/${file}
    fi
done

