public function store(StoreBlogCategory $request): RedirectResponse 	{ 		$slug_field_name = BlogCategory::getSlugFieldName();  		$default_language = new Language;  		$current_market = auth()->user()->user->getActiveMarket();  		foreach (Language::all() as $language) { 			$lang = $language->code; 			$required = ($lang === $current_market->main_language) || ($lang === $default_language->getDefaultLanguage());  			$this->validate($request, [ 				'slug.' . $lang => [$required ? 'required' : 'nullable', 'string', 'max:50', new UniqueTranslatableField(BlogCategory::class, $slug_field_name)], 			]); 		}  		$blog_category = BlogCategory::create([ 			'market_id' => getCurrentMarket()->id, 			'name' => $request->name, 			'slug' => $request->slug, 			'short_description' => $request->short_description, 			'description' => $request->description, 			'active' => $request->boolean('active'), 		]);  		$blog_category->storage()->handle();  		return $this->redirectFromSave('blog-categories.list'); 	}