Console/FindTranslations.php
protected function makeRows($group, $key, $value): array
    {
        $rows = [];

        if (is_array($value)) {
            foreach ($value as $subKey => $subValue) {
                $rows[] = [
                    'key'   => $group . '.' . $key . '.' . $subKey,
                    'value' => $subValue,
                ];
            }
        } else {
            $rows[] = [
                'key'   => $group . '.' . $key,
                'value' => $value,
            ];
        }

        return $rows;
    }
protected function makeRows($group, $key, $value): array
    {
        $rows = [];

        if (is_array($value)) {
            foreach ($value as $subKey => $subValue) {
                $rows[] = [
                    'key'   => $group . '.' . $key . '.' . $subKey,
                    'value' => $subValue,
                ];
            }
        } else {
            $rows[] = [
                'key'   => $group . '.' . $key,
                'value' => $value,
            ];
        }

        return $rows;
    }
protected function makeRows ( $ group , $ key , $ value ) : array { $ rows = [ ] ; if ( is_array ( $ value ) ) { foreach ( $ value as $ subKey => $ subValue ) { $ rows [ ] = [ 'key' => $ group . '.' . $ key . '.' . $ subKey , 'value' => $ subValue , ] ; } } else { $ rows [ ] = [ 'key' => $ group . '.' . $ key , 'value' => $ value , ] ; } return $ rows ; }
Create translations from array.

@param $group
@param $key
@param $value
@return array
Create translations from array .