Video

This guide is available as a video:

Customizing text in WHMCS

YouTube Subscribe

This tutorial is part of our WHMCS tutorials series.

In this quick tutorial I will show you how to customize default text within WHMCS. For this example we will rename the Portal Home text found within the Homepage and breadcrumb.

All of the default text within WHMCS is setup to support multi-languages. The lang directory of WHMCS stores all of the text within a selection of php files, each file represents one language which handles translations.

Using english as an example let's find the Portal Home text by searching the english.php file.

It is possible to edit this file directly but it is not recommended as any customisation will be lost when WHMCS is updated.

Instead we can make this customization safe by overriding this text.

First we need to create an override directory within the lang directory. This directory can store and override any translations.

To customize the English translation create english.php within the override directory, paste the string within PHP tags and then make the desired edit within the double quotes.

Save the file and the customization is applied.

If your website is setup to support multi languages you will need to duplicate the english.php file for each of those languages and then edit the translation as needed.

You can use this same process to rename any text within WHMCS and keep it safe when updating.

Request Support

We hope you found this documentation useful. If you run into any issues we will be happy to assist you.