They would have some translation device on their ship that they would run it through. Plus it's not like the Federation decided to start calling their ships the FFF whatever in place of USS so I think it would be clear when they first saw the hull that it could be a Federation vessel. After that they would be interpreting whatever their scanners told them.
The real question here is why is Vito Corleone the color of blood.