Translate, TestTranslate, ugly debug message for array access violation that will not be used later

Translate and TestTranslate implemented.

Ugly debug message for array access violations that will not be used
later