Sep 25 2009 at 5:04 AM
Edited Sep 25 2009 at 1:23 PM
|
No, for me the idea is to put translated messages into classical .NET resources files
In js files, we replace a hard coded text by something like
GetGlobalResourceObject("KIGG" "MSG_INFO")
And whenever the httphandler encounters this text, it will go and bring it back from the resource file
At least that's the way I understood the link I gave in my first thread
This is a very easy solution.
On the other hand, there is no need to gather all js files in one big file
The KIGG scriptManager does this automaticallement for us
I am also wondering if we cannot just add a private method to the AssetHandler class that does the translation before the compression.
An option in the web.config will enable or disable this possibility
|