Android Studio localization operation

1. Open string.xml file, in the upper right corner, click open-editor

 

2. Tap the top left corner of the "Earth" icon will pop up a list of select countries, enter zh will automatically filter, can quickly choose to Chinese Simplified Chinese

3. Select, add in the original list, an add method is the same in other countries

4. Does not require the localization of control, just make a hook on it in Untranslatable

5. Finally procedure published on android device interface is provided, where the language select the appropriate language will automatically switch

 

Guess you like

Origin www.cnblogs.com/gfwei/p/11778996.html