Home > Software Tutorial > Computer Software > Specific methods for creating multi-language ResouuceBundle files in Android Studio

Specific methods for creating multi-language ResouuceBundle files in Android Studio

王林
Release: 2024-06-06 18:20:08
Original
770 people have browsed it

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.

Android Studio创建多语言ResouuceBundle文件的具体方法

Select the current project in Android Studio, right-click, and select [new] from the drop-down menu that pops up.

Android Studio创建多语言ResouuceBundle文件的具体方法

3. After selecting the new option in the menu, the [Resource Bundle] option in the next-level menu will pop up.

Android Studio创建多语言ResouuceBundle文件的具体方法

Then a create resource bundle window will pop up. Enter the name in the resource bundle base name and click Create.

Android Studio创建多语言ResouuceBundle文件的具体方法

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. .

Android Studio创建多语言ResouuceBundle文件的具体方法

After the creation is completed, return to the create resource bundle option again, and display the different languages ​​​​in locales to add.

Android Studio创建多语言ResouuceBundle文件的具体方法

After the creation is completed, files in different languages ​​will be displayed in the resource bundle option in the Android studio project.

Android Studio创建多语言ResouuceBundle文件的具体方法

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!

source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template