Coder Social home page Coder Social logo

prakharrathi25 / wikipedia-translator Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 155 KB

App that allows translation from a wikipedia page in English to any other page

Home Page: http://prakharrathi25.pythonanywhere.com/

License: GNU General Public License v3.0

Python 63.06% HTML 36.94%
django wikipedia-api hacktoberfest

wikipedia-translator's Introduction

wikipedia-translator

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

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

final_recording.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

wikipedia-translator's People

Contributors

prakharrathi25 avatar rishikadwarak avatar dependabot[bot] avatar

Stargazers

 avatar Adriano Rodrigues Balani avatar Raju Ghorai avatar Prabhav Sharma avatar

Watchers

James Cloos avatar  avatar

Forkers

rishikadwarak

wikipedia-translator's Issues

Placeholder value for translated text

Right now even the translated text is shown inside the placeholder. The placeholder should only have a default message when the translated text is not visible. Otherwise translated text should appear in a text box.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.