I have 2 languages - spanish and english for my app, I have put corresponding values in Translations Editor in Android Studio.
In xml, I just give text a string like this:
@string/player_title and depending on the language it automatically puts english or spanish equivalent.
But in java, when I give default value like this:
textView.setText(R.string.player_title); does not yield same result!
How do I make Translations Editor place corresponding translation for me?
No comments:
Post a Comment