I'm making a french Android app and I'm trying to support English.
I use "placeholders" to format my strings, so I can adapt them to male and female users. For example, this string in my strings.xml file:
<string name="encouraging_comment">
Les %1$s sont compliqué%2$ss...
</string>
will become "Les hommes sont compliqués" ("Men are complicated") or "Les femmes sont compliquées" ("Women are complicated").
And there lies my problem. The string translation, as follows...
<string name="encouraging_comment">
%1$s are complicated...
</string>
...needs only one placeholder, when the french equivalent needs two.
How can I manage this issue ? Thanks in advance.