Translate From one regional language to another.
code | Language |
---|---|
0 | hindi |
1 | tamil |
2 | telugu |
3 | malayalum |
4 | marathi |
5 | bengali |
6 | assamese |
7 | gujrati |
8 | kannada |
9 | oriya |
10 | punjabi |
{
"source_language": "integer",
"content": "string",
"target_language": "integer"
}
-
{ "status_code": 200, "message": "translated successfully", "translated_content": "string" }
-
{ "status_code": 400, "message": "language code out of bounds" }
-
{ "status_code": 500, "message": "An error occured while translating the content." }
# install the depenencies
yarn
# make a .env file
cp .env.example .env
# start the development server
yarn dev