Reputation: 19830
Is there a way to compile resx file to Javascript during build time? I found only this: Localize Strings in Javascript which is useless in my case because I have really many strings to put in javascript.
Upvotes: 0
Views: 2047
Reputation: 12703
I think some of the answers in your link would allow for muliple properties.
But there are other solutions:
http://www.west-wind.com/weblog/posts/2009/Apr/02/A-Localization-Handler-to-serve-ASPNET-Resources-to-JavaScript
If you search for "convert resx json" you will find different approaches.
Upvotes: 2