- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for CLDR (0.03 sec)
-
src/cmd/vendor/golang.org/x/text/language/language.go
// CLDR as well as bibliographic codes defined in ISO-639. Legacy // Map the dominant language of a macro language group to the macro language // subtag. For example cmn -> zh. Macro // The CLDR flag should be used if full compatibility with CLDR is required. // There are a few cases where language.Tag may differ from CLDR. To follow all // of CLDR's suggestions, use All|CLDR. CLDR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/map.go
return isTitle(c) } if !c.next() || c.src[c.pSrc] == 'j' { return false } if c.src[c.pSrc] != 'J' { c.unreadRune() } return true } // Not part of CLDR, but see https://unicode.org/cldr/trac/ticket/7078. func afnlRewrite(c *context) { if c.hasPrefix("'") || c.hasPrefix("’") { c.isMidWord = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 22.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go
if t.full != nil { return t.full.IsRoot() } return t.language == _und } // Parent returns the CLDR parent of t. In CLDR, missing fields in data for a // specific language are substituted with fields from the parent language. // The parent for a language may change for newer versions of CLDR. func (t Tag) Parent() Tag { if t.full != nil { return Make(t.full.Parent()) } if t.language != t.locale {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/match.go
// license that can be found in the LICENSE file. package internal // This file contains matchers that implement CLDR inheritance. // // See https://unicode.org/reports/tr35/#Locale_Inheritance. // // Some of the inheritance described in this document is already handled by // the cldr package. import ( "golang.org/x/text/language" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
// components. func (t Tag) HasString() bool { return t.str != "" } // Parent returns the CLDR parent of t. In CLDR, missing fields in data for a // specific language are substituted with fields from the parent language. // The parent for a language may change for newer versions of CLDR. func (t Tag) Parent() Tag { if t.str != "" { // Strip the variants and extensions. b, s, r := t.Raw()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/compact.go
// license that can be found in the LICENSE file. // Package compact defines a compact representation of language tags. // // Common language tags (at least all for which locale information is defined // in CLDR) are assigned a unique index. Each Tag is associated with such an // ID for selecting language-related resources (such as translations) as well // as one for selecting regional defaults (currency, number formatting, etc.) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.7K bytes - Viewed (0) -
src/time/genzabbrs.go
} } return abbr1, abbr1 } type zone struct { WinName string UnixName string StTime string DSTime string } const wzURL = "https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml" type MapZone struct { Other string `xml:"other,attr"` Territory string `xml:"territory,attr"` Type string `xml:"type,attr"` } type SupplementalData struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/lookup.go
// normRegion returns a region if r is deprecated or 0 otherwise. // TODO: consider supporting BYS (-> BLR), CSK (-> 200 or CZ), PHI (-> PHL) and AFI (-> DJ). // TODO: consider mapping split up regions to new most populous one (like CLDR). func normRegion(r Region) Region { m := regionOldMap k := sort.Search(len(m), func(i int) bool { return m[i].From >= uint16(r) }) if k < len(m) && m[k].From == uint16(r) { return Region(m[k].To)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/doc.go
// the confidence scores more accurate and allows matchers to distinguish // between variants that are otherwise lost. // // As a consequence, two tags that should be treated as identical according to // BCP 47 or CLDR, like "en-Latn" and "en", will be represented differently. The // Matcher handles such distinctions, though, and is aware of the // equivalence relations. The CanonType type can be used to alter the // canonicalization form. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
// en-AU vs en-US, for example. // [5] In CLDR a locale inherits fields that are unspecified for this locale // from its parent. Therefore, if a locale is a parent of another locale, // it is a strong measure for closeness, especially when no other tie // breaker rule applies. One could also argue it is inconsistent, for // example, when pt-AO matches pt (which CLDR equates with pt-BR), even
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0)