Liblouis Table Editor is an intuitive, accessible, and user-friendly tool designed to simplify the creation, editing, and management of translation tables used by the Liblouis Braille translation system. This project was developed as part of the Google Summer of Code (GSoC) 2024 by Riya Jain under the Mentorship of Nalin Sathyan, Samuel Thibault and K Sathaseelan initiative with the aim of providing both novice and experienced users with a more straightforward way to interact with and manage Liblouis tables.
- Introduction
- Features
- Installation
- Usage
- User Interface Overview
- Implementation Details
- Contributing
- License
- Acknowledgments
Liblouis is a library that provides braille translation and back-translation. It is used by various screen readers and braille translation tools. However, creating and managing the translation tables used by Liblouis can be a complex and error-prone process. The Liblouis Table Editor aims to simplify this process by offering an intuitive graphical interface that allows users to create, modify, and test translation tables without needing to manually edit text files.
This project was developed during the Google Summer of Code 2024 by Riya Jain under the Mentorship of Nalin Sathyan, Samuel Thibault and K Sathaseelan, and it addresses the need for a more accessible and user-friendly way to interact with Liblouis translation tables.
- Graphical User Interface (GUI): An easy-to-use GUI for creating and editing Liblouis translation tables.
- Accessibility: The editor is designed to be accessible, ensuring that users with different abilities can effectively use the tool.
- Real-Time Editing and Validation: The tool provides real-time feedback and validation, helping users avoid common errors in table creation.
- Multi-Version Support: The editor can handle multiple versions of Liblouis, ensuring compatibility with different environments.
- Testing Environment: Users can test their tables within the editor to ensure correct functionality before deploying them.
- Tab-Based Interface: Work on multiple tables simultaneously using a tabbed interface. Each table opens in its own tab, allowing you to easily switch between them.
- Session Persistence: The editor automatically saves your work. If you close the program and reopen it, the editor will restore your session, allowing you to continue from where you left off.
- Python 3.x: The editor is developed in Python, so you'll need Python installed on your system.
- PyQt5: The GUI is built using PyQt5, which you can install using pip:
pip3 install PyQt5
Clone the repository from GitHub:
git clone https://github.com/zendalona/liblouis-table-editor.git
cd liblouis-table-editor
To start the application, run
mingw32-make
command, which is a build tool commonly used in development environments that rely on the MinGW (Minimalist GNU for Windows) toolchain
- To start the application run
make run
After launching the application, you'll be presented with a user-friendly interface where you can start creating or editing Liblouis tables. The editor provides various tools and options to help you define translation rules, test them, and ensure they work as intended.
- Click on
File > New
to create a new translation table. - Use the interface to define characters, rules, and exceptions.
- Test your table using the built-in testing tools.
- Click on
File > Open
to open an existing Liblouis table. - Modify the table as needed using the provided tools.
- Save your changes using
File > Save
.
The user interface is divided into several sections:
- Menu Bar: Provides options to create, open, save, and close files, as well as access help and settings.
- Table Editor: The main area where you can define and edit translation rules.
- Table Preview: A existing table is loaded into the table preview, where each entry can has the following command - Edit, Duplicate, Delete.
- Testing Panel: A panel where you can input text and see the corresponding braille output based on the currently loaded table.
- Output Window: Displays messages, errors, and logs to help you debug and refine your table.
The Liblouis Table Editor is implemented primarily in Python using the PyQt5 library for the graphical interface. The application is designed to be modular, making it easy to extend and maintain.
Key components include:
- Main Application Window: Handles the overall layout and interactions within the application.
- Table Editor Module: Manages the creation, editing, and validation of translation tables.
- Testing Environment: Provides a real-time interface for testing tables against sample inputs.
- Localization: Adding support for multiple languages to make the editor accessible to a broader audience.
- Advanced Testing Features: Implementing more sophisticated testing scenarios to handle complex translation rules.
- Plugin Support: Allowing users to extend the editor with custom plugins for additional functionality.
Contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you would like to contribute code, please fork the repository and submit a pull request.
- Ensure that your code adheres to the project's coding standards.
- Write clear, concise commit messages.
- Include comments and documentation for new features.
This project is licensed under the MIT License. See the LICENSE file for more details.
This project was developed as part of the Google Summer of Code 2024. Special thanks to the Zendalona and the Liblouis community for their support and feedback throughout the development process.