templatized the map, changed inline bilingual support to lang1|lang2 model