Giter Club home page Giter Club logo

flutter-string-extractor's Introduction

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

flutter-string-extractor's People

Contributors

donadev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

flutter-string-extractor's Issues

pls help for solve my issue

root@ubuntu21:~/flutter-string-extractor# npm run start

> [email protected] start
> ts-node index.ts

Insert the main folder where to search for strings: /root/flutter-string-extractor/src
Insert the excluded paths, comma separated
Insert the file extension without the dot: json
Insert the Localise.biz API Key: nl
Select the script process to run: ([extract], upload, replace): extract
excluded_paths [ '' ]
[Error: ENOENT: no such file or directory, open 'output/meta.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'output/meta.json'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.