src/Service/MelisCoreTranslationService.php
public function checkTranslationsDiff($melisTrans, $currentTrans)
    {

        $new = include $melisTrans;
        $new = is_array($new)? $new : array();
        $current = include $currentTrans;
        $current = is_array($current)? $current : array();

        return array_diff_key($new, $current);
    }
public function checkTranslationsDiff($melisTrans, $currentTrans)
    {

        $new = include $melisTrans;
        $new = is_array($new)? $new : array();
        $current = include $currentTrans;
        $current = is_array($current)? $current : array();

        return array_diff_key($new, $current);
    }
public function checkTranslationsDiff ( $ melisTrans , $ currentTrans ) { $ new = include $ melisTrans ; $ new = is_array ( $ new ) ? $ new : array ( ) ; $ current = include $ currentTrans ; $ current = is_array ( $ current ) ? $ current : array ( ) ; return array_diff_key ( $ new , $ current ) ; }
Checks if melis translations have new updates and returns the missing translations

@param string $melisTrans The path of the module translation
@param string $currentTrans The path of the current translation

returns array() Returns an array of missing translations with the keys and values
Checks if melis translations have new updates and returns the missing translations