DataViewsJS supports localization of inline resources to cater the global users. The two ways to change the inline resources are as follows:
The steps to enable localization of resources for Japanese language are as follows:
$('#grid-locale-mode').change(function () {
var sel = document.getElementById('grid-locale-mode');
var value = sel.options[sel.selectedIndex].value;
var baseUrl = '[Your Script Path]/gc.dataviews.locale.' + value + '.min.js';
getScript(baseUrl, function () {
initGrid(sourceData);
});
});
Submit and view feedback for