6

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 ?

1 Answer 1

10

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.