This project is dedicated to downloading translations for Open edX release on Transifex.
First, you need to add your own Transifex API key to the project. go to : User Settings > API Token click on Generate a token and save your key.
then, clone the project and install required packages in a virtual environment:
git clone [email protected]:Edspirit/TransifexDownloader.git
cd TransifexDownloader
virtualenv -p python3 .venv
source .venv/bin/activate
pip install -r requirements.txt
in the project's root, rename api_key.env.sample
file to api_key.env
and add your key there:
mv api_key.env.sample api_key.env
echo "TRANSIFEX_API_KEY=<YOUR_KEY_GOES_HERE>" > api_key.env
and you're good to go ;)
I assume that you have Pyhton 3 installed on your machine.
simply just run main.py
with your desired language on your virtual environment:
source .venv/bin/activate
python main.py fa_IR en ar
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
Pull requests are the best way to propose changes to the codebase (we use Github Flow). We actively welcome your pull requests:
We Use Github Flow, So All Code Changes Happen Through Pull Requests
- Fork the repo and create your branch from master.
- If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
By contributing, you agree that your contributions will be licensed under its MIT License.