Skip to content

zendalona/online-braille-translator

 
 

Repository files navigation

Online Braille Translator

Table of Contents

Features

  • Multilingual Support: Translator covers 40+ languages, even with unique Braille contractions.
  • Text Editing Tools: Access standard text tools: cut, copy, paste, undo, redo, and a quick search for easy word changes.
  • Document Handling: Create or open documents, and when done, download it.
  • Customise the interface for your comforts: You can increase your reading comforts by adjusting font size and choosing text and background colors for your comfort.
  • Select and translate: A particular portion of a file can be selected and translated.
  • Line limit: Adjust Braille line length to your needs effortlessly.
  • Direct Braille Typing: If you know Braille well, you can type it directly using just six keys on your keyboard.
  • Separate Tools: You have separate tools for both regular text editing and Braille editing, all easily accessible at your fingertips.

Getting Started

Prerequisites

Before running the Online Braille Translator, make sure you have the following prerequisites installed:

  • Node.js and npm:
    • To install (if not already installed):
    sudo apt-get update
    sudo apt-get install nodejs npm
  • Python3, Liblouis and Python3-louis
    • To install (if not already installed):
    sudo apt-get install python3 liblouis20 python3-louis

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/zendalona/online-braille-translator.git
  2. Navigate to the project directory:

    cd online-braille-translator
  3. Install dependencies:

    npm install
  4. To run the development server:

     npm run dev

    Access the application in your web browser at http://localhost:3000.

    OR

    For production:

    npm run build
    npm start

Usage

Translating Text to Braille

  1. Upon opening the application, you'll see two text areas: one for input and one for the translated Braille.

  2. Choose the target language from the language combo-box.

  3. Set the desired line length for Braille output to fit your preferences.

  4. Type or paste the text you want to translate into the input area.

  5. Click 'Translate,' and your text will be transformed into Braille in the second text box.

Customizing the Interface

  • You can customize the font style, color, and background to enhance readability and make your experience more comfortable.

Setting Line Limits

  • Use the spin button at the bottom of the Braille editor to set the desired number of lines for your Braille output.

Direct Braille Typing

For those who know Braille well, you can type it directly using just six keys on your keyboard.

Uses f,d,s,j,k,l keys for typing six braille dots.

Project Information

  • Frontend: Built using Next.js
  • Backend: Built using Express.js
  • Translation Engine: Liblouis
  • Data Transfer: Socket.io is used to transfer data from the frontend to the backend.

For more details on the project setup, configuration, and development, please refer to the project's code and documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.1%
  • CSS 6.2%
  • Python 1.7%