public function findByLocale($id, $locale)
    {
        return $this->model->with(['type', 'contents' => function($query) {
                        $query->with('lang');
                    }])->where('id', $id)->first();
    }