<div dir="ltr">Hi,<br><br>for GCompris we have one complicated sentence to translate:<br>"Place %n boy(s) and %n girl(s) in the center. Then split %n pieces of candy equally between them." (context in this image: <a href="https://gcompris.net/screenshots_qt/middle/share.png">https://gcompris.net/screenshots_qt/middle/share.png</a>)<div><br></div><div>There are mixed plurals and to have the plural correctly translated we use:<br></div>        //~ singular Place %n boy <br>        //~ plural Place %n boys <br>        text = qsTr("Place %n boy(s) ", "First part of Place %n boy(s) and %n girl(s) in the center. Then split %n pieces of candy equally between them.", boys);<br><br>        //~ singular and %n girl in the center. <br>        //~ plural and %n girls in the center. <br>        text += qsTr("and %n girl(s) in the center. ", "Second part of Place %n boy(s) and %n girl(s) in the center. Then split %n pieces of candy equally between them.", girls);<br><br>        //~ singular Then split %n candy equally between them.<br>        //~ plural Then split %n candies equally between them.<br><div>        text += qsTr("Then split %n pieces of candy equally between them.", "Third part of Place %n boy(s) and %n girl(s) in the center. Then split %n pieces of candy equally between them.", candies);</div><div><br></div><div>For American English, it takes the string from the " //~ singular/plural

" lines.</div><div>The issue we have is that we don't manage to have the extra space in the English translation at the end of "boy(s) " (same if we put the space at the beginning of the other part to translate (" and %n girl(s))").</div><div><br></div><div>If we add double quotes, they are part of the translation. And if we have an extra space at the end, it is removed.<br></div><div><br></div><div>Is there a way to handle it properly in the code or even reformulate the sentence to make it work more easily while keeping the meaning?</div><div><br></div><div>I'm cc-ing multiple list because, in the ideal, we'd like to fix the code without impacting the string for the next release but we can have a better string for after.</div><div><br></div><div>Cheers,</div><div><br></div><div>Johnny<br></div></div>