added get_translations method