ilib-loctool-arb
v1.0.0
Published
Arb type of file handler plugin for Flutter localization
Downloads
3
Maintainers
Readme
ilib-loctool-arb
An ilib loctool plugin to parse and localize arb files.
Configuration
By default, plugin will localize source intl_messages.arb
file.
e.g. /asset/l10n/intl_messages.arb
, and write localized file
to a same location with name intl_[locale].arb
e.g. /asset/l10n/intl_es.arb
.
ARB File
ARB - Application Resource Bundle is a file format for localization basedon JSON with the resource entries encoded as JSON object. Each object consists of a resource key with an optional attribute. ARB files are used to localize apps build with Flutter.
intl_messages.arb file
The intl_messages.arb
file is generated extract_to_arb.dart
program provided by intl_translation
Example file:
{
"@@last_modified": "2023-08-28T13:51:31.807702",
"_title": "Hello",
"@_title": {
"type": "text",
"placeholders": {}
},
"_incrementButton": "Thank you",
"@_incrementButton": {
"type": "text",
"placeholders": {}
},
}
License
Copyright © 2023 JEDLSoft
This plugin is license under Apache2. See the LICENSE file for more details.
Release Notes
v1.0.0
- Implement for ARB file type of localization.
- It localizes the
intl_messages.arb
file which is the result ofextract_to_arb.dart
program provided by intl_translation
- It localizes the