Irrelon / jquery-lang-js

i18n Allow instant language switching on HTML pages without reloading the page.
https://www.irrelon.com
362 stars 132 forks source link

Language translation for lang="*" attributes in tags not working #102

Closed cosmopolit closed 6 years ago

cosmopolit commented 7 years ago

After updating JQuery from 2.2.4 to 3.2.1 the translation in html is not working anylonger. Translation with javascript is working as before.

Any hints to solve this issue?

Irrelon commented 7 years ago

Hey ya, I've not tested newer jQuery versions. If you find out what causes it can you let me know?

I so rarely use jQuery anymore that I didn't even know there was a version 3. Been using AngularJS for ages now. :)

curunoir commented 6 years ago

Still not working with Jquery 3.2.1 with either inline or javascript change methods. No errors in the console. In the network console language packs does not seem to be loaded.

Irrelon commented 6 years ago

@curunoir Are you able to place some breakpoints and see where it is failing?

curunoir commented 6 years ago

Nevermind it's working now. I guess I was confused when using same lang tags on init method and html tags.

Irrelon commented 6 years ago

Cool so working with jQuery 3. Will close this issue then.