Closed macray125 closed 9 years ago
Livestamp.js uses Moment.js to generate all of the time-ago text, so it is compatible with Moment's language support. Check out Moment's internationalization documentation to get Moment working with other languages.
awesome to see this. @mattbradley
I'm having trouble setting moment.locale before livestamp replaces DOM elements (with data-livestamp). My intention is to do something like this:
moment.locale($('body').data('lang'));
I have checked both livestamp and moment documentation but I can't find the way to do it. Thanks a lot!
pangui what i did is load the moment.js first (not the moment with locals) then i load the fr.js (thats right i created a file for each language fr.js en-gb.js etc...) then i load the livestamp.js this works for me.
ps i downloaded this file which contains a folder with most langugue files already in them :) http://fullcalendar.io/download/
Thank you @leap-it I'm going to try your suggestion
Hi Sir,
Can you help me on how to convert this into Multi lingual languages
Thanks.