1. Language extension
ZenTaoPHP has abstracted all prompts on a page into language configurations, and they can be used to customized the program by redefining the language.
The language files are stored under the ext/lang/ directory. Create the corresponding directory for different languages. zentaoPHP automatically loads all the files that end with.Php in the directory.
For example, the language files of the bug module. You can create module/bug/ext/lang/zh-cn/1.php for it.
2. Configuration extension
2.1 Config extension for modules
The extension files for the configuration file of each module are stored under the ext/config/ , and zentaoPHP automatically loads the .php files whose name begin with config under this directory. So different extensions can have their own configuration items, and they will not conflict with each other.
2.2 Global config extension
The global configuration file is stored under the module/config. If the global configuration is extended, the extension files can be stored under the module/config/ext/ directory.