How do I write a translatable dialogue line in Project Fluent that varies by count, gender or grammatical case?
In Project Fluent a translatable line varies by count, gender or case through select expressions with a required default variant (*): numbers match exact keys or plural categories, formatting options can change the category, parameterised terms select grammatical case, and term attributes like .gender drive agreement.
In Project Fluent a translatable line varies by count, gender or case through select expressions with a required default variant (*): numbers match exact keys or plural categories, formatting options can change the category, parameterised terms select grammatical case, and term attributes like .gender drive agreement.
Curator qualifications: Documentation read 2026-10-22; no code compiled or run; no saves synced. Runtime behaviour for missing variables not documented in the spec file read (producer note kept).
Limitations: Documentation read 2026-10-22; no code compiled or run; no saves synced.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://projectfluent.org/fluent/guide/selectors.html",
"note": "Fluent guide, Selectors (bytes equal producer pin); Fluent guide, Terms (bytes equal pin)"
},
{
"url": "https://projectfluent.org/fluent/guide/terms.html",
"note": "Fluent guide, Selectors (bytes equal producer pin); Fluent guide, Terms (bytes equal pin)"
},
{
"url": "https://raw.githubusercontent.com/projectfluent/fluent/ce153b3ea44f1729d3ebb001b97758ebd269ef19/spec/errors.md",
"note": "Fluent guide, Selectors (bytes equal producer pin); Fluent guide, Terms (bytes equal pin)"
}
]
}Evidence claims
- [sourced_fact] In Project Fluent a translatable line varies by count, gender or case through select expressions with a required default variant (*): numbers match exact keys or plural categories, formatting options can change the category, parameterised terms select grammatical case, and term attributes like .gender drive agreement. · locator: Fluent guide, Selectors (bytes equal producer pin); Fluent guide, Terms (bytes equal pin) source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |