Really the only way to repair is to cut out the affected floor and replace it. It gets hard if the rot has traveled up the side, the floor is laid on the trailer frame and the sidewalls erected on the floor. If necessary, you might try
Git-Rot to harden and stop rot from traveling further in the wood framing.
Don't let it go, the longer you wait the bigger the repair.