coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

Loading several language packs does not work #10

Closed istocniks closed 12 years ago

istocniks commented 13 years ago

Hello and thank you for such a wonderful plugin. I tried to integrate your library with my website yesterday and found out that not everything works as it should be... The code from your documentation:

$("rel*=localize") .localize("header") .localize("sidebar") .localize("footer")

does not work. It throws an exception "the object does not have localize method" when tries to apply localization from the second language pack. I'm using Chrome browser with jQuery 1.5.2. It would be wonderful if you could fix this issue, thanks!

oliverw commented 13 years ago

Any update on this?

coderifous commented 12 years ago

Thanks for noticing this. I'm forever forgetting to return the wrapped set in my plugins.