Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Allow External Resource Localization [27968]

$
0
0
I would like to provide my own resource string localization for languages not included in the ACT. I have put in a pull request that allows developers to insert their own translations. Can someone please provide feedback?
Comments: My problem is not that it's not working. But rather how to use it correctly. By using ``` Localization.AddLocale("it", "UpdatePanelAnimationExtenderTest.Localization", Assembly.GetExecutingAssembly()); ``` Then Localization.js is always used not Localization.__min__.js so my question is, do I have to explicitly use ``` Localization.AddLocale("it", "UpdatePanelAnimationExtenderTest.Localization.min", Assembly.GetExecutingAssembly()); ``` (including min but without the js extension) in order for ACT to use Localization.__min__.js. Based on your previous answers I get the assumption that this is not the case but I cannot figure out how to how ACT determines which version to use. I'm sorry if I'm unable to express my problem clearly enough. Actually now when i test with one of the built in localizations it's also using Localization.Resources.de.debug.js and not the min version regardless if I put my application in debug or release mode. Is my problem how i compiled ACT?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>