简体   繁体   中英

Compile resx to Javascript

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM