frappe / charts

Simple, responsive, modern SVG Charts with zero dependencies
https://frappe.io/charts
MIT License
14.9k stars 716 forks source link

Heatmap localizations #364

Open ronilaukkarinen opened 2 years ago

ronilaukkarinen commented 2 years ago

Expected Behaviour

Should be able to translate month names, "More", "Less", etc.

Actual Behaviour

They're all in English right now.

image

Tried to edit constants MONTH_NAMES_SHORT in date-utils.js by hand and then to save styles but for some reason no change.

Please provide information how to translate texts shown in heatmap. Thanks!

ronilaukkarinen commented 2 years ago

Any tips? Currently it's no problem for me to just translate the strings inside some file, but date-utils.js and then importing doesn't change anything.