2016-01-13 57 views

回答

1

退房在fullCalendar Docs

<script src='fullcalendar/fullcalendar.js'></script> 
<script src='fullcalendar/lang-all.js'></script> 
<script> 

    $(document).ready(function() { 

     $('#calendar').fullCalendar({ 
      lang: 'fr' 
     }); 

    }); 

</script> 

以上lang選項是普通的js解。看通過Angular-UI日曆​​文檔,我認爲你的解決方案會類似,但類似:

myAppModule.controller('MyController', function($scope) { 
    /* config object */ 
    $scope.uiConfig = { 
     calendar:{ 
     lang: 'fr' 
     } 
    }; 
});