Closed amerqt closed 3 years ago
after deep check i found that this was mentioned in repo description you can use callbacks
$("[data-localize]").localize("languages/locale", { language: "en", callback: function(data, defaultCallback){ console.log(data.title); < -------- HERE defaultCallback(data) } });
I need to set element properties with translated value from JS file , anyway to do that ?