fixed addition of non global template childs and made sure property names are translated