Skip to main content

Customization

Localization

PDF invoices and quotes are fully localized. Most of the translations are in the WHMCS language files, but we had to add some of our own, which you can find in the modules/addons/bestpdf/lang/ directory. If you want to modify the language files that ship with BestPDF, we strongly recommend that you use an override file instead, see modules/addons/bestpdf/lang/overrides/example.php It works the same way as WHMCS’s language overrides.

Localized tax names

Tax names can be localized in the module’s language files. See modules/addons/bestpdf/lang/overrides/english.php for more details.

Localized date formats

Date formats can be localized in the module’s language files, using the php strftime syntax. See modules/addons/bestpdf/lang/overrides/example.php for more details.