Page tree
Skip to end of metadata
Go to start of metadata

Directly editing the language files is not recommended. These files may be overwritten during module updates, resulting in a loss of any edits you had made.
Instead, it is recommended to use overrides. Overrides allow you to customise the default variables with your own values such that they will be preserved through the update process.

To create an override, copy the language file into the directory /modules/registrars/smartnic/lang/override/  and edit the text you want to change. This file will be not overwritten on a module update.

Some notes on using the overrides:

  • You must not copy the full content of the original language file. Instead you can just copy the variable which you want to override.
  • If you want to add additional language variables, you do not need to edit the original language file either. You can define new language variables in the overrides.
  • Technically, the module loads the language file in the following order: /lang/english.php → /lang/override/english.php
  • No labels