public static function generateTranslationsFile($absoluteTranslationFileName)
    {
        $translations = array();
        if (file_exists($absoluteTranslationFileName)) {
            @include($absoluteTranslationFileName);
        } else {
            Cache::getInstance()->storeData($absoluteTranslationFileName, "<?php \$translations = array();\n", Cache::TEXT, TRUE);
        }

        return $translations;
    }
public static function generateTranslationsFile($absoluteTranslationFileName)
    {
        $translations = array();
        if (file_exists($absoluteTranslationFileName)) {
            @include($absoluteTranslationFileName);
        } else {
            Cache::getInstance()->storeData($absoluteTranslationFileName, "<?php \$translations = array();\n", Cache::TEXT, TRUE);
        }

        return $translations;
    }
public static function generateTranslationsFile ( $ absoluteTranslationFileName ) { $ translations = array ( ) ; if ( file_exists ( $ absoluteTranslationFileName ) ) { @ include ( $ absoluteTranslationFileName ) ; } else { Cache :: getInstance ( ) -> storeData ( $ absoluteTranslationFileName , "<?php \$translations = array();\n" , Cache :: TEXT , TRUE ) ; } return $ translations ; }
Create translation file if not exists

@param string $absoluteTranslationFileName

@return array
Create translation file if not exists