Skip to content
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

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

Closed
nannany00 opened this issue Jan 8, 2020 · 1 comment
Assignees
Labels
area/java-service kind/enhancement Enhancement to existing features kind/feature New feature or request
Milestone

Comments

@nannany00
Copy link
Contributor

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

@nannany00 nannany00 added area/java-service kind/enhancement Enhancement to existing features kind/feature New feature or request labels Jan 8, 2020
@gong-yu gong-yu added this to the Sprint 74 milestone Feb 6, 2020
chaoq0318 added a commit to chaoq0318/singleton that referenced this issue Feb 11, 2020
@huihuiw01
Copy link
Contributor

According to cldr version(32.0.0) we use,
corresponding LDML doc should be:
https://www.unicode.org/reports/tr35/tr35-49/tr35-general.html#Context_Transform_Elements

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

reference for handling titlecase-firstword:
http://cldr.unicode.org/development/development-process/design-proposals/consistent-casing

@gong-yu gong-yu changed the title [REQUIREMENT] Support more formatting options for language list API [REQUIREMENT][Service] Support more formatting options for language list API Feb 28, 2020
@gong-yu gong-yu closed this as completed Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/java-service kind/enhancement Enhancement to existing features kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants