Skip to content Skip to sidebar Skip to footer

How To Add Multiple Translation Files For The Same Language In Android?

My app targets different audiences in various branches, which shall use the same app, but with different translation files. For instance, some users need a more specific descriptio

Solution 1:

The Android API doesn't directly support multiple translations for the same string in the same language. You will need to implement your own logic to handle this. One solution that comes to mind is that you have multiple strings say explanation and explanation_lawyer then your app logic decides which of these strings to display. Both strings have translations as normal.


Post a Comment for "How To Add Multiple Translation Files For The Same Language In Android?"