https://github.com/prakharrathi25/wikipedia-translator
App that allows translation from a wikipedia page in English to any other page
https://github.com/prakharrathi25/wikipedia-translator
django hacktoberfest wikipedia-api
Last synced: about 1 year ago
JSON representation
App that allows translation from a wikipedia page in English to any other page
- Host: GitHub
- URL: https://github.com/prakharrathi25/wikipedia-translator
- Owner: prakharrathi25
- License: gpl-3.0
- Created: 2022-04-25T05:25:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T17:53:54.000Z (over 3 years ago)
- Last Synced: 2025-03-31T11:01:35.578Z (about 1 year ago)
- Topics: django, hacktoberfest, wikipedia-api
- Language: Python
- Homepage: http://prakharrathi25.pythonanywhere.com/
- Size: 151 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Wikipedia Translation Application
This application allows a user to enter an article title on Wikipedia. The application collects article data from Wikipedia and lets the users translate the article content into other languages. The application is built using Django and HTML Templates. The application is hosted on Python Anywhere.
Check it out [here](http://prakharrathi25.pythonanywhere.com/)
## How to Run Locally
* Clone the repository
`git clone https://github.com/prakharrathi25/wikipedia-translator.git`
* Install dependencies
`pip install -r requirements.txt`
* Run the application
`python manage.py runserver`
## Application Flow
1. User enters the article title in the search bar on the project page along with the target language.
2. The application fetches the article data from Wikipedia and displays the article content in the translation page.
3. The user can translate the article content into other languages.
4. The user can save the translated article content in the translation page.
**Note:** I have also added Django groups with two roles - managers and annotators with differential privacy for both.
## Application Demo
https://user-images.githubusercontent.com/38958532/165589649-a9e1516a-b073-4ba4-be1d-9698fa1aa19e.mp4
## Application Testing Credentials
You can use these credentials to test the application locally. Currently, I have not given the feature to create new users so you need to use the credentials of an existing user.
**Superadmin credentials**
- **username** - admin
- **password** - admin
**Manager Credentials**
- **username** - manager
- **password** - not-man-123
**Annotator Credentials**
- **username** - annotator
- **password** - not-annot-123