Localization of javascripts and jquery warnings

Is it possible to localize javascript and jquery in asp.net (.net 4)?

Are there any suitable examples with C #?

+3
source share
2 answers

http://weblogs.asp.net/scottgu/archive/2010/06/10/jquery-globalization-plugin-from-microsoft.aspx

This site provides a demo application for globalizing jquery in .net

+3
source

I usually create one localization script for each language for the plugin. The script contains variables with all the lines that the plugin uses. Other scripts allow you to define all text strings in the plugin parameters.

ASP.NET , ( , ).

:

<script type="text/javascript" src="/Scripts/jquery.yourplugin.resources.<%= userLanguage %>.js"></script>
<script type="text/javascript" src="/Scripts/jquery.yourplugin.js"></script>
+1

Source: https://habr.com/ru/post/1790629/


All Articles