Germans seem to be in their own world. A 12 liter V-12 of 265-300hp and using 6-10 gears maybe an elegant solution, but tanks are not elegant, they are brute force. Using larger engines but fewer gears may have given the same result and been cheaper. May depend on a nations gear cutting ability? I wonder how much swarf (Chips)
you get from 10 speed transmissions? And you have to use very good steel. Which turned out in Germany's case, to be in shorter supply than they thought.
Their 'small' V12s were compact and reliable engines, but there the benefits really stop. Something that is V6 sibling of a 30-35L V12* would've gotten them compactness and reliability, too, but also lower price and time to make the engines and gearboxes, easier maintenance in the field, and will require the shorter engine bay.
* Germans were thinking about the heavy tanks much before they gotten into that in reality, that a big V12 should be powering.
There certainly is more time and more room for better engines.
Problem with the French is that they were going in several different directions at once.
They weren't really trying to find the 'best' tank and them build a crap load of 2-3 models. They were trying to find usable tanks and provide employment to different factories and build up the manufacturing capabilities of some factories. A lot of politics involved which led to most factories wanting to use their own engine/s and not a standardized engine.
But even a 500-1000 tank order was not enough for a bespoke engine and they tried to use something either in stock or something they can pull other pieces for.
The French were designing and making heavy tanks in the 1920s and 30s. Them opting for V12s for these tanks, with en eye for V8 and/or V6 versions for the smaller tanks might've been both economicaly and military prudent.
Also - their heavy tanks were big and boxy. A good radial engine would not be too much for the hull to house these.
An engine from a Char B1. Very much in the fashion of a split WW I V-12 aircraft engine. They seem to have added to both bore and stroke over the years but the sperate cylinders does show the dated design (Liberty was no better).
An inline 6 would've been an ideal engine if the tank has the 'Merkava' layout - engine sits besides the driver, front sprocket driving the tracks. While not common on tanks of the day, it was not unheard of - Vickers light tanks had that, so did a lot of Soviet light tanks, and so did the Elefant (but with the electric 'transmission'). Frees a hefty % of the hull length and volume, and the tank can be repurposed into a SP chassis in an elegant fashion.
Another way of making the engine+transmission bay a good deal shorter was to have the engine being installed in the transversal position. That 'trick' was done on the T-
43 tank, making the tank much roomier. An inline 6 installed in such a fashion would've netted even greater benefits vs. the longitudinal installation.