translation_string_extractor 0.0.1+2 translation_string_extractor: ^0.0.1+2 copied to clipboard
Extracts .tr and .tr() strings from a project into a JSON file or returns a Map
Usage example #
As a dev dependency:
dart run translation_string_extractor:extract -d=lib -o=locale.json
Globally:
dart pub global activate translation_string_extractor
translation_string_extractor -d=lib -o=locale.json