Changes translation module to load async
This commit is contained in:
parent
8a80df2828
commit
d9e08032ce
|
@ -24,7 +24,7 @@ var defaultOptions = {
|
||||||
fallbackOnEmpty: true,
|
fallbackOnEmpty: true,
|
||||||
useDataAttrOptions: true,
|
useDataAttrOptions: true,
|
||||||
app: interfaceConfig.APP_NAME,
|
app: interfaceConfig.APP_NAME,
|
||||||
getAsync: false,
|
getAsync: true,
|
||||||
defaultValueFromContent: false,
|
defaultValueFromContent: false,
|
||||||
customLoad: function(lng, ns, options, done) {
|
customLoad: function(lng, ns, options, done) {
|
||||||
var resPath = "lang/__ns__-__lng__.json";
|
var resPath = "lang/__ns__-__lng__.json";
|
||||||
|
|
Loading…
Reference in New Issue