coderifous / jquery-localize

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

chaining on input elements of type submit or reset #37

Closed jean-philippe-v closed 10 years ago

jean-philippe-v commented 10 years ago

Hello,

This library is great and very useful. Many thanks.

I have a little problem using it on such elements, though:

when I chain on several JSON files.

If the entry does not appear in the last JSON file, then the value of the element is set to "", instead of keeping previous value, that would be the expected behaviour (that happened for all other elements, especially for labels).

This generates a problem of compatibility between jquery-localize and jquery-validate, where the use of input elements of such types is proposed.

This problem may be due to my incomplete understanding of the proper way to use this library. If it is the case, please tell me.

Anyway, I have an idea how to find a workaround, by treating localisation for such elements separately.

Many thanks for your patience.

coderifous commented 10 years ago

I'm looking into this... standby!

coderifous commented 10 years ago

I believe I've addressed it - please let me know if not. Thanks for the kind words, and reporting the issue!

jean-philippe-v commented 10 years ago

For me, it works. Great job. Many thanks.