@@ -11,8 +11,8 @@ Introduction
1111
1212This is a Rust implementation of fluent-locale library which is a part of Project Fluent.
1313
14- The library allows for parsing language tags into ` Locale ` objects, operating on them
15- and serializing the result back to language tag strings.
14+ The library allows for parsing of unicode locale identifiers into ` Locale ` objects, operating on them
15+ and serializing the result back to locale identifier strings.
1616
1717On top of that, it allows for simple operations like comparing ` Locale ` objects and
1818negotiating between lists of language tags.
@@ -67,11 +67,17 @@ add more tests and ensure that bad input is correctly handled.
6767Compatibility
6868-------------
6969
70- The API is based on [ BCP47 ] [ ] definition of Language Tags and is aiming to
71- parse and serialize all language tags according to that definition.
70+ The API is based on [ UTS 35 ] [ ] definition of [ Unicode Locale Identifier ] [ ] and is aiming to
71+ parse and serialize all locale identifiers according to that definition.
7272
73- Parsed language tags are stored as ` Locale ` objects compatible with
74- ECMA402's [ Intl.Locale] [ ] and allow for operations on language tag subtags and
73+ * Note* : Unicode Locale Identifier is similar, but different, from what [ BCP47] [ ] specifies under
74+ the name Language Tag.
75+ For most locale management and negotiation needs, the Unicode Locale Identifier used in this crate is likely a better choice,
76+ but in some case, like HTTP Accepted Headers, you may need the complete BCP47 Language Tag implementation which
77+ this crate does not provide.
78+
79+ Parsed locale identifiers are stored as ` Locale ` objects compatible with
80+ ECMA402's [ Intl.Locale] [ ] and allow for operations on locale identifier subtags and
7581unicode extension keys as defined by [ RFC6067] [ ] and Unicode [ UTS35] [ ]
7682
7783Language negotiation algorithms are custom Project Fluent solutions,
@@ -84,7 +90,7 @@ API access to them when operating on the `Locale` object.
8490The language negotiation strategies aim to replicate the best-effort matches with
8591the most limited amount of data. The algorithm returns reasonable
8692results without any database, but the results can be improved with either limited
87- or full [ CLDR likely-subtags] database.
93+ or full [ CLDR likely-subtags] [ ] database.
8894
8995The result is a balance chosen for Project Fluent and may differ from other
9096implementations of language negotiation algorithms which may choose different
0 commit comments