Skip to content

Instantly share code, notes, and snippets.



Created May 8, 2019
What would you like to do?
jQuery(function($) {
var current_user = {
name: "Alex"
var consultant = { // <---
name: "Ann",
gender: "female",
message: "How may I help you?"
'en': 'http://localhost/lok/jqi/i18n/en.json',
'ru': 'http://localhost/lok/jqi/i18n/ru.json'
}).done(function() {
$('#consulting_chat').text( // <---
$.i18n('consulting_info',, consultant.gender, consultant.message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.