Skip to content

Commit 500fdc4

Browse files
committed
docs: Overhaul all crate summaries to disambiguate and clarify scope of each
1 parent 3cbf136 commit 500fdc4

File tree

17 files changed

+114
-61
lines changed

17 files changed

+114
-61
lines changed

README.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,46 @@
11
# 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)
22

3-
`fluent-rs` is a collection of Rust crates implementing [Project Fluent](https://projectfluent.org).
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent](),
4+
a localization system designed to unleash the entire expressive power of natural language translations.
45

56
## Packages
67

7-
The crates perform the following functions:
8+
This workspace contains the following crates:
89

910
### fluent [![crates.io](https://img.shields.io/crates/v/fluent.svg)](https://crates.io/crates/fluent)
1011

11-
Umbrella crate combining crates that are ready to be used in production.
12-
13-
### fluent-syntax [![crates.io](https://img.shields.io/crates/v/fluent_syntax.svg)](https://crates.io/crates/fluent_syntax)
14-
15-
Low level Fluent Syntax AST and parser API.
12+
An umbrella crate exposing the combined features of fluent-rs crates with additional convenience macros.
1613

1714
### fluent-bundle [![crates.io](https://img.shields.io/crates/v/fluent_bundle.svg)](https://crates.io/crates/fluent_bundle)
1815

19-
Implementation of the low-level Fluent Localization System providing localization capabilities for any Rust project.
16+
A low level implementation of a collection of localization messages for a single locale.
2017

2118
### fluent-fallback [![crates.io](https://img.shields.io/crates/v/fluent_fallback.svg)](https://crates.io/crates/fluent_fallback)
2219

23-
Implementation of the high-level Fluent Localization System providing localization capabilities for any Rust project.
20+
A high-level abstraction model for managing locale bundles and runtime localization lifecycle.
2421

2522
### fluent-resmgr [![crates.io](https://img.shields.io/crates/v/fluent_resmgr.svg)](https://crates.io/crates/fluent_resmgr)
2623

27-
Resource Manager for localization resources.
24+
A standalone solution for managing localization resource files and returning locale bundles.
25+
26+
### fluent-syntax [![crates.io](https://img.shields.io/crates/v/fluent_syntax.svg)](https://crates.io/crates/fluent_syntax)
27+
28+
The low level parser, AST, and serializer APIs for the Fluent Syntax.
29+
30+
### fluent-pseudo [![crates.io](https://img.shields.io/crates/v/fluent_pseudo.svg)](https://crates.io/crates/fluent_pseudo)
31+
32+
A pseudolocalization and transformation API.
33+
34+
### fluent-testing [![crates.io](https://img.shields.io/crates/v/fluent_testing.svg)](https://crates.io/crates/fluent_testing)
35+
36+
A collection of mock scenarios for testing fluent-rs components.
37+
38+
### intl-memoizer [![crates.io](https://img.shields.io/crates/v/fluent_testing.svg)](https://crates.io/crates/fluent_testing)
39+
40+
A memoizer specifically tailored for storing lazy-initialized intl formatters.
2841

2942
### fluent-cli
3043

31-
Collection of command line tools for Fluent.
44+
Collection of developer-oriented command line tools for Fluent.
45+
46+
[Project Fluent]: https://projectfluent.org

fluent-bundle/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[package]
22
name = "fluent-bundle"
33
description = """
4-
A localization system designed to unleash the entire expressive power of
5-
natural language translations.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate exposes a low
6+
level implementation of a collection of localization messages for a single
7+
locale.
68
"""
79
version = "0.15.3"
810
edition.workspace = true

fluent-bundle/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Fluent
1+
# Fluent Bundle
22

3-
`fluent-rs` is a Rust implementation of [Project Fluent][], a localization
4-
framework designed to unleash the entire expressive power of natural language
5-
translations.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate exposes a low level implementation of a collection of localization messages for a single locale.
67

78
[![crates.io](https://img.shields.io/crates/v/fluent-bundle.svg)](https://crates.io/crates/fluent-bundle)
89
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
@@ -15,7 +16,7 @@ natural languages like gender, plurals, conjugations, and others.
1516

1617
[Documentation][]
1718

18-
[Project Fluent]: http://projectfluent.org
19+
[Project Fluent]: https://projectfluent.org
1920
[Documentation]: https://docs.rs/fluent/
2021

2122
Usage

fluent-fallback/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[package]
22
name = "fluent-fallback"
33
description = """
4-
High-level abstraction model for managing localization resources
5-
and runtime localization lifecycle.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate exposes
6+
a high-level implementation of a collection of locale bundles including
7+
fallback between locales.
68
"""
79
version = "0.7.1"
810
edition.workspace = true

fluent-fallback/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Fluent
1+
# Fluent Fallback
22

3-
`fluent-fallback` is a Rust implementation of the [Project Fluent][] higher level API.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
45

5-
The `Localization` struct encapsulates a persistent localization context providing
6-
language fallbacking. The instance remains available throughout the whole life cycle of
7-
the corresponding UI, reacting to events such as locale changes, resource updates etc.
8-
9-
The API can be used directly, or can serve as an example of state manager for `fluent-bundle` and `fluent-resmgr`.
6+
This crate exposes a high-level implementation of a collection of locale bundles including fallback between locales.
107

118
[![crates.io](https://img.shields.io/crates/v/fluent-fallback.svg)](https://crates.io/crates/fluent-fallback)
129
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
@@ -19,12 +16,18 @@ natural languages like gender, plurals, conjugations, and others.
1916

2017
[Documentation][]
2118

22-
[Project Fluent]: http://projectfluent.org
19+
[Project Fluent]: https://projectfluent.org
2320
[Documentation]: https://docs.rs/fluent/
2421

2522
Usage
2623
-----
2724

25+
The `Localization` struct encapsulates a persistent localization context providing language fallbacking.
26+
The instance remains available throughout the whole life cycle of the corresponding UI,
27+
reacting to events such as locale changes, resource updates etc.
28+
29+
The API can be used directly, or can serve as an example of state manager for `fluent-bundle` and `fluent-resmgr`.
30+
2831
```rust
2932
use fluent_fallback::Localization;
3033

fluent-pseudo/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "fluent-pseudo"
33
description = """
4-
Pseudolocalization transformation API for use with Project Fluent API.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate provides
6+
a pseudolocalization and transformation API.
57
"""
68
version = "0.3.2"
79
edition.workspace = true

fluent-pseudo/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
# Fluent
1+
# Fluent Pseudo
22

3-
`fluent-pseudo` is a Rust implementation of the pseudolocalization API for [Project Fluent](https://projectfluent.org/), a localization
4-
framework designed to unleash the entire expressive power of natural language
5-
translations.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate provides a pseudolocalization and transformation API.
67

78
[![crates.io](https://img.shields.io/crates/v/fluent-pseudo.svg)](https://crates.io/crates/fluent-pseudo)
89
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
910
[![Coverage Status](https://coveralls.io/repos/github/projectfluent/fluent-rs/badge.svg?branch=main)](https://coveralls.io/github/projectfluent/fluent-rs?branch=main)
1011

12+
[Project Fluent]: https://projectfluent.org
13+
1114
Usage
1215
-----
1316

fluent-resmgr/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "fluent-resmgr"
33
description = """
4-
Resource manager for Fluent localization resources.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate provides
6+
a standalone solution for managing localization resource files and returning
7+
locale bundles.
58
"""
69
version = "0.0.7"
710
edition.workspace = true

fluent-resmgr/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Fluent Resource Manager
22

3-
`fluent-resmgr` is an implementation of resource manager for [Project Fluent][].
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
45

5-
Resource Manager provides a standalone solution for managing localization resources which
6-
can be used by `fluent-fallback` or other higher level bindings.
6+
This crate provides a standalone solution for managing localization resource files and returning locale bundles.
77

88
[![crates.io](https://img.shields.io/crates/v/fluent-resmgr.svg)](https://crates.io/crates/fluent-resmgr)
99
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
@@ -16,7 +16,7 @@ natural languages like gender, plurals, conjugations, and others.
1616

1717
[Documentation][]
1818

19-
[Project Fluent]: http://projectfluent.org
19+
[Project Fluent]: https://projectfluent.org
2020
[Documentation]: https://docs.rs/fluent/
2121

2222
Usage

fluent-syntax/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "fluent-syntax"
33
description = """
4-
Parser/Serializer tools for Fluent Syntax.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate exposes the low
6+
level parser, AST, and serializer APIs for the Fluent Syntax.
57
"""
68
version = "0.11.1"
79
edition.workspace = true

fluent-syntax/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Fluent Syntax
22

3-
`fluent-syntax` is a parser/serializer API for the Fluent Syntax, part of the [Project Fluent](https://projectfluent.org/), a localization
4-
framework designed to unleash the entire expressive power of natural language translations.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate exposes the low level parser, AST, and serializer APIs for the Fluent Syntax.
57

68
[![crates.io](https://img.shields.io/crates/v/fluent-syntax.svg)](https://crates.io/crates/fluent-syntax)
79
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
810
[![Coverage Status](https://coveralls.io/repos/github/projectfluent/fluent-rs/badge.svg?branch=main)](https://coveralls.io/github/projectfluent/fluent-rs?branch=main)
911

12+
[Project Fluent]: https://projectfluent.org
1013

1114
Learn the FTL syntax
1215
--------------------

fluent-testing/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "fluent-testing"
33
description = """
4-
A collection of mock scenarios for testing fluent-rs components.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. A collection of mock
6+
scenarios for testing fluent-rs components.
57
"""
68
version = "0.0.4"
79
edition.workspace = true

fluent-testing/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# Fluent
1+
# Fluent Testing
22

3-
`fluent-testing` is a collection of mock scenarios for testing fluent-rs components.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate is a collection of mock scenarios for testing fluent-rs components.
7+
8+
[![crates.io](https://img.shields.io/crates/v/fluent-bundle.svg)](https://crates.io/crates/fluent-bundle)
9+
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
10+
[![Coverage Status](https://coveralls.io/repos/github/projectfluent/fluent-rs/badge.svg?branch=main)](https://coveralls.io/github/projectfluent/fluent-rs?branch=main)
411

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

10-
[Documentation][]
11-
1217
[Project Fluent]: https://projectfluent.org
13-
[Documentation]: https://docs.rs/fluent/
14-
1518

1619
Learn the FTL syntax
1720
--------------------

fluent/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[package]
22
name = "fluent"
33
description = """
4-
A localization system designed to unleash the entire expressive power of
5-
natural language translations.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This umbrella crate
6+
exposes the combined features of other fluent-rs crates with additional
7+
convenience macros.
68
"""
79
version = "0.16.1"
810
edition.workspace = true

fluent/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Fluent
22

3-
`fluent-rs` is a Rust implementation of [Project Fluent][], a localization
4-
framework designed to unleash the entire expressive power of natural language
5-
translations.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate is an umbrella that exposes the combined features of other `fluent-rs` crates with additional convenience macros.
67

78
[![crates.io](https://img.shields.io/crates/v/fluent.svg)](https://crates.io/crates/fluent)
89
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
@@ -15,7 +16,7 @@ natural languages like gender, plurals, conjugations, and others.
1516

1617
[Documentation][]
1718

18-
[Project Fluent]: http://projectfluent.org
19+
[Project Fluent]: https://projectfluent.org
1920
[Documentation]: https://docs.rs/fluent/
2021

2122
Usage

intl-memoizer/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "intl-memoizer"
33
description = """
4-
A memoizer specifically tailored for storing lazy-initialized
5-
intl formatters.
4+
Project Fluent is a localization system designed to unleash the entire
5+
expressive power of natural language translations. This crate provides
6+
a memoizer specifically tailored for storing lazy-initialized intl formatters.
67
"""
78
version = "0.5.2"
89
edition.workspace = true

intl-memoizer/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
# IntlMemoizer
22

3-
`intl-memoizer` is a crate designed to handle lazy-initialized references
4-
to intl formatters.
3+
The `fluent-rs` workspace is a collection of Rust crates implementing [Project Fluent][],
4+
a localization system designed to unleash the entire expressive power of natural language translations.
5+
6+
This crate provides a memoizer specifically tailored for storing lazy-initialized intl formatters.
7+
8+
[![crates.io](https://img.shields.io/crates/v/intl-memoizer.svg)](https://crates.io/crates/intl-memoizer)
9+
[![Build](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml/badge.svg)](https://github.com/projectfluent/fluent-rs/actions/workflows/test.yaml)
10+
[![Coverage Status](https://coveralls.io/repos/github/projectfluent/fluent-rs/badge.svg?branch=main)](https://coveralls.io/github/projectfluent/fluent-rs?branch=main)
11+
12+
[Project Fluent]: https://projectfluent.org
13+
14+
Usage
15+
-----
516

617
The assumption is that allocating a new formatter instance is costly, and such
718
instance is read-only during its life time, with constructor being expensive, and
@@ -10,9 +21,6 @@ instance is read-only during its life time, with constructor being expensive, an
1021
In result it pays off to use a singleton to manage memoization of all instances of intl
1122
APIs such as `PluralRules`, DateTimeFormat` etc. between all `FluentBundle` instances.
1223

13-
Usage
14-
-----
15-
1624
The following is a high-level example of how this works, for running examples see
1725
the [docs](https://docs.rs/intl-memoizer/)
1826

0 commit comments

Comments
 (0)