Remember that a resource qualifier can combine language and country. Although the Dutch and Flemish languages โโdo not comply with the ISO 639-1 nl standard, you can also add a region classifier to further indicate the region.
The documentation is an example for British English :
In addition, you may not need to create alternate text for each line. For example, suppose the following:
- The default language of your application is American English. Each line used by the application is defined using English words in
res/values/strings.xml . - For a few important phrases, you want to provide English spelling. You want these alternative strings to be used when your application runs on a device in the UK.
To do this, you can create a small file called res/values-en-rGB/strings.xml that contains only lines that should be different when the application starts in the UK
Similarly, you can specify this for the Flemish language by specifying the values-nl-rBE resource directory.
source share