Issue
I had a simple question. I was just going through the code of an app and just saw that some resources which were setting Boolean values, used for settings some conditions based on language and region. The file was replicated in the different language specific values folder. I saw that there were different folders named values-de-rDE and values-de. This was for German. Why the different folders for German? Which resource file would be picked up for German? Different folders were specified for some other languages too. Like for French I had values-fr and values-fr-rFR.
Could some one please explain what the difference between the two folders is? Thanks.
Solution
The difference between values-fr
and values-fr-rFR
is that the first is filtering on the language only, while the second is filtering on the country. fr-rFR
means French in France. You would have values-fr-rCA
for French in Canada, for example.
Answered By - Marc Plano-Lesay
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.