Translate calendar

How to translate the inscription today in calendars.

That particular word isn’t automatically translated. There is a localization API that’s available on newer browsers (Chrome 71+, Safari 14+), so I’ll take a closer look to see if that’s something we could implement at least for newer browsers. :slight_smile:

Not a perfect solution, but if you are familiar with css you can add a custom css that would override the text with some psudo classes. I have done that to my dashboard, with some other changes, so this css will need some tweaking for your needs

.tile.calendar .agenda-date .today {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
}

.tile.calendar .agenda-date .today::after {
	content: 'I DAG';
	visibility: visible;
	background-color: #ffc107;
	color: #483b15;
	border-radius: 0.125em;
	height: 1.4em;
	width: 100%;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: left;
	padding-left: 0.5em;
	left: 1em;
	top: 0;
	font-size: 1.3em;
}
1 Like

Thanks, I modified your code, it works

1 Like