To contribute to github's repositories, you need git.
After that, fork repository and clone it locally for editing.
git clone https://github.com/<your_github_username>/sdwui-docs
All translatable files lie in _pages/<language code>
. Just open that folder and edit those files. Don't forget to change the title and remove machine_translated
line.
Open _config.yml
and add your language code to this line:
languages: ["en", "ru", ...]
translate.py
is a script which can populate site with machine-generated translations. To install its prerequisites, run:
pip install deep_translator
To translate:
python translate.py <language_code>