How to change number formatting for a culture

I need to change how display numbers are formatted in our game for different cultures. For example, in German the game currently formats a 7-digit number like this: “1.234.567” with decimal points separating groups. I need to change it to use spaces between groups like this “1 234 567”.

Is there a way to change the default number format for a culture. If it requires changing the engine that’s okay.