Use a search programme to find the L_ABOUT string in your phphbb directory. ( Perhaps it's specific for the BBOOTS style or an extension, I can't find it in a clean 3.2.5).Blue42 wrote: ↑Wed Feb 13, 2019 5:18 pmPlease describe your problem. I'm trying to determine how to replace FIELD VALUES that are predefined by PHP Constant Names. For example, L_ABOUT displays the text originally defined by the BBOOTS style, but I cannot find where that text resides to replace.
Generated by SRT Generator
LA_are language variables directly replaced by the template engine. To find the place where there are defined, dismiss the
LA_and search for the rest, like warmweer suggested. For your example, I did it already and didn't find any
ABOUTin several previous and currents version of phpBB (3.0.14, several 3.1-versions., several 3.2-versions). So, maybe it is defined in a language file in a extension you use or it is a different language variable you are looking for.
L_SOMETHINGdoes not per definition mean that the string
SOMETHINGis within a language file. There are many occurrences where language strings are generated in PHP and then assigned to the template, prefixed with a
Code: Select all
'L_LOGIN_LOGOUT' => $l_login_logout, 'L_INDEX' => ($config['board_index_text'] !== '') ? $config['board_index_text'] : $user->lang['FORUM_INDEX'], 'L_SITE_HOME' => ($config['site_home_text'] !== '') ? $config['site_home_text'] : $user->lang['HOME'], 'L_ONLINE_EXPLAIN' => $l_online_time,
ABOUTabove I search the whole packages, not only the language files
LA_, because that leads to a second, unneeded translation phase during template interpretation. I guess those entries like in
page_header()are remains from previous versions kept for compatibility.
The TS did mention an extension, but I can't find it.