Translations

Any of our WHMCS addons and modules that support translations will contain a "lang" folder within them (for example: our PayPal Billing Agreements module contains a lang folder at /modules/gateways/lcwsoftpaypalbillingagreements/lang). These addons and modules will include a default "english.php" file that they will use. However you can create your own language file (for example: spanish.php for Spanish) by copying the "english.php" file and naming it appropriately (matching the language name that WHMCS itself would use), then translating the text in the new file accordingly. Do not change any of the variable or array item names from English, otherwise the new language file will not work as expected.

Once the new language file is in place, the applicable addon or module will use it automatically.

If you only need to change a English string and need the change to persist during upgrades in the future, you can create a folder named "overrides" inside the applicable "lang" folder (for example: this could beĀ /modules/gateways/lcwsoftpaypalbillingagreements/lang/overrides). Copy the applicable language file into it (for example english.php and keep only the language strings that you will be changing. Then change them as desired. After doing so, they will be used automatically going forward.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I am using an older version of the addon. How do I upgrade?

1) Ensure the "LCWSoft License Manager" addon from...

Is source code access available?

At this time, we do not offer source code access nor have plans to do so. We have previously...

Requirements / Prerequisites

To use this module, your PayPal account must have "Reference Transactions" enabled. Please...

How do I install "LCWSoft PayPal Billing Agreements"?

1) Install and enable the "LCWSoft License Manager" addon from...

I've installed "LCWSoft PayPal Billing Agreements". How do I configure it?

In addition to the settings under Setup > Addon Modules (if using WHMCS 7.10 or older) or...