how to use ai for translation and localization