public function synchronize($lang, $area)
    {
        $locale       = $lang->code;
        $translations = $this->translationsFromFiles($locale);
        if (empty($translations)) {
            $translations = $this->translationsFromFiles(lang()->code);
        }
        $items   = Translation::where('locale', $locale)->where('area', $area)->get();
        $grouped = [];
        foreach ($items as $item) {
            $grouped[$item->group][$item->key] = $item->value;
        }
        $deletes = [];

        foreach ($grouped as $name => $group) {
            if (!isset($translations[$name])) {
                continue;
            }
            $deleted = array_diff($group, $translations[$name]);
            if (!empty($deleted)) {
                $deletes[$name] = $deleted;
            }
        }
        $this->delete($lang->id, $area, $deletes);
        $this->insert($locale, $area, $translations);
    }