1
I am needing to implement a translation into a plugin called pikaday, which is actually a datepicker, and as the site is multilingual I am trying to implode the i18n. pulling translations from a JSON: https://myjson.com/1bazm
and here in jsfiddle the example: http://jsfiddle.net/pz4pwkLq/1/
what is the best way to take each translation at a time? for example, and if I want to take the value "en" and move to a variable? what would it be like?
You can set the language as path, hashbang or search of a URL. Each time it (URL) is loaded, you invoke the function that renders the calendar with the respective language input.
– felipsmartins