Fixed printf and changed translation handler