[jQuery] Re: [Validation] Internationalization support

2009-05-18 Thread Jörn Zaefferer

You can write custom methods to extend the plugin with whatever
methods you need:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod

You should be able to use numberDE for that number format. Look at
dateDE or any of the other date methods to see how they are
implemented.

Jörn

On Mon, May 18, 2009 at 9:28 PM, MaxMax xana...@geocities.com wrote:

 Does the JQuery Validation plugin supports internationalization? Here
 in Italy for example we write 1,5 instead of 1.5 and 1.500,5 instead
 of 1,500.5 and the dates are in another format (dd/MM/)...

 Thanks
 Massimiliano



[jQuery] Re: [Validation] Internationalization support

2009-05-18 Thread MaxMax

But all the range, min, max don't work because they use the standard
javascript string to number conversions that are USA only. I patched
the validation plugin to work in italy (but now it works only in
italy)

On 18 Mag, 22:22, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
 You can write custom methods to extend the plugin with whatever
 methods you need:http://docs.jquery.com/Plugins/Validation/Validator/addMethod

 You should be able to use numberDE for that number format. Look at
 dateDE or any of the other date methods to see how they are
 implemented.

 Jörn



 On Mon, May 18, 2009 at 9:28 PM, MaxMax xana...@geocities.com wrote:

  Does the JQuery Validation plugin supports internationalization? Here
  in Italy for example we write 1,5 instead of 1.5 and 1.500,5 instead
  of 1,500.5 and the dates are in another format (dd/MM/)...

  Thanks
  Massimiliano- Nascondi testo citato

 - Mostra testo citato -