Externalize strings in Javascript

3.2k Views Asked by At

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.

1

There are 1 best solutions below

2
On

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