Translate an echo content and convert tab to spaces