I have 7 strings in the project like this
strings.xml //This is the default
strings.xml (en)
strings.xml (ar)
strings.xml (es)
strings.xml (de)
strings.xml (it)
strings.xml (ru)
And I have JSON in server like this
[
{
"default": {
"Message": "..."
},
"en": {
"Message": "..."
},
"ar": {
"Message": "..."
},
"es": {
"Message": "..."
},
"de": {
"Message": "..."
},
"it": {
"Message": "..."
},
"ru": {
"Message": "..."
}
}
]
I want to read the message according to device language but the problem is how to know if the strings.xml is the default file to show default message from JSON?