fixing bugs in translation configuration merge