computing correct translation sign