2
2
3
3
## Introduction
4
4
5
- This document defines the behaviour of a MessageFormat 2.0 implementation
6
- when formatting a message for display in a user interface, or for some later processing.
5
+ This section defines the behavior of a MessageFormat 2.0 implementation
6
+ when formatting a _ message _ for display in a user interface, or for some later processing.
7
7
8
8
To start, we presume that a _ message_ has either been parsed from its syntax
9
9
or created from a data model description.
@@ -80,12 +80,12 @@ nor be made available to _function handlers_.
80
80
81
81
## Formatting Context
82
82
83
- A message 's ** _ <dfn >formatting context</dfn >_ ** represents the data and procedures that are required
84
- for the message 's _ expression resolution_ , _ pattern selection_ and _ formatting_ .
83
+ A _ message _ 's ** _ <dfn >formatting context</dfn >_ ** represents the data and procedures that are required
84
+ for the _ message _ 's _ expression resolution_ , _ pattern selection_ and _ formatting_ .
85
85
86
86
At a minimum, it includes:
87
87
88
- - Information on the current ** _ locale _ ** ,
88
+ - Information on the current ** _ [ locale ] ( https://www.w3.org/TR/i18n-glossary/#dfn-locale ) _ ** ,
89
89
potentially including a fallback chain of locales.
90
90
This will be passed on to formatting functions.
91
91
@@ -98,9 +98,9 @@ At a minimum, it includes:
98
98
This is often determined by a user-provided argument of a formatting function call.
99
99
100
100
- The _ function registry_ ,
101
- providing the _ function handlers_ of the functions referred to by message _ functions_ .
101
+ providing the _ function handlers_ of the functions referred to by _ message _ _ functions_ .
102
102
103
- - Optionally, a fallback string to use for the message if it is not _ valid_ .
103
+ - Optionally, a fallback string to use for the _ message _ if it is not _ valid_ .
104
104
105
105
Implementations MAY include additional fields in their _ formatting context_ .
106
106
0 commit comments