parser-test
v1.0.0
Published
## WELCOME! We're so glad you're thinking about contributing to a Devsquads open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change somet
Downloads
5
Readme
[replaceStaticTexts]
WELCOME!
We're so glad you're thinking about contributing to a Devsquads open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions.
We want to ensure that all of our projects have a welcoming environment for all contributors. Our team follows the Contributor Covenant Code of Conduct and all contributors should do the same.
We encourage you to read this project's CONTRIBUTING policy, and its LICENSE.
Why is this project useful?
Extracting and replacing texts for internationalization is a tedious task with a lot of manual work that is prone to human error.
Using this script saves you all that work and removes human error completely.
What does this project do?
replaceStaticTexts is a script that helps you extract translatable text in your Javascript project and optionally replace them with I18n method calls
How do I get started?
Just clone this repo
git clone https://github.com/DevSquads/replaceStaticTexts.git
.
Install the needed packages with npm install
.
Use npm test
to run the tests .
Use node main.js path/to/dictionary.json path/to/your/project/src
to apply our script .
Where can I get more help, if I need it?
You can contact us on [email protected]