Reputation: 123
I started working in my application using English strings for my string resources file, but now I created an Arabic string file , and i want to use this string resources as the default language for my app. is it possible to change the default string resource file now ?
Upvotes: 6
Views: 2592
Reputation: 1007554
i want to use this string resources as the default language for my app
Put those strings in the res/values/
directory. Put the English strings in res/values-en/
. At that point, devices configured with English as the locale will use your English strings, and all other devices will use your Arabic strings.
Upvotes: 10