Add a resource ROOT, searched ahead of anything the packages ship.
In the browser this is required to load anything beyond the bundled default language — there is
no implicit root. An app that stages resources with ResourcesPlugin (or stageResources) serves
them at /resources, so it calls addResourceRoot('/resources').
May be called before or after packages load; already-registered packages re-discover their locales.
Add a resource ROOT, searched ahead of anything the packages ship.
In the browser this is required to load anything beyond the bundled default language — there is no implicit root. An app that stages resources with
ResourcesPlugin(orstageResources) serves them at/resources, so it callsaddResourceRoot('/resources').May be called before or after packages load; already-registered packages re-discover their locales.