-
Notifications
You must be signed in to change notification settings - Fork 80
feat: support nn
locale
#12079
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: support nn
locale
#12079
Conversation
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.
looks good!
also, I know that your t9n utils handle more advanced cases (including workarounds for bugs in browser intl) - we would be happy to host this code under @arcgis/components-utils so that other teams could also benefit.
there is also a todo for the future of sharing components-utls with @arcgis/core, so your intl utils could end up being used by many esri teams
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.
🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴
🇳🇴✨🇳🇴🇳🇴🇳🇴✨🇳🇴🇳🇴✨✨🇳🇴🇳🇴✨✨✨🇳🇴🇳🇴✨✨✨🇳🇴✨✨✨✨🇳🇴✨🇳🇴
🇳🇴✨✨🇳🇴🇳🇴✨🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴🇳🇴🇳🇴✨🇳🇴🇳🇴🇳🇴🇳🇴✨🇳🇴
🇳🇴✨🇳🇴✨🇳🇴✨🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴🇳🇴🇳🇴✨✨✨🇳🇴🇳🇴✨🇳🇴
🇳🇴✨🇳🇴🇳🇴✨✨🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴✨🇳🇴🇳🇴🇳🇴🇳🇴✨🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴
🇳🇴✨🇳🇴🇳🇴🇳🇴✨🇳🇴🇳🇴✨✨🇳🇴🇳🇴✨✨✨🇳🇴🇳🇴✨✨✨🇳🇴✨✨✨✨🇳🇴✨🇳🇴
🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴🇳🇴
@@ -162,43 +118,35 @@ export const getSupportedNumberingSystem = (numberingSystem: string): NumberingS | |||
* @param locale – the BCP 47 locale code | |||
* @param context - specifies whether the locale code should match in the context of CLDR or T9N (translation) |
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.
Can you remove this JSDoc param?
Happy to contribute, @maxpatiiuk! Is there an issue we can use to port some of these, similar to #11851? |
One thing i observed with useT9n controller is the fallback value for |
diff check revealed some of |
Did some digging and I wonder if this was a bug related to an early implementation. These lines indicate that there was no Based on an earlier conversation about Adding @annierm18 for some expert9nise™. |
Related Issue: #11978
Summary
nn
locale which maps tono
t9n
context from locale util since it is handled by lumina controller.