updated the files to call the translating function