In this video I'll show you how to generate Translations for use in front end javascript code.
I'll use the same dummy list with 3 keys and some translations from my previous video. So.
Go to the setup tab, Activate the JS Object check and write a directory where you want your files to be generated.
The generated result is json file for each language and an all.js file that contains all the translations wrapped in blocks of code
if lang equals to some language code. You are free to choose which of this files you will use.
The selected language is stored in a variable in the local storage. You can change that as you like.
http://tomavelev.com/TranslateApp/