Created
May 8, 2019 17:49
-
-
Save bodrovis/5b22bd702ba22b494447e4c9dbe59b8e 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
.done(function() { | |
$('.switch-locale').on('click', 'a', function(e) { | |
e.preventDefault(); | |
$.i18n().locale = $(this).data('locale'); | |
}); | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment