android_string_convertor 0.0.1 copy "android_string_convertor: ^0.0.1" to clipboard
android_string_convertor: ^0.0.1 copied to clipboard

command-line tool to convert android xml string to arb.

Android String Convertor #

=================

Usage #

dart run bin/android_string_convertor.dart [options] {files/directory}

-p, --prefix prefix file name
(defaults to "app_")
-s, --[no-]sort Sort by key name.
-d, --[no-]directory Path is directory

Example #

This example reads XML string file and convert it to arb file:

  • Single file
dart run bin/android_string_convertor.dart  ./example/en.xml
  • Multible files
dart run bin/android_string_convertor.dart  ./example/en.xml ./example/es.xml
  • Directory
dart run bin/android_string_convertor.dart -d ./example 
  • With srot the output by key
dart run bin/android_string_convertor.dart -s -d ./example
  • With outout prefix filename defaults to app_
dart run bin/android_string_convertor.dart -p "test_" -d ./example
3
likes
130
pub points
40%
popularity

Publisher

unverified uploader

command-line tool to convert android xml string to arb.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, xml

More

Packages that depend on android_string_convertor