jquery-localize icon indicating copy to clipboard operation
jquery-localize copied to clipboard

get string from javascript

Open maxdiable opened this issue 8 years ago • 0 comments

hi, i put this code in my page: var opts = { language: "en-GB", pathPrefix: "../localize", skipLanguage: "default" }; $("[data-localize]").localize("lang", opts);

it's possible to get the string from json file?

I tried with:

console.log($.localize.data["localize/lang"]["title"]);

but not working!

any help?

br Max

maxdiable avatar Oct 24 '17 15:10 maxdiable