docs(readme): little translation guide

This commit is contained in:
Alexey Kasyanchuk 2018-07-10 03:43:43 +03:00
parent e777d795de
commit 9e2986d993
2 changed files with 25 additions and 0 deletions

View File

@ -35,6 +35,8 @@ BitTorrent search program for desktop and web. Collect and navigate over base of
## Contributing
We are welcome any contributing: bug fixes, improvements, code refactoring and other stuffs.
[Translation guide](docs/TRANSLATION.md)
## Usage Manuals
* [English](docs/USAGE.md)
* [Russian](docs/USAGE.RU.md)

23
docs/TRANSLATION.md Normal file
View File

@ -0,0 +1,23 @@
## Translation to your own language guide
Translaions can be founded in [translations](/translations) directory. Each trainslation has such format:
```json
{
"name": "Language name",
"nameOriginal": "Native language name (for example Русский)",
"translations": {
"English string": "Same string on your native language"
}
}
```
You can copy [en.json](/translations/en.json) to your own lang.json and translate each line in translations: {...} section.
## How to keep translations recent ?
Just keep mind that translations updates on each release and new lines will be added in each json file automatically (probably on the end of the files). You must translate new english lines to new one to keep translation recent.
## Where languanges is located on production for testing ?
On Windows: c:\Users\USER\AppData\Local\Programs\rats-search\resources\translations\