public static function getLabels()
    {
        if(!file_exists(accioPath('resources/lang/'.App::getLocale()))) {
            return json_encode([]);
        }

        // Load Project translation files
        $translationFiles = File::files(accioPath('resources/lang/'.App::getLocale())); //@TODO check if it produces errors, Faton

        $labels = [];
        foreach ($translationFiles as $file) {
            $fileName = str_replace('.php', '', $file->getFilename());
            $labels[$fileName] = File::getRequire($file->getPathName());
        }

        // Load plugin translations
        $labels += Plugin::getAllLabels();

        return $labels;
    }