$google = new GoogleTranslate();
$google->setSource('en');
$google->setTarget('fr');
echo $google->preserveParameters('#\{([^}]+)}#')->translate('What is {real_q_encoded}?');
I just ran into this myself...I was the one that introduced the change...If we change the encoding to #{0} it should do it...seems localized to only some situations when doing french. I'll make a PR.
What steps will reproduce the problem?
What is the expected result?
Qu'est-ce que {real_q_encoded} ?
What do you get instead?
Qu'est-ce que {0} $ ?