This content has been marked as final. Show 1 reply
In your case, moving strings now to properties files might require lot of code change.
One suggestion from me is,
- to externalize the hardcoded strings to a separate .js file.
- Define a directory structure to organize English and other localized .js files in your application
- Develop a mechanism to dynamically load localized .js files and fetch localized strings for use in your application based on user's preferred language
NOTE: Translated .js files should be UTF-8 encoded, unless your application supports any other native encodings.
This also requires code change, but might require lesser effort.
Hope it helps.
My 2 cents.