We've done some really nice things for Localization (Locale) in
MooTools More 1.3, see 
https://github.com/mootools/mootools-more/compare/05d99b1e94...09ec668901

We've added a Number.Extras plugin too! Number.Extras brings some nice
Formatting methods - Number.format, Number.formatCurrency and
Number.formatPercentage.
Formatting of numbers is different in different parts of the World. We
write 'one million point fifty' in Europe like this: 1.000.000,50, but
in the States it is written like 1,000,000.50!
This is the same for different currencies, in Europe we've got the
Euro, in the States is the $$$, and in Japan they've got the Yen.

We can perfectly use our new Locale here!

But we need to collect all the data to format numbers and currencies
the right way as you've done for Date and FormValidator, and we need
you again!

So how can you help?

- Using Git

1. clone mootools-more http://github.com/mootools/mootools-more
2. checkout the 1.3wip branch
3. Copy the Locale.en-US.Number.js
4. Rename it to Locale.<your language code>.Number.js (probably there
is already a Locale.<your language code>.Date.js)
5. Open the data in the file, and save it
6. Commit the changes and push to github
7. Let us know, reply this to thread, send a pull request

- I don't know how to use git

1. Copy this file: 
http://github.com/mootools/mootools-more/blob/1.3wip/Source/Locale/Locale.en-US.Number.js
2. do the changes.
3. reply in this thread.

- I am a European:

One of the new nice things in Locale is the inherit system, for
example Argentina Spanish is almost the same as Spanish except some
small things.
This is the same for numbers in Europe, so we created a
Locale.EU.Number.js

So to define a Locale that inherits the data of Europe this single
line is the only thing you have to do:

Locale.define('nl-NL').inherit('EU', 'Number');

(see 
http://github.com/mootools/mootools-more/blob/1.3wip/Source/Locale/Locale.nl-NL.Number.js
)



Thanks in advance for your help, and I hope you I have informed you
with the latest progress about Localization in more 1.3







On Aug 9, 5:28 am, Aaron Newton <[email protected]> wrote:
> Tim, I pulled this back to 1.2:
>
> http://github.com/mootools/mootools-more/commit/e5f3edb44ba8c8ef9e066...
>
>
>
> On Sun, Aug 1, 2010 at 4:30 PM, Tim Wienk <[email protected]> wrote:
> > On Mon, Aug 2, 2010 at 01:29, Aaron Newton <[email protected]> wrote:
> > > I don't see any reason these changes can't be cherry-picked onto the 1.2
> > > branch, do you?
>
> > Nope, I don't either, there are no changes that are incompatible with
> > 1.2. Feel free to do so!

Reply via email to