This is the initial version of KIT for Javascript. This currently supports localization delivery for your javascript or nodejs app.
- Easy to integrate javascript library
- Web hosted strings
- Web portal for realtime updates
- Live update
- Modify in page ui
- String auto detection
npm install --save localizationkit
Get a developer key from localizationkit.com where you can create a new app and generate a key.
Start the localization engine:
var LocalizationKit = require('localizationkit')
Localization = new LocalizationKit("[[API_KEY]]")
If you want to include the localization as a script tag you dont need to call load a language as it detects the browser language.
<script src="//www.localizationkit.com/v2/app/[[API_KEY]]/localizationkit.js"></script>
Not needed when you load as script unless you want to change language
Localization.loadLanguage("en", function(){
console.log("English Language loaded")
})
var localizedString = Localization.getValue("com.general")