louwie Posted October 29, 2018 Share Posted October 29, 2018 I try to override the date in invoices to dutch. I created a dutch.php like it is explained over here: https://developers.whmcs.com/languages/overrides/ <?php $_LANG['dateTime']['monday'] = "Maandag"; $_LANG['dateTime']['tuesday'] = "Dinsdag"; $_LANG['dateTime']['wednesday'] = "Woensdag"; $_LANG['dateTime']['thursday'] = "Donderdag"; $_LANG['dateTime']['friday'] = "Vrijdag"; $_LANG['dateTime']['saturday'] = "Zaterdag"; $_LANG['dateTime']['sunday'] = "Zondag"; But when I take a look at the pdf or e-mail the date is still formated in english: Monday, October 29th, 2018 How can I get this right? 0 Quote Link to comment Share on other sites More sharing options...
louwie Posted November 5, 2018 Author Share Posted November 5, 2018 Someone familiar with this problem? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 6, 2018 Share Posted November 6, 2018 (edited) I suspect that you're downloading the PDF as an Administrator from backend or with View as Client > Download. In this case WHMCS uses the language set in your backend - probably is English. Long story short make sure you're downloading the PDF in Dutch. Try to login as a real client with Dutch language and repeat the download. This way you should see the right language. Edited November 6, 2018 by Kian 0 Quote Link to comment Share on other sites More sharing options...
louwie Posted November 6, 2018 Author Share Posted November 6, 2018 Hi Kian, no I used it as a real dutch client. But also my backend admin is set to dutch. I used whmcs-bridge for my WP website. And also the option ' Disable viewinvoice/viewquote redirect ' enabled. Could it be in my Stripe iDeal payment module? 0 Quote Link to comment Share on other sites More sharing options...
louwie Posted November 8, 2018 Author Share Posted November 8, 2018 I cheated a bit...with this setting the date is displayed different like: 8/11/2018 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.