formatAttribute

fun formatAttribute(id: String, attribute: String, args: FluentArgs? = null): String?(source)

Format a specific attribute of a message by ID.

Uses the AST path (calls FluentMessage.getAttributeValue) rather than string-concatenating "$id.$attribute". Returns null if either the message or the attribute is missing.