From c425a455d311ebe58b2a1694372401bb3982ceb0 Mon Sep 17 00:00:00 2001 From: Adriano Soares Date: Sun, 10 Jan 2016 12:07:59 -0300 Subject: [PATCH] add tutorial --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 7952105..b7a285e 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,17 @@ Known languages: ko Korean (한국어) pt Portuguese (Português) zh Chinese (中文) + +# Usage + +This example shows how to translate to Spanish. + +1. Create a folder to hold the configuration and database files. + The commands must to be run from inside this folder. +2. Put `config.json` and `cards.cdb` (the English database) inside the folder. +3. Copy `cards.cdb` to `cards-es.cdb`. + The "-es" sulfix is the language code. +4. Run the command `wikia -update -lang es`. + This will download the Wikia database. +5. Run the command `wikia -translate -lang es`. +