@intlayer/docs 8.3.1 → 8.3.2

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 (212) hide show
  1. package/blog/ar/i18n_using_next-i18next.md +1 -0
  2. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +0 -29
  3. package/blog/uk/internationalization_and_SEO.md +1 -1
  4. package/docs/ar/configuration.md +2 -21
  5. package/docs/ar/intlayer_with_analog.md +2 -2
  6. package/docs/ar/intlayer_with_angular.md +2 -2
  7. package/docs/ar/intlayer_with_astro.md +2 -2
  8. package/docs/ar/intlayer_with_lynx+react.md +2 -2
  9. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +4 -7
  10. package/docs/ar/intlayer_with_react_native+expo.md +2 -2
  11. package/docs/ar/intlayer_with_vite+preact.md +2 -2
  12. package/docs/ar/intlayer_with_vite+solid.md +2 -2
  13. package/docs/ar/intlayer_with_vite+svelte.md +2 -2
  14. package/docs/ar/intlayer_with_vite+vue.md +4 -4
  15. package/docs/ar/vs_code_extension.md +1 -1
  16. package/docs/de/configuration.md +2 -21
  17. package/docs/de/intlayer_with_analog.md +2 -2
  18. package/docs/de/intlayer_with_angular.md +2 -2
  19. package/docs/de/intlayer_with_astro.md +2 -2
  20. package/docs/de/intlayer_with_lynx+react.md +2 -2
  21. package/docs/de/intlayer_with_react_native+expo.md +2 -2
  22. package/docs/de/intlayer_with_vite+preact.md +2 -2
  23. package/docs/de/intlayer_with_vite+solid.md +2 -2
  24. package/docs/de/intlayer_with_vite+svelte.md +2 -2
  25. package/docs/de/intlayer_with_vite+vue.md +2 -2
  26. package/docs/de/vs_code_extension.md +1 -1
  27. package/docs/en/configuration.md +2 -20
  28. package/docs/en/intlayer_with_analog.md +1 -1
  29. package/docs/en/intlayer_with_angular.md +1 -1
  30. package/docs/en/intlayer_with_astro.md +1 -1
  31. package/docs/en/intlayer_with_lynx+react.md +1 -1
  32. package/docs/en/intlayer_with_react_native+expo.md +1 -1
  33. package/docs/en/intlayer_with_vite+preact.md +1 -1
  34. package/docs/en/intlayer_with_vite+solid.md +1 -1
  35. package/docs/en/intlayer_with_vite+svelte.md +1 -1
  36. package/docs/en/intlayer_with_vite+vue.md +1 -1
  37. package/docs/en/vs_code_extension.md +1 -1
  38. package/docs/en-GB/configuration.md +2 -21
  39. package/docs/en-GB/intlayer_with_analog.md +1 -1
  40. package/docs/en-GB/intlayer_with_angular.md +1 -1
  41. package/docs/en-GB/intlayer_with_astro.md +1 -1
  42. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  43. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  44. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  45. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  46. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  47. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  48. package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
  49. package/docs/en-GB/vs_code_extension.md +1 -1
  50. package/docs/es/configuration.md +2 -21
  51. package/docs/es/intlayer_with_analog.md +2 -2
  52. package/docs/es/intlayer_with_angular.md +2 -2
  53. package/docs/es/intlayer_with_astro.md +2 -2
  54. package/docs/es/intlayer_with_lynx+react.md +2 -2
  55. package/docs/es/intlayer_with_react_native+expo.md +2 -2
  56. package/docs/es/intlayer_with_vite+preact.md +2 -2
  57. package/docs/es/intlayer_with_vite+solid.md +2 -2
  58. package/docs/es/intlayer_with_vite+svelte.md +2 -2
  59. package/docs/es/intlayer_with_vite+vue.md +4 -4
  60. package/docs/es/vs_code_extension.md +1 -1
  61. package/docs/fr/configuration.md +2 -21
  62. package/docs/fr/intlayer_with_analog.md +2 -2
  63. package/docs/fr/intlayer_with_angular.md +2 -2
  64. package/docs/fr/intlayer_with_astro.md +2 -2
  65. package/docs/fr/intlayer_with_lynx+react.md +2 -2
  66. package/docs/fr/intlayer_with_react_native+expo.md +2 -2
  67. package/docs/fr/intlayer_with_vite+preact.md +2 -2
  68. package/docs/fr/intlayer_with_vite+react.md +2 -2
  69. package/docs/fr/intlayer_with_vite+solid.md +2 -2
  70. package/docs/fr/intlayer_with_vite+svelte.md +2 -2
  71. package/docs/fr/intlayer_with_vite+vue.md +4 -4
  72. package/docs/fr/vs_code_extension.md +1 -1
  73. package/docs/hi/configuration.md +2 -21
  74. package/docs/hi/intlayer_with_analog.md +1 -1
  75. package/docs/hi/intlayer_with_angular.md +2 -2
  76. package/docs/hi/intlayer_with_astro.md +2 -2
  77. package/docs/hi/intlayer_with_lynx+react.md +2 -2
  78. package/docs/hi/intlayer_with_react_native+expo.md +2 -2
  79. package/docs/hi/intlayer_with_vite+preact.md +2 -2
  80. package/docs/hi/intlayer_with_vite+solid.md +2 -2
  81. package/docs/hi/intlayer_with_vite+svelte.md +2 -2
  82. package/docs/hi/intlayer_with_vite+vue.md +2 -2
  83. package/docs/hi/vs_code_extension.md +1 -1
  84. package/docs/id/configuration.md +2 -20
  85. package/docs/id/intlayer_with_analog.md +2 -2
  86. package/docs/id/intlayer_with_angular.md +2 -2
  87. package/docs/id/intlayer_with_astro.md +2 -2
  88. package/docs/id/intlayer_with_lynx+react.md +2 -2
  89. package/docs/id/intlayer_with_react_native+expo.md +2 -2
  90. package/docs/id/intlayer_with_vite+preact.md +2 -2
  91. package/docs/id/intlayer_with_vite+react.md +2 -2
  92. package/docs/id/intlayer_with_vite+solid.md +2 -2
  93. package/docs/id/intlayer_with_vite+svelte.md +2 -2
  94. package/docs/id/intlayer_with_vite+vue.md +2 -2
  95. package/docs/id/vs_code_extension.md +1 -1
  96. package/docs/it/configuration.md +2 -22
  97. package/docs/it/intlayer_with_analog.md +2 -2
  98. package/docs/it/intlayer_with_angular.md +2 -2
  99. package/docs/it/intlayer_with_astro.md +2 -2
  100. package/docs/it/intlayer_with_lynx+react.md +2 -2
  101. package/docs/it/intlayer_with_react_native+expo.md +2 -2
  102. package/docs/it/intlayer_with_vite+preact.md +2 -2
  103. package/docs/it/intlayer_with_vite+react.md +2 -2
  104. package/docs/it/intlayer_with_vite+solid.md +2 -2
  105. package/docs/it/intlayer_with_vite+svelte.md +2 -2
  106. package/docs/it/intlayer_with_vite+vue.md +4 -4
  107. package/docs/it/vs_code_extension.md +1 -1
  108. package/docs/ja/configuration.md +2 -21
  109. package/docs/ja/intlayer_with_analog.md +2 -2
  110. package/docs/ja/intlayer_with_angular.md +2 -2
  111. package/docs/ja/intlayer_with_astro.md +2 -2
  112. package/docs/ja/intlayer_with_lynx+react.md +2 -2
  113. package/docs/ja/intlayer_with_react_native+expo.md +2 -2
  114. package/docs/ja/intlayer_with_vite+solid.md +2 -2
  115. package/docs/ja/intlayer_with_vite+svelte.md +2 -2
  116. package/docs/ja/intlayer_with_vite+vue.md +2 -2
  117. package/docs/ja/vs_code_extension.md +1 -1
  118. package/docs/ko/configuration.md +2 -21
  119. package/docs/ko/intlayer_with_analog.md +2 -2
  120. package/docs/ko/intlayer_with_angular.md +2 -2
  121. package/docs/ko/intlayer_with_astro.md +2 -2
  122. package/docs/ko/intlayer_with_lynx+react.md +2 -2
  123. package/docs/ko/intlayer_with_react_native+expo.md +2 -2
  124. package/docs/ko/intlayer_with_vite+preact.md +2 -2
  125. package/docs/ko/intlayer_with_vite+solid.md +2 -2
  126. package/docs/ko/intlayer_with_vite+svelte.md +2 -2
  127. package/docs/ko/intlayer_with_vite+vue.md +2 -2
  128. package/docs/ko/vs_code_extension.md +1 -1
  129. package/docs/pl/configuration.md +2 -20
  130. package/docs/pl/intlayer_with_analog.md +2 -2
  131. package/docs/pl/intlayer_with_angular.md +2 -2
  132. package/docs/pl/intlayer_with_astro.md +2 -2
  133. package/docs/pl/intlayer_with_lynx+react.md +2 -2
  134. package/docs/pl/intlayer_with_react_native+expo.md +2 -2
  135. package/docs/pl/intlayer_with_vite+preact.md +1 -1
  136. package/docs/pl/intlayer_with_vite+react.md +2 -2
  137. package/docs/pl/intlayer_with_vite+solid.md +2 -2
  138. package/docs/pl/intlayer_with_vite+svelte.md +2 -2
  139. package/docs/pl/intlayer_with_vite+vue.md +4 -4
  140. package/docs/pl/vs_code_extension.md +1 -1
  141. package/docs/pt/configuration.md +2 -12
  142. package/docs/pt/intlayer_with_analog.md +2 -2
  143. package/docs/pt/intlayer_with_angular.md +2 -2
  144. package/docs/pt/intlayer_with_astro.md +2 -2
  145. package/docs/pt/intlayer_with_lynx+react.md +2 -2
  146. package/docs/pt/intlayer_with_react_native+expo.md +2 -2
  147. package/docs/pt/intlayer_with_vite+preact.md +1 -1
  148. package/docs/pt/intlayer_with_vite+solid.md +2 -2
  149. package/docs/pt/intlayer_with_vite+svelte.md +2 -2
  150. package/docs/pt/intlayer_with_vite+vue.md +2 -2
  151. package/docs/pt/vs_code_extension.md +1 -1
  152. package/docs/ru/configuration.md +2 -21
  153. package/docs/ru/intlayer_with_analog.md +2 -2
  154. package/docs/ru/intlayer_with_angular.md +2 -2
  155. package/docs/ru/intlayer_with_astro.md +2 -2
  156. package/docs/ru/intlayer_with_lynx+react.md +2 -2
  157. package/docs/ru/intlayer_with_react_native+expo.md +2 -2
  158. package/docs/ru/intlayer_with_vite+preact.md +2 -2
  159. package/docs/ru/intlayer_with_vite+solid.md +2 -2
  160. package/docs/ru/intlayer_with_vite+svelte.md +2 -2
  161. package/docs/ru/intlayer_with_vite+vue.md +2 -2
  162. package/docs/ru/vs_code_extension.md +1 -1
  163. package/docs/tr/configuration.md +2 -21
  164. package/docs/tr/intlayer_with_analog.md +2 -2
  165. package/docs/tr/intlayer_with_angular.md +2 -2
  166. package/docs/tr/intlayer_with_astro.md +2 -2
  167. package/docs/tr/intlayer_with_lynx+react.md +2 -2
  168. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +6 -14
  169. package/docs/tr/intlayer_with_react_native+expo.md +2 -2
  170. package/docs/tr/intlayer_with_vite+preact.md +2 -2
  171. package/docs/tr/intlayer_with_vite+react.md +2 -2
  172. package/docs/tr/intlayer_with_vite+solid.md +2 -2
  173. package/docs/tr/intlayer_with_vite+svelte.md +2 -2
  174. package/docs/tr/intlayer_with_vite+vue.md +2 -2
  175. package/docs/tr/vs_code_extension.md +1 -1
  176. package/docs/uk/configuration.md +2 -20
  177. package/docs/uk/intlayer_with_analog.md +2 -2
  178. package/docs/uk/intlayer_with_angular.md +2 -2
  179. package/docs/uk/intlayer_with_astro.md +2 -2
  180. package/docs/uk/intlayer_with_lynx+react.md +2 -2
  181. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -22
  182. package/docs/uk/intlayer_with_react_native+expo.md +2 -2
  183. package/docs/uk/intlayer_with_vite+preact.md +2 -2
  184. package/docs/uk/intlayer_with_vite+solid.md +2 -2
  185. package/docs/uk/intlayer_with_vite+svelte.md +2 -2
  186. package/docs/uk/intlayer_with_vite+vue.md +2 -2
  187. package/docs/uk/vs_code_extension.md +1 -1
  188. package/docs/vi/configuration.md +2 -20
  189. package/docs/vi/intlayer_with_analog.md +2 -2
  190. package/docs/vi/intlayer_with_angular.md +2 -2
  191. package/docs/vi/intlayer_with_astro.md +2 -2
  192. package/docs/vi/intlayer_with_lynx+react.md +2 -2
  193. package/docs/vi/intlayer_with_react_native+expo.md +2 -2
  194. package/docs/vi/intlayer_with_vite+preact.md +2 -2
  195. package/docs/vi/intlayer_with_vite+react.md +2 -2
  196. package/docs/vi/intlayer_with_vite+solid.md +2 -2
  197. package/docs/vi/intlayer_with_vite+svelte.md +2 -2
  198. package/docs/vi/intlayer_with_vite+vue.md +2 -2
  199. package/docs/vi/vs_code_extension.md +1 -1
  200. package/docs/zh/configuration.md +2 -21
  201. package/docs/zh/intlayer_with_analog.md +2 -2
  202. package/docs/zh/intlayer_with_angular.md +2 -2
  203. package/docs/zh/intlayer_with_astro.md +2 -2
  204. package/docs/zh/intlayer_with_lynx+react.md +2 -2
  205. package/docs/zh/intlayer_with_react_native+expo.md +2 -2
  206. package/docs/zh/intlayer_with_vite+preact.md +2 -2
  207. package/docs/zh/intlayer_with_vite+solid.md +2 -2
  208. package/docs/zh/intlayer_with_vite+svelte.md +2 -2
  209. package/docs/zh/intlayer_with_vite+vue.md +4 -4
  210. package/docs/zh/vs_code_extension.md +2 -2
  211. package/package.json +8 -8
  212. package/docs/update_docs.py +0 -65
@@ -398,7 +398,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
398
398
 
399
399
  To do this, you can add the following instructions to your `.gitignore` file:
400
400
 
401
- ```plaintext
401
+ ```bash
402
402
  # Ignore the files generated by Intlayer
403
403
  .intlayer
404
404
  ```
@@ -218,7 +218,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
218
218
 
219
219
  To do this, you can add the following instructions to your `.gitignore` file:
220
220
 
221
- ```plaintext
221
+ ```bash
222
222
  # Ignore the files generated by Intlayer
223
223
  .intlayer
224
224
  ```
@@ -538,7 +538,7 @@ This is what enables features like:
538
538
 
539
539
  To avoid committing auto-generated files by Intlayer, add the following to your `.gitignore`:
540
540
 
541
- ```plaintext
541
+ ```bash
542
542
  # Ignore the files generated by Intlayer
543
543
  .intlayer
544
544
  ```
@@ -628,7 +628,7 @@ This enables features such as:
628
628
 
629
629
  To prevent committing auto-generated files by Intlayer, add the following to your `.gitignore`:
630
630
 
631
- ```plaintext
631
+ ```bash
632
632
  # Ignore the files generated by Intlayer
633
633
  .intlayer
634
634
  ```
@@ -1333,7 +1333,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
1333
1333
 
1334
1334
  To do this, you can add the following instructions to your `.gitignore` file:
1335
1335
 
1336
- ```plaintext
1336
+ ```bash
1337
1337
  # Ignore the files generated by Intlayer
1338
1338
  .intlayer
1339
1339
  ```
@@ -1665,7 +1665,7 @@ It is recommended to ignore the files generated by Intlayer. This prevents you f
1665
1665
 
1666
1666
  To do this, you can add the following instructions to your `.gitignore` file:
1667
1667
 
1668
- ```plaintext
1668
+ ```bash
1669
1669
  # Ignore the files generated by Intlayer
1670
1670
  .intlayer
1671
1671
  ```
@@ -553,7 +553,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
553
553
 
554
554
  To do this, you can add the following instructions to your `.gitignore` file:
555
555
 
556
- ```plaintext
556
+ ```bash
557
557
  # Ignore the files generated by Intlayer
558
558
  .intlayer
559
559
  ```
@@ -470,7 +470,7 @@ It is recommended to ignore the files generated by Intlayer. This prevents you f
470
470
 
471
471
  To do this, you can add the following instructions to your `.gitignore` file:
472
472
 
473
- ```plaintext
473
+ ```bash
474
474
  # Ignore the files generated by Intlayer
475
475
  .intlayer
476
476
  ```
@@ -1106,7 +1106,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
1106
1106
 
1107
1107
  To do this, you can add the following instructions to your `.gitignore` file:
1108
1108
 
1109
- ```plaintext
1109
+ ```bash
1110
1110
  # Ignore the files generated by Intlayer
1111
1111
  .intlayer
1112
1112
  ```
@@ -1128,7 +1128,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
1128
1128
 
1129
1129
  To do this, you can add the following instructions to your `.gitignore` file:
1130
1130
 
1131
- ```plaintext
1131
+ ```bash
1132
1132
  # Ignore the files generated by Intlayer
1133
1133
  .intlayer
1134
1134
  ```
@@ -120,7 +120,7 @@ The extension can load environment variables from your workspace to run Intlayer
120
120
 
121
121
  #### Selecting the active environment
122
122
 
123
- - **Command Palette**: open the palette and run `Intlayer: Select Environment`, then choose the environment (e.g., `development`, `staging`, `production`). The extension will attempt to load the first available file in the priority list above and show a notification like “Loaded env from .env.<env>.local”.
123
+ - **Command Palette**: open the palette and run `Intlayer: Select Environment`, then choose the environment (e.g., `development`, `staging`, `production`). The extension will attempt to load the first available file in the priority list above and show a notification like “Loaded env from `.env.<env>.local`”.
124
124
  - **Settings**: go to `Settings → Extensions → Intlayer`, and set:
125
125
  - **Environment**: the environment name used to resolve `.env.<env>*` files.
126
126
  - (Optional) **Env File**: an explicit path to a `.env` file. When provided, it takes precedence over the inferred list.
@@ -283,13 +283,13 @@ const config: IntlayerConfig = {
283
283
  editor: {
284
284
  /**
285
285
  * Whether the visual editor is enabled.
286
- * Default: true
286
+ * Default: false
287
287
  */
288
288
  enabled: true,
289
289
 
290
290
  /**
291
291
  * URL of your application for origin validation.
292
- * Default: "*"
292
+ * Default: ""
293
293
  */
294
294
  applicationURL: "http://localhost:3000",
295
295
 
@@ -1207,25 +1207,6 @@ Las opciones de compilación se aplican a los plugins `@intlayer/babel` y `@intl
1207
1207
  - _Nota_ : Esta opción depende de los plugins `@intlayer/babel` y `@intlayer/swc`.
1208
1208
  - _Nota_ : Asegúrate de que todas las claves se declaren estáticamente en las llamadas a `useIntlayer`. Por ejemplo, `useIntlayer('navbar')`.
1209
1209
 
1210
- - **importMode** :
1211
- - _Tipo_ : `'static' | 'dynamic' | 'fetch'`
1212
- - _Par defecto_ : `'static'`
1213
- - _Descripción_ : Controla cómo se importan los diccionarios.
1214
- - _Ejemplo_ : `'dynamic'`
1215
- - _Nota_ : Modos disponibles:
1216
- - "static": Los diccionarios se importan estáticamente. Reemplaza `useIntlayer` por `useDictionary`.
1217
- - "dynamic": Los diccionarios se importan dinámicamente usando Suspense. Reemplaza `useIntlayer` por `useDictionaryDynamic`.
1218
- - "fetch": Los diccionarios se recuperan dinámicamente a través de la API de sincronización en vivo. Reemplaza `useIntlayer` por `useDictionaryDynamic`.
1219
- - _Nota_ : Las importaciones dinámicas dependen de Suspense y pueden afectar ligeramente el rendimiento del renderizado.
1220
- - _Nota_ : Si se desactiva, todos los locales se cargarán a la vez, incluso si no se utilizan.
1221
- - _Nota_ : Esta opción depende de los plugins `@intlayer/babel` y `@intlayer/swc`.
1222
- - _Nota_ : Asegúrate de que todas las claves se declaren estáticamente en las llamadas a `useIntlayer`. Por ejemplo, `useIntlayer('navbar')`.
1223
- - _Nota_ : Esta opción se ignorará si `optimize` está desactivado.
1224
- - _Note_ : Si se establece en "fetch", solo los diccionarios que incluyan contenido remoto y estén marcados como "fetch" se transformarán en modo fetch. Los demás se importarán dinámicamente en modo "dynamic" para optimizar la cantidad de solicitudes fetch y el rendimiento de la carga.
1225
- - _Note_ : El modo fetch utilizará la API de sincronización en vivo para recuperar los diccionarios. Si falla la llamada a la API, los diccionarios se importarán dinámicamente en modo "dynamic".
1226
- - _Nota_ : Esta opción no afectará a las funciones `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` y `useDictionaryDynamic`.
1227
- - _Note_: **Obsoleto**: Usa `dictionary.importMode` en su lugar.
1228
-
1229
1210
  - **outputFormat** :
1230
1211
  - _Type_ : `('esm' | 'cjs')[]`
1231
1212
  - _Par defecto_ : `['cjs', 'esm']`
@@ -342,8 +342,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
342
342
 
343
343
  Para hacer esto, puedes añadir las siguientes instrucciones a tu archivo `.gitignore`:
344
344
 
345
- ```plaintext
346
- # Ignorar los archivos generados por Intlayer
345
+ ```bash
346
+ # Ignorar los archivos generados por Intlayer
347
347
  .intlayer
348
348
  ```
349
349
 
@@ -392,8 +392,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
392
392
 
393
393
  Para hacer esto, puedes añadir las siguientes instrucciones a tu archivo `.gitignore`:
394
394
 
395
- ```plaintext
396
- # Ignorar los archivos generados por Intlayer
395
+ ```bash
396
+ # Ignorar los archivos generados por Intlayer
397
397
  .intlayer
398
398
  ```
399
399
 
@@ -218,8 +218,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
218
218
 
219
219
  Para hacer esto, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
220
220
 
221
- ```plaintext
222
- # Ignorar los archivos generados por Intlayer
221
+ ```bash
222
+ # Ignorar los archivos generados por Intlayer
223
223
  .intlayer
224
224
  ```
225
225
 
@@ -486,8 +486,8 @@ Esto habilita características como:
486
486
 
487
487
  Para evitar subir a tu repositorio los archivos generados automáticamente por Intlayer, añade lo siguiente a tu `.gitignore`:
488
488
 
489
- ```plaintext
490
- # Ignora los archivos generados por Intlayer
489
+ ```bash
490
+ # Ignora los archivos generados por Intlayer
491
491
  .intlayer
492
492
  ```
493
493
 
@@ -629,8 +629,8 @@ Esto habilita características como:
629
629
 
630
630
  Para evitar comprometer archivos generados automáticamente por Intlayer, añade lo siguiente a tu `.gitignore`:
631
631
 
632
- ```plaintext
633
- # Ignorar los archivos generados por Intlayer
632
+ ```bash
633
+ # Ignorar los archivos generados por Intlayer
634
634
  .intlayer
635
635
  ```
636
636
 
@@ -1491,8 +1491,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto le permite evita
1491
1491
 
1492
1492
  Para hacerlo, puede agregar las siguientes instrucciones a su archivo `.gitignore`:
1493
1493
 
1494
- ```plaintext
1495
- # Ignorar los archivos generados por Intlayer
1494
+ ```bash
1495
+ # Ignorar los archivos generados por Intlayer
1496
1496
  .intlayer
1497
1497
  ```
1498
1498
 
@@ -712,8 +712,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
712
712
 
713
713
  Para hacerlo, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
714
714
 
715
- ```plaintext
716
- # Ignorar los archivos generados por Intlayer
715
+ ```bash
716
+ # Ignorar los archivos generados por Intlayer
717
717
  .intlayer
718
718
  ```
719
719
 
@@ -647,8 +647,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
647
647
 
648
648
  Para hacerlo, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
649
649
 
650
- ```plaintext
651
- # Ignorar los archivos generados por Intlayer
650
+ ```bash
651
+ # Ignorar los archivos generados por Intlayer
652
652
  .intlayer
653
653
  ```
654
654
 
@@ -1245,8 +1245,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
1245
1245
 
1246
1246
  Para hacerlo, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
1247
1247
 
1248
- ```plaintext
1249
- # Ignorar los archivos generados por Intlayer
1248
+ ```bash
1249
+ # Ignorar los archivos generados por Intlayer
1250
1250
  .intlayer
1251
1251
  ```
1252
1252
 
@@ -1267,8 +1267,8 @@ Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evita
1267
1267
 
1268
1268
  Para hacer esto, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
1269
1269
 
1270
- ```plaintext
1271
- # Ignorar los archivos generados por Intlayer
1270
+ ```bash
1271
+ # Ignorar los archivos generados por Intlayer
1272
1272
  .intlayer
1273
1273
  ```
1274
1274
 
@@ -120,7 +120,7 @@ La extensión puede cargar variables de entorno desde tu espacio de trabajo para
120
120
 
121
121
  #### Selección del entorno activo
122
122
 
123
- - **Paleta de Comandos**: abre la paleta y ejecuta `Intlayer: Select Environment`, luego elige el entorno (por ejemplo, `development`, `staging`, `production`). La extensión intentará cargar el primer archivo disponible en la lista de prioridad mencionada y mostrará una notificación como “Entorno cargado desde .env.<env>.local”.
123
+ - **Paleta de Comandos**: abre la paleta y ejecuta `Intlayer: Select Environment`, luego elige el entorno (por ejemplo, `development`, `staging`, `production`). La extensión intentará cargar el primer archivo disponible en la lista de prioridad mencionada y mostrará una notificación como “Entorno cargado desde `.env.<env>.local`”.
124
124
  - **Configuración**: ve a `Settings → Extensions → Intlayer`, y configura:
125
125
  - **Environment**: el nombre del entorno usado para resolver archivos `.env.<env>*`.
126
126
  - (Opcional) **Env File**: una ruta explícita a un archivo `.env`. Cuando se proporciona, tiene prioridad sobre la lista inferida.
@@ -283,13 +283,13 @@ const config: IntlayerConfig = {
283
283
  editor: {
284
284
  /**
285
285
  * Whether the visual editor is enabled.
286
- * Default: true
286
+ * Default: false
287
287
  */
288
288
  enabled: true,
289
289
 
290
290
  /**
291
291
  * URL of your application for origin validation.
292
- * Default: "*"
292
+ * Default: ""
293
293
  */
294
294
  applicationURL: "http://localhost:3000",
295
295
 
@@ -1208,25 +1208,6 @@ Les options de build s'appliquent aux plugins `@intlayer/babel` et `@intlayer/sw
1208
1208
  - _Note_ : Cette option repose sur les plugins `@intlayer/babel` et `@intlayer/swc`.
1209
1209
  - _Note_ : Assurez-vous que toutes les clés sont déclarées statiquement dans les appels `useIntlayer`. Par exemple `useIntlayer('navbar')`.
1210
1210
 
1211
- - **importMode** :
1212
- - _Type_ : `'static' | 'dynamic' | 'fetch'`
1213
- - _Par défaut_ : `'static'`
1214
- - _Description_ : Contrôle la manière dont les dictionnaires sont importés.
1215
- - _Exemple_ : `'dynamic'`
1216
- - _Note_ : Modes disponibles :
1217
- - "static" : Les dictionnaires sont importés statiquement. Remplace `useIntlayer` par `useDictionary`.
1218
- - "dynamic" : Les dictionnaires sont importés dynamiquement en utilisant Suspense. Remplace `useIntlayer` par `useDictionaryDynamic`.
1219
- - "fetch" : Les dictionnaires sont récupérés dynamiquement en utilisant l'API de synchronisation en direct. Remplace `useIntlayer` par `useDictionaryDynamic`.
1220
- - _Note_ : Les imports dynamiques reposent sur Suspense et peuvent légèrement impacter les performances de rendu.
1221
- - _Note_ : Si désactivé, toutes les locales seront chargées en une seule fois, même si elles ne sont pas utilisées.
1222
- - _Note_ : Cette option dépend des plugins `@intlayer/babel` et `@intlayer/swc`.
1223
- - _Note_ : Assurez-vous que toutes les clés sont déclarées statiquement dans les appels à `useIntlayer`. Par exemple `useIntlayer('navbar')`.
1224
- - _Note_ : Cette option sera ignorée si `optimize` est désactivé.
1225
- - _Note_ : Si réglé sur "fetch", seuls les dictionnaires incluant du contenu distant et marqués comme "fetch" seront transformés en mode fetch. Les autres seront importés dynamiquement en mode "dynamic" pour optimiser le nombre de requêtes fetch et les performances de chargement.
1226
- - _Note_ : Le mode fetch utilisera l'API de synchronisation live pour récupérer les dictionnaires. Si l'appel API échoue, les dictionnaires seront importés dynamiquement en mode "dynamic".
1227
- - _Note_ : Cette option n'affectera pas les fonctions `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` et `useDictionaryDynamic`.
1228
- - _Note_: **Obsolète**: Utilisez `dictionary.importMode` à la place.
1229
-
1230
1211
  - **checkTypes** :
1231
1212
  - _Type_ : `boolean`
1232
1213
  - _Par défaut_ : `false`
@@ -342,8 +342,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous év
342
342
 
343
343
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
344
344
 
345
- ```plaintext
346
- # Ignorer les fichiers générés par Intlayer
345
+ ```bash
346
+ # Ignorer les fichiers générés par Intlayer
347
347
  .intlayer
348
348
  ```
349
349
 
@@ -392,8 +392,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous év
392
392
 
393
393
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
394
394
 
395
- ```plaintext
396
- # Ignorer les fichiers générés par Intlayer
395
+ ```bash
396
+ # Ignorer les fichiers générés par Intlayer
397
397
  .intlayer
398
398
  ```
399
399
 
@@ -218,8 +218,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous per
218
218
 
219
219
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
220
220
 
221
- ```plaintext
222
- # Ignorer les fichiers générés par Intlayer
221
+ ```bash
222
+ # Ignorer les fichiers générés par Intlayer
223
223
  .intlayer
224
224
  ```
225
225
 
@@ -487,8 +487,8 @@ Cela permet des fonctionnalités comme :
487
487
 
488
488
  Pour éviter de commettre les fichiers générés automatiquement par Intlayer, ajoutez ce qui suit à votre `.gitignore` :
489
489
 
490
- ```plaintext
491
- # Ignorer les fichiers générés par Intlayer
490
+ ```bash
491
+ # Ignorer les fichiers générés par Intlayer
492
492
  .intlayer
493
493
  ```
494
494
 
@@ -622,8 +622,8 @@ C'est ce qui permet des fonctionnalités telles que :
622
622
 
623
623
  Pour éviter de committer les fichiers générés automatiquement par Intlayer, ajoutez ce qui suit à votre `.gitignore` :
624
624
 
625
- ```plaintext
626
- # Ignorer les fichiers générés par Intlayer
625
+ ```bash
626
+ # Ignorer les fichiers générés par Intlayer
627
627
  .intlayer
628
628
  ```
629
629
 
@@ -1491,8 +1491,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous per
1491
1491
 
1492
1492
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
1493
1493
 
1494
- ```plaintext
1495
- # Ignorer les fichiers générés par Intlayer
1494
+ ```bash
1495
+ # Ignorer les fichiers générés par Intlayer
1496
1496
  .intlayer
1497
1497
  ```
1498
1498
 
@@ -1539,8 +1539,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous per
1539
1539
 
1540
1540
  Pour ce faire, vous pouvez ajouter les instructions suivantes dans votre fichier `.gitignore` :
1541
1541
 
1542
- ```plaintext
1543
- # Ignorer les fichiers générés par Intlayer
1542
+ ```bash
1543
+ # Ignorer les fichiers générés par Intlayer
1544
1544
  .intlayer
1545
1545
  ```
1546
1546
 
@@ -712,8 +712,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous per
712
712
 
713
713
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
714
714
 
715
- ```plaintext
716
- # Ignorer les fichiers générés par Intlayer
715
+ ```bash
716
+ # Ignorer les fichiers générés par Intlayer
717
717
  .intlayer
718
718
  ```
719
719
 
@@ -649,8 +649,8 @@ Il est recommandé d’ignorer les fichiers générés par Intlayer. Cela vous p
649
649
 
650
650
  Pour ce faire, vous pouvez ajouter les instructions suivantes dans votre fichier `.gitignore` :
651
651
 
652
- ```plaintext
653
- # Ignorer les fichiers générés par Intlayer
652
+ ```bash
653
+ # Ignorer les fichiers générés par Intlayer
654
654
  .intlayer
655
655
  ```
656
656
 
@@ -1192,8 +1192,8 @@ Il est recommandé d'ignorer les fichiers générés par Intlayer. Cela vous per
1192
1192
 
1193
1193
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
1194
1194
 
1195
- ```plaintext
1196
- # Ignorer les fichiers générés par Intlayer
1195
+ ```bash
1196
+ # Ignorer les fichiers générés par Intlayer
1197
1197
  .intlayer
1198
1198
  ```
1199
1199
 
@@ -1214,8 +1214,8 @@ Il est recommandé d’ignorer les fichiers générés par Intlayer. Cela vous p
1214
1214
 
1215
1215
  Pour ce faire, vous pouvez ajouter les instructions suivantes à votre fichier `.gitignore` :
1216
1216
 
1217
- ```plaintext
1218
- # Ignorer les fichiers générés par Intlayer
1217
+ ```bash
1218
+ # Ignorer les fichiers générés par Intlayer
1219
1219
  .intlayer
1220
1220
  ```
1221
1221
 
@@ -120,7 +120,7 @@ L'extension peut charger les variables d'environnement depuis votre espace de tr
120
120
 
121
121
  #### Sélection de l'environnement actif
122
122
 
123
- - **Palette de commandes** : ouvrez la palette et exécutez `Intlayer : Sélectionner l’environnement`, puis choisissez l’environnement (par exemple, `development`, `staging`, `production`). L’extension tentera de charger le premier fichier disponible dans la liste de priorité ci-dessus et affichera une notification comme « Environnement chargé depuis .env.<env>.local ».
123
+ - **Palette de commandes** : ouvrez la palette et exécutez `Intlayer : Sélectionner l’environnement`, puis choisissez l’environnement (par exemple, `development`, `staging`, `production`). L’extension tentera de charger le premier fichier disponible dans la liste de priorité ci-dessus et affichera une notification comme « Environnement chargé depuis `.env.<env>.local` ».
124
124
  - **Paramètres** : allez dans `Paramètres → Extensions → Intlayer`, et configurez :
125
125
  - **Environnement** : le nom de l’environnement utilisé pour résoudre les fichiers `.env.<env>*`.
126
126
  - (Optionnel) **Fichier Env** : un chemin explicite vers un fichier `.env`. Lorsqu’il est fourni, il prend le pas sur la liste déduite.
@@ -256,13 +256,13 @@ const config: IntlayerConfig = {
256
256
  editor: {
257
257
  /**
258
258
  * Whether the visual editor is enabled.
259
- * Default: true
259
+ * Default: false
260
260
  */
261
261
  enabled: true,
262
262
 
263
263
  /**
264
264
  * URL of your application for origin validation.
265
- * Default: "*"
265
+ * Default: ""
266
266
  */
267
267
  applicationURL: "http://localhost:3000",
268
268
 
@@ -1023,25 +1023,6 @@ Intlayer बेहतर लचीलापन और विकल्प के
1023
1023
  - _नोट_: यह विकल्प `@intlayer/babel` और `@intlayer/swc` प्लगइन्स पर निर्भर करता है।
1024
1024
  - _नोट_: सुनिश्चित करें कि सभी कुंजियाँ `useIntlayer` कॉल्स में स्थैतिक रूप से घोषित हों। उदाहरण के लिए `useIntlayer('navbar')`।
1025
1025
 
1026
- - **importMode**:
1027
- - _नोट_: **Deprecated**: Use `dictionary.importMode` instead.
1028
- - _प्रकार_: `'static' | 'dynamic' | 'fetch'`
1029
- - _डिफ़ॉल्ट_: `'static'`
1030
- - _विवरण_: नियंत्रित करता है कि शब्दकोश कैसे आयात किए जाते हैं।
1031
- - _उदाहरण_: `'dynamic'`
1032
- - _नोट_: उपलब्ध मोड:
1033
- - "static": शब्दकोश स्थैतिक रूप से आयात किए जाते हैं। `useIntlayer` को `useDictionary` से बदलता है।
1034
- - "dynamic": शब्दकोश Suspense का उपयोग करके गतिशील रूप से आयात किए जाते हैं। `useIntlayer` को `useDictionaryDynamic` से बदलता है।
1035
- - "fetch": शब्दकोशों को लाइव सिंक API का उपयोग करके गतिशील रूप से प्राप्त किया जाता है। `useIntlayer` को `useDictionaryFetch` से बदलता है।
1036
- - _नोट_: डायनेमिक इम्पोर्ट्स Suspense पर निर्भर करते हैं और रेंडरिंग प्रदर्शन को थोड़ा प्रभावित कर सकते हैं।
1037
- - _नोट_: यदि अक्षम किया गया है, तो सभी लोकल एक साथ लोड होंगे, भले ही उनका उपयोग न किया जाए।
1038
- - _नोट_: यह विकल्प `@intlayer/babel` और `@intlayer/swc` प्लगइन्स पर निर्भर करता है।
1039
- - _नोट_: सुनिश्चित करें कि `useIntlayer` कॉल्स में सभी कुंजी स्थैतिक रूप से घोषित हों। उदाहरण के लिए `useIntlayer('navbar')`।
1040
- - _नोट_: यदि `optimize` अक्षम है, तो इस विकल्प को अनदेखा किया जाएगा।
1041
- - _नोट_: यदि इसे "live" पर सेट किया गया है, तो केवल वे शब्दकोश जो रिमोट सामग्री शामिल करते हैं, और जिन्हें "live" फ्लैग के रूप में सेट किया गया है, उन्हें लाइव मोड के रूप में परिवर्तित किया जाएगा। अन्य शब्दकोशों को "dynamic" मोड के रूप में गतिशील रूप से आयात किया जाएगा ताकि फ़ेच क्वेरी की संख्या और लोड प्रदर्शन का अनुकूलन किया जा सके।
1042
- - _नोट_: लाइव मोड शब्दकोशों को प्राप्त करने के लिए लाइव सिंक API का उपयोग करेगा। यदि API कॉल विफल हो जाती है, तो शब्दकोशों को "dynamic" मोड के रूप में गतिशील रूप से आयात किया जाएगा।
1043
- - _नोट_: यह विकल्प `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` और `useDictionaryDynamic` फ़ंक्शनों को प्रभावित नहीं करेगा।
1044
-
1045
1026
  - **outputFormat**:
1046
1027
  - _प्रकार_: `'esm' | 'cjs'`
1047
1028
  - _डिफ़ॉल्ट_: `'esm'`
@@ -344,7 +344,7 @@ Intlayer द्वारा उत्पन्न फ़ाइलों को
344
344
 
345
345
  ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
346
346
 
347
- ```plaintext
347
+ ```bash
348
348
  # Ignore the files generated by Intlayer
349
349
  .intlayer
350
350
  ```
@@ -397,8 +397,8 @@ Intlayer द्वारा उत्पन्न फ़ाइलों को
397
397
 
398
398
  ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
399
399
 
400
- ```plaintext
401
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
400
+ ```bash
401
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
402
402
  .intlayer
403
403
  ```
404
404
 
@@ -218,8 +218,8 @@ Intlayer टाइपस्क्रिप्ट के लाभ प्रा
218
218
 
219
219
  इसे करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
220
220
 
221
- ```plaintext
222
- # Intlayer द्वारा जनरेट की गई फाइलों को अनदेखा करें
221
+ ```bash
222
+ # Intlayer द्वारा जनरेट की गई फाइलों को अनदेखा करें
223
223
  .intlayer
224
224
  ```
225
225
 
@@ -511,8 +511,8 @@ Intlayer टाइप परिभाषाएँ एक छिपे हुए
511
511
 
512
512
  Intlayer द्वारा उत्पन्न ऑटो-जनरेटेड फ़ाइलों को कमिट करने से बचने के लिए, अपने `.gitignore` में निम्नलिखित जोड़ें:
513
513
 
514
- ```plaintext
515
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
514
+ ```bash
515
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
516
516
  .intlayer
517
517
  ```
518
518
 
@@ -622,8 +622,8 @@ Intlayer ऑटोकम्प्लीशन को बेहतर बना
622
622
 
623
623
  Intlayer द्वारा स्वचालित रूप से उत्पन्न फ़ाइलों को कमिट करने से बचने के लिए, अपनी `.gitignore` में निम्नलिखित जोड़ें:
624
624
 
625
- ```plaintext
626
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
625
+ ```bash
626
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
627
627
  .intlayer
628
628
  ```
629
629
 
@@ -1339,8 +1339,8 @@ Intlayer टाइपस्क्रिप्ट के लाभ प्रा
1339
1339
 
1340
1340
  ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
1341
1341
 
1342
- ```plaintext
1343
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
1342
+ ```bash
1343
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
1344
1344
  .intlayer
1345
1345
  ```
1346
1346
 
@@ -555,8 +555,8 @@ const MyComponent = () => {
555
555
 
556
556
  इसके लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
557
557
 
558
- ```plaintext
559
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
558
+ ```bash
559
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
560
560
  .intlayer
561
561
  ```
562
562
 
@@ -473,8 +473,8 @@ const changeLocale = (event: Event) => {
473
473
 
474
474
  ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
475
475
 
476
- ```plaintext
477
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
476
+ ```bash
477
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
478
478
  .intlayer
479
479
  ```
480
480
 
@@ -1045,8 +1045,8 @@ Intlayer द्वारा उत्पन्न फ़ाइलों को
1045
1045
 
1046
1046
  इसके लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
1047
1047
 
1048
- ```plaintext
1049
- # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
1048
+ ```bash
1049
+ # Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
1050
1050
  .intlayer
1051
1051
  ```
1052
1052