pub fn validate_language_code(lang: &str) -> Result<(), String>
Validate language code format using unic-langid (same as lib crate)