Steps to use YB-i18n tool
- install python3 and make (optional)
- make a venv
python3 -m venv /path/to/venv/my-venv
source /path/to/venv/my-venv/bin/activate
- install requirements
make install
or
pip install -r requirements.txt
i18n tool is using google-drive api. To enable apis, you can follow this link Gdrive API
and then run:
python main.py ${sheet-id} ${root-folder}
example:
python main.py 1tUavqx2MwstEJui2039d-jtLFFUDlDjHNRFNt5dG9pg 3.4.7
SQL files are then generated under 3.4.7 for each concerned schema: brickparking, billing or app