This behavior is old, but to this day it still happens.
If I insert any formula to be translated, https://translate.google.com inserts extra spaces (in my example, from Portuguese to English).
Example. The original
1+1; 2-2; 3*3; 4/4 in translated to
1 + 1; 2-2; 3 * 3; 4/4.
In this case, you can see extra spaces between
How to avoid this?