Обновлённый PHP-Fusion Bogatyr / Free CMS PHP-Fusion 7 Bogatyr / Creating your php-pages and plug-ins for PHP Fusion 7 Bogatyr / How are including locales in the admin panel and where does the locale file come from?
English
Why is the third line of code written in the admin files (for example, the articles.php file):
include LOCALE.LOCALESET."admin/articles.php";
Answer:
define("LOCALE", BASEDIR."locale/"); define("LOCALESET", $settings['locale']."/");
Total, includes the locale file, articles.php, from the admin folder which is located in the folder of the desired locale (eng, rus, deu) folder locale
/locale/Russian/admin/articles.php |