This is in continuation to an answer which helped me on this post
We can add the string resource as follows from build.gradle:
productFlavors { main{ resValue "string", "app_name", "InTouch Messenger" } googlePlay{ resValue "string", "app_name", "InTouch Messenger: GPE Edition" } }
It works like a charm and serves the purpose of having different app names per flavor. (with the original app_name string resource deleted from strings.xml file.
But, how do we add localized strings for this string resource added from build.gradle ?
Is there an additional parameter we can pass specifying the locale?
OR
Possible to do it using a gradle task?
Note: I cannot do this using strings.xml (not feasible because of several ways in which my project is structured)