Validate languages