Comments (4)
just updated the sample to latest versions...can't reproduce there. Could you please provide a sample getting that error?
from jquery-i18next.
what version of i18next are you using? what does your i18n module look like?
from jquery-i18next.
Ack (smacks head against desk)... that's it! There are two modules to deal with now, instead of the rolled-up i18next.amd.withJQuery. Making sure I referred to both resolved the issue. Thanks!
For those upgrading that come across the same issue -- I'm using require.js and Jquery -- if you're using aliases, include both i18next
and jquery-i18next
. The first call is to the i18next module, the second is to the jquery-i18next one:
paths: {
'i18next': 'i18next.min',
'jquery-i18next': 'jquery-i18next.min'
...
},
...and then in the init call:
var i18n = require('i18next'),
jqueryi18n = require('jquery-i18next');
i18n.init({
lng: locale,
debug: true,
fallbackLng: 'en'
}, function (err, t) {
// Callback when i18next is finished initializing
jqueryi18n.init(i18n, $);
});
Thanks again, Jan!
from jquery-i18next.
great you figured out...
from jquery-i18next.
Related Issues (20)
- i18next.amd.withJQuery missing in 18next 3.x.x HOT 1
- Load i18next on framework7 ajax loaded pages HOT 8
- Unable to use JQuery 3.1.1 together with jQuery-18next. HOT 2
- jqueryI18next.init is not a function(…) HOT 4
- parser for parseDefaultValueFromContent HOT 4
- Uncaught TypeError: Cannot set property 't' of undefined HOT 8
- I can't load json files HOT 1
- How can Key Fallback option be used for translations HOT 3
- localize not defined when .use(i18nextBrowserLanguageDetector) is called HOT 5
- Spaces in data-i18n value for multiple parameters HOT 2
- When there is no default value when binding to an attribute it inserts the key instead of blank HOT 4
- i18next with razor engine HOT 13
- data-i18n not taken into consideration? HOT 2
- Not working for nested boostrap navs HOT 3
- complex replacement i18n vs i18next HOT 2
- How can I use HTML tags? HOT 2
- i18nextHttpBackend looking 'locales' folder under main directory of the server rather than working directory HOT 4
- Replace HTML tags tokens from translation HOT 9
- $.t is not a function with slow networks HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-i18next.