Refactor `i18nize_template` management command.