Skip to content

Commit

Permalink
chore(docs/typo): Fixes a minor typo in a function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
doublethefish authored and akx committed Apr 26, 2022
1 parent 4fcc285 commit 3ae5402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel/core.py
Expand Up @@ -999,7 +999,7 @@ def negotiate_locale(preferred, available, sep='_', aliases=LOCALE_ALIASES):
user to easily add the territory. So while you may prefer using qualified
locale identifiers in your web-application, they would not normally match
the language-only locale sent by such browsers. To workaround that, this
function uses a default mapping of commonly used langauge-only locale
function uses a default mapping of commonly used language-only locale
identifiers to identifiers including the territory:
>>> negotiate_locale(['ja', 'en_US'], ['ja_JP', 'en_US'])
Expand Down

0 comments on commit 3ae5402

Please sign in to comment.