Quartz / Chartbuilder

A front-end charting application that facilitates easy creation of simple beautiful charts
http://quartz.github.io/Chartbuilder
MIT License
2.1k stars 354 forks source link

How to localize #179

Open probus opened 9 years ago

probus commented 9 years ago

How can I start localizing the new Chartbuilder?

yanofsky commented 9 years ago

Hmm, Chartbuilder 2 isn't quite set up to swap in another language, but it should be.

As a start (i guess) here's a (likely incomplete) list of places that contain thing that should be able to be localized:

The locale indicator should ultimately be stored in the SessionStore (Right @nsonnad?)

@probus what do you think would be the best way to go about this?

ghost commented 8 years ago

I've changed most of the styling for my publiciation and to make it work one d/m/y data.

Here are the key minimum things I did:

  1. src/js/util/process-dates.js Line 8: +Date.setLocale('en-AU');

Line 11: "lmdy": function(d) {

Line 15: "mmdd": function(d) {