Skip to content

Commit

Permalink
add tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianojn committed Jan 10, 2016
1 parent bd168d6 commit c425a45
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit c425a45

Please sign in to comment.