Skip to content

Commit

Permalink
show loadPath option in jquery-example
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Feb 1, 2023
1 parent cf91322 commit 10e19c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/jquery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
<script>
i18next.use(i18nextHttpBackend).init({
debug: true,
fallbackLng: 'en' // evtl. use language-detector https://github.com/i18next/i18next-browser-languageDetector
fallbackLng: 'en', // evtl. use language-detector https://github.com/i18next/i18next-browser-languageDetector
// if you want to customize a different translation path,
// use the loadPath option:
backend: {
loadPath: '/locales/{{lng}}/{{ns}}.json'
}
}, function(err, t) {
// for options see
// https://github.com/i18next/jquery-i18next#initialize-the-plugin
Expand Down

0 comments on commit 10e19c5

Please sign in to comment.