Created
May 8, 2019 18:06
-
-
Save bodrovis/92f041bb179f8a364993d5279fc6e7f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($) { | |
$.i18n().load({ | |
'en': 'http://localhost/lok/jqi/i18n/en.json', | |
'ru': 'http://localhost/lok/jqi/i18n/ru.json' | |
}).done(function() { | |
$('#welcome').text($.i18n('welcome')); // <--- | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment