Skip to content

Commit 3ae5402

Browse files
doublethefishakx
authored andcommitted
chore(docs/typo): Fixes a minor typo in a function comment
1 parent 4fcc285 commit 3ae5402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babel/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def negotiate_locale(preferred, available, sep='_', aliases=LOCALE_ALIASES):
999999
user to easily add the territory. So while you may prefer using qualified
10001000
locale identifiers in your web-application, they would not normally match
10011001
the language-only locale sent by such browsers. To workaround that, this
1002-
function uses a default mapping of commonly used langauge-only locale
1002+
function uses a default mapping of commonly used language-only locale
10031003
identifiers to identifiers including the territory:
10041004
10051005
>>> negotiate_locale(['ja', 'en_US'], ['ja_JP', 'en_US'])

0 commit comments

Comments
 (0)