@intlayer/docs 7.3.1 → 7.3.2-canary.1

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 (148) hide show
  1. package/README.md +0 -2
  2. package/blog/ar/compiler_vs_declarative_i18n.md +1 -2
  3. package/blog/ar/i18n_using_next-i18next.md +8 -0
  4. package/blog/ar/i18n_using_next-intl.md +7 -0
  5. package/blog/ar/intlayer_with_next-intl.md +8 -0
  6. package/blog/ar/list_i18n_technologies/frameworks/flutter.md +0 -22
  7. package/blog/de/compiler_vs_declarative_i18n.md +1 -2
  8. package/blog/de/i18n_using_next-i18next.md +8 -0
  9. package/blog/de/i18n_using_next-intl.md +7 -0
  10. package/blog/de/intlayer_with_next-intl.md +8 -0
  11. package/blog/de/list_i18n_technologies/frameworks/flutter.md +0 -22
  12. package/blog/en/compiler_vs_declarative_i18n.md +1 -2
  13. package/blog/en/i18n_using_next-i18next.md +8 -0
  14. package/blog/en/i18n_using_next-intl.md +7 -0
  15. package/blog/en/intlayer_with_next-intl.md +8 -0
  16. package/blog/en/list_i18n_technologies/frameworks/flutter.md +0 -22
  17. package/blog/en/list_i18n_technologies/frameworks/svelte.md +19 -3
  18. package/blog/en/list_i18n_technologies/frameworks/vue.md +16 -2
  19. package/blog/en-GB/compiler_vs_declarative_i18n.md +1 -2
  20. package/blog/en-GB/i18n_using_next-i18next.md +8 -0
  21. package/blog/en-GB/i18n_using_next-intl.md +7 -0
  22. package/blog/en-GB/intlayer_with_next-intl.md +8 -0
  23. package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +0 -22
  24. package/blog/es/compiler_vs_declarative_i18n.md +1 -2
  25. package/blog/es/i18n_using_next-i18next.md +8 -0
  26. package/blog/es/i18n_using_next-intl.md +7 -0
  27. package/blog/es/intlayer_with_next-intl.md +8 -0
  28. package/blog/es/list_i18n_technologies/frameworks/flutter.md +0 -22
  29. package/blog/fr/compiler_vs_declarative_i18n.md +1 -2
  30. package/blog/fr/i18n_using_next-i18next.md +8 -0
  31. package/blog/fr/i18n_using_next-intl.md +7 -0
  32. package/blog/fr/intlayer_with_next-intl.md +8 -0
  33. package/blog/fr/list_i18n_technologies/frameworks/flutter.md +0 -22
  34. package/blog/hi/compiler_vs_declarative_i18n.md +2 -3
  35. package/blog/hi/i18n_using_next-i18next.md +8 -0
  36. package/blog/hi/i18n_using_next-intl.md +7 -0
  37. package/blog/hi/intlayer_with_next-intl.md +8 -0
  38. package/blog/hi/list_i18n_technologies/frameworks/flutter.md +0 -22
  39. package/blog/id/compiler_vs_declarative_i18n.md +1 -2
  40. package/blog/id/i18n_using_next-i18next.md +8 -0
  41. package/blog/id/i18n_using_next-intl.md +7 -0
  42. package/blog/id/intlayer_with_next-intl.md +8 -0
  43. package/blog/id/list_i18n_technologies/frameworks/flutter.md +0 -22
  44. package/blog/it/compiler_vs_declarative_i18n.md +1 -2
  45. package/blog/it/i18n_using_next-i18next.md +8 -0
  46. package/blog/it/i18n_using_next-intl.md +7 -0
  47. package/blog/it/intlayer_with_next-intl.md +8 -0
  48. package/blog/it/list_i18n_technologies/frameworks/flutter.md +0 -22
  49. package/blog/ja/compiler_vs_declarative_i18n.md +1 -2
  50. package/blog/ja/i18n_using_next-i18next.md +8 -0
  51. package/blog/ja/i18n_using_next-intl.md +7 -0
  52. package/blog/ja/intlayer_with_next-intl.md +8 -0
  53. package/blog/ja/list_i18n_technologies/frameworks/flutter.md +0 -22
  54. package/blog/ko/compiler_vs_declarative_i18n.md +2 -3
  55. package/blog/ko/i18n_using_next-i18next.md +8 -0
  56. package/blog/ko/i18n_using_next-intl.md +7 -0
  57. package/blog/ko/intlayer_with_next-intl.md +8 -0
  58. package/blog/ko/list_i18n_technologies/frameworks/flutter.md +0 -22
  59. package/blog/pl/compiler_vs_declarative_i18n.md +1 -2
  60. package/blog/pl/i18n_using_next-i18next.md +8 -0
  61. package/blog/pl/i18n_using_next-intl.md +7 -0
  62. package/blog/pl/intlayer_with_next-intl.md +8 -0
  63. package/blog/pl/list_i18n_technologies/frameworks/flutter.md +0 -22
  64. package/blog/pt/compiler_vs_declarative_i18n.md +1 -2
  65. package/blog/pt/i18n_using_next-i18next.md +8 -0
  66. package/blog/pt/i18n_using_next-intl.md +7 -0
  67. package/blog/pt/intlayer_with_next-intl.md +8 -0
  68. package/blog/pt/list_i18n_technologies/frameworks/flutter.md +0 -22
  69. package/blog/ru/compiler_vs_declarative_i18n.md +1 -2
  70. package/blog/ru/i18n_using_next-i18next.md +8 -0
  71. package/blog/ru/i18n_using_next-intl.md +7 -0
  72. package/blog/ru/intlayer_with_next-intl.md +8 -0
  73. package/blog/ru/list_i18n_technologies/frameworks/flutter.md +0 -22
  74. package/blog/tr/compiler_vs_declarative_i18n.md +2 -3
  75. package/blog/tr/i18n_using_next-i18next.md +8 -0
  76. package/blog/tr/i18n_using_next-intl.md +7 -0
  77. package/blog/tr/intlayer_with_next-intl.md +8 -0
  78. package/blog/tr/list_i18n_technologies/frameworks/flutter.md +0 -22
  79. package/blog/vi/compiler_vs_declarative_i18n.md +1 -2
  80. package/blog/vi/i18n_using_next-i18next.md +8 -0
  81. package/blog/vi/i18n_using_next-intl.md +7 -0
  82. package/blog/vi/intlayer_with_next-intl.md +8 -0
  83. package/blog/vi/list_i18n_technologies/frameworks/flutter.md +0 -22
  84. package/blog/zh/compiler_vs_declarative_i18n.md +1 -2
  85. package/blog/zh/i18n_using_next-i18next.md +8 -0
  86. package/blog/zh/i18n_using_next-intl.md +7 -0
  87. package/blog/zh/intlayer_with_next-intl.md +8 -0
  88. package/blog/zh/list_i18n_technologies/frameworks/flutter.md +0 -22
  89. package/dist/cjs/generated/docs.entry.cjs +19 -0
  90. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  91. package/dist/esm/generated/docs.entry.mjs +19 -0
  92. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  93. package/dist/types/generated/docs.entry.d.ts +1 -0
  94. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  95. package/docs/ar/bundle_optimization.md +6 -2
  96. package/docs/ar/compiler.md +133 -0
  97. package/docs/de/bundle_optimization.md +6 -2
  98. package/docs/de/compiler.md +133 -0
  99. package/docs/de/intlayer_with_nextjs_15.md +1 -1
  100. package/docs/de/per_locale_file.md +1 -1
  101. package/docs/en/bundle_optimization.md +6 -2
  102. package/docs/en/cli/index.md +2 -2
  103. package/docs/en/compiler.md +133 -0
  104. package/docs/en/intlayer_with_nextjs_14.md +0 -1
  105. package/docs/en-GB/bundle_optimization.md +6 -2
  106. package/docs/en-GB/compiler.md +133 -0
  107. package/docs/en-GB/packages/intlayer/getTranslation.md +1 -3
  108. package/docs/en-GB/packages/react-intlayer/t.md +1 -1
  109. package/docs/en-GB/packages/react-intlayer/useI18n.md +1 -1
  110. package/docs/es/bundle_optimization.md +6 -2
  111. package/docs/es/compiler.md +133 -0
  112. package/docs/fr/bundle_optimization.md +6 -2
  113. package/docs/fr/compiler.md +133 -0
  114. package/docs/fr/packages/react-intlayer/useI18n.md +1 -1
  115. package/docs/hi/bundle_optimization.md +6 -2
  116. package/docs/hi/compiler.md +133 -0
  117. package/docs/id/bundle_optimization.md +6 -2
  118. package/docs/id/compiler.md +133 -0
  119. package/docs/id/formatters.md +0 -1
  120. package/docs/id/intlayer_with_nextjs_14.md +1 -2
  121. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  122. package/docs/it/bundle_optimization.md +6 -2
  123. package/docs/it/compiler.md +133 -0
  124. package/docs/ja/bundle_optimization.md +6 -2
  125. package/docs/ja/compiler.md +133 -0
  126. package/docs/ko/bundle_optimization.md +6 -2
  127. package/docs/ko/cli/index.md +20 -20
  128. package/docs/ko/compiler.md +133 -0
  129. package/docs/pl/bundle_optimization.md +6 -2
  130. package/docs/pl/compiler.md +133 -0
  131. package/docs/pl/formatters.md +0 -1
  132. package/docs/pl/intlayer_with_nextjs_14.md +1 -2
  133. package/docs/pl/intlayer_with_nextjs_15.md +1 -1
  134. package/docs/pt/bundle_optimization.md +6 -2
  135. package/docs/pt/compiler.md +133 -0
  136. package/docs/ru/bundle_optimization.md +6 -2
  137. package/docs/ru/compiler.md +133 -0
  138. package/docs/tr/bundle_optimization.md +6 -2
  139. package/docs/tr/compiler.md +133 -0
  140. package/docs/tr/intlayer_with_nextjs_14.md +2 -0
  141. package/docs/vi/bundle_optimization.md +6 -2
  142. package/docs/vi/compiler.md +133 -0
  143. package/docs/vi/intlayer_with_nextjs_14.md +1 -2
  144. package/docs/vi/intlayer_with_nextjs_15.md +1 -1
  145. package/docs/zh/bundle_optimization.md +6 -2
  146. package/docs/zh/compiler.md +133 -0
  147. package/package.json +10 -9
  148. package/src/generated/docs.entry.ts +19 -0
@@ -22,6 +22,7 @@ declare const docsEntry: {
22
22
  readonly './docs/en/cli/transform.md': Record<LocalesValues, Promise<string>>;
23
23
  readonly './docs/en/cli/version.md': Record<LocalesValues, Promise<string>>;
24
24
  readonly './docs/en/cli/watch.md': Record<LocalesValues, Promise<string>>;
25
+ readonly './docs/en/compiler.md': Record<LocalesValues, Promise<string>>;
25
26
  readonly './docs/en/component_i18n.md': Record<LocalesValues, Promise<string>>;
26
27
  readonly './docs/en/configuration.md': Record<LocalesValues, Promise<string>>;
27
28
  readonly './docs/en/dictionary/condition.md': Record<LocalesValues, Promise<string>>;
@@ -1 +1 @@
1
- {"version":3,"file":"docs.entry.d.ts","names":[],"sources":["../../../src/generated/docs.entry.ts"],"sourcesContent":[],"mappings":";;;cAsDa;iCAmBK,OAAO,eAAe;EAnB3B,SAAA,uBAqtDH,EA/qDQ,MA+qDR,CA/qDe,aA+qDf,EA/qD8B,OA+qD9B,CAAA,MAAA,CAAA,CAAA;EAlsDe,SAAA,kCAAA,EAsCP,MAtCO,CAsCA,aAtCA,EAsCe,OAtCf,CAAA,MAAA,CAAA,CAAA;EAAe,SAAA,wBAAA,EAyDtB,MAzDsB,CAyDf,aAzDe,EAyDA,OAzDA,CAAA,MAAA,CAAA,CAAA;EAAtB,SAAA,gCAAA,EA4EA,MA5EA,CA4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;EAmBO,SAAA,gCAAA,EA8kCP,MA9kCO,CA8kCA,aA9kCA,EA8kCe,OA9kCf,CAAA,MAAA,CAAA,CAAA;EAAe,SAAA,qBAAA,EAimCtB,MAjmCsB,CAimCf,aAjmCe,EAimCA,OAjmCA,CAAA,MAAA,CAAA,CAAA;EAAtB,SAAA,0BAAA,EAonCA,MApnCA,CAonCO,aApnCP,EAonCsB,OApnCtB,CAAA,MAAA,CAAA,CAAA;EAmBO,SAAA,0BAAA,EAonCP,MApnCO,CAonCA,aApnCA,EAonCe,OApnCf,CAAA,MAAA,CAAA,CAAA;EAAe,SAAA,sBAAA,EAuoCtB,MAvoCsB,CAuoCf,aAvoCe,EAuoCA,OAvoCA,CAAA,MAAA,CAAA,CAAA;EAAtB,SAAA,sBAAA,EA0pCA,MA1pCA,CA0pCO,aA1pCP,EA0pCsB,OA1pCtB,CAAA,MAAA,CAAA,CAAA;EAmBO,SAAA,gCAAA,EA0pCP,MA1pCO,CA0pCA,aA1pCA,EA0pCe,OA1pCf,CAAA,MAAA,CAAA,CAAA;CAAe"}
@@ -153,9 +153,13 @@ const content = useIntlayer("my-key");
153
153
  // Optimized code (Dynamic)
154
154
  const content = useDictionaryAsync({
155
155
  en: () =>
156
- import(".intlayer/dynamic_dictionary/en.json").then((mod) => mod.default),
156
+ import(".intlayer/dynamic_dictionary/my-key/en.json").then(
157
+ (mod) => mod.default
158
+ ),
157
159
  fr: () =>
158
- import(".intlayer/dynamic_dictionary/fr.json").then((mod) => mod.default),
160
+ import(".intlayer/dynamic_dictionary/my-key/fr.json").then(
161
+ (mod) => mod.default
162
+ ),
159
163
  });
160
164
  ```
161
165
 
@@ -0,0 +1,133 @@
1
+ ---
2
+ createdAt: 2025-09-09
3
+ updatedAt: 2025-09-09
4
+ title: مترجم Intlayer | استخراج المحتوى الآلي للتدويل
5
+ description: قم بأتمتة عملية التدويل الخاصة بك باستخدام مترجم Intlayer. استخرج المحتوى مباشرة من مكوناتك لتحقيق تدويل أسرع وأكثر كفاءة في Vite و Next.js والمزيد.
6
+ keywords:
7
+ - Intlayer
8
+ - مترجم
9
+ - التدويل
10
+ - i18n
11
+ - الأتمتة
12
+ - الاستخراج
13
+ - السرعة
14
+ - Vite
15
+ - Next.js
16
+ - React
17
+ - Vue
18
+ - Svelte
19
+ slugs:
20
+ - doc
21
+ - compiler
22
+ history:
23
+ - version: 7.3.1
24
+ date: 2025-11-27
25
+ changes: إصدار المترجم
26
+ ---
27
+
28
+ # مترجم Intlayer | استخراج المحتوى الآلي للتدويل
29
+
30
+ ## ما هو مترجم Intlayer؟
31
+
32
+ يعد **مترجم Intlayer** أداة قوية مصممة لأتمتة عملية التدويل (i18n) في تطبيقاتك. يقوم بفحص شفرة المصدر الخاصة بك (JSX، TSX، Vue، Svelte) بحثًا عن إعلانات المحتوى، ويستخرجها، ويولد تلقائيًا ملفات القاموس اللازمة. يتيح لك هذا الاحتفاظ بالمحتوى بجانب مكوناتك بينما يتولى Intlayer إدارة ومزامنة قواميسك.
33
+
34
+ ## لماذا تستخدم مترجم Intlayer؟
35
+
36
+ - **الأتمتة**: يلغي النسخ واللصق اليدوي للمحتوى في القواميس.
37
+ - **السرعة**: استخراج المحتوى بشكل محسن لضمان بقاء عملية البناء سريعة.
38
+ - **تجربة المطور**: احتفظ بإعلانات المحتوى في المكان الذي تُستخدم فيه، مما يحسن من سهولة الصيانة.
39
+ - **التحديثات الحية**: يدعم استبدال الوحدات الساخنة (HMR) لتلقي ردود فعل فورية أثناء التطوير.
40
+
41
+ راجع منشور المدونة [المترجم مقابل i18n التصريحي](https://github.com/aymericzip/intlayer/blob/main/docs/blog/en/compiler_vs_declarative_i18n.md) لمقارنة أعمق.
42
+
43
+ ## لماذا لا تستخدم مترجم Intlayer؟
44
+
45
+ بينما يوفر المترجم تجربة ممتازة "تعمل مباشرة"، فإنه يقدم أيضًا بعض المقايضات التي يجب أن تكون على دراية بها:
46
+
47
+ - **الغموض الاستدلالي**: يجب على المترجم تخمين ما هو المحتوى الموجه للمستخدم مقابل منطق التطبيق (على سبيل المثال، `className="active"`، رموز الحالة، معرفات المنتجات). في قواعد التعليمات البرمجية المعقدة، يمكن أن يؤدي هذا إلى إيجابيات خاطئة أو سلاسل مفقودة تتطلب تعليقات يدوية واستثناءات.
48
+ - **الاستخراج الثابت فقط**: يعتمد الاستخراج القائم على المترجم على التحليل الثابت. لا يمكن اكتشاف السلاسل التي توجد فقط في وقت التشغيل (رموز أخطاء API، حقول CMS، إلخ) أو ترجمتها بواسطة المترجم وحده، لذلك لا يزال لديك حاجة إلى استراتيجية i18n وقت التشغيل التكميلية.
49
+
50
+ لمقارنة معمارية أعمق، راجع منشور المدونة [المترجم مقابل i18n التصريحي](https://github.com/aymericzip/intlayer/blob/main/docs/blog/en/compiler_vs_declarative_i18n.md).
51
+
52
+ كبديل، لأتمتة عملية i18n الخاصة بك مع الحفاظ على السيطرة الكاملة على المحتوى الخاص بك، يوفر Intlayer أيضًا أمر الاستخراج التلقائي `intlayer transform` (راجع [وثائق CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/cli/transform.md))، أو أمر `Intlayer: extract content to Dictionary` من امتداد Intlayer VS Code (راجع [وثائق امتداد VS Code](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/vs_code_extension.md)).
53
+
54
+ ## الاستخدام
55
+
56
+ ### Vite
57
+
58
+ بالنسبة للتطبيقات المبنية على Vite (React، Vue، Svelte، إلخ)، أسهل طريقة لاستخدام المترجم هي من خلال إضافة `vite-intlayer`.
59
+
60
+ #### التثبيت
61
+
62
+ ```bash
63
+ npm install vite-intlayer
64
+ ```
65
+
66
+ #### التهيئة
67
+
68
+ قم بتحديث ملف `vite.config.ts` ليشمل إضافة `intlayerCompiler`:
69
+
70
+ ```ts fileName="vite.config.ts"
71
+ import { defineConfig } from "vite";
72
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
73
+
74
+ export default defineConfig({
75
+ plugins: [
76
+ intlayer(),
77
+ intlayerCompiler(), // يضيف إضافة المترجم
78
+ ],
79
+ });
80
+ ```
81
+
82
+ #### دعم الأُطُر
83
+
84
+ تقوم إضافة Vite بالكشف التلقائي والتعامل مع أنواع الملفات المختلفة:
85
+
86
+ - **React / JSX / TSX**: يتم التعامل معها بشكل أصلي.
87
+ - **Vue**: يتطلب `@intlayer/vue-compiler`.
88
+ - **Svelte**: يتطلب `@intlayer/svelte-compiler`.
89
+
90
+ تأكد من تثبيت حزمة المترجم المناسبة لإطار العمل الخاص بك:
91
+
92
+ ```bash
93
+ # لـ Vue
94
+ npm install @intlayer/vue-compiler
95
+
96
+ # لـ Svelte
97
+ npm install @intlayer/svelte-compiler
98
+ ```
99
+
100
+ ### Next.js (Babel)
101
+
102
+ بالنسبة لتطبيقات Next.js أو التطبيقات الأخرى المبنية على Webpack والتي تستخدم Babel، يمكنك تكوين المترجم باستخدام إضافة `@intlayer/babel`.
103
+
104
+ #### التثبيت
105
+
106
+ ```bash
107
+ npm install @intlayer/babel
108
+ ```
109
+
110
+ #### التهيئة
111
+
112
+ قم بتحديث ملف `babel.config.js` (أو `babel.config.json`) ليشمل إضافة الاستخراج. نحن نوفر مساعدًا `getExtractPluginOptions` لتحميل تكوين Intlayer الخاص بك تلقائيًا.
113
+
114
+ ```js fileName="babel.config.js"
115
+ const {
116
+ intlayerExtractBabelPlugin,
117
+ intlayerOptimizeBabelPlugin,
118
+ getExtractPluginOptions,
119
+ getOptimizePluginOptions,
120
+ } = require("@intlayer/babel");
121
+
122
+ module.exports = {
123
+ presets: ["next/babel"],
124
+ plugins: [
125
+ // Extract content from components into dictionaries
126
+ [intlayerExtractBabelPlugin, getExtractPluginOptions()],
127
+ // Optimize imports by replacing useIntlayer with direct dictionary imports
128
+ [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
129
+ ],
130
+ };
131
+ ```
132
+
133
+ يضمن هذا التكوين استخراج المحتوى المعلن في مكوناتك تلقائيًا واستخدامه لتوليد القواميس أثناء عملية البناء.
@@ -153,9 +153,13 @@ const content = useIntlayer("my-key");
153
153
  // Optimierter Code (Dynamisch)
154
154
  const content = useDictionaryAsync({
155
155
  en: () =>
156
- import(".intlayer/dynamic_dictionary/en.json").then((mod) => mod.default),
156
+ import(".intlayer/dynamic_dictionary/my-key/en.json").then(
157
+ (mod) => mod.default
158
+ ),
157
159
  fr: () =>
158
- import(".intlayer/dynamic_dictionary/fr.json").then((mod) => mod.default),
160
+ import(".intlayer/dynamic_dictionary/my-key/fr.json").then(
161
+ (mod) => mod.default
162
+ ),
159
163
  });
160
164
  ```
161
165
 
@@ -0,0 +1,133 @@
1
+ ---
2
+ createdAt: 2025-09-09
3
+ updatedAt: 2025-09-09
4
+ title: Intlayer Compiler | Automatisierte Inhaltsextraktion für i18n
5
+ description: Automatisieren Sie Ihren Internationalisierungsprozess mit dem Intlayer Compiler. Extrahieren Sie Inhalte direkt aus Ihren Komponenten für schnellere und effizientere i18n in Vite, Next.js und mehr.
6
+ keywords:
7
+ - Intlayer
8
+ - Compiler
9
+ - Internationalisierung
10
+ - i18n
11
+ - Automatisierung
12
+ - Extraktion
13
+ - Geschwindigkeit
14
+ - Vite
15
+ - Next.js
16
+ - React
17
+ - Vue
18
+ - Svelte
19
+ slugs:
20
+ - doc
21
+ - compiler
22
+ history:
23
+ - version: 7.3.1
24
+ date: 2025-11-27
25
+ changes: Release Compiler
26
+ ---
27
+
28
+ # Intlayer Compiler | Automatisierte Inhaltsextraktion für i18n
29
+
30
+ ## Was ist der Intlayer Compiler?
31
+
32
+ Der **Intlayer Compiler** ist ein leistungsstarkes Werkzeug, das entwickelt wurde, um den Prozess der Internationalisierung (i18n) in Ihren Anwendungen zu automatisieren. Er durchsucht Ihren Quellcode (JSX, TSX, Vue, Svelte) nach Inhaltsdeklarationen, extrahiert diese und generiert automatisch die notwendigen Wörterbuchdateien. Dadurch können Sie Ihre Inhalte direkt bei den Komponenten belassen, während Intlayer die Verwaltung und Synchronisierung Ihrer Wörterbücher übernimmt.
33
+
34
+ ## Warum den Intlayer Compiler verwenden?
35
+
36
+ - **Automatisierung**: Beseitigt das manuelle Kopieren und Einfügen von Inhalten in Wörterbücher.
37
+ - **Geschwindigkeit**: Optimierte Inhaltsextraktion, die sicherstellt, dass Ihr Build-Prozess schnell bleibt.
38
+ - **Entwicklererfahrung**: Behalten Sie Inhaltsdeklarationen genau dort, wo sie verwendet werden, und verbessern Sie so die Wartbarkeit.
39
+ - **Live-Updates**: Unterstützt Hot Module Replacement (HMR) für sofortiges Feedback während der Entwicklung.
40
+
41
+ Siehe den Blogbeitrag [Compiler vs. Declarative i18n](https://github.com/aymericzip/intlayer/blob/main/docs/blog/de/compiler_vs_declarative_i18n.md) für einen tieferen Vergleich.
42
+
43
+ ## Warum den Intlayer Compiler nicht verwenden?
44
+
45
+ Während der Compiler eine ausgezeichnete "funktioniert einfach so"-Erfahrung bietet, führt er auch einige Kompromisse ein, die Sie beachten sollten:
46
+
47
+ - **Heuristische Mehrdeutigkeit**: Der Compiler muss erraten, was benutzerorientierter Inhalt im Gegensatz zur Anwendungslogik ist (z. B. `className="active"`, Statuscodes, Produkt-IDs). In komplexen Codebasen kann dies zu falschen Positiven oder übersehenen Zeichenketten führen, die manuelle Anmerkungen und Ausnahmen erfordern.
48
+ - **Nur statische Extraktion**: Die compilerbasierte Extraktion basiert auf statischer Analyse. Zeichenketten, die nur zur Laufzeit existieren (API-Fehlercodes, CMS-Felder usw.), können vom Compiler allein nicht entdeckt oder übersetzt werden, daher benötigen Sie immer noch eine ergänzende Laufzeit-i18n-Strategie.
49
+
50
+ Für einen tieferen architektonischen Vergleich siehe den Blogbeitrag [Compiler vs. Declarative i18n](https://github.com/aymericzip/intlayer/blob/main/docs/blog/de/compiler_vs_declarative_i18n.md).
51
+
52
+ Als Alternative, um Ihren i18n-Prozess zu automatisieren und gleichzeitig die volle Kontrolle über Ihren Inhalt zu behalten, bietet Intlayer auch einen Auto-Extraktionsbefehl `intlayer transform` (siehe [CLI-Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/cli/transform.md)) oder den Befehl `Intlayer: extract content to Dictionary` aus der Intlayer VS Code-Erweiterung (siehe [VS Code-Erweiterungsdokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/vs_code_extension.md)).
53
+
54
+ ## Verwendung
55
+
56
+ ### Vite
57
+
58
+ Für Vite-basierte Anwendungen (React, Vue, Svelte usw.) ist der einfachste Weg, den Compiler zu verwenden, das `vite-intlayer` Plugin.
59
+
60
+ #### Installation
61
+
62
+ ```bash
63
+ npm install vite-intlayer
64
+ ```
65
+
66
+ #### Konfiguration
67
+
68
+ Aktualisieren Sie Ihre `vite.config.ts`, um das `intlayerCompiler` Plugin einzubinden:
69
+
70
+ ```ts fileName="vite.config.ts"
71
+ import { defineConfig } from "vite";
72
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
73
+
74
+ export default defineConfig({
75
+ plugins: [
76
+ intlayer(),
77
+ intlayerCompiler(), // Fügt das Compiler-Plugin hinzu
78
+ ],
79
+ });
80
+ ```
81
+
82
+ #### Framework-Unterstützung
83
+
84
+ Das Vite-Plugin erkennt und verarbeitet automatisch verschiedene Dateitypen:
85
+
86
+ - **React / JSX / TSX**: Wird nativ unterstützt.
87
+ - **Vue**: Erfordert `@intlayer/vue-compiler`.
88
+ - **Svelte**: Erfordert `@intlayer/svelte-compiler`.
89
+
90
+ Stellen Sie sicher, dass Sie das passende Compiler-Paket für Ihr Framework installieren:
91
+
92
+ ```bash
93
+ # Für Vue
94
+ npm install @intlayer/vue-compiler
95
+
96
+ # Für Svelte
97
+ npm install @intlayer/svelte-compiler
98
+ ```
99
+
100
+ ### Next.js (Babel)
101
+
102
+ Für Next.js oder andere Webpack-basierte Anwendungen, die Babel verwenden, können Sie den Compiler mit dem `@intlayer/babel` Plugin konfigurieren.
103
+
104
+ #### Installation
105
+
106
+ ```bash
107
+ npm install @intlayer/babel
108
+ ```
109
+
110
+ #### Konfiguration
111
+
112
+ Aktualisieren Sie Ihre `babel.config.js` (oder `babel.config.json`), um das Extraktions-Plugin einzubinden. Wir stellen einen Helfer `getExtractPluginOptions` bereit, der Ihre Intlayer-Konfiguration automatisch lädt.
113
+
114
+ ```js fileName="babel.config.js"
115
+ const {
116
+ intlayerExtractBabelPlugin,
117
+ intlayerOptimizeBabelPlugin,
118
+ getExtractPluginOptions,
119
+ getOptimizePluginOptions,
120
+ } = require("@intlayer/babel");
121
+
122
+ module.exports = {
123
+ presets: ["next/babel"],
124
+ plugins: [
125
+ // Extract content from components into dictionaries
126
+ [intlayerExtractBabelPlugin, getExtractPluginOptions()],
127
+ // Optimize imports by replacing useIntlayer with direct dictionary imports
128
+ [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
129
+ ],
130
+ };
131
+ ```
132
+
133
+ Diese Konfiguration stellt sicher, dass Inhalte, die in Ihren Komponenten deklariert sind, automatisch extrahiert und während Ihres Build-Prozesses zur Generierung von Wörterbüchern verwendet werden.
@@ -19,7 +19,7 @@ applicationTemplate: https://github.com/aymericzip/intlayer-next-15-template
19
19
  youtubeVideo: https://www.youtube.com/watch?v=e_PPG7PTqGU
20
20
  history:
21
21
  - version: 5.5.10
22
- date: 29.06.2025
22
+ date: 2025-06-29
23
23
  changes: Initiale Historie
24
24
  ---
25
25
 
@@ -16,7 +16,7 @@ slugs:
16
16
  - per-locale-file
17
17
  history:
18
18
  - version: 5.5.10
19
- date: 29.06.2025
19
+ date: 2025-06-29
20
20
  changes: Historie initialisiert
21
21
  ---
22
22
 
@@ -153,9 +153,13 @@ const content = useIntlayer("my-key");
153
153
  // Optimized code (Dynamic)
154
154
  const content = useDictionaryAsync({
155
155
  en: () =>
156
- import(".intlayer/dynamic_dictionary/en.json").then((mod) => mod.default),
156
+ import(".intlayer/dynamic_dictionary/my-key/en.json").then(
157
+ (mod) => mod.default
158
+ ),
157
159
  fr: () =>
158
- import(".intlayer/dynamic_dictionary/fr.json").then((mod) => mod.default),
160
+ import(".intlayer/dynamic_dictionary/my-key/fr.json").then(
161
+ (mod) => mod.default
162
+ ),
159
163
  });
160
164
  ```
161
165
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  createdAt: 2024-08-11
3
3
  updatedAt: 2025-11-22
4
- title: CLI
4
+ title: CLI - All Intlayer CLI commands for your multilingual website
5
5
  description: Discover how to use the Intlayer CLI to manage your multilingual website. Follow the steps in this online documentation to set up your project in a few minutes.
6
6
  keywords:
7
7
  - CLI
@@ -52,7 +52,7 @@ history:
52
52
  changes: Init history
53
53
  ---
54
54
 
55
- # Intlayer CLI
55
+ # Intlayer CLI - All Intlayer CLI commands for your multilingual website
56
56
 
57
57
  ---
58
58
 
@@ -0,0 +1,133 @@
1
+ ---
2
+ createdAt: 2025-09-09
3
+ updatedAt: 2025-09-09
4
+ title: Intlayer Compiler | Automated Content Extraction for i18n
5
+ description: Automate your internationalization process with the Intlayer Compiler. Extract content directly from your components for faster, more efficient i18n in Vite, Next.js, and more.
6
+ keywords:
7
+ - Intlayer
8
+ - Compiler
9
+ - Internationalization
10
+ - i18n
11
+ - Automation
12
+ - Extraction
13
+ - Speed
14
+ - Vite
15
+ - Next.js
16
+ - React
17
+ - Vue
18
+ - Svelte
19
+ slugs:
20
+ - doc
21
+ - compiler
22
+ history:
23
+ - version: 7.3.1
24
+ date: 2025-11-27
25
+ changes: Release Compiler
26
+ ---
27
+
28
+ # Intlayer Compiler | Automated Content Extraction for i18n
29
+
30
+ ## What is the Intlayer Compiler?
31
+
32
+ The **Intlayer Compiler** is a powerful tool designed to automate the process of internationalization (i18n) in your applications. It scans your source code (JSX, TSX, Vue, Svelte) for content declarations, extracts them, and automatically generates the necessary dictionary files. This allows you to keep your content co-located with your components while Intlayer handles the management and synchronization of your dictionaries.
33
+
34
+ ## Why Use the Intlayer Compiler?
35
+
36
+ - **Automation**: Eliminates manual copy-pasting of content into dictionaries.
37
+ - **Speed**: Optimized content extraction ensuring your build process remains fast.
38
+ - **Developer Experience**: Keep content declarations right where they are used, improving maintainability.
39
+ - **Live Updates**: Supports Hot Module Replacement (HMR) for instant feedback during development.
40
+
41
+ See the [Compiler vs. Declarative i18n](https://github.com/aymericzip/intlayer/blob/main/docs/blog/en/compiler_vs_declarative_i18n.md) blog post for a deeper comparison.
42
+
43
+ ## Why not use the Intlayer Compiler?
44
+
45
+ While the compiler offers an excellent "just works" experience, it also introduces some trade-offs you should be aware of:
46
+
47
+ - **Heuristic ambiguity**: The compiler must guess what is user-facing content vs. application logic (e.g., `className="active"`, status codes, product IDs). In complex codebases, this can lead to false positives or missed strings that require manual annotations and exceptions.
48
+ - **Static-only extraction**: Compiler-based extraction relies on static analysis. Strings that only exist at runtime (API error codes, CMS fields, etc.) cannot be discovered or translated by the compiler alone, so you still need a complementary runtime i18n strategy.
49
+
50
+ For a deeper architectural comparison, see the blog post [Compiler vs. Declarative i18n](https://github.com/aymericzip/intlayer/blob/main/docs/blog/en/compiler_vs_declarative_i18n.md).
51
+
52
+ As an alternative, to automate your i18n process while keeping full control of your content, Intlayer also provides an auto-extraction command `intlayer transform` (see [CLI documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/transform.md)), or the `Intlayer: extract content to Dictionary` command from the Intlayer VS Code extension (see [VS Code extension documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/vs_code_extension.md)).
53
+
54
+ ## Usage
55
+
56
+ ### Vite
57
+
58
+ For Vite-based applications (React, Vue, Svelte, etc.), the easiest way to use the compiler is through the `vite-intlayer` plugin.
59
+
60
+ #### Installation
61
+
62
+ ```bash
63
+ npm install vite-intlayer
64
+ ```
65
+
66
+ #### Configuration
67
+
68
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
69
+
70
+ ```ts fileName="vite.config.ts"
71
+ import { defineConfig } from "vite";
72
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
73
+
74
+ export default defineConfig({
75
+ plugins: [
76
+ intlayer(),
77
+ intlayerCompiler(), // Adds the compiler plugin
78
+ ],
79
+ });
80
+ ```
81
+
82
+ #### Framework Support
83
+
84
+ The Vite plugin automatically detects and handles different file types:
85
+
86
+ - **React / JSX / TSX**: Handled natively.
87
+ - **Vue**: Requires `@intlayer/vue-compiler`.
88
+ - **Svelte**: Requires `@intlayer/svelte-compiler`.
89
+
90
+ Make sure to install the appropriate compiler package for your framework:
91
+
92
+ ```bash
93
+ # For Vue
94
+ npm install @intlayer/vue-compiler
95
+
96
+ # For Svelte
97
+ npm install @intlayer/svelte-compiler
98
+ ```
99
+
100
+ ### Next.js (Babel)
101
+
102
+ For Next.js or other Webpack-based applications using Babel, you can configure the compiler using the `@intlayer/babel` plugin.
103
+
104
+ #### Installation
105
+
106
+ ```bash
107
+ npm install @intlayer/babel
108
+ ```
109
+
110
+ #### Configuration
111
+
112
+ Update your `babel.config.js` (or `babel.config.json`) to include the extraction plugin. We provide a helper `getExtractPluginOptions` to load your Intlayer configuration automatically.
113
+
114
+ ```js fileName="babel.config.js"
115
+ const {
116
+ intlayerExtractBabelPlugin,
117
+ intlayerOptimizeBabelPlugin,
118
+ getExtractPluginOptions,
119
+ getOptimizePluginOptions,
120
+ } = require("@intlayer/babel");
121
+
122
+ module.exports = {
123
+ presets: ["next/babel"],
124
+ plugins: [
125
+ // Extract content from components into dictionaries
126
+ [intlayerExtractBabelPlugin, getExtractPluginOptions()],
127
+ // Optimize imports by replacing useIntlayer with direct dictionary imports
128
+ [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
129
+ ],
130
+ };
131
+ ```
132
+
133
+ This configuration ensures that content declared in your components is automatically extracted and used to generate dictionaries during your build process.
@@ -17,7 +17,6 @@ slugs:
17
17
  - 14
18
18
  applicationTemplate: https://github.com/aymericzip/intlayer-next-14-template
19
19
  history:
20
- - version: 7.0.6
21
20
  - version: 6.2.0
22
21
  date: 2025-10-09
23
22
  changes: Added docs for `useLocale` hook with `onLocaleChange` option
@@ -153,9 +153,13 @@ const content = useIntlayer("my-key");
153
153
  // Optimised code (Dynamic)
154
154
  const content = useDictionaryAsync({
155
155
  en: () =>
156
- import(".intlayer/dynamic_dictionary/en.json").then((mod) => mod.default),
156
+ import(".intlayer/dynamic_dictionary/my-key/en.json").then(
157
+ (mod) => mod.default
158
+ ),
157
159
  fr: () =>
158
- import(".intlayer/dynamic_dictionary/fr.json").then((mod) => mod.default),
160
+ import(".intlayer/dynamic_dictionary/my-key/fr.json").then(
161
+ (mod) => mod.default
162
+ ),
159
163
  });
160
164
  ```
161
165