-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pagination): add built-in translations #5432
feat(pagination): add built-in translations #5432
Conversation
…essarily map to supported ones
src/utils/locale.ts
Outdated
"ko", | ||
"lt", | ||
"lv", | ||
"nb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be no
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch. Will fix!
@@ -155,15 +207,20 @@ export function getSupportedLocale(locale: string): string { | |||
return "no"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may need to move this block above the .includes
check to make sure if the user parses nb
we return no
or we replace nb
with no
as t9nLocales array.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💣
…o jcfranco/4961-add-built-in-localization-for-pagination
d47cb2d
into
anveshmekala/4961-add-built-in-pseudo-translations
Related Issue: #4961
Summary
Wires up translations to the pagination component.