Oh, sorry, it was very late when I answered (very sad excuse indeed).
I think I got you covered though.
I made a landing page presenting scripts that you can use to translate names of days and months on the fly.
Unfortunately, I haven’t prepared the Scandinavian version of it, but you’ll easily edit the script to repair my omission.
The scripts on that page are translating full months and days names, but you can add the short versions of them easily. here is the script I’m using for my French sites:
<script>
// config
var dateclass = 'classdate';
$(document).ready(function() {
var wfdc = $('.' + dateclass);
wfdc.each(function() {
var wfdctxt = $(this).text();
var monthsEn = [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday',
'Sunday',
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
'Mon',
'Tue',
'Wed',
'Thu',
'Fri',
'Sat',
'Sun'
];
var monthsFr = [
'Janvier',
'Février',
'Mars',
'Avril',
'Mai',
'Juin',
'Juillet',
'Aout',
'Septembre',
'Octobre',
'Novembre',
'Décembre',
'Lundi',
'Mardi',
'Mercredi',
'Jeudi',
'Vendredi',
'Samedi',
'Dimanche',
'Jan',
'Fev',
'Mar',
'Avr',
'Mai',
'Jui',
'Juil',
'Aou',
'Sep',
'Oct',
'Nov',
'Dec',
'Lun',
'Mar',
'Mer',
'Jeu',
'Ven',
'Sam',
'Dim'
];
for (var i = 0; i < monthsEn.length; i++) {
wfdctxt = wfdctxt.replace(monthsEn[i], monthsFr[i]);
}
$(this).text(wfdctxt);
});
});
</script>
Could you please, if you use it and make the Scandinavian version, give it back to me so I can add it to the page for anyone else to grab?
Webflow is supposed to bring Multilanguage this year, I hope that all thos variables will be translated as well then and that I can retire those scripts.