[FullCalendar Reactive] Full Calendar change months and week days names not working
fullcalendar-reactive
Reactive icon
Forge component by André Cabral
Application Type
Reactive
Service Studio Version
11.53.7 (Build 60881)

Hi everyone! I am having some troubles using the FullCalendar component. I have this configs on the "Advanced Options" property of the widget:

(OML in the attachments and code here) but the monthNames and dayNames aren't working it still appears the names in english on the page.

Can you help me understand how do I change them?

TestApp.oml

mvp_badge
MVP
Solution

Hi André,

For the mentioend use case, you just need to set the locale in the AdvanceOptions property as shown below.

"locale: 'pt-br'"


Final JSON ConfigOptions value:

"header: {
    left: 'prev,next today',
    center: 'title',
    right: 'dayGridMonth,timeGridWeek'
},
theme: false,
firstDay: 0,
isRTL: false,
height: 'auto',
contentHeight:'auto',
aspectRatio:'2',
eventLimit:'True',
defaultView:'dayGridMonth',
allDayText:'all-day',
axisFormat:'h(:mm)a',
slotDuration:'00:30:00',
snapDuration:'00:30:00',
scrollTime:'06:00:00',
minTime:'00:00:00',
maxTime:'24:00:00',
slotEventOverlap:true,
selectable:true,
selectHelper: true,
allDayDefault:false,
editable:true,
locale: 'pt-br'"

See this demo screen: FullCalendar_Locale_Change

Refer to the attached updated oml


I hope this helps you!


Kind regards,

Benjith Sam

TestApp (1).oml

It worked! Thanks a lot for the help!

mvp_badge
MVP

You're welcome, André.

Glad to help you :)


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.