-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion Issue for the Approval Ballot #954
Comments
For those of you playing along at home, the latest prerelease version of the JS
import { MessageFormat } from 'messageformat'
const msg = new MessageFormat('en', '{$cost :currency u:locale=fi}');
const cost = { valueOf: () => 42, options: { currency: 'EUR' } };
msg.format({ cost }); // '42,00 €'
msg.format({ cost: 42 }); // '{$cost}'
// Warning: A currency code is required for :currency
msg.formatToParts({ cost }); // see below [
{
type: 'number',
source: '$cost',
dir: 'ltr',
locale: 'fi',
parts: [
{ type: 'integer', value: '42' },
{ type: 'decimal', value: ',' },
{ type: 'fraction', value: '00' },
{ type: 'literal', value: ' ' },
{ type: 'currency', value: '€' }
]
}
] |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
I have a question about the file "registry.md" It says:
However, I do not see a list of which functions are required and which are recommended. I also submitted concerns about certain functions in registry.md:
And there is still the section entitled "Field Options". I have been under the impression since early in the year that these would be implementation-specific options but not in the main registry. Their status in registry.md is unclear. In any case, I was told that concerns involving registry.md do NOT impact readiness for 46.1, so this does not impact a "vote". If these are things that cannot be easily changed after 46.1, however, I would be quite concerned. |
@sffc: Thanks for your comments and careful read-through.
All of the functions currently in
These are not implementation-specific options. They are required on The registry is separate in some ways from the rest of the message format specification, but we normatively require the REQUIRED functions in it. MF2 is not very useful without functions, so they were an important part of our deliverables. We have normative language around the functions and their options. We also have a stability policy that will come into effect in 47 (not 46.1), but which we really want to try to live by starting with 46.1. This policy makes promises about what can be changed in the function sets/registry. |
Balloting having been completed, closing this issue |
This issue is for the discussion of the Working Group Ballot of the MF2.0 approval found in #955
The text was updated successfully, but these errors were encountered: