

For regional versions, like French Canadian, you include the region code prefixed by the letter r: /values-fr-rCA/ For example, /values-fr/ would contain the strings for French. Each of these directories should include a hyphen followed by the ISO language code. Next, create additional /values/ directories inside /res/ for each language you plan to add. Doing this will also make it a snap to internationalize your app. It's always good practice to externalize your string resources this way rather than hard-coding strings as you program.

Take a look inside this directory and you will notice there are some default files as well, including res/values/strings.xml. Start by adding values directories to your resources so that Android knows you have localized your app.īy default, Google's Android SDK tools create a /res/ directory at the top level of your project.
