added script to read xml and set translator accordingly