Update boss_form.erl

add translation function to the form.