wikimedia / jquery.i18n

🌐 jQuery based internationalization library
GNU General Public License v2.0
704 stars 144 forks source link

Allow to use "?" symbols in lang file URLs #145

Closed soulmare closed 7 years ago

soulmare commented 7 years ago

When updating some app's version, it's a good idea to force browser use newest language files also. Simplest way of doing it (for me) is adding '?v=VERSION' string to original URL. This change allows library processing such URLs in correct way. Otherwise it tracts them not as JSON files.

santhoshtr commented 7 years ago

I have merged ammended PR at https://github.com/wikimedia/jquery.i18n/pull/147