[−][src]Function pyphen_rs::language_fallback
pub fn language_fallback(language: &str) -> Option<String>
Get a fallback language if one is available in our dictionaries.
http://www.unicode.org/reports/tr35/#Locale_Inheritance
We use the normal truncation inheritance. This function needs aliases including scripts for languages with multiple regions available.