Skip to content
/ fluentus Public

Fluentus is a powerful tool designed to edit the Fluent localization files from Project Fluent

License

Notifications You must be signed in to change notification settings

m-xim/fluentus

Repository files navigation

fluentus

GitHub release (latest by date) Deployment Status Deployment Status GitHub License Supported Syntax Version

Fluentus is a powerful tool designed to edit the Fluent localization files from Project Fluent

Warning

Fluentus is currently in beta stage. Please proceed with caution and ensure to back up your localization files before using Fluentus.

Preview Fluentus program

Usage

To run the project, download the latest release from the Releases page. Choose the version for your platform (Windows, macOS, Linux) and run the downloaded file.

Run from source

To run the project from source, follow these steps:

  1. Clone the repository: git clone https://github.com/m-xim/fluentus.git
  2. Navigate to the project directory: cd fluentus
  3. Install the dependencies: pip install -r requirements.txt
  4. Run the project: python src/app.py

Localization Files Structure

The localization files are organized into language-specific directories. Each directory contains Fluent Translation List (FTL) files and subdirectories as needed.

locales/
├── en/       # English localization files
│   ├── example.ftl
│   └── subfolder/
│       └── another_example.ftl
├── ru/       # Russian localization files
│   ├── example.ftl
│   └── subfolder/
│       └── another_example.ftl
└── ...       # Other language

Tip

Download the example_locales folder from the repository. This folder contains the localization files that you can use to test and understand how Fluentus works.

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes and submit a pull request.

Development

Building

To building the project, follow these steps:

  1. Clone the repository: git clone https://github.com/m-xim/fluentus.git
  2. Navigate to the project directory: cd fluentus
  3. Create a virtual environment python -m venv venv
  4. Activate the virtual environment:
    • Windows: venv\Scripts\activate
    • Linux, macOS: source venv/bin/activate
  5. Install the dependencies: pip install -r requirements.txt
  6. Building the project: python src/app.py
    • Main Version: pyinstaller main.spec
    • Debug Version: pyinstaller dev.spec