This is a JQuery plugin that allows the creation of a different layer of inputs that will receive formatting according to user locale.
Let's imagine that you have your application handling a float value and you must support the pt_br locale which uses "," as decimal separator and "." as separator for thousands).
Usually, you would need to support the different float formats on the server, but with this plugin you can do that support entirely on client-side.
It works by creating a second input, turning the original input into a hidden input and using deflate and inflate functions to convert to/from the desired user-friendly format. Changes are then propagated to the original input.