0
good afternoon. I want to use fullcalendar in web software, but I’m not able to translate into Portuguese. I already imported the en.js file and added a JS script, but no success. Can anyone help me?
0
good afternoon. I want to use fullcalendar in web software, but I’m not able to translate into Portuguese. I already imported the en.js file and added a JS script, but no success. Can anyone help me?
1
When you downloaded the fullcalendar you probably had a folder called locale next to the files, in this folder contains the languages. Make the file reference en.js next to fullcalendar reference.
Example:
<script src='fullcalendar/fullcalendar.js'></script>
<script src='fullcalendar/locale/pt-br.js'></script>
<script>
$(function() {
$('#calendar').fullCalendar({
lang: 'pt-br'
});
});
</script>
Browser other questions tagged javascript fullcalendar
You are not signed in. Login or sign up in order to post.
Check it out: https://fullcalendar.io/docs/locale
– Marconi