added code to harmonize multiple language codes