Skip to content
Discussion options

You must be logged in to vote

You are close, but the missing piece is that Fluent does not give you a dynamic “return this other message/term and call it” reference.

In your first example, the variants of -get-period are just text values like period-yearly; they are not evaluated as a second reference to the period-yearly message. In the second example, the same issue shows up as -get-period.masculine: the attribute has to be on a concrete term, not on the result of a dynamic lookup.

The usual Fluent shape is to put the reusable grammar in a term, parameterize that term, and then call it from each report title. The Fluent guide explicitly supports term parameters, and it also describes term attributes as private gramm…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by thielema
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants