[SOLVED]FullCalendar Viz - Change Locale

xtrgeo

Member
Hello,

how can I change the locale settings of fullcalendar viz, in order for the buttons etc to be in my site's default language?

Thnks
 
Hi translation exist and is fully edited by me. But the name of the days as well as the 9am, all stays in English!
 
I can't replicate.
Are you running the recent Fabrik version (3.5.2)?
upload_2017-3-15_14-17-31.png

Edit:
Fullcalendar is using Joomla's locale settings for day names etc
So have a look at the file
language/xx-XX/xx-XX.xml

If it's missing Joomla (and so Fullcalendar) is falling back to English.

Additionally your language must be supported by Fullcalendar in
plugins\fabrik_visualization\fullcalendar\libs\fullcalendar\lang\xx.js
or may be in
plugins\fabrik_visualization\fullcalendar\libs\fullcalendar\lang-all.js
 
Last edited:
" Fullcalendar is using Joomla's locale settings for day names etc
So have a look at the file
language/xx-XX/xx-XX.xml
"

My Language's xml file exists.

"Additionally your language must be supported by Fullcalendar in
plugins\fabrik_visualization\fullcalendar\libs\fullcalendar\lang\xx.js "

This file also exists and has the name of the days in my language...
What is happening??

Edit: I forgot to mention that 2 days ago I downloaded the vizualization files from github,in order for the events to appear. But before I wasn't able to see my native language, so I am just mentioning this, just in case...
 
Last edited:
I don't think the actual fullcalendar language itself is working yet. Any Joomla related language on the page will work, but the calendar itself won't. That's a known issue, I'm still working on a fix for that.

-- hugh
 
Thnks for clarifing it, I was absolutely sure I was doing everything right.

I'll be waiting for an update!
 
I don't think the actual fullcalendar language itself is working yet.
It is;)
I have a multilang site with German, French, English, Arabic
In German it's loading
plugins\fabrik_visualization\fullcalendar\libs\fullcalendar\lang\de.js
in French .../fr.js etc

and it's definitly using the monthShort etc. from these files

upload_2017-3-15_21-22-25.png


upload_2017-3-15_21-23-0.png
 
Which exact Fabrik version are you running? There have been several modification after Fabrik3.5.2 in GitHub.
Which language?
 
Hmm, even with Fabrik3.5.2 checked out I get
upload_2017-3-15_22-16-57.png

But yes:
You should always do a complete GitHub update (and backup before).
 
Fullcalendar is relying on JS.

Maybe your Joomla template or some component is conflicting.
Check with a browser dev tool if there are JS errors, if the js-files I mentioned are loaded etc.
 
I found the error. Is on System->Global Conf --> Fabrik -> Debugging set AllowFabrikDebug -> Debug JS

All other options fail.

I hope that someone could use this help!
 
Thanks, it seems something got wrong with a minified file at some point.

@cheesegrits : as far as I can see the problem is NOT \plugins\fabrik_visualization\fullcalendar\fullcalendar-min.js
 
Yes, with debug off it's ignoring languages, always showing English.

It's definitively NOT \plugins\fabrik_visualization\fullcalendar\fullcalendar-min.js (it's the same if I just rename fullcalendar.js to fullcalendar-min.js)
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top