Closed Bug 836691 Opened 13 years ago Closed 10 years ago

Return information about the locale the string is in

Categories

(L20n :: JS Library, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: stas, Unassigned)

References

Details

(Keywords: APIchange)

The context API should be able to tell the developer which locale the requested string is in, given many available fallback locales. Something like ctx.statistics might have global stats about all entities, while ctx.getEntity would return a (value, attributes, locale) tuple.
Blocks: 836692
Keywords: APIchange
Target Milestone: --- → Next
Flags: blocking-parkcity+
(In reply to Staś Małolepszy :stas from comment #0) > Something like ctx.statistics might have global stats about all entities, > while ctx.getEntity would return a (value, attributes, locale) tuple. Bug 881292 added a 'locale' property to the object returned by getEntity.
Marking this INCOMPLETE, feel free to reopen with a detailed rationale.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.