A
A
Andrey Unger2015-08-12 17:51:57
Android
Andrey Unger, 2015-08-12 17:51:57

Why is getString returning the wrong localization?

The project has two resource folders values ​​and values-en - there, respectively, Russian and English string.sml
What is written in the layouts through @string/ is normally displayed when switching the system language, but the getString method always returns Russian for some reason. how to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emin, 2015-08-12
@Cobalt

And since when are resource identifiers set through a trailing slash?
Correct values-en.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question