Title: [Disscussion] Internationalization API issues. · Issue #10809 · angular/angular · GitHub
Open Graph Title: [Disscussion] Internationalization API issues. · Issue #10809 · angular/angular
X Title: [Disscussion] Internationalization API issues. · Issue #10809 · angular/angular
Description: Per @vicb this issue is mostly to summarize issues about Intl.API. Currently our formatting pipes (Number and Date) highly coupled to Intl.Api, and this api have some known issues. From top overview it could be aggregated in following gr...
Open Graph Description: Per @vicb this issue is mostly to summarize issues about Intl.API. Currently our formatting pipes (Number and Date) highly coupled to Intl.Api, and this api have some known issues. From top overvie...
X Description: Per @vicb this issue is mostly to summarize issues about Intl.API. Currently our formatting pipes (Number and Date) highly coupled to Intl.Api, and this api have some known issues. From top overvie...
Opengraph URL: https://github.com/angular/angular/issues/10809
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Disscussion] Internationalization API issues.","articleBody":"Per @vicb this issue is mostly to summarize issues about Intl.API.\nCurrently our formatting pipes (Number and Date) highly coupled to Intl.Api, and this api have some known issues. From top overview it could be aggregated in following groups:\n\n1) Compatibility issues between browsers. Some browser have limited support for Intl.Api (IE11, Edge), some browser not support it at all (IE8-10, Safari). Most of this issue can be easily resolved by adding proper pollyphil, but this point is not well informed (possible documentation issue).\n\nHere list of compatibility issues:\n- #9524 Issue with formatting minutes and second in IE11 and Edge . Chakra implementation of Intl.API little bit strange, so by some reason not allow to developer format date as single Minute or Second, that is required, by current implementation of date Pipe. As far as i know this is cannot be fixed by simply adding polyphil\n- #10764 #10509 #10345 #8585 #8116 #7612 #7598 #7396 #7008 #6736 #6009 #4445 and #3333. Issue with safari and mobile browser. Most of this issues already closed, but regulary we faced with new version of same issue again and again. Latest issue with that was created 2 days ago.\n\n2) Missed api. Some of requested feature could not be implemented upon standard Intl.API and require some additional implementation, which could be inconsistence with Intl.Api.\n\nHere is a list of such issues:\n- #9324 - allow pass timezone as parameter. Current implementation of DatePipe allow to us implement basic time changing, but there will be some troubles with displaying name of specified time zone (current Intl.Api not allow us to do it).\n- #7590 - add milliseconds support. This is not exist in Intl.Api but rather simple. If we implement just displaying it in A1 way no one harm, but we become inconsistence with Itnl.Api.\n- #6724 - some symbols for currencies not exist in standard Intl.Api. It only contain most common used symbols.\n\n3) Just few honorable mentions:\n- #3429 - this one is not clearly related to Intl.Api, but still need to be mentioned. Right now we not quite flexible with our locale, from this point Intl.Api just fine. This issue is mostly aroung global locale setting for angular app and related to #9104.\n- #9104 - this one is just aggregation for [i18n] component. Right now your own code internationalization and angular system internationalization is 2 big difference. They not even correlated.\n\nSo right now there is a question - should we stand for Intl.Api and be consistence with it, or abondon Intl.Api and start to work with our own implementation for internationalization, so angular [i18n] module become more consistence.\n\nStanding on Intl.Api, will lead to feature loss, since some of them not possible to implement with that api.\n\nImplementing our own implementation of [i18n] is pretty much like A1 way, with main benefit - full control of Api, but yet there is an issues - we will have to think how to integrate this into current app bundles, and more over it requires some additional work. But we could implement this as part of #9104 [i18n] module, so it will fit in current A2 apps nicely.\n","author":{"url":"https://github.com/laskoviymishka","@type":"Person","name":"laskoviymishka"},"datePublished":"2016-08-15T09:50:40Z","url":"https://github.com/angular/angular/issues/10809"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd215340-d99a-64c3-b4af-fbbc4440b43a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA0A:36A3E:195B35C:21C6483:6B015311 |
| html-safe-nonce | 134406217a206aac488319a0676e1d53a9505c18e57de6347bed1d52455071f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTBBOjM2QTNFOjE5NUIzNUM6MjFDNjQ4Mzo2QjAxNTMxMSIsInZpc2l0b3JfaWQiOiI0NjM1ODUxMDk5NjYyNzk5NjMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 45df5dad3a0219ad83d276d3801ef56a0ce452ab82746f6270df725a86335cde |
| hovercard-subject-tag | issue:171140539 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/10809/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae526c9015c2e5dca58d4d6446187da89a9f93bb411c602e867e583418c1b788/angular/angular/issues/10809 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae526c9015c2e5dca58d4d6446187da89a9f93bb411c602e867e583418c1b788/angular/angular/issues/10809 |
| og:image:alt | Per @vicb this issue is mostly to summarize issues about Intl.API. Currently our formatting pipes (Number and Date) highly coupled to Intl.Api, and this api have some known issues. From top overvie... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | laskoviymishka |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width