json_translator 1.0.2
json_translator: ^1.0.2 copied to clipboard
This is a command line Dart application that reads a JSON file, translates the values and creates a translated JSON file especially useful for localization in Flutter apps.
import 'package:json_translator/src/json_translator.dart' as json_translator;
void main() {
/// This program is published to pub.dev so you can use this package:
///
/// 1. As an executable by running the following commandS:
/// > dart pub global activate json_translator
/// > json_translator
///
/// 2. Or, by cloning the source code and running the following command:
/// > dart run
json_translator.main();
}
copied to clipboard