I18n for week days

if i have a text like
text = “monday”
how can i translate it in another tongue like french by example ?

You can use the ir.calendar.day model which comes with all the week days and which is translated.