@jjlmoya/utils-textiles 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/package.json +59 -58
  2. package/src/category/i18n/de.ts +76 -0
  3. package/src/category/i18n/fr.ts +33 -30
  4. package/src/category/i18n/id.ts +76 -0
  5. package/src/category/i18n/it.ts +76 -0
  6. package/src/category/i18n/ja.ts +76 -0
  7. package/src/category/i18n/ko.ts +76 -0
  8. package/src/category/i18n/nl.ts +76 -0
  9. package/src/category/i18n/pl.ts +76 -0
  10. package/src/category/i18n/pt.ts +76 -0
  11. package/src/category/i18n/ru.ts +76 -0
  12. package/src/category/i18n/sv.ts +76 -0
  13. package/src/category/i18n/tr.ts +76 -0
  14. package/src/category/i18n/zh.ts +76 -0
  15. package/src/category/index.ts +39 -7
  16. package/src/index.ts +12 -12
  17. package/src/tests/i18n_coverage.test.ts +36 -0
  18. package/src/tests/schemas_fulfillment.test.ts +23 -0
  19. package/src/tests/slug_uniqueness.test.ts +81 -0
  20. package/src/tests/title_quality.test.ts +55 -0
  21. package/src/tool/burnTest/i18n/de.ts +225 -0
  22. package/src/tool/burnTest/i18n/id.ts +225 -0
  23. package/src/tool/burnTest/i18n/it.ts +225 -0
  24. package/src/tool/burnTest/i18n/ja.ts +225 -0
  25. package/src/tool/burnTest/i18n/ko.ts +225 -0
  26. package/src/tool/burnTest/i18n/nl.ts +225 -0
  27. package/src/tool/burnTest/i18n/pl.ts +225 -0
  28. package/src/tool/burnTest/i18n/pt.ts +225 -0
  29. package/src/tool/burnTest/i18n/ru.ts +225 -0
  30. package/src/tool/burnTest/i18n/sv.ts +225 -0
  31. package/src/tool/burnTest/i18n/tr.ts +225 -0
  32. package/src/tool/burnTest/i18n/zh.ts +225 -0
  33. package/src/tool/burnTest/index.ts +15 -7
  34. package/src/tool/clothingSizeConverter/i18n/de.ts +356 -0
  35. package/src/tool/clothingSizeConverter/i18n/id.ts +356 -0
  36. package/src/tool/clothingSizeConverter/i18n/it.ts +356 -0
  37. package/src/tool/clothingSizeConverter/i18n/ja.ts +356 -0
  38. package/src/tool/clothingSizeConverter/i18n/ko.ts +356 -0
  39. package/src/tool/clothingSizeConverter/i18n/nl.ts +356 -0
  40. package/src/tool/clothingSizeConverter/i18n/pl.ts +356 -0
  41. package/src/tool/clothingSizeConverter/i18n/pt.ts +356 -0
  42. package/src/tool/clothingSizeConverter/i18n/ru.ts +356 -0
  43. package/src/tool/clothingSizeConverter/i18n/sv.ts +356 -0
  44. package/src/tool/clothingSizeConverter/i18n/tr.ts +356 -0
  45. package/src/tool/clothingSizeConverter/i18n/zh.ts +356 -0
  46. package/src/tool/clothingSizeConverter/index.ts +15 -7
  47. package/src/tool/fabricProjectCalculator/i18n/de.ts +250 -0
  48. package/src/tool/fabricProjectCalculator/i18n/id.ts +250 -0
  49. package/src/tool/fabricProjectCalculator/i18n/it.ts +250 -0
  50. package/src/tool/fabricProjectCalculator/i18n/ja.ts +250 -0
  51. package/src/tool/fabricProjectCalculator/i18n/ko.ts +250 -0
  52. package/src/tool/fabricProjectCalculator/i18n/nl.ts +250 -0
  53. package/src/tool/fabricProjectCalculator/i18n/pl.ts +250 -0
  54. package/src/tool/fabricProjectCalculator/i18n/pt.ts +250 -0
  55. package/src/tool/fabricProjectCalculator/i18n/ru.ts +250 -0
  56. package/src/tool/fabricProjectCalculator/i18n/sv.ts +250 -0
  57. package/src/tool/fabricProjectCalculator/i18n/tr.ts +250 -0
  58. package/src/tool/fabricProjectCalculator/i18n/zh.ts +250 -0
  59. package/src/tool/fabricProjectCalculator/index.ts +15 -7
  60. package/src/tool/fabricTruth/i18n/de.ts +282 -0
  61. package/src/tool/fabricTruth/i18n/en.ts +1 -1
  62. package/src/tool/fabricTruth/i18n/fr.ts +1 -1
  63. package/src/tool/fabricTruth/i18n/id.ts +282 -0
  64. package/src/tool/fabricTruth/i18n/it.ts +282 -0
  65. package/src/tool/fabricTruth/i18n/ja.ts +282 -0
  66. package/src/tool/fabricTruth/i18n/ko.ts +282 -0
  67. package/src/tool/fabricTruth/i18n/nl.ts +282 -0
  68. package/src/tool/fabricTruth/i18n/pl.ts +282 -0
  69. package/src/tool/fabricTruth/i18n/pt.ts +282 -0
  70. package/src/tool/fabricTruth/i18n/ru.ts +282 -0
  71. package/src/tool/fabricTruth/i18n/sv.ts +282 -0
  72. package/src/tool/fabricTruth/i18n/tr.ts +282 -0
  73. package/src/tool/fabricTruth/i18n/zh.ts +286 -0
  74. package/src/tool/fabricTruth/index.ts +15 -7
  75. package/src/tool/fiberPrep/i18n/de.ts +225 -0
  76. package/src/tool/fiberPrep/i18n/id.ts +225 -0
  77. package/src/tool/fiberPrep/i18n/it.ts +225 -0
  78. package/src/tool/fiberPrep/i18n/ja.ts +225 -0
  79. package/src/tool/fiberPrep/i18n/ko.ts +225 -0
  80. package/src/tool/fiberPrep/i18n/nl.ts +225 -0
  81. package/src/tool/fiberPrep/i18n/pl.ts +225 -0
  82. package/src/tool/fiberPrep/i18n/pt.ts +225 -0
  83. package/src/tool/fiberPrep/i18n/ru.ts +225 -0
  84. package/src/tool/fiberPrep/i18n/sv.ts +225 -0
  85. package/src/tool/fiberPrep/i18n/tr.ts +225 -0
  86. package/src/tool/fiberPrep/i18n/zh.ts +225 -0
  87. package/src/tool/fiberPrep/index.ts +15 -7
  88. package/src/tool/knittingGauge/i18n/de.ts +234 -0
  89. package/src/tool/knittingGauge/i18n/id.ts +234 -0
  90. package/src/tool/knittingGauge/i18n/it.ts +234 -0
  91. package/src/tool/knittingGauge/i18n/ja.ts +234 -0
  92. package/src/tool/knittingGauge/i18n/ko.ts +234 -0
  93. package/src/tool/knittingGauge/i18n/nl.ts +234 -0
  94. package/src/tool/knittingGauge/i18n/pl.ts +234 -0
  95. package/src/tool/knittingGauge/i18n/pt.ts +234 -0
  96. package/src/tool/knittingGauge/i18n/ru.ts +234 -0
  97. package/src/tool/knittingGauge/i18n/sv.ts +234 -0
  98. package/src/tool/knittingGauge/i18n/tr.ts +234 -0
  99. package/src/tool/knittingGauge/i18n/zh.ts +234 -0
  100. package/src/tool/knittingGauge/index.ts +15 -7
  101. package/src/tool/laundryGuide/i18n/de.ts +275 -0
  102. package/src/tool/laundryGuide/i18n/id.ts +275 -0
  103. package/src/tool/laundryGuide/i18n/it.ts +275 -0
  104. package/src/tool/laundryGuide/i18n/ja.ts +275 -0
  105. package/src/tool/laundryGuide/i18n/ko.ts +275 -0
  106. package/src/tool/laundryGuide/i18n/nl.ts +275 -0
  107. package/src/tool/laundryGuide/i18n/pl.ts +275 -0
  108. package/src/tool/laundryGuide/i18n/pt.ts +275 -0
  109. package/src/tool/laundryGuide/i18n/ru.ts +275 -0
  110. package/src/tool/laundryGuide/i18n/sv.ts +275 -0
  111. package/src/tool/laundryGuide/i18n/tr.ts +275 -0
  112. package/src/tool/laundryGuide/i18n/zh.ts +275 -0
  113. package/src/tool/laundryGuide/index.ts +15 -7
  114. package/src/tool/needleConverter/i18n/de.ts +212 -0
  115. package/src/tool/needleConverter/i18n/id.ts +212 -0
  116. package/src/tool/needleConverter/i18n/it.ts +212 -0
  117. package/src/tool/needleConverter/i18n/ja.ts +212 -0
  118. package/src/tool/needleConverter/i18n/ko.ts +212 -0
  119. package/src/tool/needleConverter/i18n/nl.ts +212 -0
  120. package/src/tool/needleConverter/i18n/pl.ts +212 -0
  121. package/src/tool/needleConverter/i18n/pt.ts +212 -0
  122. package/src/tool/needleConverter/i18n/ru.ts +212 -0
  123. package/src/tool/needleConverter/i18n/sv.ts +212 -0
  124. package/src/tool/needleConverter/i18n/tr.ts +212 -0
  125. package/src/tool/needleConverter/i18n/zh.ts +212 -0
  126. package/src/tool/needleConverter/index.ts +15 -7
  127. package/src/tool/sewingPatternScaler/i18n/de.ts +227 -0
  128. package/src/tool/sewingPatternScaler/i18n/id.ts +227 -0
  129. package/src/tool/sewingPatternScaler/i18n/it.ts +227 -0
  130. package/src/tool/sewingPatternScaler/i18n/ja.ts +227 -0
  131. package/src/tool/sewingPatternScaler/i18n/ko.ts +227 -0
  132. package/src/tool/sewingPatternScaler/i18n/nl.ts +227 -0
  133. package/src/tool/sewingPatternScaler/i18n/pl.ts +227 -0
  134. package/src/tool/sewingPatternScaler/i18n/pt.ts +227 -0
  135. package/src/tool/sewingPatternScaler/i18n/ru.ts +227 -0
  136. package/src/tool/sewingPatternScaler/i18n/sv.ts +227 -0
  137. package/src/tool/sewingPatternScaler/i18n/tr.ts +227 -0
  138. package/src/tool/sewingPatternScaler/i18n/zh.ts +227 -0
  139. package/src/tool/sewingPatternScaler/index.ts +15 -7
  140. package/src/tool/shoeSizeConverter/i18n/de.ts +184 -0
  141. package/src/tool/shoeSizeConverter/i18n/id.ts +184 -0
  142. package/src/tool/shoeSizeConverter/i18n/it.ts +184 -0
  143. package/src/tool/shoeSizeConverter/i18n/ja.ts +184 -0
  144. package/src/tool/shoeSizeConverter/i18n/ko.ts +184 -0
  145. package/src/tool/shoeSizeConverter/i18n/nl.ts +184 -0
  146. package/src/tool/shoeSizeConverter/i18n/pl.ts +184 -0
  147. package/src/tool/shoeSizeConverter/i18n/pt.ts +184 -0
  148. package/src/tool/shoeSizeConverter/i18n/ru.ts +184 -0
  149. package/src/tool/shoeSizeConverter/i18n/sv.ts +184 -0
  150. package/src/tool/shoeSizeConverter/i18n/tr.ts +184 -0
  151. package/src/tool/shoeSizeConverter/i18n/zh.ts +184 -0
  152. package/src/tool/shoeSizeConverter/index.ts +15 -7
  153. package/src/tool/stainChemistry/i18n/de.ts +300 -0
  154. package/src/tool/stainChemistry/i18n/id.ts +300 -0
  155. package/src/tool/stainChemistry/i18n/it.ts +300 -0
  156. package/src/tool/stainChemistry/i18n/ja.ts +300 -0
  157. package/src/tool/stainChemistry/i18n/ko.ts +297 -0
  158. package/src/tool/stainChemistry/i18n/nl.ts +300 -0
  159. package/src/tool/stainChemistry/i18n/pl.ts +300 -0
  160. package/src/tool/stainChemistry/i18n/pt.ts +300 -0
  161. package/src/tool/stainChemistry/i18n/ru.ts +300 -0
  162. package/src/tool/stainChemistry/i18n/sv.ts +300 -0
  163. package/src/tool/stainChemistry/i18n/tr.ts +300 -0
  164. package/src/tool/stainChemistry/i18n/zh.ts +295 -0
  165. package/src/tool/stainChemistry/index.ts +15 -7
  166. package/src/tool/yarnCalculator/i18n/de.ts +310 -0
  167. package/src/tool/yarnCalculator/i18n/id.ts +310 -0
  168. package/src/tool/yarnCalculator/i18n/it.ts +310 -0
  169. package/src/tool/yarnCalculator/i18n/ja.ts +310 -0
  170. package/src/tool/yarnCalculator/i18n/ko.ts +310 -0
  171. package/src/tool/yarnCalculator/i18n/nl.ts +310 -0
  172. package/src/tool/yarnCalculator/i18n/pl.ts +310 -0
  173. package/src/tool/yarnCalculator/i18n/pt.ts +310 -0
  174. package/src/tool/yarnCalculator/i18n/ru.ts +310 -0
  175. package/src/tool/yarnCalculator/i18n/sv.ts +310 -0
  176. package/src/tool/yarnCalculator/i18n/tr.ts +310 -0
  177. package/src/tool/yarnCalculator/i18n/zh.ts +309 -0
  178. package/src/tool/yarnCalculator/index.ts +15 -7
  179. package/src/types.ts +1 -1
@@ -0,0 +1,184 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { ShoeSizeConverterUI } from '../ui';
4
+
5
+ const slug = 'ayakkabi-numarasi-donusturucu';
6
+ const title = 'Ayakkabı Numarası Dönüştürücü';
7
+ const description = 'Ayakkabı numaralarını Amerika Birleşik Devletleri (US), Avrupa (EU), Birleşik Krallık (UK) ve santimetre (CM) sistemleri arasında dönüştürün. Erkek ve kadın ayakkabı rehberi.';
8
+
9
+ const faqData = [
10
+ {
11
+ question: 'Amerika Birleşik Devletleri (US) ayakkabı numaramı nasıl öğrenebilirim?',
12
+ answer: 'Erkekler için US numarası genellikle UK numarasından bir birim daha yüksektir. Kadınlar için ölçek farklıdır. En doğru yöntem, ayağınızı santimetre cinsinden ölçmek ve tam US numaranızı elde etmek için dönüştürücümüzü kullanmaktır.',
13
+ },
14
+ {
15
+ question: 'UK ve US ayakkabı numarası arasındaki fark nedir?',
16
+ answer: 'Her ikisi de emperyal sistemi kullanmasına rağmen başlangıç noktaları farklıdır. Genellikle, erkek ayakkabısında 8 UK numara, 9 US numaraya eşittir.',
17
+ },
18
+ {
19
+ question: 'CM numarasını bilmek için ayağımı nasıl ölçerim?',
20
+ answer: 'Topuğunuzu bir duvara yaslayın, en uzun parmağınızın bittiği yeri işaretleyin ve mesafeyi ölçün. Santimetre (CM) cinsinden bu ölçüm, uluslararası markalardan ayakkabı alırken en güvenilir olanıdır.',
21
+ },
22
+ ];
23
+
24
+ const howToData = [
25
+ {
26
+ name: 'Cinsiyet Seçin',
27
+ text: 'Ölçekler değiştiği için erkek veya kadın numarası aradığınızı belirtin.',
28
+ },
29
+ {
30
+ name: 'Bölge Seçin',
31
+ text: 'Bildiğiniz numara sistemini belirtin (EU, US, UK veya CM).',
32
+ },
33
+ {
34
+ name: 'Numaranızı Seçin',
35
+ text: 'Seçiciyi kullanın veya doğrudan Avrupa numaraları tablosuna tıklayın.',
36
+ },
37
+ {
38
+ name: 'Karşılıkları Görün',
39
+ text: 'Dünyanın geri kalan bölgelerindeki karşılık gelen numarayı anında görün.',
40
+ },
41
+ ];
42
+
43
+ const faqSchema: WithContext<FAQPage> = {
44
+ '@context': 'https://schema.org',
45
+ '@type': 'FAQPage',
46
+ mainEntity: faqData.map((item) => ({
47
+ '@type': 'Question',
48
+ name: item.question,
49
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
50
+ })),
51
+ };
52
+
53
+ const howToSchema: WithContext<HowTo> = {
54
+ '@context': 'https://schema.org',
55
+ '@type': 'HowTo',
56
+ name: title,
57
+ description,
58
+ step: howToData.map((step) => ({
59
+ '@type': 'HowToStep',
60
+ name: step.name,
61
+ text: step.text,
62
+ })),
63
+ };
64
+
65
+ const appSchema: WithContext<SoftwareApplication> = {
66
+ '@context': 'https://schema.org',
67
+ '@type': 'SoftwareApplication',
68
+ name: title,
69
+ description,
70
+ applicationCategory: 'UtilityApplication',
71
+ operatingSystem: 'All',
72
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
73
+ inLanguage: 'tr',
74
+ };
75
+
76
+ export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
77
+ slug,
78
+ title,
79
+ description,
80
+ faqTitle: 'Sıkça Sorulan Sorular',
81
+ faq: faqData,
82
+ bibliographyTitle: 'Referanslar',
83
+ bibliography: [
84
+ { name: 'Shoe size conversion - Wikipedia', url: 'https://en.wikipedia.org/wiki/Shoe_size' },
85
+ { name: 'ISO 9407: Shoe sizes - Mondopoint system', url: 'https://www.iso.org/standard/17157.html' },
86
+ { name: 'Shoe size conversion - Zappos', url: 'https://www.zappos.com/c/shoe-size-conversion' },
87
+ ],
88
+ howTo: howToData,
89
+ schemas: [faqSchema, howToSchema, appSchema],
90
+ seo: [
91
+ {
92
+ type: 'title',
93
+ text: 'Ayakkabı Numarası Dönüştürücü: Tam Uluslararası Rehber',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: 'Uluslararası mağazalardan ayakkabı satın almak lojistik bir zorluk olabilir. <strong>Ayakkabı numarası dönüştürücü</strong>, gereksiz iadeleri önlemek ve Amazon, AliExpress veya özel bir spor mağazasından yapılan her alışverişin başarılı olmasını sağlamak için temel bir araçtır.',
99
+ },
100
+ {
101
+ type: 'title',
102
+ text: 'Ayakkabı numarası karşılıkları nasıl çalışır?',
103
+ level: 2,
104
+ },
105
+ {
106
+ type: 'paragraph',
107
+ html: 'Ayakkabı dünyası birleşik değildir. Tarihsel olarak her bölge, inç veya "Paris noktası" gibi yerel ölçü birimlerine dayalı kendi sistemini geliştirmiştir.',
108
+ },
109
+ {
110
+ type: 'list',
111
+ items: [
112
+ '<span><strong>EU Numaraları (Avrupa):</strong> 2/3 santimetreye eşit olan "Paris Noktası"na dayanır. Türkiye\'de en yaygın sistemdir.</span>',
113
+ '<span><strong>US Numaraları (Amerika Birleşik Devletleri):</strong> Erkekler ve kadınlar için farklı bir başlangıç noktasıyla inç kullanırlar.</span>',
114
+ '<span><strong>UK Numaraları (Birleşik Krallık):</strong> Yine emperyal sistemdedir ancak ABD numaralarından bir birim daha düşük ölçeklere sahiptir.</span>',
115
+ '<span><strong>CM Numara / Mondopoint:</strong> En doğru olanıdır. Doğrudan ayağın santimetre cinsinden uzunluğunu kullanır.</span>',
116
+ ],
117
+ },
118
+ {
119
+ type: 'title',
120
+ text: 'Ayağınızı ölçmek ve tam numaranızı bulmak için rehber',
121
+ level: 2,
122
+ },
123
+ {
124
+ type: 'paragraph',
125
+ html: 'Dönüştürücüyü kullanmadan önce, ayağınızın gerçek ölçüsünü bilmek hayati önem taşır. Ayakkabılarda temel ölçüm, topuktan en uzun parmağa kadar olan ayak uzunluğudur.',
126
+ },
127
+ {
128
+ type: 'tip',
129
+ title: 'Profesyonel Tavsiye',
130
+ html: 'Ayaklarınızı günün sonunda ölçün. Ayaklar aktivite ve ısı ile şişme eğilimindedir, bu nedenle sabah yapılan bir ölçüm, öğleden sonra sizi sıkan ayakkabılara neden olabilir.',
131
+ },
132
+ {
133
+ type: 'title',
134
+ text: 'Numaralar neden spor ayakkabı markaları arasında değişir?',
135
+ level: 2,
136
+ },
137
+ {
138
+ type: 'paragraph',
139
+ html: 'Neden Nike\'da 42 numara giyerken Adidas\'ta 41 1/3 giyiyorsunuz? Markalar kendi "kalıplarını" kullanırlar. Bazı spor markaları küçük kalıba sahip olma eğilimindedir, bu da normalden yarım numara daha büyük almayı zorunlu kılar.',
140
+ },
141
+ ],
142
+ ui: {
143
+ genderMenTitle: 'Erkek Ayakkabı',
144
+ genderWomenTitle: 'Kadın Ayakkabı',
145
+ regionLabel: 'Numara Sisteminiz',
146
+ regionEU: 'Avrupa (EU)',
147
+ regionUS: 'Amerika Birleşik Devletleri (US)',
148
+ regionUK: 'Birleşik Krallık (UK)',
149
+ regionCM: 'Mondopoint (CM)',
150
+ gridTitle: 'Numaranızı Seçin',
151
+ gridDesc: 'Uluslararası karşılıkları görmek için tıklayın',
152
+ labelEU: 'Avrupa (EU)',
153
+ labelUS: 'ABD (US)',
154
+ labelUK: 'Birleşik Krallık (UK)',
155
+ labelCM: 'Mondopoint',
156
+ unitCM: 'cm',
157
+ infoBannerHtml: '<strong>CM</strong> numarası, ayağın fiziksel uzunluğunu temsil eder. Uluslararası markalardan spor ayakkabı almak için en güvenilir yöntemdir.',
158
+ menData: [
159
+ { EU: '39', US: '6.5', UK: '6', CM: '24.5' },
160
+ { EU: '40', US: '7.5', UK: '7', CM: '25.0' },
161
+ { EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
162
+ { EU: '41', US: '8.5', UK: '8', CM: '26.0' },
163
+ { EU: '42', US: '9', UK: '8.5', CM: '26.5' },
164
+ { EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
165
+ { EU: '43', US: '10', UK: '9.5', CM: '27.5' },
166
+ { EU: '44', US: '10.5', UK: '10', CM: '28.0' },
167
+ { EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
168
+ { EU: '45', US: '11.5', UK: '11', CM: '29.0' },
169
+ { EU: '46', US: '12', UK: '11.5', CM: '30.0' },
170
+ ],
171
+ womenData: [
172
+ { EU: '35', US: '5', UK: '3', CM: '22.0' },
173
+ { EU: '36', US: '6', UK: '4', CM: '22.5' },
174
+ { EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
175
+ { EU: '37.5', US: '7', UK: '5', CM: '23.8' },
176
+ { EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
177
+ { EU: '38.5', US: '8', UK: '6', CM: '24.5' },
178
+ { EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
179
+ { EU: '40', US: '9', UK: '7', CM: '25.5' },
180
+ { EU: '41', US: '10', UK: '8', CM: '26.5' },
181
+ { EU: '42', US: '11', UK: '9', CM: '27.0' },
182
+ ],
183
+ },
184
+ };
@@ -0,0 +1,184 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { ShoeSizeConverterUI } from '../ui';
4
+
5
+ const slug = 'shoe-size-converter';
6
+ const title = '鞋码尺寸转换器';
7
+ const description = '在美码 (US)、欧码 (EU)、英码 (UK) 和厘米 (CM) 系统之间转换鞋子尺码。男鞋和女鞋国际尺码指南。';
8
+
9
+ const faqData = [
10
+ {
11
+ question: '如何确定我的美国鞋码 (US)?',
12
+ answer: '对于男性,美码 (US) 通常比英码 (UK) 大一个单位。对于女性,比例有所不同。最准确的方法是测量脚的厘米长度,并使用我们的转换器获取确切的美码数值。',
13
+ },
14
+ {
15
+ question: '英码 (UK) 和美码 (US) 鞋号有什么区别?',
16
+ answer: '虽然两者都使用英制系统,但它们的起点不同。通常情况下,男鞋的英码 8 号相当于美码 9 号。',
17
+ },
18
+ {
19
+ question: '如何测量脚长以确定厘米 (CM) 尺码?',
20
+ answer: '将脚后跟靠墙放置,标记最长脚趾结束的位置,然后测量距离。以厘米 (CM) 为单位的该测量值是购买国际品牌运动鞋最可靠的依据。',
21
+ },
22
+ ];
23
+
24
+ const howToData = [
25
+ {
26
+ name: '选择性别',
27
+ text: '选择您是寻找男鞋还是女鞋尺码,因为比例会有所不同。',
28
+ },
29
+ {
30
+ name: '选择地区/系统',
31
+ text: '指明您所了解的尺码系统(欧码、美码、英码或厘米)。',
32
+ },
33
+ {
34
+ name: '选择您的码数',
35
+ text: '使用选择器或直接点击欧码对照表。',
36
+ },
37
+ {
38
+ name: '查看对照结果',
39
+ text: '立即获取世界其他地区对应的码数。',
40
+ },
41
+ ];
42
+
43
+ const faqSchema: WithContext<FAQPage> = {
44
+ '@context': 'https://schema.org',
45
+ '@type': 'FAQPage',
46
+ mainEntity: faqData.map((item) => ({
47
+ '@type': 'Question',
48
+ name: item.question,
49
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
50
+ })),
51
+ };
52
+
53
+ const howToSchema: WithContext<HowTo> = {
54
+ '@context': 'https://schema.org',
55
+ '@type': 'HowTo',
56
+ name: title,
57
+ description,
58
+ step: howToData.map((step) => ({
59
+ '@type': 'HowToStep',
60
+ name: step.name,
61
+ text: step.text,
62
+ })),
63
+ };
64
+
65
+ const appSchema: WithContext<SoftwareApplication> = {
66
+ '@context': 'https://schema.org',
67
+ '@type': 'SoftwareApplication',
68
+ name: title,
69
+ description,
70
+ applicationCategory: 'UtilityApplication',
71
+ operatingSystem: 'All',
72
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
73
+ inLanguage: 'zh',
74
+ };
75
+
76
+ export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
77
+ slug,
78
+ title,
79
+ description,
80
+ faqTitle: '常见问题',
81
+ faq: faqData,
82
+ bibliographyTitle: '参考资料',
83
+ bibliography: [
84
+ { name: 'Shoe size conversion - Wikipedia', url: 'https://en.wikipedia.org/wiki/Shoe_size' },
85
+ { name: 'ISO 9407: Shoe sizes - Mondopoint system', url: 'https://www.iso.org/standard/17157.html' },
86
+ { name: 'Shoe size conversion - Zappos', url: 'https://www.zappos.com/c/shoe-size-conversion' },
87
+ ],
88
+ howTo: howToData,
89
+ schemas: [faqSchema, howToSchema, appSchema],
90
+ seo: [
91
+ {
92
+ type: 'title',
93
+ text: '鞋码转换器:完整国际尺码指南',
94
+ level: 2,
95
+ },
96
+ {
97
+ type: 'paragraph',
98
+ html: '在国际商店购买鞋类可能是一项物流挑战。<strong>鞋码转换器</strong>是避免不必要退货的关键工具,并确保无论是从 Amazon、AliExpress 还是专业运动商店购买,每一次购物都能成功。',
99
+ },
100
+ {
101
+ type: 'title',
102
+ text: '鞋码对照是如何运作的?',
103
+ level: 2,
104
+ },
105
+ {
106
+ type: 'paragraph',
107
+ html: '鞋类世界并没有统一。从历史上看,每个地区都根据当地的测量单位(如英寸或“巴黎点”)开发了自己的系统。',
108
+ },
109
+ {
110
+ type: 'list',
111
+ items: [
112
+ '<span><strong>欧码 EU (欧洲):</strong> 基于“巴黎点”,相当于 2/3 厘米。这是中国最常用的参考系统之一。</span>',
113
+ '<span><strong>美码 US (美国):</strong> 使用英寸,且男女鞋的起点不同。</span>',
114
+ '<span><strong>英码 UK (英国):</strong> 同样采用英制系统,但刻度比美国低一个单位。</span>',
115
+ '<span><strong>厘米 CM / Mondopoint:</strong> 最精确的。直接使用以厘米为单位的脚长。</span>',
116
+ ],
117
+ },
118
+ {
119
+ type: 'title',
120
+ text: '如何测量脚长并找到您的准确尺码指南',
121
+ level: 2,
122
+ },
123
+ {
124
+ type: 'paragraph',
125
+ html: '在使用转换器之前,了解您脚的真实尺寸至关重要。对于鞋子来说,基本测量值是从脚后跟到最长脚趾的长度。',
126
+ },
127
+ {
128
+ type: 'tip',
129
+ title: '专家建议',
130
+ html: '请在一天结束时测量脚长。脚部往往会随着活动和热量而膨胀,因此早晨的测量值可能会导致下午穿鞋时感到挤脚。',
131
+ },
132
+ {
133
+ type: 'title',
134
+ text: '为什么不同品牌的运动鞋尺码会有所不同',
135
+ level: 2,
136
+ },
137
+ {
138
+ type: 'paragraph',
139
+ html: '为什么 Nike 穿 42 码,而在 Adidas 却穿 41 1/3 码?品牌使用自己的“鞋楦”。有些运动品牌往往尺码偏小,这迫使人们不得不购买比平时大半号的鞋子。',
140
+ },
141
+ ],
142
+ ui: {
143
+ genderMenTitle: '男鞋',
144
+ genderWomenTitle: '女鞋',
145
+ regionLabel: '您的尺码系统',
146
+ regionEU: '欧码 (EU)',
147
+ regionUS: '美码 (US)',
148
+ regionUK: '英码 (UK)',
149
+ regionCM: '公分 (CM)',
150
+ gridTitle: '选择您的尺码',
151
+ gridDesc: '点击查看国际对照结果',
152
+ labelEU: '欧码 (EU)',
153
+ labelUS: '美码 (US)',
154
+ labelUK: '英码 (UK)',
155
+ labelCM: 'Mondopoint',
156
+ unitCM: 'cm',
157
+ infoBannerHtml: '<strong>CM</strong> 尺码代表脚部的物理长度。这是购买国际品牌运动鞋最可靠的方法。',
158
+ menData: [
159
+ { EU: '39', US: '6.5', UK: '6', CM: '24.5' },
160
+ { EU: '40', US: '7.5', UK: '7', CM: '25.0' },
161
+ { EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
162
+ { EU: '41', US: '8.5', UK: '8', CM: '26.0' },
163
+ { EU: '42', US: '9', UK: '8.5', CM: '26.5' },
164
+ { EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
165
+ { EU: '43', US: '10', UK: '9.5', CM: '27.5' },
166
+ { EU: '44', US: '10.5', UK: '10', CM: '28.0' },
167
+ { EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
168
+ { EU: '45', US: '11.5', UK: '11', CM: '29.0' },
169
+ { EU: '46', US: '12', UK: '11.5', CM: '30.0' },
170
+ ],
171
+ womenData: [
172
+ { EU: '35', US: '5', UK: '3', CM: '22.0' },
173
+ { EU: '36', US: '6', UK: '4', CM: '22.5' },
174
+ { EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
175
+ { EU: '37.5', US: '7', UK: '5', CM: '23.8' },
176
+ { EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
177
+ { EU: '38.5', US: '8', UK: '6', CM: '24.5' },
178
+ { EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
179
+ { EU: '40', US: '9', UK: '7', CM: '25.5' },
180
+ { EU: '41', US: '10', UK: '8', CM: '26.5' },
181
+ { EU: '42', US: '11', UK: '9', CM: '27.0' },
182
+ ],
183
+ },
184
+ };
@@ -7,10 +7,6 @@ import type { ShoeSizeConverterUI } from './ui';
7
7
 
8
8
  export type ShoeSizeConverterLocaleContent = ToolLocaleContent<ShoeSizeConverterUI>;
9
9
 
10
- import { content as es } from './i18n/es';
11
- import { content as en } from './i18n/en';
12
- import { content as fr } from './i18n/fr';
13
-
14
10
  export const shoeSizeConverter: TextilesToolEntry<ShoeSizeConverterUI> = {
15
11
  id: 'shoe-size-converter',
16
12
  icons: {
@@ -18,9 +14,21 @@ export const shoeSizeConverter: TextilesToolEntry<ShoeSizeConverterUI> = {
18
14
  fg: 'mdi:ruler',
19
15
  },
20
16
  i18n: {
21
- es: async () => es,
22
- en: async () => en,
23
- fr: async () => fr,
17
+ es: () => import('./i18n/es').then((m) => m.content),
18
+ en: () => import('./i18n/en').then((m) => m.content),
19
+ fr: () => import('./i18n/fr').then((m) => m.content),
20
+ de: () => import('./i18n/de').then((m) => m.content),
21
+ id: () => import('./i18n/id').then((m) => m.content),
22
+ it: () => import('./i18n/it').then((m) => m.content),
23
+ ja: () => import('./i18n/ja').then((m) => m.content),
24
+ ko: () => import('./i18n/ko').then((m) => m.content),
25
+ nl: () => import('./i18n/nl').then((m) => m.content),
26
+ pl: () => import('./i18n/pl').then((m) => m.content),
27
+ pt: () => import('./i18n/pt').then((m) => m.content),
28
+ ru: () => import('./i18n/ru').then((m) => m.content),
29
+ sv: () => import('./i18n/sv').then((m) => m.content),
30
+ tr: () => import('./i18n/tr').then((m) => m.content),
31
+ zh: () => import('./i18n/zh').then((m) => m.content),
24
32
  },
25
33
  };
26
34