Skip to content

Conversation

@younies
Copy link
Member

@younies younies commented Jan 14, 2026

No description provided.

@younies younies force-pushed the fix-doc-displyname-currency branch from 9e8dce4 to 0d17b9a Compare January 15, 2026 12:37
Comment on lines +17 to +19
/// Provides currency compact data for short currency formatting.
///
/// For example, "1000 US dollars" becomes "1k USD" in en-US.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this gives an example of the operation that this data is used for, but doesn't really explain the data. what are we storing?

Suggested change
/// Provides currency compact data for short currency formatting.
///
/// For example, "1000 US dollars" becomes "1k USD" in en-US.
/// Compact plural patterns for use in currency formatting
///
/// This data is not currency-specific.


icu_provider::data_marker!(
/// Essential currency data needed for currency formatting. For example, currency patterns.
/// Provides essential currency data needed for currency formatting. For example, currency patterns.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: compact currency patterns are currency patterns, but they are in a different data marker. be more specific

also add if this is keyed by currency or only by locale


icu_provider::data_marker!(
/// Extended currency data needed for currency formatting. For example, currency display names.
/// Provides extended currency data needed for long / full name currency formatting.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"extended" doesn't explain anything, it's a classification that you came up with.

Suggested change
/// Provides extended currency data needed for long / full name currency formatting.
/// Provides plural display names for currencies.
///
/// This data is keyed by both locale and currency, with a currency code marker attribute.


icu_provider::data_marker!(
/// `CurrencyPatternsDataV1`
/// Provides currency patterns information for currency formatting.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Provides currency patterns information for currency formatting.
/// Provides plural currency glue patterns to merge values and display names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants