Merge pull request #99 in DNS/adguard-dns from feature/442 to master
* commit '63f20bc3979c61f71afcad1e9c7bbcdbe783a98e': (27 commits) Request language from server i18n -— fiz broken change_language APO method Allow querying and changeing i18n language via API. Update readme and translations Add ru locale Move translations script to scripts folder Fix footer layout Add oneskyapp scripts for download and upload translations Fix minor mistake Translate Copyright text on footer Fix wrong translate key Fix wrong check update button text Convert i18n resource to key type Translate missing toast message when toggle query log feature create locales/en.js and change to key type. Next may be use auto load translate resource Tranlsate missing toast message add missing translate Update missing trasnlate Fix eslint Add translate PopoverFilter ...
This commit is contained in:
34
README.md
34
README.md
@@ -141,10 +141,44 @@ 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
|
||||
|
||||
If you want to help with AdGuard Home translations, please learn more about translating AdGuard products here: https://kb.adguard.com/en/general/adguard-translations
|
||||
|
||||
Here is a direct link to AdGuard Home project: http://translate.adguard.com/collaboration/project?id=153384
|
||||
|
||||
## Reporting issues
|
||||
|
||||
If you run into any problem or have a suggestion, head to [this page](https://github.com/AdguardTeam/AdGuardHome/issues) and click on the `New issue` button.
|
||||
|
||||
Reference in New Issue
Block a user