I'm trying to use Babel 2.6.0 to get the "official" language(s) by territory but it returns nothing.
As seen here, it should take a two letter territory code.
I'm trying to use Babel 2.6.0 to get the "official" language(s) by territory but it returns nothing.
As seen here, it should take a two letter territory code.
The USA does not have an official language. You can request the de facto language by setting the namesake flag:
get_official_languages("US",de_facto=True)
#('en',)