# getTranslations.py
### Requirements
- python3
- requests package ```pip install requests```

### Setup
- `path_to_translations` - url to i18n folder containing json translations
- `most_common_languages` - translations that need to be download

### Usage
Run the file in the folder and it will save each json in the folder it was run.
```
C:\Users\Current> cd C:\Projects\project\i18n
C:\Projects\project\i18n> python getTranslations.py
Saving "DEFAULT"
"EN" Not Found.
"DE" Not Found.
"AR" Not Found.
"RU" Not Found.
"ES" Not Found.
"FR" Not Found.
"NO" Not Found.
"DK" Not Found.
"FI" Not Found.
"SE" Not Found.
"NL" Not Found.
"IT" Not Found.
"PT" Not Found.

C:\Projects\project\i18n> dir
 Directory of C:\Projects\project\i18n

18/07/2019  14:53    <DIR>          .
18/07/2019  14:53    <DIR>          ..
18/07/2019  14:43            11,560 default.json
18/07/2019  14:48               602 getTranslations.py
18/07/2019  14:53               619 README.md
               3 File(s)         12,781 bytes
               2 Dir(s)  312,202,321,920 bytes free
```