ggTimeSeries icon indicating copy to clipboard operation
ggTimeSeries copied to clipboard

Translation for months and day of week

Open MrcLuna opened this issue 4 years ago • 2 comments

How can I use local names for months and days of week on calendar heatmaps? I would like to have them in portuguese. Thanks.

MrcLuna avatar Feb 08 '21 19:02 MrcLuna

ggplot_calendar_heatmap uses month.abb to get the month names. As a work around, you could change that vector to the names of the months in Portugese.

dasather avatar Feb 09 '21 08:02 dasather

ggplot_calendar_heatmap uses month.abb to get the month names. As a work around, you could change that vector to the names of the months in Portugese.

Thanks, but it didn't work. I changed the vector, but the plot still show the names in English. Other packages have some way to access local names like scales and lubridate. Ploting a horizon plot with dates in x, shows local names for months. It would be nice to have some way to inform the vector names to be used in calendar heatmap. Thanks.

MrcLuna avatar Feb 09 '21 11:02 MrcLuna