Jump to content

whmcs overrides language


louwie

Recommended Posts

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?

Link to comment
Share on other sites

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 by Kian
Link to comment
Share on other sites

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?

 

2018-11-06 13_04_56-WHMCS - Modules.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated