app/Miscellaneous/FrontEndTranslations.php
/**
     * Get all needed translations for frontend
     *
     * @return string
     */
Get all needed translations for frontend
@return string
Get all needed translations for frontend @return string
public static function json()
    {
        $data = [];
        foreach (self::$keys as $key) {
            $data[$key] = trans($key);
        }
        return json_encode($data);
    }
public static function json ( ) { $ data = [ ] ; foreach ( self :: $ keys as $ key ) { $ data [ $ key ] = trans ( $ key ) ; } return json_encode ( $ data ) ; }
Get all needed translations for frontend
 @return string
Get all needed translations for frontend @return string