refactor and renaming in console and translate workflow