Here is a section from asp.net boiler help. I would like to do this in my application. However I do not have the folder listed below <script src="/AbpScripts/GetScripts" type="text/javascript"></script>
How do I do this in asp.net zero?
Thanks,
Ken
In Javascript
ASP.NET Boilerplate makes possible to use same localization texts in also javascript code. First, you should be added dynamic ABP scripts to the page: <script src="/AbpScripts/GetScripts" type="text/javascript"></script>
ASP.NET Boilerplate automatically generates needed javascript code to get localized texts in the client side. Then you can easily get a localized text in javascript as shown below:
var s1 = abp.localization.localize('NewTask', 'SimpleTaskSystem');
1 Answer(s)
-
0
I found my answer.
app.localize
Thanks!
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)