Add ru locale

This commit is contained in:
Ildar Kamalov
2018-11-19 19:23:57 +03:00
parent 3779407291
commit 1ae6af44d1
6 changed files with 163 additions and 5 deletions

View File

@@ -141,6 +141,36 @@ cd AdGuardHome
make
```
### How to update translations
Before updating translations you need to install dependencies:
```
cd scripts/translations
npm install
```
Create file `oneskyapp.json` in `scripts/translations` folder.
Example of `oneskyapp.json`
```
{
"url": "https://platform.api.onesky.io/1/projects/",
"projectId": <PROJECT ID>,
"apiKey": <API KEY>,
"secretKey": <SECRET KEY>
}
```
#### Upload translations
```
node upload.js
```
#### Download translations
```
node download.js
```
## Contributing
You are welcome to fork this repository, make your changes and submit a pull request — https://github.com/AdguardTeam/AdGuardHome/pulls