runtime: add attribute formatting functionality in FluentLocalization
Resolving issue with accessing message attributes via FluentLocalization.format_value("message.attribute")
Connected issues: https://github.com/projectfluent/python-fluent/issues/209
Sounds fair enough, I'll try to implement that soon. Anyway, I think that added functionality could be added too (with tests and docs, of course). According to the function name it should format any kind of values, even it is an attribute of a message, because attributes also have their own values.
According to the function name it should format any kind of values, even it is an attribute of a message, because attributes also have their own values.
Never mind. Pattern resolving works not as I thought, so I refuse the idea. Just will implement what you've mentioned above