Jump to content

Languages Overrides Problems


Shinga

Recommended Posts

HI There,

Hope everyone is doing well.

I please need some help on a Languages Overrides,  I have a client that just need to change on all the invoice to say  "Tax Invoice"  i followed the instructions on this https://developers.whmcs.com/languages/overrides/

The override file sits in this folder.

public_html/lang/overrides/english.php
<?php
$_Lang['invoicenumber'] = "Tax Invoice #";
$_LANG['invoicestitle'] = "Tax Invoice #";

But now my question is does it pick up automatically i need to over ride the name?

Because when we test the pdf invoice or the print version it still stay just "Invoice".

Thank you for help and showing us where we doing wrong.

Regards

Andrew

Link to comment
Share on other sites

Hi Andrew,

On 20/02/2020 at 07:23, Shinga said:

Because when we test the pdf invoice or the print version it still stay just "Invoice".

it's because of the lowercase you used in the language string variable name, it should be...

<?php

$_LANG['invoicenumber'] = "Tax Invoice #";
$_LANG['invoicestitle'] = "Tax Invoice #";
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.

×
×
  • 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