donadev / flutter-string-extractor

This simple script extracts strings from a flutter project and creates a JSON file ready for localise.biz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter-string-extractor

This simple script extracts strings from a flutter project and creates a JSON file ready for Loco

Installing

... is as simple as

git clone https://github.com/donadev/flutter-string-extractor.git
cd flutter-string-extractor && npm i

How to use

  1. Change folder variable on index.ts to point at the root of your project.
  2. Start the script
    npm run start
  3. The script will generate a json file with all the strings found on output/strings.json

Contributing

  1. Clone this repo
  2. Create a branch: git checkout -b your-feature
  3. Make some changes
  4. Push your branch and open a Pull Request

License

This code is open source software licensed under the Apache 2.0 License.

Maintainer

Luigi Donadel - @luigidonadel - luigi.donadel@gmail.com

Project Link: https://github.com/donadev/flutter-string-extractor

About

This simple script extracts strings from a flutter project and creates a JSON file ready for localise.biz

License:MIT License


Languages

Language:TypeScript 100.0%