How to create multi-language resource files has troubled many Android developers. This tutorial is carefully written by PHP editor strawberry. It will introduce in detail the specific method of creating multi-language ResourceBundle files in Android Studio. Read on to learn how to easily multi-language your app and make it accessible to a global audience.
Use the software function developed by Android Studio on your computer. After entering the Android Studio interface, select the current project.
Select the current project in Android Studio, right-click, and select [new] from the drop-down menu that pops up.
3. After selecting the new option in the menu, the [Resource Bundle] option in the next-level menu will pop up.
Then a create resource bundle window will pop up. Enter the name in the resource bundle base name and click Create.
A window for add locales will pop up, and then you can enter the letters of the language in the input box. Multiple letters need to be separated by commas, such as zh, ja. .
After the creation is completed, return to the create resource bundle option again, and display the different languages in locales to add.
After the creation is completed, files in different languages will be displayed in the resource bundle option in the Android studio project.
The above is the detailed content of Specific methods for creating multi-language ResouuceBundle files in Android Studio. For more information, please follow other related articles on the PHP Chinese website!