Adding simple validation to translation