Files
ArchiSteamFarm/tools/crowdin-cli/README.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

Crowdin CLI
===================
2018-09-23 02:48:51 +02:00
**[Info](https://support.crowdin.com/cli-tool)**
2017-02-20 17:43:37 +01:00
**[Source](https://github.com/crowdin/crowdin-cli-2)**
2017-02-20 17:43:37 +01:00
2017-02-20 17:45:36 +01:00
---
2018-09-23 02:48:51 +02:00
Scripts included in this directory are used by ASF developers for synchronization of strings/translations between GitHub and **[Crowdin](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Localization)**. If you're not ASF developer that has access to our localization platform, then you won't find anything interesting here.
2017-02-20 17:45:36 +01:00
---
## Before you begin
2018-05-26 03:53:09 +02:00
- Make sure that your `crowdin_identity.yml` file exists - this is the file with login credentials that is not being committed to GitHub. If it doesn't exist yet (e.g. because you've just cloned the repo), create it from `crowdin_identity_example.yml` and fill `api_key` that can be found **[here](https://crowdin.com/project/archisteamfarm/settings#api)**.
2017-02-20 17:45:36 +01:00
---
2018-07-20 01:37:27 +02:00
## Installation
2018-09-23 02:48:51 +02:00
Follow **[instructions](https://support.crowdin.com/cli-tool/#installation)** and ensure that `crowdin` command is recognized by your shell.
2017-02-20 17:45:36 +01:00
---
## Usage
2018-07-20 01:37:27 +02:00
- `archi_upload` for pushing strings to Crowdin.
2017-02-20 17:43:37 +01:00
2018-07-20 01:37:27 +02:00
- `archi_download` for downloading translations from Crowdin.
2017-07-05 07:57:40 +02:00
2018-07-20 01:37:27 +02:00
- `archi_sync` for upload + download.