I fund that code to have a default language on the main page, but still have "Eng" in the admin site.


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

language.png

What nee to be changed in the code :-)

Thanks for help

Stephane