pub fn validate_language(lang: &str) -> Result<()>
Validates that the given language code is supported.
Returns an error if the language code is not in the supported list.