Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4030
    Andrija Kokanovic
    Participant

    Hi there, first of all I must say this is an awesome plugin that saved me lots of time!
    Second, I made a serbian translation of the plugin – if you are interested you can download it here https://www.dropbox.com/s/p27re5breceqxrl/Events%20maker.rar

    I am kind of stuck with the translation of the calendar itself. Is there any tutorial on how can I properly do that? I reused some of the other language files and translated them, but I dont think I am doing it the way it is supposed to be done ( there are always some leftovers untranslated ).

    #4033
    Bartosz
    Keymaster

    Thank you Andrija,

    For both – translation and the kind words. We’ll indlude your files in the upcoming release.

    When it comes to your question – you mean the advanced full calendar, right? This is not purely handled by EM, but the calendar JS script itself. In order to make it fully localized in your language you’d have to look into assets/fullcalendar/lang/. It includes JS files with strings for specified language code. If EM finds a JS file for the site current language it’s being automatically loaded, otherwise the default (english) is used.

    If you create a JS file in your language we could include it in the plugin too.

    #4047
    Andrija Kokanovic
    Participant

    Yep, full calendar. I found the language files but I am strugling to translate them. Whenever I change the t.lang from the one inside the file I am using to translate, it wont load.

    Here is the english language file which I translated https://www.dropbox.com/s/8q0lzo15aa707o6/sr.js

    I translated everything I could find but when I am on the calendar page it shows me these english words: MONTH WEEK DAY, ALL DAY ( see here: http://prntscr.com/3pawms , here: http://prntscr.com/3pawvd and here: http://prntscr.com/3pax03 )

    I found this line in another language file that is missing in english and I translated it and tried to insert it in my file:
    e.fullCalendar.lang(“en-gb”,{buttonText:{month:”Месец”,week:”Недеља”,day:”Дан”,list:”Агенда”},allDayText:”Целодневни”})});
    But it just wont work. Any idea how to bypass this?

    I partly bypassed this problem by translating ca.js but I dont understand half of what is inside so its just half translated :D

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.