Skip to content

Commit

Permalink
[xs] typo and API documentation fixed on readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg authored Oct 7, 2021
1 parent d801d26 commit c0b1c38
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To install ckanext-translate extension.
## API Documentation
**API Endpont:** `/api/3/action/translate`
`input` You can pass keys values text for the tranlation. \
`input` You can pass keys values text for the translate. \
`from` Parameter to specify the language code of the language you want to translate from. \
`to` Parameter to specify the language code of the language you want to translate.
Expand All @@ -57,15 +57,11 @@ Response example:
```json
{
"result": {
"output": [
{
"title": "Mon titre de jeu de données"
},
{
"output": {
"title": "Mon titre de jeu de données",
"notes": "Quelques notes sur mon jeu de données."
}
]
}
}
}
```

Expand All @@ -77,4 +73,4 @@ do:

git clone https://github.com/datopian/ckanext-translate.git
cd ckanext-translate
python setup.py develop
python setup.py develop

0 comments on commit c0b1c38

Please sign in to comment.