It depends on what type of latch it is. Got a picture or model name?
If it’s a vintage Bargman, you’re in for an adventure. They’re no longer made, and there are no direct-fit replacements. Repair, searching for NOS online ($$), or modifying the hole for a modern RV lock set are the usual options. Member Ian Giles sells an adaptor kit for units without a molded recess on his website www.campingtreasures.com