Skip to content

Commit

Permalink
fix: interpret 'no' as 'nb' in locale data
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Oct 26, 2020
1 parent b74f2a2 commit 77ea485
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/service/polyfill-builder/polyfill-builder-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ function normalizeLocale(locale: string): string {
// nb and no are identical languages from a data perspective
case "no":
return "nb";
default:
return locale;
}
}

Expand Down

0 comments on commit 77ea485

Please sign in to comment.