pub fn validate_base(config: &LanguageConfig, base: &String) -> ValidationResult
Expand description
Validate whether a base string is valid.
@param config The language configuration of the base language. (dialect and plural form) @param base The base string to validate.
@returns A normalized form of the base string for translators, and a list of error messages, if the base is invalid.