adesigns / calendar-bundle

This bundle allows you to integrate the jQuery FullCalendar plugin into your Symfony2 application.
MIT License
97 stars 60 forks source link

Traduction #26

Closed ThomasDeudon closed 10 years ago

ThomasDeudon commented 10 years ago

Hi,

do you know if you include the translation?

we should use :

<.script src='fullcalendar/fullcalendar.js'><./script> <.script src='fullcalendar/lang-all.js'><./script> <.script> $(document).ready(function() { $('#calendar').fullCalendar({ lang: 'es' }); }); <./script>

to translate with the real fullCalendar, but with this plugin...?

Toasterson commented 10 years ago

Hi Thomas

This Bundle Uses Fullcalendar Version 1.6 which does not have translations. They were added around version 2 if i recall corectly.

I have openend a Pull request which updates the Javascript to version 2.02 and adds the Translation Files. Sadly it has not been Merged yet. See #24

mikeyudin commented 10 years ago

I will check the PR this week and merge if all checks out. However, the Fullcalendar libraries in this bundle are merely for convenience sake. It is suggested that you add the dependencies separately in composer, as discussed in #3.

Future releases of this bundle will instruct you to add the dependencies separately, and the calendar JS libraries will only remain in the bundle to prevent BC breaks.

ThomasDeudon commented 10 years ago

Hi, how should I add dependencies? for now I tested by adding the lang-all.js in my calendar bundle but it doesn't work

mikeyudin commented 10 years ago

Thomas,

I believe you should read up more on Symfony and Composer, to get a better understanding of the framework, and the dependency management system Composer. This is not the forum for asking questions on how these types of things work.

Thanks.