Refactor translation cli commands and implement po-file compilation

refs #5533