Better Google Translate Suggestions

Some of you may have noticed that Google Translate suggestions of interpolated strings were not very good. Some additional spaces were sometimes inserted.

A sentence like Hello %{user} was translated as Bonjour% {user} by Google.

And sometimes it can get even worse :

Google Translate is just wrong with interpolated variables

We improved that mechanism to help Google Translate to deal with interpolated variables. And we're happy with the results :

Hello %{user} Bonjour %{user}

Hello %{world} Bonjour %{world}

It should prevent your translators from making unfortunate mistakes.