@ -124,34 +124,7 @@ Tips and tricks to best utilize Timeline
One thing missing in the original version is i18n support. Especially when it comes to date output the format was hardcoded into the sources.
Adding support for a different language is as easy as modifying `VMM.master_config.i20n` before initializing the `VMM.Timeline`. An example for the German (Austrian) language:
full_long_small_date: "HH:MM'<br/><small>'dddd',' d. mmm yyyy'</small>'",
},
messages: {
loading_timeline: "Chronologie wird geladen...",
return_to_title: "Zurück zum Anfang",
expand_timeline: "Chronologie vergrößern",
contract_timeline: "Chronologie verkleinern"
}
};
timeline = new VMM.Timeline();`
For more information about the dateformats, you may refer to the documentation available at the following URL: http://blog.stevenlevithan.com/archives/date-time-format
There is a sample using the i18n feature together with the new embed feature. See [examples/i18n_example/index.html](examples/i18n_example/index.html) for more information about it.