Our application is a mix of:
All 3 layers above have a scattering of strings that are displayed across the application. We have a quick need to localize the application over the next couple of months essentially so that:
All the above should happen dynamically (no separate language builds), meaning resources are loaded dynamically.
What are the best strategies around this? Some items I've considered:
Is this something that you want to develop in house or are you considering a third-party translation management system? I hate to use this question as a forum to advertise my company but it does occur to me that the approach we take at Localize would work well in your situation.
The basics are that we have built a widget that parses out the final html and replaces the strings from one language to another based upon the user's locale and their language selection. This approach means that it doesn't matter which frameworks you use since we are only parsing the dom after it is generated (or modified in your SPA code).
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.