Works inside the browser or on the client side for Node.js.
- Fetches resources from server
- Fetches each resource file individual (static) or all once via dynamicRoute
- Applies translation to HTML tags with the data-i18n attribute
- Posts missing key-value pairs to server
- Searches for en-US keys first, than in fallback language
In a hurry? Add it to your Download Basket!
What's New in version 1.7.2
- Fixed issue with no option passed to setLng
- Added ability to prepend, append content with data-i18n attributes
- Introducing objectTreeKeyHandler
- Fixes issue with i18n.t(null), i18n.t(undefined) throwing exception