jamuhl/i18next — Issue #4: data-i18n doesn't seem to work
Author: Zougi
Created: 2012-03-03 02:12:54+00:00
State: open

Hi,

First of all great plugin!

I just tested "data-i18n" role and it doesn't seem to work. I just tested this simple code with the appropriate json files:

----------------------

----------------------

Obviously, when i replace
$('#test').i18n();
by
$('#test').text($.t('test.name'));
it works.
Maybe I'm missing something?

maybe it will help: when i put an alert near line 180 in i18next-1.2.3.js the alert doesn't show.

regards.