CMS 2.1 - Responsive filemanager (language)

21.04.2016 227
Assigned to: CMS Option: Bug Report Status: Closed Solution: Yes From: bluesatkv

Responsive filemanager has only english language. I think that is better language by CMS.

I tested this:

1. file jseditorpluginsfilemanagerconfigconfig.php - after line 9

switch ($site_language) {
case "en": // English
    $filemanager_language = "en_EN";
case "fr": // Français
    $filemanager_language = "fr_FR";
case "gr": // ελληνικά
    $filemanager_language = "el_GR";
case "pt-br": // Português(Brazil)
    $filemanager_language = "pt_BR";
case "ro":
    $filemanager_language = "en_EN";
case "th":
    $filemanager_language = "en_EN";
case "tr":    // Türkçe
    $filemanager_language = "tr_TR";
    break;
default:    // Other language
    $filemanager_language = $site_language;
}

2. file jseditorpluginsfilemanagerconfigconfig.php - after line 146

'default_language' => $filemanager_language,

I tested and works. Can you fix please in other version. Thanks.

Sign in to see the solution.