for issue #5 switch translation mode