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

Proposal: unic-langid and unic-locale #266

Open
zbraniecki opened this issue May 14, 2019 · 3 comments
Open

Proposal: unic-langid and unic-locale #266

zbraniecki opened this issue May 14, 2019 · 3 comments

Comments

@zbraniecki
Copy link
Member

As the next step in the effort in #195 I pushed two crates - unic-langid and unic-locale to https://github.com/zbraniecki/unic-locale

I'm not going to release it yet, until we decide whether those crates should be part of unic or should be standalone.

I separated out the LanguageIdentifier because in many operations full Locale is not necessary or even useful, so I wanted to keep those two levels of abstraction.

There are some open questions like whether it should be structs or traits etc. and of course there's no validity checks yet, only well-fromedness. In fact, I don't pull any data, even stuff like RTL yet, but this can be easily added.

@behnam , @Manishearth - thoughts?

@Manishearth
Copy link

I'd like to see these things become a part of unic, yes

@zbraniecki
Copy link
Member Author

@bcmyers - any chance you may have feedback on this? I believe this should become an entry point for your num_format crate.

@zbraniecki
Copy link
Member Author

I now released https://crates.io/crates/unic-langid and https://crates.io/crates/unic-locale

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

No branches or pull requests

2 participants