Input validation with i18l support.