Created
June 26, 2015 13:25
-
-
Save hugohil/c8efc847dfc41867363e to your computer and use it in GitHub Desktop.
internationalize
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
// You'll need to download i18n as well as jquery | |
// http://i18next.com/ | |
// https://jquery.com/download/ | |
$(document).ready(function(){ | |
i18n.init({ lng: 'en-EN', load: 'current', fallbackLng: false }, function(t) { | |
$('[data-i18n]').i18n(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment