How to translate English Show-InstallationProgress notice to French

I know that I can use the xml file and change it there, but I have several different messages and I thing the xml file only uses one message for all installs and uninstalls.

Is there a way to have a custom message in English be translated to French automatically?

Thanks

It is detected based on the windows language settings.