|
| 1 | +# 15 April 2024 | MessageFormat Working Group Teleconference |
| 2 | + |
| 3 | +### Attendees |
| 4 | +- Addison Phillips - Unicode (APP) - chair |
| 5 | +- Eemeli Aro - Mozilla (EAO) |
| 6 | +- Mihai Niță - Google (MIH) |
| 7 | +- Matt Radbourne - Bloomberg (MRR) |
| 8 | +- Richard Gibson - OpenJSF (RGN) |
| 9 | +- Staś Małolepszy - Google (STA) |
| 10 | + |
| 11 | +Scribe: MIH |
| 12 | + |
| 13 | +## Topic: Tech Preview |
| 14 | + |
| 15 | +LDML45-Tech-Preview branch and release created |
| 16 | + |
| 17 | +APP: Branch created, LDML45 |
| 18 | +We can continue working on main. |
| 19 | +Post-preview work: plan and schedule. Will try to have a proposal for next time. |
| 20 | + |
| 21 | +## Topic: Planning for v46 work |
| 22 | +We have much to do… |
| 23 | + |
| 24 | +## Topic: PR Review |
| 25 | +Timeboxed review of items ready for merge. |
| 26 | + |
| 27 | +| PR | Description | Recommendation | |
| 28 | +|:----:|:----------------------------------------------------:|:---------------------------------------:| |
| 29 | +| #769 | Add test:number and test:plural function definitions | Discuss | |
| 30 | +| #768 | Provide link to MDN for options and their values | Discuss | |
| 31 | +| #767 | Add new test schema | Discuss | |
| 32 | +| #765 | Linkify the specification | Merge (non-normative) | |
| 33 | +| #757 | Tech Preview Blog Post | Merge | |
| 34 | +| #755 | [DESIGN] Effect of selectors on placeholders | Discuss | |
| 35 | +| #754 | [DESIGN] Bidi usability | Merge | |
| 36 | +| #753 | Add design doc on function composition | LDML46 | |
| 37 | +| #744 | Fix design doc | Merge (approved, waiting on bearfriend) | |
| 38 | +| #743 | Collapse all escape sequence rules into one | LDML46 | |
| 39 | +| #728 | Add "resolved values" section to formatting | LDML46 | |
| 40 | +| #704 | Address #703: make syntax/data model fallback clear | LDML46 | |
| 41 | +| #673 | Fix whitespace conformance to match UAX31 | LDML46 | |
| 42 | +| #646 | Update spec as if PR #645 were accepted | LDML46 | |
| 43 | +| #645 | Add design doc for dataflow for composability | LDML46 | |
| 44 | +| #634 | Design doc to capture registry maintenance | LDML46 | |
| 45 | +| #584 | Add new terms to glossary | LDML46 | |
| 46 | +| #558 | Add <when> to help select the right <match> | LDML46 | |
| 47 | + |
| 48 | + |
| 49 | +### 765: script to linkify the spec |
| 50 | + |
| 51 | +AAP: Thanks to Eemeli |
| 52 | +Merged. |
| 53 | + |
| 54 | +### 754: [DESIGN] Bidi usability |
| 55 | + |
| 56 | +EAO: my mental model is that this is going to be use exclusively by tools |
| 57 | +Would be good to know how various editors handle these markers. |
| 58 | + |
| 59 | +APP: I confirm that this is most commonly for tooling. |
| 60 | +Using string directional markers are there for the messages to render properly, but these markers don’t show in code, selector, etc. |
| 61 | + |
| 62 | +MIH: talking about cat tools, most will extract the text from around the placeholders. May impact text editors, and review tools |
| 63 | + |
| 64 | +EAO: are still many cat tools that are not browser based? |
| 65 | + |
| 66 | +MIH: yes |
| 67 | + |
| 68 | +MIH: there are still a lot of problems in browser based tools. Browser based does not mean bidi is handled properly. |
| 69 | + |
| 70 | +### Testing |
| 71 | + |
| 72 | +APP: Thanks Mat for the schema (Add new test schema #767) |
| 73 | +And EAO (Add test:number and test:plural function definitions #769) |
| 74 | + |
| 75 | +EAO: My PR is not to test the number result, but that the implementation predictably produces digit 1 and one. Testing selection, not exact result. |
| 76 | +Same, we want to test behavior for correct / incorrect values for options (min/max Fractional, etc.) |
| 77 | + |
| 78 | +So not to test :number, but that the implementation does the right thing for complicated options. |
| 79 | + |
| 80 | +APP: we can create special tests for these. |
| 81 | +But also good to provide the ability for apps to test the behavior of the standard registry. |
| 82 | +For that we expect to be able to describe the existing result we expect. |
| 83 | +Any application would also test that the exact string is correct. |
| 84 | + |
| 85 | +EAO: Follow-up after the 2 PRs landed |
| 86 | +Expected value can be specified in several ways. MF, or calling with the real formatting. |
| 87 | + |
| 88 | +APP: what i would suggest is to rename things to avoid confusion. |
| 89 | +Like test-number-selection. |
| 90 | + |
| 91 | +MIH: added some comments to the PR. don’t have to depend on the formatter. Don’t test against real CLDR data. Maybe a regex, e.g. `*Mar*2024*` not test exact results. Was in my feedback. |
| 92 | +Basically tests that the implementation passes the proper params to the underlying formatter, and are honored. |
| 93 | + |
| 94 | +### PR 767: Add new test schema #767 |
| 95 | + |
| 96 | +EAO: how do we version the schema? |
| 97 | +So that we don’t get locked in. |
| 98 | + |
| 99 | +But we can also version the paths, so that we can make changes later. |
| 100 | + |
| 101 | +MRR: my thinking was the latter (path). |
| 102 | + |
| 103 | +EAO: do we support BOTH “exp” and “error” at the same time. |
| 104 | + |
| 105 | +MRR: yes, both. |
| 106 | + |
| 107 | +EAO: we should not make the expected string mandatory. |
| 108 | + |
| 109 | +MIH: we need to be able to tell if something failed, even if we don’t specify the exact errors, or exp string. |
| 110 | +We have (had some weeks ago?) a file with input only, and all expected to fail, but the only indication of the fact that they fail was the file name. |
| 111 | + |
| 112 | +MRR: comment from MIH: split into sub-groups |
| 113 | + |
| 114 | +MRR: will land “as is” and reiterate. |
| 115 | + |
| 116 | +### Provide a link to MDN for options and their values #768 |
| 117 | + |
| 118 | +APP: Squash and merge |
| 119 | + |
| 120 | +--- |
| 121 | + |
| 122 | +EAO: would appreciate if we aim for an in person meeting in Anaheim (TPAC, 23-27 September) |
| 123 | + |
| 124 | +APP: walk in that meeting “close to done” |
| 125 | + |
| 126 | +APP: stake down for a face-to-face |
| 127 | + |
| 128 | + |
0 commit comments