auto_local 1.0.0
auto_local: ^1.0.0 copied to clipboard
A command-line tool to generate localizations for your app automatically.
auto_local: #
A command-line tool to generate localizations for your app automatically.
This tool is used to generate a dart class from a JSON file. the json file path should be in assets/lang/ directory. because this tool is depend on flutter_locales2 package. the tool will keep watching for changes in assets/lang/ directory. and will generate a dart class with the name lang.dart in lib/auto_local/ directory. the class will contain all the keys in the json file.
👨💻 Developed by: #
![profile](https://abom.me/packages/profile.png)
Nasr Al-Rahbi @abom_me
👨🏻💻 Find me in : #
Install #
Use the dart pub global
command to install this into your system.
$ dart pub global activate auto_local
Use #
If you have [modified your PATH][path], you can run this server from any local directory.
$ auto_local
Otherwise, you can run it using the pub global
command.
$ dart pub global run auto_local