google / google/rust_icu

Remove pattern string constructor from rust_icu_udat

Open
#2 4 comments 0 reactions 0 assignees View on GitHub
discuss before start enhancement help wanted
Dominant language
Rust
Stars
140
Forks
34
Avg merge
5h 5m
Merged PRs (30d)
4

Description

ECMA-402 does not and [probably](https://github.com/tc39/ecma402/issues/342) [will](https://github.com/tc39/ecma402/issues/147) [not](https://github.com/tc39/ecma402/issues/1) add support for parsing. The bottom line is that parsing of localized strings is a hard problem that is best solved by simply building your application to avoid having to do it. Do you really need to support parsing in the wrapper?

ECMA-402 also does and probably will not support patterns. ICU has long recommended that people don't use patterns; they should use skeletons instead. Do you really need to support patterns?

Speaking of skeletons, you don't have an API for skeletons right now. Could you remove your pattern API and replace it with a skeleton API?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.