<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div>Hi Nyall,<br /><br />Somehow my post shows the code but my previous post doesn't.<br />Anyway this is how the code looks:<br /><br />vandaag = datetime.now() <br />dag = vandaag.day <br />maand = vandaag.strftime("%B") <br />jaar = vandaag.year <br />datum = str(dag) + " " +  maand + " " + str(jaar)<br /><br />I suspect that maybe strftime changed in python 3.6?<br /><br />Regards,<br /><br /><div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:5px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:14.67px;"><td align="left" style="padding:2px 0;vertical-align:top;font-family:Tahoma;">Reginald Carlier<span style="font-family:remialcxesans;">​</span></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:13.33px;"><td align="left" style="padding:2px 0;vertical-align:top;font-family:Tahoma;">Deskundige GIS</td></tr></table></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="padding:3px 0;vertical-align:top;"><a href="https://www.ingelmunster.be/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/ingelmunster.gif" height="65" border="0" alt="" style="height:65px;min-height:65px;max-height:65px;font-size:0;" /></a></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:2px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="vertical-align:top;font-family:Tahoma;">Gemeente Ingelmunster</td><td align="left" style="vertical-align:top;font-family:Tahoma;">, </td><td align="left" style="vertical-align:top;font-family:Tahoma;">Oostrozebekestraat 4</td><td align="left" style="vertical-align:top;font-family:Tahoma;">, </td><td align="left" style="vertical-align:top;font-family:Tahoma;">8770</td><td align="left" style="vertical-align:top;font-family:Tahoma;"> </td><td align="left" style="vertical-align:top;font-family:Tahoma;">Ingelmunster</td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:2px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="vertical-align:top;font-family:Tahoma;">T</td><td align="left" style="vertical-align:top;font-family:Tahoma;"><a href="tel:+32%2051%2033%2074%2039" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">+32 51 33 74 39</strong></a></td><td align="left" style="vertical-align:top;font-size:0;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="padding:0 0 0 5px;vertical-align:top;font-family:Tahoma;"><a href="http://www.ingelmunster.be/" target="_blank" id="LPlnk689713" title="Website Ingelmunster" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">www.ingelmunster.be</strong></a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:4px 0 2px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><a href="https://www.facebook.com/Ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/fb.jpg" height="19" border="0" title="Facebook" alt="Facebook" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://www.instagram.com/ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/in.jpg" height="19" border="0" title="instagram" alt="instagram" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://www.pinterest.com/ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/pi.jpg" height="19" border="0" title="pinterest" alt="pinterest" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://twitter.com/ingelmunster" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/tw.jpg" height="19" border="0" title="twitter" alt="twitter" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td></tr></table></td></tr></table></td></tr><tr style="color:#000001;font-size:9px;font-style:normal;font-weight:400;white-space:nowrap;"><td align="left" style="vertical-align:top;font-family:Tahoma;"><a href="http://www.ingelmunster.be/email-disclaimer.html" target="_blank" id="LPlnk689713" title="disclaimer" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">Raadpleeg onze disclaimer </strong></a></td></tr></table></div>-----Oorspronkelijk bericht-----<br />Van: Nyall Dawson [mailto:nyall.dawson@gmail.com] <br />Verzonden: donderdag 9 augustus 2018 8:36<br />Aan: Reginald Carlier<br />CC: qgis-user<br />Onderwerp: Re: [Qgis-user] localisation of date fails in QGIS 3.2<br /><br />On Mon, 30 Jul 2018 at 19:22, Reginald <Reginald.Carlier@ingelmunster.be> wrote:<br />><br />> Hi,<br />><br />> I have a script that was adapted to python 3.6 and runs fine on QGIS 3.2.<br />> The problem I'm having is that the date shows up in english.<br />> Under Extra > Options > Algemeen i have:<br />> Vertaling gebruikers-interface --> Nederlands<br />> Locale Dutch Belgium (nl_BE)<br />><br />> Also if I choose for "Systeemlocale negeren" (ignore system locale) I still<br />> get the date in english.<br />> My code looks like this and works fine in QGIS 2.18:<br />><br />><br /><br />I think you forgot to include the code? Can you re-share?<br /><br />Nyall<br /></div></body></html>