Skip to content

Commit

Permalink
update jquery example
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Jul 14, 2023
1 parent cb8d53c commit 30736ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/jquery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/i18next.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/jquery-i18next.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/i18nextHttpBackend.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/i18nextBrowserLanguageDetector.min.js"></script>
</head>

<body>
Expand All @@ -19,9 +20,9 @@
</div>

<script>
i18next.use(i18nextHttpBackend).init({
i18next.use(i18nextBrowserLanguageDetector).use(i18nextHttpBackend).init({
debug: true,
fallbackLng: 'en', // evtl. use language-detector https://github.com/i18next/i18next-browser-languageDetector
fallbackLng: 'en',
// if you want to customize a different translation path,
// use the loadPath option:
backend: {
Expand Down

0 comments on commit 30736ce

Please sign in to comment.