PHP-Nuke module texts

13.2. PHP-Nuke module texts

PHP-Nuke module texts are also customizable, but are stored in separate folders: each module comes with a language folder containing a lang-xxx.php file with the translation strings for the text constants that are relevant to only that module. For example, the Forums module contains a language folder, stored as modules/Forums/language, the Your_Account module (which handles user logins, registration, authentication and management of the users' info, mail, messages and personal settings) comes with a language folder stored as modules/Your_Account/language etc.

To change a module specific text, edit the appropriate language file lang-xxx.php, exactly as described in Section 13.1 for general PHP-Nuke texts. For example, to customize the email text sent to a new user after registration, open the file /modules/Your_Account/language/lang-english.php in a decent text editor, find the lines

define("_YOUUSEDEMAIL","You or someone else has used your email account");
define("_TOREGISTER","to register an account at");

and change them to something more sophisticated, like

define("_YOUUSEDEMAIL","Nil sine magno vita labore dedit mortalibus![1]");
define("_TOREGISTER","Please register your account at");



Life has given nothing to mortals without hard work!

Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO


Site Info v2.2.2

Last SeenLast Seen
  • elnegro
  • Doulos
Server TrafficServer Traffic
  • Total: 377,160,018
  • Today: 40,144
Server InfoServer Info
  • Feb 21, 2019
  • 10:36 pm CET