public function index($id, $code = null)
    {
        $locale    = is_null($code) ? app()->getLocale() : $code;
        $locale    = $locale == null ? 'en' : $locale;
        $current   = Languages::where('code', $locale)->first();
        $languages = Languages::query()->get();
        if (!$this->translationRepository->count($id, $locale)) {
            return redirect(handles('antares::translations/sync/' . $id . '/' . $locale));
        }
        return $this->presenter->table($id, $current, $languages, $this->translationRepository->getCategories($id, $locale));
    }