From 9e2986d993f18dd13c03a3ec99d89800d569ccaf Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 10 Jul 2018 03:43:43 +0300 Subject: [PATCH] docs(readme): little translation guide --- README.md | 2 ++ docs/TRANSLATION.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 docs/TRANSLATION.md diff --git a/README.md b/README.md index 0aca769..cdc4c75 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/docs/TRANSLATION.md b/docs/TRANSLATION.md new file mode 100644 index 0000000..c4b36ce --- /dev/null +++ b/docs/TRANSLATION.md @@ -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\ \ No newline at end of file