Issue
No one of the translated strings are working at this moment, so the app always take the main strings file key.
Debugging, if i try to see the id of a key it returns a value. For example R.string.app_name returns 1900088 but getString(R.string.app_name) returns Method threw 'android.content.res.Resources$NotFoundException' exception. with cause android.content.res.Resources$NotFoundException: String resource ID #0x1cfe38.
The strings files have no errors. I really dont know how to proceed with this
EDIT:
using the same files in a new project worked perfectly
Solution
OK, the problem was in the gradle for the app module. There was a resConfig "zz" than can lead to this. Removing this line avoids all translation problems
Answered By - cobolero
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.