validate lang