Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/projectfluent/fluent-rs

Rust implementation of Project Fluent
https://github.com/projectfluent/fluent-rs

ftl i18n internationalization l10n localization plural rust

Last synced: 2 days ago
JSON representation

Rust implementation of Project Fluent

Awesome Lists containing this project

README

        

# Project Fluent

[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
[![Coverage Status](https://coveralls.io/repos/github/projectfluent/fluent-rs/badge.svg?branch=main)](https://coveralls.io/github/projectfluent/fluent-rs?branch=main)

The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
a localization system designed to unleash the entire expressive power of natural language translations.

Project Fluent keeps simple things simple and makes complex things possible.
The syntax used for describing translations is easy to read and understand.
At the same time it allows, when necessary, to represent complex concepts from natural languages like gender, plurals, conjugations, and others.

## Packages

This workspace contains the following crates:

### fluent

[![crates.io](https://img.shields.io/crates/v/fluent.svg)](https://crates.io/crates/fluent)
[![docs.rs](https://img.shields.io/docsrs/fluent)](https://docs.rs/fluent)

An umbrella crate exposing the combined features of fluent-rs crates with additional convenience macros.

### fluent-bundle

[![crates.io](https://img.shields.io/crates/v/fluent_bundle.svg)](https://crates.io/crates/fluent_bundle)
[![docs.rs](https://img.shields.io/docsrs/fluent-bundle)](https://docs.rs/fluent-bundle)

A low-level implementation of a collection of localization messages for a single locale.

### fluent-fallback

[![crates.io](https://img.shields.io/crates/v/fluent_fallback.svg)](https://crates.io/crates/fluent_fallback)
[![docs.rs](https://img.shields.io/docsrs/fluent-fallback)](https://docs.rs/fluent-fallback)

A high-level abstraction model for managing locale bundles and runtime localization lifecycle.

### fluent-resmgr

[![crates.io](https://img.shields.io/crates/v/fluent_resmgr.svg)](https://crates.io/crates/fluent_resmgr)
[![docs.rs](https://img.shields.io/docsrs/fluent-resmgr)](https://docs.rs/fluent-resmgr)

A standalone solution for managing resource files and returning locale bundles.

### fluent-syntax

[![crates.io](https://img.shields.io/crates/v/fluent_syntax.svg)](https://crates.io/crates/fluent_syntax)
[![docs.rs](https://img.shields.io/docsrs/fluent-syntax)](https://docs.rs/fluent-syntax)

A low-level parser, AST, and serializer API for the Fluent syntax.

### fluent-pseudo

[![crates.io](https://img.shields.io/crates/v/fluent_pseudo.svg)](https://crates.io/crates/fluent_pseudo)
[![docs.rs](https://img.shields.io/docsrs/fluent-pseudo)](https://docs.rs/fluent-pseudo)

A pseudolocalization and transformation API.

### fluent-testing

[![crates.io](https://img.shields.io/crates/v/fluent_testing.svg)](https://crates.io/crates/fluent_testing)
[![docs.rs](https://img.shields.io/docsrs/fluent-testing)](https://docs.rs/fluent-testing)

A collection of mock scenarios for testing fluent-rs components.

### intl-memoizer

[![crates.io](https://img.shields.io/crates/v/intl_memoizer.svg)](https://crates.io/crates/intl_memoizer)
[![docs.rs](https://img.shields.io/docsrs/intl-memoizer)](https://docs.rs/intl-memoizer)

A memoizer specifically tailored for storing lazy-initialized intl formatters.

### fluent-cli

A collection of developer-oriented command line tools for Fluent.

[Project Fluent]: https://projectfluent.org