1 Attachment(s)
main page other default language
I fund that code to have a default language on the main page, but still have "Eng" in the admin site.
Quote:
Default language: Go to includes > classes > rlLang.class.php > public function getLanguagesList
after: PHP Code:
if ($status == 'all') {
$options = "WHERE `Status` <> 'trash'";
} else {
$where = array('Status' => $status);
}
add: PHP Code:
if (!defined('REALM')) {
$options = " AND `Code` <> 'en'";
}
Works, but than the menu for lang is disappear: See image
Attachment 4948
What nee to be changed in the code :-)
Thanks for help
Stephane