Skip to content

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

License

Notifications You must be signed in to change notification settings

donadev/flutter-string-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 - [email protected]

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published