android - how to translate a string resource with an xliff -


i'm using trying translate sentences on android studio translation editor , i'm having issues xliffs "variables". have no idea on how translate them. here original xml resource: <string name="order_message_quantity">quantity: <xliff:g id="quantity" example="5">%i</xliff:g></string>
on translation i've put this: <string name="order_message_quantity">quantitdade: %i</string>

it seems problem because i've got weird illegal state exceptions since started using this.

what should replacement of "%i" on second expression?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -