Pluralization in Android

If you are writing an app, that uses a string containing numbers, for example: Deleted 1 message Deleted 2 messages You could manually create two different strings, and show either one by using an if/else, depending on the number variable. However, as you start internationalizing your app, by adding more translations, this quickly gets out of hand! Using Plurals Luckily, theres a great solution for this. In Android, you can use something called "plurals". You can use plurals in

» Read more