simplified the validation for translation command