.ARB 文件扩展名
Application Resource Bundle
| 开发者 | |
| 受欢迎程度 |
3.8 | 4 票 |
什么是 ARB 文件?
An ARB file is an application resource bundle used by an Android app created using Dart or Flutter. It contains localization strings used to show the app's text in a user's language. Developers eventually convert ARB files into corresponding .DART files, which store the localization strings as part of Dart source code.
更多信息
Using Dart or Flutter, Android app developers can generate a template ARB file for their application. This template file contains a single JSON table, which lists all the app's strings in the app's default language. Developers can then copy this table into another file, replace the default strings with internationalized versions of their strings, and save the resulting ARB file(s) to create a translation file(s) for their application.
After creating all the translation files their app needs, developers can convert their ARB files into DART files and import them into their app, for use in localization-related code.
如何打开 ARB 文件
You can open and edit the data an ARB file contains in any text or source code editor, such as Microsoft Visual Studio Code (cross-platform) or GitHub Atom (cross-platform). To use an ARB file as an application resource bundle, you must install Dart (cross-platform) or Flutter (cross-platform).
