Home
last modified time | relevance | path

Searched +full:zh +full:- +full:hant (Results 1 – 25 of 987) sorted by relevance

12345678910>>...40

/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestFallbackIterator.java16 … "zh-TW-foobar-variant, zh-Hant-TW-foobar-variant, zh-Hant-TW-foobar, zh-Hant-TW, zh-Hant, zh", in TestSimpleFallbacks()
17 … "zh-HK-foobar-variant, zh-Hant-HK-foobar-variant, zh-Hant-HK-foobar, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
18 "zh-HK, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
19 "zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
20 "zh-Hans-HK, zh-Hans, zh", in TestSimpleFallbacks()
21 "zh-Hant-SG, zh-Hant, zh", in TestSimpleFallbacks()
22 "zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks()
23 "zh-SG, zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks()
24 "zh-US, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks()
25 "zh-US-foobar, zh-Hans-US-foobar, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks()
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTableTest.java21 assertThat(getTrieTable(table)).containsExactly("en-en", 23); in testSimpleMapping()
33 "nb-no", 1, in testReverseMapping()
34 "no-nb", 1) in testReverseMapping()
42 builder.addDistance(2, true, "zh", "zh", "Hant", "Hant", "1", "1"); in testMinRegionDistance()
43 builder.addDistance(4, true, "zh", "zh", "Hant", "Hant", "2", "2"); in testMinRegionDistance()
44 builder.addDistance(6, true, "zh", "zh", "Hant", "Hant", "*", "*"); in testMinRegionDistance()
49 "zh-zh", 0, // Equal locales have zero distance. in testMinRegionDistance()
50 "zh-zh-*-*", 50, // Default unknown script distance in testMinRegionDistance()
51 "zh-zh-Hant-Hant", 0, in testMinRegionDistance()
53 "zh-zh-Hant-Hant-*-*", 6, in testMinRegionDistance()
[all …]
DLocaleDistanceMapperTest.java54 // 1: American vs non-American and British English in testEndToEnd()
65 // otherwise equal). DTD ordering will not re-order this data. in testEndToEnd()
66 languageMatch("yue", "zh", 10, true, ++idx), in testEndToEnd()
96 likelySubtag("zh", "zh_Hans_CN"), in testEndToEnd()
106 alias(LANGUAGE, MACRO, "cmn", "zh"), in testEndToEnd()
123 territoryGroup("035", "PH", "SG", "TH", "VN"), // South-Eastern Asia in testEndToEnd()
132 assertThat(icuData).hasValuesFor("likely/languageAliases", "cmn", "zh"); in testEndToEnd()
135 // LSR values come in (language, script, region) tuples. They are the mapped-to in testEndToEnd()
141 "zh", "Hans", "CN", in testEndToEnd()
142 "zh", "Hant", "TW", in testEndToEnd()
[all …]
DLikelySubtagsBuilderTest.java38 // Non-simple languages with script, region or other extensions are ignored. in testLanguageAliases()
40 alias(LANGUAGE, LEGACY, "i-default", "en-x-i-default"))); in testLanguageAliases()
68 likelySubtag("zh", "zh_Hans_CN"), in testLikelySubtags()
76 lsr("skip-script"), in testLikelySubtags()
78 lsr("en-Latn-US"), in testLikelySubtags()
79 lsr("pt-Latn-BR"), in testLikelySubtags()
80 lsr("zh-Hans-CN"), in testLikelySubtags()
81 lsr("zh-Hant-TW")) in testLikelySubtags()
84 // Order is by "subtag" (left-to-right) with lexicographical order of tags (other in testLikelySubtags()
89 "*-*-*", lsr("en-Latn-US"), in testLikelySubtags()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DFallbackIterator.java80 "art-lojban;jbo",
81 "cel-gaulish;xcg", // Special replacement: cel-gaulish
82 "en-GB-oed;en-GB-x-oed", // Special replacement: en-GB-oed
83 "i-ami;ami",
84 "i-bnn;bnn",
85 "i-default;und", // Special replacement: i-default
86 "i-enochian;x-enochian", // Special replacement: i-enochian
87 "i-hak;zh-hakka",
88 "i-klingon;tlh",
89 "i-lux;lb",
[all …]
/external/cldr/common/testData/datetime/
Ddatetime.json6 "locale": "en-US",
7 "input": "2024-03-16T17:00-07:00[America/Los_Angeles]",
14 "locale": "en-US",
15 "input": "2001-07-02T06:14:15-07:00[America/Los_Angeles]",
22 "locale": "en-US",
23 "input": "1984-05-29T00:53-07:00[America/Los_Angeles]",
30 "locale": "en-US",
31 "input": "2050-05-29T09:47-07:00[America/Los_Angeles]",
38 "locale": "en-US",
39 "input": "1969-07-15T17:00-07:00[America/Los_Angeles]",
[all …]
/external/icu/icu4c/source/test/testdata/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
/external/cronet/stable/third_party/icu/source/test/testdata/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/test/util/data/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
DlocaleDistanceTest.txt4 # Data-driven test for XLocaleDistance.
12 en-CA ; en-CA ; 0
13 ar-MK ; en-CA ; 100
16 zh ; cmn ; 0
22 no ; no-DE ; 4
24 no-DE ; nn ; 24
27 da ; zh-Hant ; 100
28 zh-Hant ; zh-Hans ; 100 ; 100
29 zh-Hans ; en ; 100
31 en-US ; en-AU ; 5 # across clusters
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/data/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
DlocaleDistanceTest.txt4 # Data-driven test for XLocaleDistance.
12 en-CA ; en-CA ; 0
13 ar-MK ; en-CA ; 100
16 zh ; cmn ; 0
22 no ; no-DE ; 4
24 no-DE ; nn ; 24
27 da ; zh-Hant ; 100
28 zh-Hant ; zh-Hans ; 100 ; 100
29 zh-Hans ; en ; 100
31 en-US ; en-AU ; 5 # across clusters
[all …]
/external/cronet/tot/third_party/icu/source/test/testdata/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
/external/cldr/tools/cldr-code/src/test/resources/org/unicode/cldr/unittest/data/
DlocaleMatcherTest.txt1 # Data-driven test for the XLocaleMatcher.
15 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
17 es-419, es-ES ; es-AR ; es-419
18 es-ES, es-419 ; es-AR ; es-419
20 es-419, es ; es-AR ; es-419
21 es, es-419 ; es-AR ; es-419
23 es-MX, es ; es-AR ; es-MX
24 es, es-MX ; es-AR ; es-MX
26 # en-GB, en-AU, and en-NZ are in a cluster; en in a different one
28 en-GB, en-US ; en-AU ; en-GB
[all …]
DlocaleDistanceTest.txt1 # Data-driven test for XLocaleDistance.
9 en-CA ; en-CA ; 0
10 ar-MK ; en-CA ; 100
13 zh ; cmn ; 0
19 no ; no-DE ; 4
21 no-DE ; nn ; 14
24 da ; zh-Hant ; 100
25 zh-Hant ; zh-Hans ; 23 ; 19
26 zh-Hans ; en ; 100
28 en-US ; en-AU ; 5 # across clusters
[all …]
/external/rust/android-crates-io/crates/icu_locale/tests/fixtures/
Dmaximize.json3 "input": "en-US",
4 "output": "en-Latn-US"
7 "input": "en-GB",
8 "output": "en-Latn-GB"
11 "input": "es-AR",
12 "output": "es-Latn-AR"
16 "output": "it-Latn-IT"
19 "input": "zh-Hans-CN",
20 "output": "zh-Hans-CN"
23 "input": "de-AT",
[all …]
Dminimize.json3 "input": "zh-Hant",
4 "output": "zh-TW"
7 "input": "en-Latn-US",
19 "input": "es-ES-preeuro",
20 "output": "es-preeuro"
23 "input": "zh-Hant-TW-u-hc-h24-nu-chinese",
24 "output": "zh-TW-u-hc-h24-nu-chinese"
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/
Dalternate_language_names.txt28 el ; Modern Greek (1453-)
31 en-GB ; English (GB)
32 en-GB ; English (UK)
33 en-GB ; English_(U.S.)-GB
118 pt-PT ; Iberian Portuguese
119 pt-PT ; Portuguese (Portugal)
120 pt-PT ; Portuguese (PT)
125 ro-MD ; Moldavian
126 ro-MD ; Moldovan
131 sh ; Serbo-Croatian
[all …]
/external/harfbuzz_ng/test/shape/data/in-house/tests/
Dlanguage-tags.tests1 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=fa;U+004A;[gid2=0+1000]
2 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=ja;U+004A;[gid2=0+1000]
3 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh;U+004A;[gid4=0+1000]
4 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-cn;U+004A;[gid4=0+1000]
5 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-sg;U+004A;[gid4=0+1000]
6 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-tw;U+004A;[gid5=0+1000]
7 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hans;U+004A;[gid4=0+1000]
8 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hant;U+004A;[gid5=0+1000]
9 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hant-hk;U+004A;[gid6=0+1000]
10 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-HK;U+004A;[gid6=0+1000]
[all …]
/external/libtextclassifier/native/utils/i18n/
Dlocale_test.cc8 * http://www.apache.org/licenses/LICENSE-2.0
30 Locale locale = Locale::FromBCP47("en-CH"); in TEST()
38 Locale locale = Locale::FromBCP47("zh-CN"); in TEST()
40 EXPECT_EQ(locale.Language(), "zh"); in TEST()
46 Locale locale = Locale::FromBCP47("zh-Hant-TW"); in TEST()
48 EXPECT_EQ(locale.Language(), "zh"); in TEST()
49 EXPECT_EQ(locale.Script(), "Hant"); in TEST()
62 Locale locale = Locale::FromBCP47("zh-Hant"); in TEST()
64 EXPECT_EQ(locale.Language(), "zh"); in TEST()
65 EXPECT_EQ(locale.Script(), "Hant"); in TEST()
[all …]
/external/fonttools/Tests/ttLib/tables/
D_l_t_a_g_test.py12 + b"enzh-Hant"
14 TAGS_ = ["en", "zh-Hant", "zh"]
18 self.assertEqual(table.addTag("de-CH"), 0)
19 self.assertEqual(table.addTag("gsw-LI"), 1)
20 self.assertEqual(table.addTag("de-CH"), 0)
21 self.assertEqual(table.tags, ["de-CH", "gsw-LI"])
38 '<LanguageTag tag="sr-Latn"/>'
44 self.assertEqual(["sr-Latn", "fa"], table.tags)
54 '<?xml version="1.0" encoding="UTF-8"?>',
58 '<LanguageTag tag="zh-Hant"/>',
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/
DTextClassifierSettingsTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
61 settings -> assertThat(settings.isTemplateIntentFactoryEnabled()).isFalse()); in booleanSetting()
69 settings -> assertThat(settings.getSuggestSelectionMaxRangeLength()).isEqualTo(8)); in intSetting()
77 settings -> assertThat(settings.getLangIdThresholdOverride()).isWithin(EPSILON).of(3.14f)); in floatSetting()
85 settings -> in stringListSetting()
94 settings -> in floatListSetting()
105 "manifest_url_annotator_en", "https://annotator-en", in getLanguageTagsForManifestAndUrlMap()
106 "manifest_url_annotator_en-us", "https://annotator-en-us", in getLanguageTagsForManifestAndUrlMap()
107 "manifest_url_annotator_zh-hant-hk", "https://annotator-zh", in getLanguageTagsForManifestAndUrlMap()
109 settings -> in getLanguageTagsForManifestAndUrlMap()
[all …]
/external/noto-fonts/notoserifcjk/
Dfont_config.json3 "lang": "zh-Hans",
6 "file": "NotoSerifCJK-Regular.ttc",
7 "postScriptName": "NotoSerifCJKjp-Regular",
14 "target": "NotoSansCJK_zh-Hans"
17 "lang": "zh-Hant,zh-Bopo",
20 "file": "NotoSerifCJK-Regular.ttc",
21 "postScriptName": "NotoSerifCJKjp-Regular",
28 "target": "NotoSansCJK_zh-Hant,zh-Bopo"
34 "file": "NotoSerifCJK-Regular.ttc",
35 "postScriptName": "NotoSerifCJKjp-Regular",
[all …]
/external/noto-fonts/notosanscjk/
Dfont_config.json3 "lang": "zh-Hans",
6 "file": "NotoSansCJK-Regular.ttc",
7 "postScriptName": "NotoSansCJKJP-Regular",
14 "id": "NotoSansCJK_zh-Hans"
17 "lang": "zh-Hant,zh-Bopo",
20 "file": "NotoSansCJK-Regular.ttc",
21 "postScriptName": "NotoSansCJKJP-Regular",
28 "id": "NotoSansCJK_zh-Hant,zh-Bopo"
34 "file": "NotoSansCJK-Regular.ttc",
35 "postScriptName": "NotoSansCJKJP-Regular",
[all …]
/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/data/cldr/localeIdentifiers/
DlikelySubtags.txt2 # Copyright © 1991-2024 Unicode, Inc.
4 # SPDX-License-Identifier: Unicode-3.0
22 af ; af-Latn-ZA ; af ;
23 af-AQ ; af-Latn-AQ ; af-AQ ;
24 af-Egyp ; af-Egyp-ZA ; af-Egyp ;
25 af-Latn ; af-Latn-ZA ; af ;
26 af-NA ; af-Latn-NA ; af-NA ;
27 af-ZA ; af-Latn-ZA ; af ;
28 ak ; ak-Latn-GH ; ak ;
29 ak-AQ ; ak-Latn-AQ ; ak-AQ ;
[all …]

12345678910>>...40