- From: Ezira Ashenafi via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 Aug 2023 13:52:23 +0000
- To: public-i18n-archive@w3.org
Thanks @andjc. I'm just learning about what ECMA-402 and ICU are. My original intent is to localize numbers to the Ethiopic System. > Also the relevant language tag would be `am-ET-u-nu-ethi`. By default locales tend to use Arabic digits, unless an alternative is specified when the locale instance is created. Even when specifying the numbering system like above, it still defaults to the latin numbering system. ```js locale = new Intl.Locale("am-ET-u-nu-ethi") formatter = new Intl.NumberFormat(locale) console.log(locale.numberingSystems) // ['ethi'] console.log(formatter.resolvedOptions().numberingSystem) // 'latn' ``` > There is an open issue (from 2016) for supporting algorithmic number systems in ECMA-402, but that would require support for RBNF [The issue](https://github.com/tc39/ecma402/issues/95) seems like it's going to take a while to be fully resolved as a rewrite is being discussed. For my current use-case however, manually implementing the algorithm seems to be the optimal choice. -- GitHub Notification of comment by Eazash Please view or discuss this issue at https://github.com/w3c/elreq/issues/132#issuecomment-1674830733 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 11 August 2023 13:52:25 UTC