Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Externalize strings in Javascript

I have been searching on line for a tool that externalized strings in JavaScript but I have been unable to do so. I was hoping there would be something similar to the one built into eclipse (Source -> Externalize Strings...). If someone knows of a tool or plugin for eclipse that could accomplish that, let me know.

We have a software project that is already mature but now needs to support translations, and hence we need the string externalized.

like image 825
hbhakhra Avatar asked Mar 22 '26 12:03

hbhakhra


1 Answers

I suggest you use a JSON-based language look-up table if you want to populate these values via JavaScript. Eclipse cannot help you with this.

See: Localization in a web app using JavaScript and JSON

like image 80
Diodeus - James MacFarlane Avatar answered Mar 24 '26 02:03

Diodeus - James MacFarlane



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!