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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
Assignee: nobody → gandalf
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 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+
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.

Attachment

General

Created:
Updated:
Size: