Skip to content

[REQUIREMENT][Service] Support more formatting options for language list API #361

Closed
@nannany00

Description

Is your feature request related to a problem? Please describe.
For the language list data that provided to product team, they have different usages, for example: the language can be used in middle of sentence; or in select list/menu; or isolated UI element.
Now Singleton only provides one option: the language used in middle of sentence, we also need other options.

Describe the solution you'd like
Actually, in CLDR, there're 4 options for capitalization, please refer to
http://cldr.unicode.org/development/development-process/design-proposals/grammar-and-capitalization-for-date-time-elements
https://www.unicode.org/reports/tr35/tr35-29.html#Context_Transform_Elements

Describe alternatives you've considered
Add other options to getSupportedLanguageList API.

Additional context
CLDR capitalization pattern data: https://github.com/unicode-cldr/cldr-misc-full/blob/master/main/en/contextTransforms.json

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions