Opened 10 years ago

Closed 10 years ago

#14093 closed defect (wontfix)

dojo.i18n.getLocalization() not working in Rhino environment

Reported by: Evan Owned by:
Priority: high Milestone: tbd
Component: Core Version: 1.7.0b1
Keywords: Cc: Rawld Gill, Adam Peller
Blocked By: Blocking:


Noticed this issue when dealing with #14064

dojo.i18n.getLocalization() is now always using xhr to fetch bundles, and this won't work in Rhino environment, some similar logic in previous dojo\_base\_loader\hostenv_rhino.readText() will get this fixed by using Rhino's native to load local files.

Not sure if there are other similar cases.

Change History (3)

comment:1 Changed 10 years ago by Adam Peller

Cc: Adam Peller added

breaks backcompat, but probably for very few. Hopefully the require(i18n!...) path works in Rhino... synch and asynch?

Last edited 10 years ago by Adam Peller (previous) (diff)

comment:2 Changed 10 years ago by Adam Peller

see monkey patch workaround in #14064

comment:3 Changed 10 years ago by Adam Peller

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.