Change logic to translation helper