@intlayer/docs 8.3.0 → 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.
- package/blog/ar/i18n_using_next-i18next.md +1 -0
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +0 -29
- package/blog/uk/internationalization_and_SEO.md +1 -1
- package/docs/ar/compiler.md +84 -49
- package/docs/ar/configuration.md +82 -58
- package/docs/ar/intlayer_with_analog.md +2 -2
- package/docs/ar/intlayer_with_angular.md +2 -2
- package/docs/ar/intlayer_with_astro.md +2 -2
- package/docs/ar/intlayer_with_lynx+react.md +2 -2
- package/docs/ar/intlayer_with_nextjs_16.md +174 -1
- package/docs/ar/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +4 -7
- package/docs/ar/intlayer_with_react_native+expo.md +2 -2
- package/docs/ar/intlayer_with_react_router_v7.md +224 -1
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/ar/intlayer_with_svelte_kit.md +175 -2
- package/docs/ar/intlayer_with_tanstack.md +176 -1
- package/docs/ar/intlayer_with_vite+preact.md +176 -3
- package/docs/ar/intlayer_with_vite+react.md +174 -1
- package/docs/ar/intlayer_with_vite+solid.md +176 -3
- package/docs/ar/intlayer_with_vite+svelte.md +176 -3
- package/docs/ar/intlayer_with_vite+vue.md +178 -5
- package/docs/ar/vs_code_extension.md +1 -1
- package/docs/de/compiler.md +83 -48
- package/docs/de/configuration.md +417 -214
- package/docs/de/intlayer_with_analog.md +2 -2
- package/docs/de/intlayer_with_angular.md +2 -2
- package/docs/de/intlayer_with_astro.md +2 -2
- package/docs/de/intlayer_with_lynx+react.md +2 -2
- package/docs/de/intlayer_with_nextjs_16.md +176 -1
- package/docs/de/intlayer_with_nextjs_compiler.md +106 -349
- package/docs/de/intlayer_with_react_native+expo.md +2 -2
- package/docs/de/intlayer_with_react_router_v7.md +225 -2
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +221 -79
- package/docs/de/intlayer_with_svelte_kit.md +158 -2
- package/docs/de/intlayer_with_tanstack.md +159 -1
- package/docs/de/intlayer_with_vite+preact.md +159 -3
- package/docs/de/intlayer_with_vite+react.md +157 -1
- package/docs/de/intlayer_with_vite+solid.md +161 -5
- package/docs/de/intlayer_with_vite+svelte.md +159 -3
- package/docs/de/intlayer_with_vite+vue.md +159 -3
- package/docs/de/vs_code_extension.md +1 -1
- package/docs/en/compiler.md +60 -33
- package/docs/en/configuration.md +82 -77
- package/docs/en/intlayer_with_analog.md +1 -1
- package/docs/en/intlayer_with_angular.md +1 -1
- package/docs/en/intlayer_with_astro.md +1 -1
- package/docs/en/intlayer_with_lynx+react.md +1 -1
- package/docs/en/intlayer_with_nextjs_16.md +176 -0
- package/docs/en/intlayer_with_nextjs_compiler.md +179 -1
- package/docs/en/intlayer_with_react_native+expo.md +1 -1
- package/docs/en/intlayer_with_react_router_v7.md +159 -0
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +159 -0
- package/docs/en/intlayer_with_svelte_kit.md +159 -0
- package/docs/en/intlayer_with_tanstack.md +160 -1
- package/docs/en/intlayer_with_vite+preact.md +160 -1
- package/docs/en/intlayer_with_vite+react.md +159 -0
- package/docs/en/intlayer_with_vite+solid.md +149 -28
- package/docs/en/intlayer_with_vite+svelte.md +160 -1
- package/docs/en/intlayer_with_vite+vue.md +143 -42
- package/docs/en/vs_code_extension.md +1 -1
- package/docs/en-GB/compiler.md +66 -34
- package/docs/en-GB/configuration.md +80 -57
- package/docs/en-GB/intlayer_with_analog.md +1 -1
- package/docs/en-GB/intlayer_with_angular.md +1 -1
- package/docs/en-GB/intlayer_with_astro.md +1 -1
- package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
- package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
- package/docs/en-GB/intlayer_with_vite+react.md +1 -1
- package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
- package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
- package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
- package/docs/en-GB/vs_code_extension.md +1 -1
- package/docs/es/compiler.md +83 -48
- package/docs/es/configuration.md +412 -208
- package/docs/es/intlayer_with_adonisjs.md +1 -1
- package/docs/es/intlayer_with_analog.md +2 -2
- package/docs/es/intlayer_with_angular.md +2 -2
- package/docs/es/intlayer_with_astro.md +2 -2
- package/docs/es/intlayer_with_express.md +1 -1
- package/docs/es/intlayer_with_fastify.md +1 -1
- package/docs/es/intlayer_with_hono.md +1 -1
- package/docs/es/intlayer_with_lynx+react.md +2 -2
- package/docs/es/intlayer_with_nestjs.md +1 -1
- package/docs/es/intlayer_with_nextjs_16.md +176 -3
- package/docs/es/intlayer_with_nextjs_compiler.md +175 -2
- package/docs/es/intlayer_with_nuxt.md +1 -1
- package/docs/es/intlayer_with_react_native+expo.md +2 -2
- package/docs/es/intlayer_with_react_router_v7.md +227 -4
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +162 -4
- package/docs/es/intlayer_with_svelte_kit.md +158 -2
- package/docs/es/intlayer_with_tanstack.md +160 -2
- package/docs/es/intlayer_with_vite+preact.md +164 -8
- package/docs/es/intlayer_with_vite+react.md +160 -4
- package/docs/es/intlayer_with_vite+solid.md +165 -9
- package/docs/es/intlayer_with_vite+svelte.md +159 -3
- package/docs/es/intlayer_with_vite+vue.md +169 -13
- package/docs/es/vs_code_extension.md +1 -1
- package/docs/fr/compiler.md +81 -46
- package/docs/fr/configuration.md +351 -149
- package/docs/fr/intlayer_with_adonisjs.md +1 -1
- package/docs/fr/intlayer_with_analog.md +2 -2
- package/docs/fr/intlayer_with_angular.md +2 -2
- package/docs/fr/intlayer_with_astro.md +2 -2
- package/docs/fr/intlayer_with_express.md +1 -1
- package/docs/fr/intlayer_with_fastify.md +1 -1
- package/docs/fr/intlayer_with_hono.md +1 -1
- package/docs/fr/intlayer_with_lynx+react.md +2 -2
- package/docs/fr/intlayer_with_nestjs.md +1 -1
- package/docs/fr/intlayer_with_nextjs_16.md +183 -7
- package/docs/fr/intlayer_with_nextjs_compiler.md +179 -3
- package/docs/fr/intlayer_with_react_native+expo.md +2 -2
- package/docs/fr/intlayer_with_react_router_v7.md +229 -3
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +237 -6
- package/docs/fr/intlayer_with_svelte_kit.md +158 -2
- package/docs/fr/intlayer_with_tanstack.md +159 -1
- package/docs/fr/intlayer_with_vite+preact.md +166 -10
- package/docs/fr/intlayer_with_vite+react.md +163 -7
- package/docs/fr/intlayer_with_vite+solid.md +165 -9
- package/docs/fr/intlayer_with_vite+svelte.md +159 -3
- package/docs/fr/intlayer_with_vite+vue.md +168 -12
- package/docs/fr/vs_code_extension.md +1 -1
- package/docs/hi/compiler.md +81 -46
- package/docs/hi/configuration.md +89 -65
- package/docs/hi/intlayer_with_analog.md +1 -1
- package/docs/hi/intlayer_with_angular.md +2 -2
- package/docs/hi/intlayer_with_astro.md +2 -2
- package/docs/hi/intlayer_with_lynx+react.md +2 -2
- package/docs/hi/intlayer_with_nextjs_16.md +174 -1
- package/docs/hi/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/hi/intlayer_with_react_native+expo.md +2 -2
- package/docs/hi/intlayer_with_react_router_v7.md +224 -1
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/hi/intlayer_with_svelte_kit.md +158 -2
- package/docs/hi/intlayer_with_tanstack.md +159 -1
- package/docs/hi/intlayer_with_vite+preact.md +159 -3
- package/docs/hi/intlayer_with_vite+react.md +157 -1
- package/docs/hi/intlayer_with_vite+solid.md +159 -3
- package/docs/hi/intlayer_with_vite+svelte.md +159 -3
- package/docs/hi/intlayer_with_vite+vue.md +159 -3
- package/docs/hi/vs_code_extension.md +1 -1
- package/docs/id/compiler.md +84 -51
- package/docs/id/configuration.md +85 -65
- package/docs/id/intlayer_with_analog.md +2 -2
- package/docs/id/intlayer_with_angular.md +2 -2
- package/docs/id/intlayer_with_astro.md +2 -2
- package/docs/id/intlayer_with_lynx+react.md +2 -2
- package/docs/id/intlayer_with_nextjs_16.md +174 -1
- package/docs/id/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/id/intlayer_with_react_native+expo.md +2 -2
- package/docs/id/intlayer_with_react_router_v7.md +224 -1
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/id/intlayer_with_svelte_kit.md +158 -2
- package/docs/id/intlayer_with_tanstack.md +159 -1
- package/docs/id/intlayer_with_vite+preact.md +159 -3
- package/docs/id/intlayer_with_vite+react.md +159 -3
- package/docs/id/intlayer_with_vite+solid.md +159 -3
- package/docs/id/intlayer_with_vite+svelte.md +159 -3
- package/docs/id/intlayer_with_vite+vue.md +159 -3
- package/docs/id/vs_code_extension.md +1 -1
- package/docs/it/compiler.md +81 -46
- package/docs/it/configuration.md +410 -208
- package/docs/it/intlayer_with_analog.md +2 -2
- package/docs/it/intlayer_with_angular.md +2 -2
- package/docs/it/intlayer_with_astro.md +2 -2
- package/docs/it/intlayer_with_lynx+react.md +2 -2
- package/docs/it/intlayer_with_nextjs_16.md +174 -1
- package/docs/it/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/it/intlayer_with_react_native+expo.md +2 -2
- package/docs/it/intlayer_with_react_router_v7.md +225 -2
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +226 -2
- package/docs/it/intlayer_with_svelte_kit.md +158 -2
- package/docs/it/intlayer_with_tanstack.md +159 -1
- package/docs/it/intlayer_with_vite+preact.md +159 -3
- package/docs/it/intlayer_with_vite+react.md +159 -3
- package/docs/it/intlayer_with_vite+solid.md +161 -5
- package/docs/it/intlayer_with_vite+svelte.md +159 -3
- package/docs/it/intlayer_with_vite+vue.md +161 -5
- package/docs/it/vs_code_extension.md +1 -1
- package/docs/ja/compiler.md +94 -58
- package/docs/ja/configuration.md +90 -66
- package/docs/ja/intlayer_with_analog.md +2 -2
- package/docs/ja/intlayer_with_angular.md +2 -2
- package/docs/ja/intlayer_with_astro.md +2 -2
- package/docs/ja/intlayer_with_lynx+react.md +2 -2
- package/docs/ja/intlayer_with_nextjs_16.md +174 -1
- package/docs/ja/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/ja/intlayer_with_react_native+expo.md +2 -2
- package/docs/ja/intlayer_with_react_router_v7.md +184 -394
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +226 -2
- package/docs/ja/intlayer_with_svelte_kit.md +119 -595
- package/docs/ja/intlayer_with_tanstack.md +131 -642
- package/docs/ja/intlayer_with_vite+preact.md +111 -1231
- package/docs/ja/intlayer_with_vite+react.md +129 -1304
- package/docs/ja/intlayer_with_vite+solid.md +161 -5
- package/docs/ja/intlayer_with_vite+svelte.md +159 -3
- package/docs/ja/intlayer_with_vite+vue.md +159 -3
- package/docs/ja/vs_code_extension.md +1 -1
- package/docs/ko/compiler.md +88 -52
- package/docs/ko/configuration.md +89 -65
- package/docs/ko/intlayer_with_analog.md +2 -2
- package/docs/ko/intlayer_with_angular.md +2 -2
- package/docs/ko/intlayer_with_astro.md +2 -2
- package/docs/ko/intlayer_with_lynx+react.md +2 -2
- package/docs/ko/intlayer_with_nextjs_16.md +174 -1
- package/docs/ko/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/ko/intlayer_with_react_native+expo.md +2 -2
- package/docs/ko/intlayer_with_react_router_v7.md +225 -2
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +226 -2
- package/docs/ko/intlayer_with_svelte_kit.md +158 -2
- package/docs/ko/intlayer_with_tanstack.md +159 -1
- package/docs/ko/intlayer_with_vite+preact.md +159 -3
- package/docs/ko/intlayer_with_vite+react.md +157 -1
- package/docs/ko/intlayer_with_vite+solid.md +161 -5
- package/docs/ko/intlayer_with_vite+svelte.md +159 -3
- package/docs/ko/intlayer_with_vite+vue.md +159 -3
- package/docs/ko/vs_code_extension.md +1 -1
- package/docs/pl/compiler.md +84 -51
- package/docs/pl/configuration.md +85 -57
- package/docs/pl/intlayer_with_analog.md +2 -2
- package/docs/pl/intlayer_with_angular.md +2 -2
- package/docs/pl/intlayer_with_astro.md +2 -2
- package/docs/pl/intlayer_with_lynx+react.md +2 -2
- package/docs/pl/intlayer_with_nextjs_16.md +174 -1
- package/docs/pl/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/pl/intlayer_with_react_native+expo.md +2 -2
- package/docs/pl/intlayer_with_react_router_v7.md +224 -1
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/pl/intlayer_with_svelte_kit.md +158 -2
- package/docs/pl/intlayer_with_tanstack.md +159 -1
- package/docs/pl/intlayer_with_vite+preact.md +158 -2
- package/docs/pl/intlayer_with_vite+react.md +159 -3
- package/docs/pl/intlayer_with_vite+solid.md +159 -3
- package/docs/pl/intlayer_with_vite+svelte.md +159 -3
- package/docs/pl/intlayer_with_vite+vue.md +161 -5
- package/docs/pl/vs_code_extension.md +1 -1
- package/docs/pt/compiler.md +81 -46
- package/docs/pt/configuration.md +399 -199
- package/docs/pt/intlayer_with_analog.md +2 -2
- package/docs/pt/intlayer_with_angular.md +2 -2
- package/docs/pt/intlayer_with_astro.md +2 -2
- package/docs/pt/intlayer_with_lynx+react.md +2 -2
- package/docs/pt/intlayer_with_nextjs_16.md +174 -1
- package/docs/pt/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/pt/intlayer_with_react_native+expo.md +2 -2
- package/docs/pt/intlayer_with_react_router_v7.md +224 -1
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/pt/intlayer_with_svelte_kit.md +158 -2
- package/docs/pt/intlayer_with_tanstack.md +159 -1
- package/docs/pt/intlayer_with_vite+preact.md +158 -2
- package/docs/pt/intlayer_with_vite+react.md +157 -1
- package/docs/pt/intlayer_with_vite+solid.md +159 -3
- package/docs/pt/intlayer_with_vite+svelte.md +159 -3
- package/docs/pt/intlayer_with_vite+vue.md +159 -3
- package/docs/pt/vs_code_extension.md +1 -1
- package/docs/ru/compiler.md +90 -57
- package/docs/ru/configuration.md +78 -67
- package/docs/ru/intlayer_with_analog.md +2 -2
- package/docs/ru/intlayer_with_angular.md +2 -2
- package/docs/ru/intlayer_with_astro.md +2 -2
- package/docs/ru/intlayer_with_lynx+react.md +2 -2
- package/docs/ru/intlayer_with_nextjs_16.md +174 -1
- package/docs/ru/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/ru/intlayer_with_react_native+expo.md +2 -2
- package/docs/ru/intlayer_with_react_router_v7.md +224 -1
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/ru/intlayer_with_svelte_kit.md +158 -2
- package/docs/ru/intlayer_with_tanstack.md +159 -1
- package/docs/ru/intlayer_with_vite+preact.md +159 -3
- package/docs/ru/intlayer_with_vite+react.md +157 -1
- package/docs/ru/intlayer_with_vite+solid.md +159 -3
- package/docs/ru/intlayer_with_vite+svelte.md +159 -3
- package/docs/ru/intlayer_with_vite+vue.md +159 -3
- package/docs/ru/vs_code_extension.md +1 -1
- package/docs/tr/compiler.md +85 -52
- package/docs/tr/configuration.md +85 -61
- package/docs/tr/intlayer_with_analog.md +2 -2
- package/docs/tr/intlayer_with_angular.md +2 -2
- package/docs/tr/intlayer_with_astro.md +2 -2
- package/docs/tr/intlayer_with_lynx+react.md +2 -2
- package/docs/tr/intlayer_with_nextjs_16.md +174 -1
- package/docs/tr/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +6 -14
- package/docs/tr/intlayer_with_react_native+expo.md +2 -2
- package/docs/tr/intlayer_with_react_router_v7.md +224 -1
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/tr/intlayer_with_svelte_kit.md +158 -2
- package/docs/tr/intlayer_with_tanstack.md +159 -1
- package/docs/tr/intlayer_with_vite+preact.md +159 -3
- package/docs/tr/intlayer_with_vite+react.md +159 -3
- package/docs/tr/intlayer_with_vite+solid.md +159 -3
- package/docs/tr/intlayer_with_vite+svelte.md +159 -3
- package/docs/tr/intlayer_with_vite+vue.md +159 -3
- package/docs/tr/vs_code_extension.md +1 -1
- package/docs/uk/compiler.md +96 -61
- package/docs/uk/configuration.md +85 -57
- package/docs/uk/intlayer_with_analog.md +2 -2
- package/docs/uk/intlayer_with_angular.md +2 -2
- package/docs/uk/intlayer_with_astro.md +2 -2
- package/docs/uk/intlayer_with_lynx+react.md +2 -2
- package/docs/uk/intlayer_with_nextjs_16.md +174 -1
- package/docs/uk/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -22
- package/docs/uk/intlayer_with_react_native+expo.md +2 -2
- package/docs/uk/intlayer_with_react_router_v7.md +224 -1
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/uk/intlayer_with_svelte_kit.md +157 -1
- package/docs/uk/intlayer_with_tanstack.md +159 -1
- package/docs/uk/intlayer_with_vite+preact.md +159 -3
- package/docs/uk/intlayer_with_vite+react.md +157 -1
- package/docs/uk/intlayer_with_vite+solid.md +159 -3
- package/docs/uk/intlayer_with_vite+svelte.md +159 -3
- package/docs/uk/intlayer_with_vite+vue.md +159 -3
- package/docs/uk/vs_code_extension.md +1 -1
- package/docs/vi/compiler.md +85 -50
- package/docs/vi/configuration.md +87 -59
- package/docs/vi/intlayer_with_analog.md +2 -2
- package/docs/vi/intlayer_with_angular.md +2 -2
- package/docs/vi/intlayer_with_astro.md +2 -2
- package/docs/vi/intlayer_with_lynx+react.md +2 -2
- package/docs/vi/intlayer_with_nextjs_16.md +174 -1
- package/docs/vi/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/vi/intlayer_with_react_native+expo.md +2 -2
- package/docs/vi/intlayer_with_react_router_v7.md +224 -1
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +225 -1
- package/docs/vi/intlayer_with_svelte_kit.md +158 -2
- package/docs/vi/intlayer_with_tanstack.md +159 -1
- package/docs/vi/intlayer_with_vite+preact.md +159 -3
- package/docs/vi/intlayer_with_vite+react.md +159 -3
- package/docs/vi/intlayer_with_vite+solid.md +159 -3
- package/docs/vi/intlayer_with_vite+svelte.md +159 -3
- package/docs/vi/intlayer_with_vite+vue.md +159 -3
- package/docs/vi/vs_code_extension.md +1 -1
- package/docs/zh/compiler.md +84 -49
- package/docs/zh/configuration.md +82 -58
- package/docs/zh/intlayer_with_adonisjs.md +1 -1
- package/docs/zh/intlayer_with_analog.md +2 -2
- package/docs/zh/intlayer_with_angular.md +2 -2
- package/docs/zh/intlayer_with_astro.md +2 -2
- package/docs/zh/intlayer_with_express.md +1 -1
- package/docs/zh/intlayer_with_fastify.md +1 -1
- package/docs/zh/intlayer_with_hono.md +1 -1
- package/docs/zh/intlayer_with_lynx+react.md +2 -2
- package/docs/zh/intlayer_with_nestjs.md +1 -1
- package/docs/zh/intlayer_with_nextjs_16.md +174 -1
- package/docs/zh/intlayer_with_nextjs_compiler.md +174 -1
- package/docs/zh/intlayer_with_react_native+expo.md +2 -2
- package/docs/zh/intlayer_with_react_router_v7.md +227 -4
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +228 -4
- package/docs/zh/intlayer_with_svelte_kit.md +158 -2
- package/docs/zh/intlayer_with_tanstack.md +159 -1
- package/docs/zh/intlayer_with_vite+preact.md +161 -5
- package/docs/zh/intlayer_with_vite+react.md +157 -1
- package/docs/zh/intlayer_with_vite+solid.md +163 -7
- package/docs/zh/intlayer_with_vite+svelte.md +159 -3
- package/docs/zh/intlayer_with_vite+vue.md +162 -6
- package/docs/zh/vs_code_extension.md +2 -2
- package/package.json +8 -8
- package/docs/update_docs.py +0 -65
package/docs/en-GB/compiler.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-09-09
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-12
|
|
4
4
|
title: Intlayer Compiler | Automated Content Extraction for i18n
|
|
5
5
|
description: Automate your internationalisation process with the Intlayer Compiler. Extract content directly from your components for faster, more efficient i18n in Vite, Next.js, and more.
|
|
6
6
|
keywords:
|
|
@@ -149,59 +149,83 @@ This configuration ensures that content declared in your components is automatic
|
|
|
149
149
|
See complete tutorial: [Intlayer Compiler with Next.js](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_compiler.md)
|
|
150
150
|
|
|
151
151
|
</Tab>
|
|
152
|
+
</Tabs>
|
|
152
153
|
|
|
153
154
|
### Custom config
|
|
154
155
|
|
|
155
156
|
To customise the compiler behaviour, you can update the `intlayer.config.ts` file in the root of your project.
|
|
156
157
|
|
|
157
|
-
|
|
158
|
+
````ts fileName="intlayer.config.ts"
|
|
158
159
|
import { type IntlayerConfig, Locales } from "intlayer";
|
|
159
160
|
|
|
160
161
|
const config: IntlayerConfig = {
|
|
161
162
|
compiler: {
|
|
162
163
|
/**
|
|
164
|
+
* Indicates if the compiler should be enabled.
|
|
163
165
|
* Set to 'build-only' to skip the compiler during development and speed up start times.
|
|
164
166
|
*/
|
|
165
167
|
enabled: true,
|
|
166
168
|
|
|
167
169
|
/**
|
|
168
|
-
*
|
|
170
|
+
* Defines the output files path. Replaces `outputDir`.
|
|
171
|
+
*
|
|
172
|
+
* - Paths starting with `./` are resolved relatively to the component directory.
|
|
173
|
+
* - Paths starting with `/` are resolved relatively to the project root (`baseDir`).
|
|
174
|
+
*
|
|
175
|
+
* - Including the `{{locale}}` variable in the path will enable the generation of dictionaries separated by locale.
|
|
176
|
+
*
|
|
177
|
+
* Examples:
|
|
178
|
+
* ```ts
|
|
179
|
+
* {
|
|
180
|
+
* // Create multi-locale .content.ts files next to the component
|
|
181
|
+
* output: ({ fileName, extension }) => `./${fileName}${extension}`,
|
|
182
|
+
*
|
|
183
|
+
* // output: './{{fileName}}{{extension}}', // Equivalent using string template
|
|
184
|
+
* }
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* ```ts
|
|
188
|
+
* {
|
|
189
|
+
* // Create centralized JSON files by locale in the project root
|
|
190
|
+
* output: ({ key, locale }) => `/locales/${locale}/${key}.content.json`,
|
|
191
|
+
*
|
|
192
|
+
* // output: '/locales/{{locale}}/{{key}}.content.json', // Equivalent using string template
|
|
193
|
+
* }
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
196
|
+
* List of variables:
|
|
197
|
+
* - `fileName`: The file name.
|
|
198
|
+
* - `key`: The content key.
|
|
199
|
+
* - `locale`: The content locale.
|
|
200
|
+
* - `extension`: The file extension.
|
|
201
|
+
* - `componentFileName`: The component file name.
|
|
202
|
+
* - `componentExtension`: The component file extension.
|
|
203
|
+
* - `format`: The dictionary format.
|
|
204
|
+
* - `componentFormat`: The component dictionary format.
|
|
205
|
+
* - `componentDirPath`: The component directory path.
|
|
169
206
|
*/
|
|
170
|
-
|
|
171
|
-
"**/*.{js,ts,mjs,cjs,jsx,tsx,vue,svelte}",
|
|
172
|
-
"!**/node_modules/**",
|
|
173
|
-
],
|
|
207
|
+
output: ({ fileName, extension }) => `./${fileName}${extension}`,
|
|
174
208
|
|
|
175
209
|
/**
|
|
176
|
-
*
|
|
177
|
-
|
|
178
|
-
excludePattern: ["**/node_modules/**"],
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Output directory for the optimized dictionaries.
|
|
210
|
+
* Indicates if the components should be saved after being transformed.
|
|
211
|
+
* That way, the compiler can be run only once to transform the app, and then it can be removed.
|
|
182
212
|
*/
|
|
183
|
-
|
|
213
|
+
saveComponents: false,
|
|
184
214
|
|
|
185
215
|
/**
|
|
186
|
-
* Inset only content in generated file
|
|
216
|
+
* Inset only content in generated file. Useful for i18next or ICU MessageFormat JSON output per locale.
|
|
217
|
+
*
|
|
218
|
+
* - `output: ({ locale, key }) => `./locale/${locale}/${key}.json`,`
|
|
187
219
|
*/
|
|
188
220
|
noMetadata: false,
|
|
189
221
|
|
|
190
222
|
/**
|
|
191
223
|
* Dictionary key prefix
|
|
192
224
|
*/
|
|
193
|
-
dictionaryKeyPrefix: "", //
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Indicates if the components should be saved after being transformed.
|
|
197
|
-
* That way, the compiler can be run only once to transform the app, and then it can be removed.
|
|
198
|
-
*/
|
|
199
|
-
saveComponents: false,
|
|
225
|
+
dictionaryKeyPrefix: "", // Add an optional prefix for the extracted dictionary keys
|
|
200
226
|
},
|
|
201
227
|
};
|
|
202
|
-
|
|
203
|
-
export default config;
|
|
204
|
-
```
|
|
228
|
+
````
|
|
205
229
|
|
|
206
230
|
### Compiler Configuration Reference
|
|
207
231
|
|
|
@@ -211,34 +235,34 @@ The following properties can be configured in the `compiler` block of your `intl
|
|
|
211
235
|
- _Type_: `boolean | 'build-only'`
|
|
212
236
|
- _Default_: `true`
|
|
213
237
|
- _Description_: Indicates if the compiler should be enabled.
|
|
238
|
+
|
|
214
239
|
- **dictionaryKeyPrefix**:
|
|
215
240
|
- _Type_: `string`
|
|
216
|
-
- _Default_: `'
|
|
241
|
+
- _Default_: `''`
|
|
217
242
|
- _Description_: Prefix for the extracted dictionary keys.
|
|
243
|
+
|
|
218
244
|
- **transformPattern**:
|
|
219
245
|
- _Type_: `string | string[]`
|
|
220
246
|
- _Default_: `['**/*.{js,ts,mjs,cjs,jsx,tsx,vue,svelte}', '!**/node_modules/**']`
|
|
221
|
-
- _Description_: Patterns to traverse the code to
|
|
247
|
+
- _Description_: (Deprecated: use `build.traversePattern` instead) Patterns to traverse the code to optimise.
|
|
248
|
+
|
|
222
249
|
- **excludePattern**:
|
|
223
250
|
- _Type_: `string | string[]`
|
|
224
251
|
- _Default_: `['**/node_modules/**']`
|
|
225
|
-
- _Description_: Patterns to exclude from the
|
|
226
|
-
- **outputDir** (Deprecated):
|
|
227
|
-
- _Type_: `string`
|
|
228
|
-
- _Default_: `'compiler'`
|
|
229
|
-
- _Description_: The directory where the extracted dictionaries will be stored.
|
|
252
|
+
- _Description_: (Deprecated: use `build.traversePattern` instead) Patterns to exclude from the optimisation.
|
|
230
253
|
|
|
231
254
|
- **output**:
|
|
232
255
|
- _Type_: `FilePathPattern`
|
|
233
256
|
- _Default_: `({ key }) => 'compiler/${key}.content.json'`
|
|
234
257
|
- _Description_: Defines the output files path. Replaces `outputDir`. Handles dynamic variables like `{{locale}}`, `{{key}}`, `{{fileName}}`, `{{extension}}`, `{{format}}`, `{{dirPath}}`, `{{componentFileName}}`, `{{componentExtension}}`, `{{componentFormat}}`. Can be set as a string using `'my/{{var}}/path'` format, or as a function.
|
|
235
258
|
- _Note_: `./**/*` Path are resolved relatively to the component. `/**/*` path are resolved relatively to the Intlayer `baseDir`.
|
|
259
|
+
- _Note_: If the locale is defined in the path, the dictionaries will be generated by locale.
|
|
236
260
|
- _Example_: `output: ({ locale, key }) => 'compiler/${locale}/${key}.json'`
|
|
237
261
|
|
|
238
262
|
- **noMetadata**:
|
|
239
263
|
- _Type_: `boolean`
|
|
240
264
|
- _Default_: `false`
|
|
241
|
-
- _Description_: Indicates if the metadata should be saved in the file. If true, the compiler will not save the metadata of the dictionaries (key, content wrapper).
|
|
265
|
+
- _Description_: Indicates if the metadata should be saved in the file. If true, the compiler will not save the metadata of the dictionaries (key, content wrapper). Useful for per-locale i18next or ICU MessageFormat JSON outputs.
|
|
242
266
|
- _Note_: Useful if used with `loadJSON` plugin.
|
|
243
267
|
- _Example_:
|
|
244
268
|
If `true`:
|
|
@@ -274,4 +298,12 @@ npx intlayer test # Test if there is missing translations
|
|
|
274
298
|
npx intlayer fill # Fill missing translations
|
|
275
299
|
```
|
|
276
300
|
|
|
277
|
-
|
|
301
|
+
### Extraction
|
|
302
|
+
|
|
303
|
+
Intlayer provides a CLI tool to extract content from your code. You can use the `intlayer extract` command to extract the content from your code.
|
|
304
|
+
|
|
305
|
+
```bash
|
|
306
|
+
npx intlayer extract
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
> For more details, refer to the [CLI documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/index.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-12
|
|
4
4
|
title: Configuration
|
|
5
5
|
description: Learn how to configure Intlayer for your application. Understand the various settings and options available to customise Intlayer to your needs.
|
|
6
6
|
keywords:
|
|
@@ -15,7 +15,7 @@ slugs:
|
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
17
|
- version: 8.3.0
|
|
18
|
-
|
|
18
|
+
date: 2026-03-11
|
|
19
19
|
changes: Move 'baseDir' from 'content' to 'system' config
|
|
20
20
|
- version: 8.2.0
|
|
21
21
|
date: 2026-03-09
|
|
@@ -92,7 +92,7 @@ Intlayer accepts JSON, JS, MJS, and TS configuration file formats:
|
|
|
92
92
|
|
|
93
93
|
## Example config file
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
````typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
96
96
|
import { Locales, type IntlayerConfig } from "intlayer";
|
|
97
97
|
import { nextjsRewrite } from "intlayer/routing";
|
|
98
98
|
import { z } from "zod";
|
|
@@ -190,7 +190,7 @@ const config: IntlayerConfig = {
|
|
|
190
190
|
* Options: 'cookie', 'localStorage', 'sessionStorage', 'header', or an array of these.
|
|
191
191
|
* Default: ['cookie', 'header']
|
|
192
192
|
*/
|
|
193
|
-
storage: "cookie",
|
|
193
|
+
storage: ["cookie", "header"],
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* Base path for the application URLs.
|
|
@@ -256,13 +256,13 @@ const config: IntlayerConfig = {
|
|
|
256
256
|
editor: {
|
|
257
257
|
/**
|
|
258
258
|
* Whether the visual editor is enabled.
|
|
259
|
-
* Default:
|
|
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
|
|
|
@@ -327,6 +327,17 @@ const config: IntlayerConfig = {
|
|
|
327
327
|
* Base URL for the AI API.
|
|
328
328
|
*/
|
|
329
329
|
baseURL: "http://localhost:3000",
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Data serialisation
|
|
333
|
+
*
|
|
334
|
+
* Options:
|
|
335
|
+
* - "json": Standard, reliable; uses more tokens.
|
|
336
|
+
* - "toon": Fewer tokens, less consistent than JSON.
|
|
337
|
+
*
|
|
338
|
+
* Default: "json"
|
|
339
|
+
*/
|
|
340
|
+
dataSerialization: "json",
|
|
330
341
|
},
|
|
331
342
|
|
|
332
343
|
/**
|
|
@@ -426,42 +437,70 @@ const config: IntlayerConfig = {
|
|
|
426
437
|
compiler: {
|
|
427
438
|
/**
|
|
428
439
|
* Indicates if the compiler should be enabled.
|
|
440
|
+
*
|
|
441
|
+
* - false : Disables the compiler.
|
|
442
|
+
* - true : Enables the compiler.
|
|
443
|
+
* - "build-only" : Skips the compiler during development to speed up start times.
|
|
444
|
+
*
|
|
445
|
+
* Default: false
|
|
429
446
|
*/
|
|
430
447
|
enabled: true,
|
|
431
448
|
|
|
432
449
|
/**
|
|
433
|
-
*
|
|
450
|
+
* Defines the output files path. Replaces `outputDir`.
|
|
451
|
+
*
|
|
452
|
+
* - Paths starting with `./` are resolved relatively to the component directory.
|
|
453
|
+
* - Paths starting with `/` are resolved relatively to the project root (`baseDir`).
|
|
454
|
+
*
|
|
455
|
+
* - Including the `{{locale}}` variable in the path will trigger the generation of separate dictionaries per locale.
|
|
456
|
+
*
|
|
457
|
+
* Examples:
|
|
458
|
+
* ```ts
|
|
459
|
+
* {
|
|
460
|
+
* // Create multi-locale .content.ts files next to the component
|
|
461
|
+
* output: ({ fileName, extension }) => `./${fileName}${extension}`,
|
|
462
|
+
*
|
|
463
|
+
* // output: './{{fileName}}{{extension}}', // Equivalent using a string template
|
|
464
|
+
* }
|
|
465
|
+
* ```
|
|
466
|
+
*
|
|
467
|
+
* ```ts
|
|
468
|
+
* {
|
|
469
|
+
* // Create centralised JSON files by locale in the project root
|
|
470
|
+
* output: ({ key, locale }) => `/locales/${locale}/${key}.content.json`,
|
|
471
|
+
*
|
|
472
|
+
* // output: '/locales/{{locale}}/{{key}}.content.json', // Equivalent using a string template
|
|
473
|
+
* }
|
|
474
|
+
* ```
|
|
475
|
+
*
|
|
476
|
+
* List of variables:
|
|
477
|
+
* - `fileName`: The file name.
|
|
478
|
+
* - `key`: The content key.
|
|
479
|
+
* - `locale`: The content locale.
|
|
480
|
+
* - `extension`: The file extension.
|
|
481
|
+
* - `componentFileName`: The component file name.
|
|
482
|
+
* - `componentExtension`: The component file extension.
|
|
483
|
+
* - `format`: The dictionary format.
|
|
484
|
+
* - `componentFormat`: The component dictionary format.
|
|
485
|
+
* - `componentDirPath`: The component directory path.
|
|
434
486
|
*/
|
|
435
|
-
|
|
436
|
-
"**/*.{js,ts,mjs,cjs,jsx,tsx,vue,svelte}",
|
|
437
|
-
"!**/node_modules/**",
|
|
438
|
-
],
|
|
487
|
+
output: ({ locale, key }) => `compiler/${locale}/${key}.json`,
|
|
439
488
|
|
|
440
489
|
/**
|
|
441
|
-
*
|
|
442
|
-
|
|
443
|
-
excludePattern: ["**/node_modules/**"],
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Output directory for the optimized dictionaries.
|
|
490
|
+
* Indicates if the components should be saved after being transformed.
|
|
491
|
+
* That way, the compiler can be run only once to transform the app, and then it can be removed.
|
|
447
492
|
*/
|
|
448
|
-
|
|
493
|
+
saveComponents: false,
|
|
449
494
|
|
|
450
495
|
/**
|
|
451
|
-
*
|
|
496
|
+
* Insert only content into the generated file. Useful for per-locale i18next or ICU MessageFormat JSON outputs.
|
|
452
497
|
*/
|
|
453
498
|
noMetadata: false,
|
|
454
499
|
|
|
455
500
|
/**
|
|
456
501
|
* Dictionary key prefix
|
|
457
502
|
*/
|
|
458
|
-
dictionaryKeyPrefix: "", //
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Indicates if the components should be saved after being transformed.
|
|
462
|
-
* That way, the compiler can be run only once to transform the app, and then it can be removed.
|
|
463
|
-
*/
|
|
464
|
-
saveComponents: false,
|
|
503
|
+
dictionaryKeyPrefix: "", // Add optional prefix for the extracted dictionary keys
|
|
465
504
|
},
|
|
466
505
|
|
|
467
506
|
/**
|
|
@@ -480,7 +519,7 @@ const config: IntlayerConfig = {
|
|
|
480
519
|
};
|
|
481
520
|
|
|
482
521
|
export default config;
|
|
483
|
-
|
|
522
|
+
````
|
|
484
523
|
|
|
485
524
|
## Configuration Reference
|
|
486
525
|
|
|
@@ -994,25 +1033,6 @@ Build options apply to the `@intlayer/babel` and `@intlayer/swc` plugins.
|
|
|
994
1033
|
- _Note_: This option relies on the `@intlayer/babel` and `@intlayer/swc` plugins.
|
|
995
1034
|
- _Note_: Ensure all keys are declared statically in the `useIntlayer` calls. e.g. `useIntlayer('navbar')`.
|
|
996
1035
|
|
|
997
|
-
- **importMode**:
|
|
998
|
-
- _Note_: **Deprecated**: Use `dictionary.importMode` instead.
|
|
999
|
-
- _Type_: `'static' | 'dynamic' | 'fetch'`
|
|
1000
|
-
- _Default_: `'static'`
|
|
1001
|
-
- _Description_: Controls how dictionaries are imported.
|
|
1002
|
-
- _Example_: `'dynamic'`
|
|
1003
|
-
- _Note_: Available modes:
|
|
1004
|
-
- "static": Dictionaries are imported statically. Replaces `useIntlayer` with `useDictionary`.
|
|
1005
|
-
- "dynamic": Dictionaries are imported dynamically using Suspense. Replaces `useIntlayer` with `useDictionaryDynamic`.
|
|
1006
|
-
- "fetch": Dictionaries are fetched dynamically using the live sync API. Replaces `useIntlayer` with `useDictionaryFetch`.
|
|
1007
|
-
- _Note_: Dynamic imports rely on Suspense and may slightly affect rendering performance.
|
|
1008
|
-
- _Note_: If disabled, all locales will be loaded at once, even if they are not used.
|
|
1009
|
-
- _Note_: This option relies on the `@intlayer/babel` and `@intlayer/swc` plugins.
|
|
1010
|
-
- _Note_: Ensure all keys are declared statically in the `useIntlayer` calls, e.g. `useIntlayer('navbar')`.
|
|
1011
|
-
- _Note_: This option will be ignored if `optimize` is disabled.
|
|
1012
|
-
- _Note_: If set to "fetch", only the dictionaries that include remote content and are flagged as "live" will be transformed into fetch mode. Others will be imported dynamically as "dynamic" mode to optimise the number of fetch queries and load performance.
|
|
1013
|
-
- _Note_: Fetch mode will use the live sync API to fetch the dictionaries. If the API call fails, the dictionaries will be imported dynamically as "dynamic" mode.
|
|
1014
|
-
- _Note_: This option will not affect the `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` and `useDictionaryDynamic` functions.
|
|
1015
|
-
|
|
1016
1036
|
- **outputFormat**:
|
|
1017
1037
|
- _Type_: `'esm' | 'cjs'`
|
|
1018
1038
|
- _Default_: `'esm'`
|
|
@@ -1046,7 +1066,7 @@ Settings that control the Intlayer compiler, which extracts dictionaries straigh
|
|
|
1046
1066
|
|
|
1047
1067
|
- **dictionaryKeyPrefix**:
|
|
1048
1068
|
- _Type_: `string`
|
|
1049
|
-
- _Default_: `'
|
|
1069
|
+
- _Default_: `''`
|
|
1050
1070
|
- _Description_: Prefix for the extracted dictionary keys.
|
|
1051
1071
|
- _Example_: `'my-key-'`
|
|
1052
1072
|
- _Note_: When dictionaries are extracted, the key is generated based on the file name. This prefix is added to the generated key to prevent conflicts.
|
|
@@ -1070,22 +1090,25 @@ Settings that control the Intlayer compiler, which extracts dictionaries straigh
|
|
|
1070
1090
|
- _Description_: Patterns that define which files should be excluded during optimisation.
|
|
1071
1091
|
- _Example_: `['**/node_modules/**', '!**/node_modules/react/**']`
|
|
1072
1092
|
|
|
1073
|
-
- **outputDir**:
|
|
1074
|
-
- _Type_: `string`
|
|
1075
|
-
- _Default_: `'compiler'`
|
|
1076
|
-
- _Description_: The directory where the extracted dictionaries will be stored, relative to your project base path.
|
|
1077
|
-
|
|
1078
1093
|
- **output**:
|
|
1079
1094
|
- _Type_: `FilePathPattern`
|
|
1080
|
-
- _Default_: `
|
|
1081
|
-
- _Description_: Defines the output files path. Replaces `outputDir`.
|
|
1082
|
-
- _Note_:
|
|
1083
|
-
-
|
|
1095
|
+
- _Default_: `undefined`
|
|
1096
|
+
- _Description_: Defines the output files path. Replaces `outputDir`. Supports dynamic variables via a template string or a function. Supported variables: `{{fileName}}`, `{{key}}`, `{{locale}}`, `{{extension}}`, `{{componentFileName}}`, `{{componentExtension}}`, `{{format}}`, `{{componentFormat}}`, `{{componentDirPath}}`.
|
|
1097
|
+
- _Note_: Paths starting with `./` are resolved relatively to the component directory. Paths starting with `/` are resolved relatively to the project root (`baseDir`).
|
|
1098
|
+
- _Note_: Including the `{{locale}}` variable in the path will enable the generation of separate dictionaries per locale.
|
|
1099
|
+
- _Example_:
|
|
1100
|
+
- **Create multi-locale files next to the component**:
|
|
1101
|
+
- String: `'./{{fileName}}{{extension}}'`
|
|
1102
|
+
- Function: `({ fileName, extension }) => \`./${fileName}${extension}\``
|
|
1103
|
+
|
|
1104
|
+
- **Output centralised JSON files per locale**:
|
|
1105
|
+
- String: `'/locales/{{locale}}/{{key}}.content.json'`
|
|
1106
|
+
- Function: `({ key, locale }) => \`/locales/${locale}/${key}.content.json\``
|
|
1084
1107
|
|
|
1085
1108
|
- **noMetadata**:
|
|
1086
1109
|
- _Type_: `boolean`
|
|
1087
1110
|
- _Default_: `false`
|
|
1088
|
-
- _Description_: Indicates if the metadata should be saved in the file. If true, the compiler will not save the metadata of the dictionaries (key, content wrapper).
|
|
1111
|
+
- _Description_: Indicates if the metadata should be saved in the file. If true, the compiler will not save the metadata of the dictionaries (key, content wrapper). Useful for per-locale i18next or ICU MessageFormat JSON outputs.
|
|
1089
1112
|
- _Note_: Useful if used with `loadJSON` plugin.
|
|
1090
1113
|
- _Example_:
|
|
1091
1114
|
If `true`:
|
|
@@ -342,7 +342,7 @@ It is recommended to ignore the files generated by Intlayer. This allows you to
|
|
|
342
342
|
|
|
343
343
|
To do this, you can add the following instructions to your `.gitignore` file:
|
|
344
344
|
|
|
345
|
-
```
|
|
345
|
+
```bash
|
|
346
346
|
# Ignore the files generated by Intlayer
|
|
347
347
|
.intlayer
|
|
348
348
|
```
|
|
@@ -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
|
-
```
|
|
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
|
-
```
|
|
221
|
+
```bash
|
|
222
222
|
# Ignore the files generated by Intlayer
|
|
223
223
|
.intlayer
|
|
224
224
|
```
|
|
@@ -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
|
-
```
|
|
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
|
-
```
|
|
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
|
-
```
|
|
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
|
-
```
|
|
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
|
-
```
|
|
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
|
-
```
|
|
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
|
|
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.
|