Temporarily commenting out request for language files

in order to avoid 404 file not found error on the console until the i18n
team provies the language files
This commit is contained in:
jaredevantabor
2016-10-25 15:46:45 -07:00
parent 4b34c6987a
commit b98524dc91

View File

@@ -81,7 +81,10 @@ export default
var langUrl = langInfo.replace('-', '_');
//gettextCatalog.debug = true;
gettextCatalog.setCurrentLanguage(langInfo);
gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json');
// TODO: the line below is commented out temporarily until
// the .po files are received from the i18n team, in order to avoid
// 404 file not found console errors in dev
// gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json');
};
}])
.factory('i18n', ['gettextCatalog',