I'm watching a tutorial about change the text for different languages but I can't find same options as the tutorial go through so where can I able to find it ? please check out image for more detail , enter image description here
I couldn't find that option
CodePudding user response:
First, you must create a folder named values-languages_code and create a strings.xml
file inside. This new file will contains the translation in the new language (different from English).
For example, if you want to translate in french, you will have a repository like:
- values
- strings.xml
- values-fr
- strings.xml
After doing it right-click again on strings.xml
file and you will have the option for translation.
CodePudding user response:
Inside "strings.xml", click "Open editor" on the top right prompt. Or right click "strings.xml" on the left panel -> "Open Translations Editor".
Click on the "earch" icon, which shows "Add Locale" -> select target country.
Enter translated text.