Skip to content
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

Better implementation for Intl/ICU - JavaScript Fails Story #6017

Closed
mhf-ir opened this issue Jun 1, 2020 · 1 comment
Closed

Better implementation for Intl/ICU - JavaScript Fails Story #6017

mhf-ir opened this issue Jun 1, 2020 · 1 comment

Comments

@mhf-ir
Copy link

mhf-ir commented Jun 1, 2020

I18n is essetial i think so:
ICU/Intl is require but there is a problem in JS word to using i18n:

  • There is no valid implementation ISO for Intl. It's wired implementation for JS.
  • It's not the entire ICU library it's just simple the implementation that not cover all use cases.
  • There is no parser for Convert none Georgian calendar to Standard Unix time or Standard Date Object. and etc.
  • Access standard CLDR data (json output: https://github.com/unicode-cldr/cldr-json). List of valid locales and currency/calendar and etc ...specs... why it's not essential part of JS core ? I donno !!!

https://stackoverflow.com/questions/29961992/javascript-intl-datetimeformatter-as-iso-8601custom-output-pattern
https://medium.com/@semnanweb/javascript-intl-fails-da3cda114370

I suggest to see PHP implementation instead of Using same problem for JS
https://www.php.net/manual/en/book.intl.php
C library:
https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/
CLDR data:
http://cldr.unicode.org/

@ry
Copy link
Member

ry commented Jun 15, 2020

duplicate of #1968

@ry ry closed this as completed Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants