src/Charcoal/Admin/Template/ElfinderTemplate.php
public function elfinderLocalizationsAsJson()
    {
        $i18n = [];

        foreach ($this->localizations() as $id => $translations) {
            foreach ($translations->data() as $language => $message) {
                $i18n[$language][$id] = $message;
            }
        }

        return json_encode($i18n, (JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE));
    }
public function elfinderLocalizationsAsJson()
    {
        $i18n = [];

        foreach ($this->localizations() as $id => $translations) {
            foreach ($translations->data() as $language => $message) {
                $i18n[$language][$id] = $message;
            }
        }

        return json_encode($i18n, (JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE));
    }
public function elfinderLocalizationsAsJson ( ) { $ i18n = [ ] ; foreach ( $ this -> localizations ( ) as $ id => $ translations ) { foreach ( $ translations -> data ( ) as $ language => $ message ) { $ i18n [ $ language ] [ $ id ] = $ message ; } } return json_encode ( $ i18n , ( JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) ) ; }
Retrieve the custom localizations for elFinder.

@return string Returns data serialized with {@see json_encode()}.
Retrieve the custom localizations for elFinder .