1

I'm trying to use Babel 2.6.0 to get the "official" language(s) by territory but it returns nothing.

enter image description here

As seen here, it should take a two letter territory code.

desertnaut
  • 57,590
  • 26
  • 140
  • 166
Travis
  • 358
  • 3
  • 13

1 Answers1

5

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',)
DYZ
  • 55,249
  • 10
  • 64
  • 93