dojo.i18n._searchLocalePath
dojo.require("dojo.i18n");
defined in dojo/i18n.js
A helper method to assist in searching for locale-based resources. Will iterate through the variants of a particular locale, either up or down, executing a callback function. For example, "en-us" and true will try "en-us" followed by "en" and finally "ROOT".
parameter | type | description |
---|---|---|
locale | String | |
down | Boolean | |
searchFunc | Function |