1
serial-weber
Problem of Setting Xlanguage in Xoops 2.53

Hi,

I used Xlanguage module with Xoops 2.0.18.2 and I have just upgraded this web site to Xoops2.53 . In readme.txt file of Xlanguage, it is said that we must insert some lines in common.php file of xoops_root/include folder. Here is the instruction:

1 install "xlanguage" as a regular module

2 insert one line
include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
into XOOPS/include/common.php
RIGHT BEFORE
// #################### Include site-wide lang file ##################
if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) {
include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php";
} else {
include_once XOOPS_ROOT_PATH."/language/english/global.php";
}

Problem is that I don't find this line in common.php file
############## Include site-wide lang file ###############

Can someone help me??

Thanks

Login

Who's Online

163 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits