Functiondojo.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".

Usage

function (/*String*/ locale, /*Boolean*/ down, /*Function*/ searchFunc) (view source)
parametertypedescription
localeString 
downBoolean 
searchFuncFunction