integrate translation functionality