Closed
Bug 1208347
Opened 9 years ago
Closed 9 years ago
Add MozIntl API for pre-standardized functionality
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zbraniecki, Assigned: zbraniecki)
References
Details
Attachments
(1 file)
There's a growing pile of features that should be centralized around Intl API and are in the process of standardization, but we don't have them yet in our platform.
In result all apps are coming up with DIY solutions that are usually very incomplete.
I'm introducing mozIntl which is a complementary piece to Intl API with features that soon will be part of ECMA 402.
All features in this library are temporary and will be maintained by Gaia:L10n team and eventually moved to Intl API once they get implemented in the platform.
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gandalf
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8665795 [details]
[gaia] zbraniecki:1208347-add-mozintl-api > mozilla-b2g:master
Stas, can you review this?
Attachment #8665795 -
Flags: review?(stas)
Comment 3•9 years ago
|
||
Comment on attachment 8665795 [details]
[gaia] zbraniecki:1208347-add-mozintl-api > mozilla-b2g:master
Cool, r=me.
I think it might be worth it to also document the limitation of token formatting by way of a test. I.e. add one test which purposely calls the DateTimeFormat formatter with something which breaks in the current implementation. Better keep such things in check. That's just a suggestion, the pr is fine without it, too.
Attachment #8665795 -
Flags: review?(stas) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Added the test. Thanks!
Commit: https://github.com/mozilla-b2g/gaia/commit/fb7cd30b902bf7c0c8a198a40afc0a39df767a24
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•