Yii has many translations in the / i 18n / data /% lang% .php files. Here, for example, is a German translation
I want to use Fullcalendar in my Yii project. To translate this Calendar, I must provide an array of monthNames / dayNames for the current language.
FullcalendarNames Documentation of the Month
What is the best way in Yii to generate an array like this:
['January', 'February', 'March', 'April', 'May', 'June', 'July',
'August', 'September', 'October', 'November', 'December']
source
share