@intlayer/docs 9.5.5 → 9.5.6
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/README.md +0 -1
- package/blog/ar/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/de/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/en/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/en-GB/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/es/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/fr/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/hi/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/id/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/it/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ja/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ko/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/pl/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/pt/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ru/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/tr/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/uk/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/vi/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/zh/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/docs/ar/intlayer_with_astro.md +19 -32
- package/docs/ar/intlayer_with_astro_lit.md +32 -36
- package/docs/ar/intlayer_with_astro_preact.md +32 -36
- package/docs/ar/intlayer_with_astro_react.md +32 -36
- package/docs/ar/intlayer_with_astro_solid.md +32 -36
- package/docs/ar/intlayer_with_astro_svelte.md +32 -36
- package/docs/ar/intlayer_with_astro_vue.md +32 -36
- package/docs/ar/intlayer_with_react_router_v7.md +12 -1
- package/docs/ar/intlayer_with_solid_start.md +14 -7
- package/docs/ar/intlayer_with_svelte_kit.md +12 -1
- package/docs/ar/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ar/intlayer_with_tanstack.md +13 -6
- package/docs/ar/intlayer_with_vite+lit.md +75 -3
- package/docs/ar/intlayer_with_vite+preact.md +27 -19
- package/docs/ar/intlayer_with_vite+react.md +27 -19
- package/docs/ar/intlayer_with_vite+solid.md +27 -19
- package/docs/ar/intlayer_with_vite+svelte.md +27 -19
- package/docs/ar/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ar/intlayer_with_vite+vue.md +27 -19
- package/docs/ar/introduction.md +0 -1
- package/docs/ar/readme.md +0 -1
- package/docs/ar/releases/v8.md +1 -5
- package/docs/bn/intlayer_with_vite+lit.md +75 -3
- package/docs/bn/intlayer_with_vite+vanilla.md +16 -3
- package/docs/bn/introduction.md +0 -1
- package/docs/cs/intlayer_with_vite+lit.md +75 -3
- package/docs/cs/intlayer_with_vite+vanilla.md +16 -3
- package/docs/cs/introduction.md +0 -1
- package/docs/de/intlayer_with_astro.md +12 -25
- package/docs/de/intlayer_with_astro_lit.md +23 -27
- package/docs/de/intlayer_with_astro_preact.md +23 -27
- package/docs/de/intlayer_with_astro_react.md +23 -27
- package/docs/de/intlayer_with_astro_solid.md +23 -27
- package/docs/de/intlayer_with_astro_svelte.md +23 -27
- package/docs/de/intlayer_with_astro_vue.md +23 -27
- package/docs/de/intlayer_with_react_router_v7.md +12 -1
- package/docs/de/intlayer_with_solid_start.md +14 -7
- package/docs/de/intlayer_with_svelte_kit.md +12 -1
- package/docs/de/intlayer_with_tanstack+solid.md +13 -2
- package/docs/de/intlayer_with_tanstack.md +13 -6
- package/docs/de/intlayer_with_vite+lit.md +75 -3
- package/docs/de/intlayer_with_vite+preact.md +16 -3
- package/docs/de/intlayer_with_vite+react.md +16 -3
- package/docs/de/intlayer_with_vite+solid.md +16 -3
- package/docs/de/intlayer_with_vite+svelte.md +16 -3
- package/docs/de/intlayer_with_vite+vanilla.md +16 -3
- package/docs/de/intlayer_with_vite+vue.md +16 -3
- package/docs/de/introduction.md +0 -1
- package/docs/de/readme.md +0 -1
- package/docs/de/releases/v8.md +1 -5
- package/docs/en/intlayer_with_astro.md +5 -20
- package/docs/en/intlayer_with_astro_lit.md +22 -26
- package/docs/en/intlayer_with_astro_preact.md +22 -26
- package/docs/en/intlayer_with_astro_react.md +22 -26
- package/docs/en/intlayer_with_astro_solid.md +22 -26
- package/docs/en/intlayer_with_astro_svelte.md +22 -26
- package/docs/en/intlayer_with_astro_vanilla.md +20 -13
- package/docs/en/intlayer_with_astro_vue.md +22 -26
- package/docs/en/intlayer_with_react_router_v7.md +12 -1
- package/docs/en/intlayer_with_solid_start.md +14 -7
- package/docs/en/intlayer_with_svelte_kit.md +12 -1
- package/docs/en/intlayer_with_tanstack+solid.md +13 -2
- package/docs/en/intlayer_with_tanstack.md +12 -5
- package/docs/en/intlayer_with_vite+lit.md +75 -3
- package/docs/en/intlayer_with_vite+preact.md +16 -3
- package/docs/en/intlayer_with_vite+react.md +16 -3
- package/docs/en/intlayer_with_vite+solid.md +16 -3
- package/docs/en/intlayer_with_vite+svelte.md +16 -3
- package/docs/en/intlayer_with_vite+vanilla.md +16 -3
- package/docs/en/intlayer_with_vite+vue.md +16 -3
- package/docs/en/introduction.md +0 -1
- package/docs/en/readme.md +0 -1
- package/docs/en/releases/v8.md +1 -5
- package/docs/en-GB/intlayer_with_astro.md +12 -25
- package/docs/en-GB/intlayer_with_astro_lit.md +23 -27
- package/docs/en-GB/intlayer_with_astro_preact.md +23 -27
- package/docs/en-GB/intlayer_with_astro_react.md +23 -27
- package/docs/en-GB/intlayer_with_astro_solid.md +23 -27
- package/docs/en-GB/intlayer_with_astro_svelte.md +23 -27
- package/docs/en-GB/intlayer_with_astro_vue.md +23 -27
- package/docs/en-GB/intlayer_with_react_router_v7.md +12 -1
- package/docs/en-GB/intlayer_with_solid_start.md +14 -7
- package/docs/en-GB/intlayer_with_svelte_kit.md +12 -1
- package/docs/en-GB/intlayer_with_tanstack+solid.md +13 -2
- package/docs/en-GB/intlayer_with_tanstack.md +13 -6
- package/docs/en-GB/intlayer_with_vite+lit.md +75 -3
- package/docs/en-GB/intlayer_with_vite+preact.md +16 -3
- package/docs/en-GB/intlayer_with_vite+react.md +16 -3
- package/docs/en-GB/intlayer_with_vite+solid.md +25 -15
- package/docs/en-GB/intlayer_with_vite+svelte.md +16 -3
- package/docs/en-GB/intlayer_with_vite+vanilla.md +16 -3
- package/docs/en-GB/intlayer_with_vite+vue.md +16 -3
- package/docs/en-GB/introduction.md +0 -1
- package/docs/en-GB/readme.md +0 -1
- package/docs/en-GB/releases/v8.md +1 -5
- package/docs/es/intlayer_with_astro.md +12 -25
- package/docs/es/intlayer_with_astro_lit.md +23 -27
- package/docs/es/intlayer_with_astro_preact.md +23 -27
- package/docs/es/intlayer_with_astro_react.md +23 -27
- package/docs/es/intlayer_with_astro_solid.md +23 -27
- package/docs/es/intlayer_with_astro_svelte.md +23 -27
- package/docs/es/intlayer_with_astro_vue.md +23 -27
- package/docs/es/intlayer_with_react_router_v7.md +12 -1
- package/docs/es/intlayer_with_solid_start.md +14 -7
- package/docs/es/intlayer_with_svelte_kit.md +12 -1
- package/docs/es/intlayer_with_tanstack+solid.md +13 -2
- package/docs/es/intlayer_with_tanstack.md +13 -6
- package/docs/es/intlayer_with_vite+lit.md +75 -3
- package/docs/es/intlayer_with_vite+preact.md +16 -3
- package/docs/es/intlayer_with_vite+react.md +16 -3
- package/docs/es/intlayer_with_vite+solid.md +16 -3
- package/docs/es/intlayer_with_vite+svelte.md +16 -3
- package/docs/es/intlayer_with_vite+vanilla.md +16 -3
- package/docs/es/intlayer_with_vite+vue.md +16 -3
- package/docs/es/introduction.md +0 -1
- package/docs/es/readme.md +0 -1
- package/docs/es/releases/v8.md +1 -5
- package/docs/fr/intlayer_with_astro.md +13 -26
- package/docs/fr/intlayer_with_astro_lit.md +24 -28
- package/docs/fr/intlayer_with_astro_preact.md +24 -28
- package/docs/fr/intlayer_with_astro_react.md +24 -28
- package/docs/fr/intlayer_with_astro_solid.md +24 -28
- package/docs/fr/intlayer_with_astro_svelte.md +24 -28
- package/docs/fr/intlayer_with_astro_vue.md +24 -28
- package/docs/fr/intlayer_with_react_router_v7.md +15 -4
- package/docs/fr/intlayer_with_solid_start.md +14 -7
- package/docs/fr/intlayer_with_svelte_kit.md +15 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +15 -4
- package/docs/fr/intlayer_with_tanstack.md +13 -6
- package/docs/fr/intlayer_with_vite+lit.md +75 -3
- package/docs/fr/intlayer_with_vite+preact.md +19 -6
- package/docs/fr/intlayer_with_vite+react.md +19 -6
- package/docs/fr/intlayer_with_vite+solid.md +19 -6
- package/docs/fr/intlayer_with_vite+svelte.md +19 -6
- package/docs/fr/intlayer_with_vite+vanilla.md +19 -6
- package/docs/fr/intlayer_with_vite+vue.md +19 -6
- package/docs/fr/introduction.md +0 -1
- package/docs/fr/readme.md +0 -1
- package/docs/fr/releases/v8.md +1 -5
- package/docs/hi/intlayer_with_astro.md +15 -31
- package/docs/hi/intlayer_with_astro_lit.md +26 -33
- package/docs/hi/intlayer_with_astro_preact.md +26 -33
- package/docs/hi/intlayer_with_astro_react.md +26 -33
- package/docs/hi/intlayer_with_astro_solid.md +26 -33
- package/docs/hi/intlayer_with_astro_svelte.md +26 -33
- package/docs/hi/intlayer_with_astro_vue.md +26 -33
- package/docs/hi/intlayer_with_react_router_v7.md +20 -12
- package/docs/hi/intlayer_with_solid_start.md +14 -7
- package/docs/hi/intlayer_with_svelte_kit.md +20 -12
- package/docs/hi/intlayer_with_tanstack+solid.md +13 -2
- package/docs/hi/intlayer_with_tanstack.md +21 -17
- package/docs/hi/intlayer_with_vite+lit.md +75 -3
- package/docs/hi/intlayer_with_vite+preact.md +24 -14
- package/docs/hi/intlayer_with_vite+react.md +24 -14
- package/docs/hi/intlayer_with_vite+solid.md +24 -14
- package/docs/hi/intlayer_with_vite+svelte.md +24 -14
- package/docs/hi/intlayer_with_vite+vanilla.md +16 -3
- package/docs/hi/intlayer_with_vite+vue.md +24 -14
- package/docs/hi/introduction.md +0 -1
- package/docs/hi/readme.md +0 -1
- package/docs/hi/releases/v8.md +1 -5
- package/docs/id/intlayer_with_astro.md +12 -25
- package/docs/id/intlayer_with_astro_lit.md +23 -27
- package/docs/id/intlayer_with_astro_preact.md +23 -27
- package/docs/id/intlayer_with_astro_react.md +23 -27
- package/docs/id/intlayer_with_astro_solid.md +23 -27
- package/docs/id/intlayer_with_astro_svelte.md +23 -27
- package/docs/id/intlayer_with_astro_vue.md +23 -27
- package/docs/id/intlayer_with_react_router_v7.md +12 -1
- package/docs/id/intlayer_with_solid_start.md +14 -7
- package/docs/id/intlayer_with_svelte_kit.md +12 -1
- package/docs/id/intlayer_with_tanstack+solid.md +13 -2
- package/docs/id/intlayer_with_tanstack.md +13 -6
- package/docs/id/intlayer_with_vite+lit.md +75 -3
- package/docs/id/intlayer_with_vite+preact.md +16 -3
- package/docs/id/intlayer_with_vite+react.md +16 -3
- package/docs/id/intlayer_with_vite+solid.md +16 -3
- package/docs/id/intlayer_with_vite+svelte.md +16 -3
- package/docs/id/intlayer_with_vite+vanilla.md +16 -3
- package/docs/id/intlayer_with_vite+vue.md +16 -3
- package/docs/id/introduction.md +0 -1
- package/docs/id/readme.md +0 -1
- package/docs/id/releases/v8.md +1 -5
- package/docs/it/intlayer_with_astro.md +12 -25
- package/docs/it/intlayer_with_astro_lit.md +23 -27
- package/docs/it/intlayer_with_astro_preact.md +23 -27
- package/docs/it/intlayer_with_astro_react.md +23 -27
- package/docs/it/intlayer_with_astro_solid.md +23 -27
- package/docs/it/intlayer_with_astro_svelte.md +23 -27
- package/docs/it/intlayer_with_astro_vue.md +23 -27
- package/docs/it/intlayer_with_react_router_v7.md +12 -1
- package/docs/it/intlayer_with_solid_start.md +14 -7
- package/docs/it/intlayer_with_svelte_kit.md +12 -1
- package/docs/it/intlayer_with_tanstack+solid.md +13 -2
- package/docs/it/intlayer_with_tanstack.md +13 -6
- package/docs/it/intlayer_with_vite+lit.md +75 -3
- package/docs/it/intlayer_with_vite+preact.md +16 -3
- package/docs/it/intlayer_with_vite+react.md +16 -3
- package/docs/it/intlayer_with_vite+solid.md +16 -3
- package/docs/it/intlayer_with_vite+svelte.md +16 -3
- package/docs/it/intlayer_with_vite+vanilla.md +16 -3
- package/docs/it/intlayer_with_vite+vue.md +16 -3
- package/docs/it/introduction.md +0 -1
- package/docs/it/readme.md +0 -1
- package/docs/it/releases/v8.md +1 -5
- package/docs/ja/intlayer_with_astro.md +12 -25
- package/docs/ja/intlayer_with_astro_lit.md +23 -27
- package/docs/ja/intlayer_with_astro_preact.md +23 -27
- package/docs/ja/intlayer_with_astro_react.md +23 -27
- package/docs/ja/intlayer_with_astro_solid.md +23 -27
- package/docs/ja/intlayer_with_astro_svelte.md +23 -27
- package/docs/ja/intlayer_with_astro_vue.md +23 -27
- package/docs/ja/intlayer_with_react_router_v7.md +12 -1
- package/docs/ja/intlayer_with_solid_start.md +14 -7
- package/docs/ja/intlayer_with_svelte_kit.md +21 -15
- package/docs/ja/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ja/intlayer_with_tanstack.md +13 -6
- package/docs/ja/intlayer_with_vite+lit.md +75 -3
- package/docs/ja/intlayer_with_vite+preact.md +16 -3
- package/docs/ja/intlayer_with_vite+react.md +16 -3
- package/docs/ja/intlayer_with_vite+solid.md +16 -3
- package/docs/ja/intlayer_with_vite+svelte.md +16 -3
- package/docs/ja/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ja/intlayer_with_vite+vue.md +16 -3
- package/docs/ja/introduction.md +0 -1
- package/docs/ja/readme.md +0 -1
- package/docs/ja/releases/v8.md +1 -5
- package/docs/ko/intlayer_with_astro.md +6 -21
- package/docs/ko/intlayer_with_astro_lit.md +23 -27
- package/docs/ko/intlayer_with_astro_preact.md +23 -27
- package/docs/ko/intlayer_with_astro_react.md +23 -27
- package/docs/ko/intlayer_with_astro_solid.md +23 -27
- package/docs/ko/intlayer_with_astro_svelte.md +23 -27
- package/docs/ko/intlayer_with_astro_vue.md +23 -27
- package/docs/ko/intlayer_with_react_router_v7.md +12 -1
- package/docs/ko/intlayer_with_solid_start.md +14 -7
- package/docs/ko/intlayer_with_svelte_kit.md +12 -1
- package/docs/ko/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ko/intlayer_with_tanstack.md +13 -6
- package/docs/ko/intlayer_with_vite+lit.md +75 -3
- package/docs/ko/intlayer_with_vite+preact.md +16 -3
- package/docs/ko/intlayer_with_vite+react.md +16 -3
- package/docs/ko/intlayer_with_vite+solid.md +26 -16
- package/docs/ko/intlayer_with_vite+svelte.md +16 -3
- package/docs/ko/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ko/intlayer_with_vite+vue.md +16 -3
- package/docs/ko/introduction.md +0 -1
- package/docs/ko/readme.md +0 -1
- package/docs/ko/releases/v8.md +1 -5
- package/docs/nl/intlayer_with_vite+lit.md +75 -3
- package/docs/nl/intlayer_with_vite+vanilla.md +16 -3
- package/docs/nl/introduction.md +0 -1
- package/docs/pl/intlayer_with_astro.md +6 -21
- package/docs/pl/intlayer_with_astro_lit.md +23 -27
- package/docs/pl/intlayer_with_astro_preact.md +23 -27
- package/docs/pl/intlayer_with_astro_react.md +23 -27
- package/docs/pl/intlayer_with_astro_solid.md +23 -27
- package/docs/pl/intlayer_with_astro_svelte.md +23 -27
- package/docs/pl/intlayer_with_astro_vue.md +23 -27
- package/docs/pl/intlayer_with_react_router_v7.md +12 -1
- package/docs/pl/intlayer_with_solid_start.md +14 -7
- package/docs/pl/intlayer_with_svelte_kit.md +12 -1
- package/docs/pl/intlayer_with_tanstack+solid.md +13 -2
- package/docs/pl/intlayer_with_tanstack.md +13 -6
- package/docs/pl/intlayer_with_vite+lit.md +75 -3
- package/docs/pl/intlayer_with_vite+preact.md +16 -3
- package/docs/pl/intlayer_with_vite+react.md +16 -3
- package/docs/pl/intlayer_with_vite+solid.md +16 -3
- package/docs/pl/intlayer_with_vite+svelte.md +16 -3
- package/docs/pl/intlayer_with_vite+vanilla.md +16 -3
- package/docs/pl/intlayer_with_vite+vue.md +16 -3
- package/docs/pl/introduction.md +0 -1
- package/docs/pl/readme.md +0 -1
- package/docs/pl/releases/v8.md +1 -5
- package/docs/pt/intlayer_with_astro.md +6 -21
- package/docs/pt/intlayer_with_astro_lit.md +23 -27
- package/docs/pt/intlayer_with_astro_preact.md +23 -27
- package/docs/pt/intlayer_with_astro_react.md +23 -27
- package/docs/pt/intlayer_with_astro_solid.md +23 -27
- package/docs/pt/intlayer_with_astro_svelte.md +23 -27
- package/docs/pt/intlayer_with_astro_vue.md +23 -27
- package/docs/pt/intlayer_with_react_router_v7.md +12 -1
- package/docs/pt/intlayer_with_solid_start.md +14 -7
- package/docs/pt/intlayer_with_svelte_kit.md +12 -1
- package/docs/pt/intlayer_with_tanstack+solid.md +13 -2
- package/docs/pt/intlayer_with_tanstack.md +13 -6
- package/docs/pt/intlayer_with_vite+lit.md +75 -3
- package/docs/pt/intlayer_with_vite+preact.md +16 -3
- package/docs/pt/intlayer_with_vite+react.md +16 -3
- package/docs/pt/intlayer_with_vite+solid.md +16 -3
- package/docs/pt/intlayer_with_vite+svelte.md +16 -3
- package/docs/pt/intlayer_with_vite+vanilla.md +16 -3
- package/docs/pt/intlayer_with_vite+vue.md +16 -3
- package/docs/pt/introduction.md +0 -1
- package/docs/pt/readme.md +0 -1
- package/docs/pt/releases/v8.md +1 -5
- package/docs/ru/intlayer_with_astro.md +12 -25
- package/docs/ru/intlayer_with_astro_lit.md +23 -27
- package/docs/ru/intlayer_with_astro_preact.md +23 -27
- package/docs/ru/intlayer_with_astro_react.md +23 -27
- package/docs/ru/intlayer_with_astro_solid.md +23 -27
- package/docs/ru/intlayer_with_astro_svelte.md +23 -27
- package/docs/ru/intlayer_with_astro_vue.md +23 -27
- package/docs/ru/intlayer_with_react_router_v7.md +12 -1
- package/docs/ru/intlayer_with_solid_start.md +14 -7
- package/docs/ru/intlayer_with_svelte_kit.md +12 -1
- package/docs/ru/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ru/intlayer_with_tanstack.md +13 -6
- package/docs/ru/intlayer_with_vite+lit.md +75 -3
- package/docs/ru/intlayer_with_vite+preact.md +16 -3
- package/docs/ru/intlayer_with_vite+react.md +16 -3
- package/docs/ru/intlayer_with_vite+solid.md +16 -3
- package/docs/ru/intlayer_with_vite+svelte.md +16 -3
- package/docs/ru/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ru/intlayer_with_vite+vue.md +16 -3
- package/docs/ru/introduction.md +0 -1
- package/docs/ru/readme.md +0 -1
- package/docs/ru/releases/v8.md +1 -5
- package/docs/tr/intlayer_with_astro.md +12 -25
- package/docs/tr/intlayer_with_astro_lit.md +24 -28
- package/docs/tr/intlayer_with_astro_preact.md +24 -28
- package/docs/tr/intlayer_with_astro_react.md +24 -28
- package/docs/tr/intlayer_with_astro_solid.md +24 -28
- package/docs/tr/intlayer_with_astro_svelte.md +24 -28
- package/docs/tr/intlayer_with_astro_vue.md +24 -28
- package/docs/tr/intlayer_with_react_router_v7.md +12 -1
- package/docs/tr/intlayer_with_solid_start.md +14 -7
- package/docs/tr/intlayer_with_svelte_kit.md +12 -1
- package/docs/tr/intlayer_with_tanstack+solid.md +13 -2
- package/docs/tr/intlayer_with_tanstack.md +13 -6
- package/docs/tr/intlayer_with_vite+lit.md +75 -3
- package/docs/tr/intlayer_with_vite+preact.md +16 -3
- package/docs/tr/intlayer_with_vite+react.md +16 -3
- package/docs/tr/intlayer_with_vite+solid.md +16 -3
- package/docs/tr/intlayer_with_vite+svelte.md +16 -3
- package/docs/tr/intlayer_with_vite+vanilla.md +16 -3
- package/docs/tr/intlayer_with_vite+vue.md +16 -3
- package/docs/tr/introduction.md +0 -1
- package/docs/tr/readme.md +0 -1
- package/docs/tr/releases/v8.md +1 -5
- package/docs/uk/intlayer_with_astro.md +12 -25
- package/docs/uk/intlayer_with_astro_lit.md +23 -27
- package/docs/uk/intlayer_with_astro_preact.md +23 -27
- package/docs/uk/intlayer_with_astro_react.md +23 -27
- package/docs/uk/intlayer_with_astro_solid.md +23 -27
- package/docs/uk/intlayer_with_astro_svelte.md +23 -27
- package/docs/uk/intlayer_with_astro_vue.md +23 -27
- package/docs/uk/intlayer_with_react_router_v7.md +12 -1
- package/docs/uk/intlayer_with_solid_start.md +14 -7
- package/docs/uk/intlayer_with_svelte_kit.md +12 -1
- package/docs/uk/intlayer_with_tanstack+solid.md +13 -2
- package/docs/uk/intlayer_with_tanstack.md +13 -6
- package/docs/uk/intlayer_with_vite+lit.md +75 -3
- package/docs/uk/intlayer_with_vite+preact.md +16 -3
- package/docs/uk/intlayer_with_vite+react.md +16 -3
- package/docs/uk/intlayer_with_vite+solid.md +16 -3
- package/docs/uk/intlayer_with_vite+svelte.md +16 -3
- package/docs/uk/intlayer_with_vite+vanilla.md +16 -3
- package/docs/uk/intlayer_with_vite+vue.md +16 -3
- package/docs/uk/introduction.md +0 -1
- package/docs/uk/readme.md +0 -1
- package/docs/uk/releases/v8.md +1 -5
- package/docs/ur/intlayer_with_vite+lit.md +75 -3
- package/docs/ur/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ur/introduction.md +0 -1
- package/docs/vi/intlayer_with_astro.md +12 -25
- package/docs/vi/intlayer_with_astro_lit.md +23 -27
- package/docs/vi/intlayer_with_astro_preact.md +23 -27
- package/docs/vi/intlayer_with_astro_react.md +23 -27
- package/docs/vi/intlayer_with_astro_solid.md +23 -27
- package/docs/vi/intlayer_with_astro_svelte.md +23 -27
- package/docs/vi/intlayer_with_astro_vue.md +23 -27
- package/docs/vi/intlayer_with_react_router_v7.md +12 -1
- package/docs/vi/intlayer_with_solid_start.md +14 -7
- package/docs/vi/intlayer_with_svelte_kit.md +12 -1
- package/docs/vi/intlayer_with_tanstack+solid.md +13 -2
- package/docs/vi/intlayer_with_tanstack.md +13 -6
- package/docs/vi/intlayer_with_vite+lit.md +75 -3
- package/docs/vi/intlayer_with_vite+preact.md +16 -3
- package/docs/vi/intlayer_with_vite+react.md +16 -3
- package/docs/vi/intlayer_with_vite+solid.md +16 -3
- package/docs/vi/intlayer_with_vite+svelte.md +16 -3
- package/docs/vi/intlayer_with_vite+vanilla.md +16 -3
- package/docs/vi/intlayer_with_vite+vue.md +16 -3
- package/docs/vi/introduction.md +0 -1
- package/docs/vi/readme.md +0 -1
- package/docs/vi/releases/v8.md +1 -5
- package/docs/zh/intlayer_with_astro.md +6 -21
- package/docs/zh/intlayer_with_astro_lit.md +23 -27
- package/docs/zh/intlayer_with_astro_preact.md +23 -27
- package/docs/zh/intlayer_with_astro_react.md +23 -27
- package/docs/zh/intlayer_with_astro_solid.md +23 -27
- package/docs/zh/intlayer_with_astro_svelte.md +23 -27
- package/docs/zh/intlayer_with_astro_vue.md +23 -27
- package/docs/zh/intlayer_with_react_router_v7.md +12 -1
- package/docs/zh/intlayer_with_solid_start.md +14 -7
- package/docs/zh/intlayer_with_svelte_kit.md +12 -1
- package/docs/zh/intlayer_with_tanstack+solid.md +13 -2
- package/docs/zh/intlayer_with_tanstack.md +13 -6
- package/docs/zh/intlayer_with_vite+lit.md +75 -3
- package/docs/zh/intlayer_with_vite+preact.md +16 -3
- package/docs/zh/intlayer_with_vite+react.md +16 -3
- package/docs/zh/intlayer_with_vite+solid.md +16 -3
- package/docs/zh/intlayer_with_vite+svelte.md +16 -3
- package/docs/zh/intlayer_with_vite+vanilla.md +16 -3
- package/docs/zh/intlayer_with_vite+vue.md +16 -3
- package/docs/zh/introduction.md +0 -1
- package/docs/zh/readme.md +0 -1
- package/docs/zh/releases/v8.md +1 -5
- package/docs/zh-TW/introduction.md +0 -1
- package/package.json +6 -6
- package/docs/ar/intlayer_with_astro_vanilla.md +0 -709
- package/docs/de/intlayer_with_astro_vanilla.md +0 -705
- package/docs/en-GB/intlayer_with_astro_vanilla.md +0 -709
- package/docs/es/intlayer_with_astro_vanilla.md +0 -701
- package/docs/fr/intlayer_with_astro_vanilla.md +0 -701
- package/docs/hi/intlayer_with_astro_vanilla.md +0 -720
- package/docs/id/intlayer_with_astro_vanilla.md +0 -705
- package/docs/it/intlayer_with_astro_vanilla.md +0 -705
- package/docs/ja/intlayer_with_astro_vanilla.md +0 -708
- package/docs/ko/intlayer_with_astro_vanilla.md +0 -720
- package/docs/pl/intlayer_with_astro_vanilla.md +0 -705
- package/docs/pt/intlayer_with_astro_vanilla.md +0 -705
- package/docs/ru/intlayer_with_astro_vanilla.md +0 -716
- package/docs/tr/intlayer_with_astro_vanilla.md +0 -705
- package/docs/uk/intlayer_with_astro_vanilla.md +0 -705
- package/docs/vi/intlayer_with_astro_vanilla.md +0 -705
- package/docs/zh/intlayer_with_astro_vanilla.md +0 -704
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-19
|
|
4
4
|
title: "Astro + Vanilla JS i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) Astro + Vanilla JS app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
applicationTemplate: https://github.com/aymericzip/intlayer-astro-template
|
|
20
20
|
applicationShowcase: https://intlayer-astro-template.vercel.app
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.5.5
|
|
23
|
+
date: 2026-09-19
|
|
24
|
+
changes: "Use the useIntlayer / useLocale hooks of astro-intlayer in the Astro page"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "Update Solid useIntlayer API usage to direct property access"
|
|
@@ -150,7 +153,7 @@ bun add intlayer astro-intlayer vanilla-intlayer
|
|
|
150
153
|
The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
|
|
151
154
|
|
|
152
155
|
- **astro-intlayer**
|
|
153
|
-
Includes the Astro integration plugin for integrating Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production),
|
|
156
|
+
Includes the Astro integration plugin for integrating Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), a middleware that resolves the locale of every request into `Astro.locals.intlayer`, and the `useIntlayer` / `useDictionary` / `useLocale` hooks. The same import path resolves to the server implementation in your `.astro` frontmatter and to the client one (backed by `vanilla-intlayer`) in `<script>` blocks.
|
|
154
157
|
|
|
155
158
|
- **vanilla-intlayer**
|
|
156
159
|
The package that integrates Intlayer with plain JavaScript / TypeScript applications. It provides a pub/sub singleton (`IntlayerClient`) and callback-based helpers (`useIntlayer`, `useLocale`, etc.) so any part of your Astro `<script>` blocks can react to locale changes without a UI framework.
|
|
@@ -238,22 +241,21 @@ export default appContent;
|
|
|
238
241
|
</Step>
|
|
239
242
|
<Step number={5} title="Use your content in Astro">
|
|
240
243
|
|
|
241
|
-
With Vanilla JS, all rendering is done directly in the `.astro` file using `
|
|
244
|
+
With Vanilla JS, all rendering is done directly in the `.astro` file using the `useIntlayer` and `useLocale` hooks of `astro-intlayer` for the initial server render. A `<script>` block then bootstraps `vanilla-intlayer` on the client side for locale switching.
|
|
245
|
+
|
|
246
|
+
The locale comes from the `astro-intlayer` middleware, which the integration registers for you ahead of your own `src/middleware.ts`. It resolves it for every request — from the URL prefix, then the locale persisted by the client (cookie or header), then `Accept-Language` — and stores it in `Astro.locals.intlayer`. Prerendered pages only use the URL, since they are rendered once for every visitor.
|
|
242
247
|
|
|
243
248
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
244
249
|
---
|
|
250
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
245
251
|
import {
|
|
246
|
-
getIntlayer,
|
|
247
|
-
getLocaleFromPath,
|
|
248
252
|
getLocalizedUrl,
|
|
249
253
|
getPrefix,
|
|
250
254
|
getLocaleName,
|
|
251
255
|
localeMap,
|
|
252
|
-
locales,
|
|
253
256
|
defaultLocale,
|
|
254
257
|
getPathWithoutLocale,
|
|
255
258
|
getHTMLTextDir,
|
|
256
|
-
type LocalesValues,
|
|
257
259
|
} from "intlayer";
|
|
258
260
|
|
|
259
261
|
export const getStaticPaths = () => {
|
|
@@ -262,9 +264,12 @@ export const getStaticPaths = () => {
|
|
|
262
264
|
}));
|
|
263
265
|
};
|
|
264
266
|
|
|
265
|
-
|
|
267
|
+
// Locale resolved by the middleware (e.g. /es/about -> 'es')
|
|
268
|
+
const { locale, availableLocales } = useLocale();
|
|
266
269
|
const pathWithoutLocale = getPathWithoutLocale(Astro.url.pathname);
|
|
267
|
-
|
|
270
|
+
|
|
271
|
+
// Content of the 'app' dictionary for that locale
|
|
272
|
+
const { greeting, description, switchLocale } = useIntlayer("app");
|
|
268
273
|
---
|
|
269
274
|
|
|
270
275
|
<!doctype html>
|
|
@@ -313,7 +318,7 @@ const { greeting, description, switchLocale } = getIntlayer("app", locale);
|
|
|
313
318
|
<span class="switcher-label">{switchLocale}</span>
|
|
314
319
|
<div class="locale-buttons">
|
|
315
320
|
{
|
|
316
|
-
|
|
321
|
+
availableLocales.map((localeItem) => (
|
|
317
322
|
<a
|
|
318
323
|
href={localeItem === locale ? undefined : getLocalizedUrl(pathWithoutLocale, localeItem)}
|
|
319
324
|
class={`locale-btn ${localeItem === locale ? "active" : ""}`}
|
|
@@ -339,6 +344,8 @@ const { greeting, description, switchLocale } = getIntlayer("app", locale);
|
|
|
339
344
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
340
345
|
> ```
|
|
341
346
|
|
|
347
|
+
> `Astro.locals.intlayer` also exposes `locale`, `defaultLocale` and `availableLocales` to your own middleware and endpoints. Pass a locale or a selector as second argument (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`) to override the request locale for one call.
|
|
348
|
+
|
|
342
349
|
> **Note on Routing Configuration:**
|
|
343
350
|
> The directory structure you use depends on the `middleware.routing` setting in your `intlayer.config.ts`:
|
|
344
351
|
>
|
|
@@ -410,10 +417,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
410
417
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
411
418
|
];
|
|
412
419
|
|
|
413
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
414
|
-
|
|
415
420
|
export const GET: APIRoute = async ({ site }) => {
|
|
416
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
421
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
422
|
+
siteUrl: "https://example.com",
|
|
423
|
+
});
|
|
417
424
|
|
|
418
425
|
return new Response(xmlOutput, {
|
|
419
426
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + Vue i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) Astro + Vue app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
applicationTemplate: https://github.com/aymericzip/intlayer-astro-template
|
|
20
20
|
applicationShowcase: https://intlayer-astro-template.vercel.app
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.5.5
|
|
23
|
+
date: 2026-09-19
|
|
24
|
+
changes: "Use the useIntlayer / useLocale hooks of astro-intlayer in the Astro page"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "Update Solid useIntlayer API usage to direct property access"
|
|
@@ -150,7 +153,7 @@ bun add intlayer astro-intlayer vue vue-intlayer @astrojs/vue
|
|
|
150
153
|
The core package that provides internationalization tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/dictionary/content_file.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md).
|
|
151
154
|
|
|
152
155
|
- **astro-intlayer**
|
|
153
|
-
Includes the Astro integration plugin for integrating Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production),
|
|
156
|
+
Includes the Astro integration plugin for integrating Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), a middleware that resolves the locale of every request into `Astro.locals.intlayer`, and the `useIntlayer` / `useDictionary` / `useLocale` hooks. The same import path resolves to the server implementation in your `.astro` frontmatter and to the client one (backed by `vanilla-intlayer`) in `<script>` blocks.
|
|
154
157
|
|
|
155
158
|
- **vue**
|
|
156
159
|
The core Vue package.
|
|
@@ -237,19 +240,21 @@ export default appContent;
|
|
|
237
240
|
</Step>
|
|
238
241
|
<Step number={5} title="Use your content in Astro">
|
|
239
242
|
|
|
240
|
-
|
|
243
|
+
Consume your dictionaries in `.astro` files with the hooks exported by `astro-intlayer`. They share the signatures of the framework bindings: `useIntlayer("key")` returns the content of a dictionary and `useLocale()` the current locale, with no argument to pass around.
|
|
244
|
+
|
|
245
|
+
The locale comes from the `astro-intlayer` middleware, which the integration registers for you ahead of your own `src/middleware.ts`. It resolves it for every request, from the URL prefix, then the locale persisted by the client (cookie or header), then `Accept-Language`, and stores it in `Astro.locals.intlayer`. Prerendered pages only use the URL, since they are rendered once for every visitor.
|
|
246
|
+
|
|
247
|
+
You should also add SEO metadata like hreflang and canonical links to each page, and embed the Vue island for interactive client-side content.
|
|
241
248
|
|
|
242
249
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
243
250
|
---
|
|
251
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
244
252
|
import {
|
|
245
|
-
getIntlayer,
|
|
246
|
-
getLocaleFromPath,
|
|
247
253
|
getLocalizedUrl,
|
|
248
254
|
getPrefix,
|
|
249
255
|
localeMap,
|
|
250
256
|
defaultLocale,
|
|
251
257
|
getHTMLTextDir,
|
|
252
|
-
type LocalesValues,
|
|
253
258
|
} from "intlayer";
|
|
254
259
|
import VueIsland from "../../components/vue/VueIsland.vue";
|
|
255
260
|
|
|
@@ -259,8 +264,11 @@ export const getStaticPaths = () => {
|
|
|
259
264
|
}));
|
|
260
265
|
};
|
|
261
266
|
|
|
262
|
-
|
|
263
|
-
const {
|
|
267
|
+
// Locale resolved by the middleware (e.g. /es/about -> 'es')
|
|
268
|
+
const { locale } = useLocale();
|
|
269
|
+
|
|
270
|
+
// Content of the 'app' dictionary for that locale
|
|
271
|
+
const { title } = useIntlayer("app");
|
|
264
272
|
---
|
|
265
273
|
|
|
266
274
|
<!doctype html>
|
|
@@ -308,6 +316,8 @@ const { title } = getIntlayer("app", locale);
|
|
|
308
316
|
</html>
|
|
309
317
|
```
|
|
310
318
|
|
|
319
|
+
> `Astro.locals.intlayer` also exposes `locale`, `defaultLocale` and `availableLocales` to your own middleware and endpoints. Pass a locale or a selector as second argument (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`) to override the request locale for one call.
|
|
320
|
+
|
|
311
321
|
> **Note on Routing Configuration:**
|
|
312
322
|
> The directory structure you use depends on the `middleware.routing` setting in your `intlayer.config.ts`:
|
|
313
323
|
>
|
|
@@ -446,10 +456,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
446
456
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
447
457
|
];
|
|
448
458
|
|
|
449
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
450
|
-
|
|
451
459
|
export const GET: APIRoute = async ({ site }) => {
|
|
452
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
460
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
461
|
+
siteUrl: "https://example.com",
|
|
462
|
+
});
|
|
453
463
|
|
|
454
464
|
return new Response(xmlOutput, {
|
|
455
465
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -553,21 +563,7 @@ bun x intlayer extract
|
|
|
553
563
|
</Tab>
|
|
554
564
|
<Tab value='Babel compiler'>
|
|
555
565
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
559
|
-
|
|
560
|
-
```ts fileName="vite.config.ts"
|
|
561
|
-
import { defineConfig } from "vite";
|
|
562
|
-
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
563
|
-
|
|
564
|
-
export default defineConfig({
|
|
565
|
-
plugins: [
|
|
566
|
-
intlayer(),
|
|
567
|
-
intlayerCompiler(), // Adds the compiler plugin
|
|
568
|
-
],
|
|
569
|
-
});
|
|
570
|
-
```
|
|
566
|
+
Build your application to transform your components and extract the content
|
|
571
567
|
|
|
572
568
|
```bash packageManager="npm"
|
|
573
569
|
npm run build # Or npm run dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-09-04
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "React Router v7 i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) React Router v7 app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -889,8 +889,14 @@ bun x intlayer extract
|
|
|
889
889
|
</Tab>
|
|
890
890
|
<Tab value='Babel compiler'>
|
|
891
891
|
|
|
892
|
+
<Tabs>
|
|
893
|
+
<Tab value='intlayer >= 9'>
|
|
894
|
+
|
|
892
895
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
893
896
|
|
|
897
|
+
</Tab>
|
|
898
|
+
<Tab value='intlayer < 9'>
|
|
899
|
+
|
|
894
900
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
895
901
|
|
|
896
902
|
```ts fileName="vite.config.ts"
|
|
@@ -905,6 +911,11 @@ export default defineConfig({
|
|
|
905
911
|
});
|
|
906
912
|
```
|
|
907
913
|
|
|
914
|
+
</Tab>
|
|
915
|
+
</Tabs>
|
|
916
|
+
|
|
917
|
+
Build your application to transform your components and extract the content
|
|
918
|
+
|
|
908
919
|
```bash packageManager="npm"
|
|
909
920
|
npm run build # Or npm run dev
|
|
910
921
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-08-06
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Solid Start i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) SolidStart app. Server-rendered locale routing, hreflang, sitemap, and AI-assisted translation."
|
|
6
6
|
keywords:
|
|
@@ -749,15 +749,13 @@ SolidStart turns a file exporting an HTTP method into an API route, and strips t
|
|
|
749
749
|
import type { APIEvent } from "@solidjs/start/server";
|
|
750
750
|
import { generateSitemap } from "intlayer";
|
|
751
751
|
|
|
752
|
-
const SITE_URL = process.env.SITE_URL ?? "http://localhost:3000";
|
|
753
|
-
|
|
754
752
|
export const GET = (_event: APIEvent) => {
|
|
755
753
|
const sitemap = generateSitemap(
|
|
756
754
|
[
|
|
757
755
|
{ path: "/", changefreq: "daily", priority: 1.0 },
|
|
758
756
|
{ path: "/about", changefreq: "monthly", priority: 0.8 },
|
|
759
757
|
],
|
|
760
|
-
{ siteUrl:
|
|
758
|
+
{ siteUrl: "https://example.com" }
|
|
761
759
|
);
|
|
762
760
|
|
|
763
761
|
return new Response(sitemap, {
|
|
@@ -791,8 +789,6 @@ You can build a `robots.txt` the same way with `getMultilingualUrls`, so that `D
|
|
|
791
789
|
```typescript fileName="src/routes/robots.txt.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
792
790
|
import { getMultilingualUrls } from "intlayer";
|
|
793
791
|
|
|
794
|
-
const SITE_URL = process.env.SITE_URL ?? "http://localhost:3000";
|
|
795
|
-
|
|
796
792
|
const disallowedPaths = ["/admin", "/private"].flatMap((path) =>
|
|
797
793
|
Object.values(getMultilingualUrls(path))
|
|
798
794
|
);
|
|
@@ -804,7 +800,7 @@ export const GET = () =>
|
|
|
804
800
|
"Allow: /",
|
|
805
801
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
806
802
|
"",
|
|
807
|
-
`Sitemap:
|
|
803
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
808
804
|
].join("\n"),
|
|
809
805
|
{ headers: { "Content-Type": "text/plain" } }
|
|
810
806
|
);
|
|
@@ -923,8 +919,14 @@ bun x intlayer extract
|
|
|
923
919
|
</Tab>
|
|
924
920
|
<Tab value='Babel compiler'>
|
|
925
921
|
|
|
922
|
+
<Tabs>
|
|
923
|
+
<Tab value='intlayer >= 9'>
|
|
924
|
+
|
|
926
925
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
927
926
|
|
|
927
|
+
</Tab>
|
|
928
|
+
<Tab value='intlayer < 9'>
|
|
929
|
+
|
|
928
930
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
929
931
|
|
|
930
932
|
```ts fileName="vite.config.ts"
|
|
@@ -943,6 +945,11 @@ export default defineConfig({
|
|
|
943
945
|
});
|
|
944
946
|
```
|
|
945
947
|
|
|
948
|
+
</Tab>
|
|
949
|
+
</Tabs>
|
|
950
|
+
|
|
951
|
+
Build your application to transform your components and extract the content
|
|
952
|
+
|
|
946
953
|
```bash packageManager="npm"
|
|
947
954
|
npm run build # Or npm run dev
|
|
948
955
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-11-20
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "SvelteKit i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) SvelteKit app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -711,8 +711,14 @@ bun x intlayer extract
|
|
|
711
711
|
</Tab>
|
|
712
712
|
<Tab value='Babel compiler'>
|
|
713
713
|
|
|
714
|
+
<Tabs>
|
|
715
|
+
<Tab value='intlayer >= 9'>
|
|
716
|
+
|
|
714
717
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
715
718
|
|
|
719
|
+
</Tab>
|
|
720
|
+
<Tab value='intlayer < 9'>
|
|
721
|
+
|
|
716
722
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
717
723
|
|
|
718
724
|
```ts fileName="vite.config.ts"
|
|
@@ -727,6 +733,11 @@ export default defineConfig({
|
|
|
727
733
|
});
|
|
728
734
|
```
|
|
729
735
|
|
|
736
|
+
</Tab>
|
|
737
|
+
</Tabs>
|
|
738
|
+
|
|
739
|
+
Build your application to transform your components and extract the content
|
|
740
|
+
|
|
730
741
|
```bash packageManager="npm"
|
|
731
742
|
npm run build # Or npm run dev
|
|
732
743
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-03-25
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "TanStack Start + Solid i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) TanStack Start + Solid app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -992,8 +992,14 @@ bun x intlayer extract
|
|
|
992
992
|
</Tab>
|
|
993
993
|
<Tab value='Babel compiler'>
|
|
994
994
|
|
|
995
|
+
<Tabs>
|
|
996
|
+
<Tab value='intlayer >= 9'>
|
|
997
|
+
|
|
995
998
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
996
999
|
|
|
1000
|
+
</Tab>
|
|
1001
|
+
<Tab value='intlayer < 9'>
|
|
1002
|
+
|
|
997
1003
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
998
1004
|
|
|
999
1005
|
```ts fileName="vite.config.ts"
|
|
@@ -1019,6 +1025,11 @@ export default defineConfig({
|
|
|
1019
1025
|
});
|
|
1020
1026
|
```
|
|
1021
1027
|
|
|
1028
|
+
</Tab>
|
|
1029
|
+
</Tabs>
|
|
1030
|
+
|
|
1031
|
+
Build your application to transform your components and extract the content
|
|
1032
|
+
|
|
1022
1033
|
```bash packageManager="npm"
|
|
1023
1034
|
npm run build # Or npm run dev
|
|
1024
1035
|
```
|
|
@@ -1098,7 +1109,7 @@ export const Route = createFileRoute("/sitemap.xml")({
|
|
|
1098
1109
|
{ path: "/", changefreq: "daily", priority: 1.0 },
|
|
1099
1110
|
{ path: "/about", changefreq: "monthly", priority: 0.8 },
|
|
1100
1111
|
],
|
|
1101
|
-
{ siteUrl:
|
|
1112
|
+
{ siteUrl: "https://example.com" }
|
|
1102
1113
|
);
|
|
1103
1114
|
|
|
1104
1115
|
return new Response(sitemap, {
|
|
@@ -1076,8 +1076,14 @@ bun x intlayer extract
|
|
|
1076
1076
|
</Tab>
|
|
1077
1077
|
<Tab value='Babel compiler'>
|
|
1078
1078
|
|
|
1079
|
+
<Tabs>
|
|
1080
|
+
<Tab value='intlayer >= 9'>
|
|
1081
|
+
|
|
1079
1082
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
1080
1083
|
|
|
1084
|
+
</Tab>
|
|
1085
|
+
<Tab value='intlayer < 9'>
|
|
1086
|
+
|
|
1081
1087
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
1082
1088
|
|
|
1083
1089
|
```ts fileName="vite.config.ts"
|
|
@@ -1092,6 +1098,11 @@ export default defineConfig({
|
|
|
1092
1098
|
});
|
|
1093
1099
|
```
|
|
1094
1100
|
|
|
1101
|
+
</Tab>
|
|
1102
|
+
</Tabs>
|
|
1103
|
+
|
|
1104
|
+
Build your application to transform your components and extract the content
|
|
1105
|
+
|
|
1095
1106
|
```bash packageManager="npm"
|
|
1096
1107
|
npm run build # Or npm run dev
|
|
1097
1108
|
```
|
|
@@ -1160,10 +1171,6 @@ Then, create a `src/routes/sitemap[.]xml.ts` route that uses the `generateSitema
|
|
|
1160
1171
|
import { createFileRoute } from "@tanstack/react-router";
|
|
1161
1172
|
import { generateSitemap } from "intlayer";
|
|
1162
1173
|
|
|
1163
|
-
const SITE_URL = (
|
|
1164
|
-
import.meta.env.VITE_SITE_URL ?? "http://localhost:3000"
|
|
1165
|
-
).replace(/\/$/, "");
|
|
1166
|
-
|
|
1167
1174
|
export const Route = createFileRoute("/sitemap.xml")({
|
|
1168
1175
|
server: {
|
|
1169
1176
|
handlers: {
|
|
@@ -1173,7 +1180,7 @@ export const Route = createFileRoute("/sitemap.xml")({
|
|
|
1173
1180
|
{ path: "/", changefreq: "daily", priority: 1.0 },
|
|
1174
1181
|
{ path: "/about", changefreq: "monthly", priority: 0.8 },
|
|
1175
1182
|
],
|
|
1176
|
-
{ siteUrl:
|
|
1183
|
+
{ siteUrl: "https://example.com" }
|
|
1177
1184
|
);
|
|
1178
1185
|
|
|
1179
1186
|
return new Response(sitemap, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-03-23
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Lit i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) Vite + Lit app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -609,6 +609,76 @@ const config: IntlayerConfig = {
|
|
|
609
609
|
export default config;
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
+
<Tabs>
|
|
613
|
+
<Tab value='Extract command'>
|
|
614
|
+
|
|
615
|
+
Run the extractor to transform your components and extract the content
|
|
616
|
+
|
|
617
|
+
```bash packageManager="npm"
|
|
618
|
+
npx intlayer extract
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
```bash packageManager="pnpm"
|
|
622
|
+
pnpm intlayer extract
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
```bash packageManager="yarn"
|
|
626
|
+
yarn intlayer extract
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
```bash packageManager="bun"
|
|
630
|
+
bun x intlayer extract
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
</Tab>
|
|
634
|
+
<Tab value='Babel compiler'>
|
|
635
|
+
|
|
636
|
+
<Tabs>
|
|
637
|
+
<Tab value='intlayer >= 9'>
|
|
638
|
+
|
|
639
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
640
|
+
|
|
641
|
+
</Tab>
|
|
642
|
+
<Tab value='intlayer < 9'>
|
|
643
|
+
|
|
644
|
+
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
645
|
+
|
|
646
|
+
```ts fileName="vite.config.ts"
|
|
647
|
+
import { defineConfig } from "vite";
|
|
648
|
+
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
649
|
+
|
|
650
|
+
export default defineConfig({
|
|
651
|
+
plugins: [
|
|
652
|
+
intlayer(),
|
|
653
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
654
|
+
],
|
|
655
|
+
});
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
</Tab>
|
|
659
|
+
</Tabs>
|
|
660
|
+
|
|
661
|
+
Build your application to transform your components and extract the content
|
|
662
|
+
|
|
663
|
+
```bash packageManager="npm"
|
|
664
|
+
npm run build # Or npm run dev
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
```bash packageManager="pnpm"
|
|
668
|
+
pnpm run build # Or pnpm run dev
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
```bash packageManager="yarn"
|
|
672
|
+
yarn build # Or yarn dev
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
```bash packageManager="bun"
|
|
676
|
+
bun run build # Or bun run dev
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
</Tab>
|
|
680
|
+
</Tabs>
|
|
681
|
+
|
|
612
682
|
</Step>
|
|
613
683
|
|
|
614
684
|
</Steps>
|
|
@@ -647,7 +717,9 @@ const pathList = [
|
|
|
647
717
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
648
718
|
];
|
|
649
719
|
|
|
650
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
720
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
721
|
+
siteUrl: "https://example.com",
|
|
722
|
+
});
|
|
651
723
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
652
724
|
|
|
653
725
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -660,7 +732,7 @@ const robotsTxt = [
|
|
|
660
732
|
"Allow: /",
|
|
661
733
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
662
734
|
"",
|
|
663
|
-
`Sitemap:
|
|
735
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
664
736
|
].join("\n");
|
|
665
737
|
|
|
666
738
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-04-18
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Preact i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) Vite + Preact app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -869,8 +869,14 @@ bun x intlayer extract
|
|
|
869
869
|
</Tab>
|
|
870
870
|
<Tab value='Babel compiler'>
|
|
871
871
|
|
|
872
|
+
<Tabs>
|
|
873
|
+
<Tab value='intlayer >= 9'>
|
|
874
|
+
|
|
872
875
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
873
876
|
|
|
877
|
+
</Tab>
|
|
878
|
+
<Tab value='intlayer < 9'>
|
|
879
|
+
|
|
874
880
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
875
881
|
|
|
876
882
|
```ts fileName="vite.config.ts"
|
|
@@ -885,6 +891,11 @@ export default defineConfig({
|
|
|
885
891
|
});
|
|
886
892
|
```
|
|
887
893
|
|
|
894
|
+
</Tab>
|
|
895
|
+
</Tabs>
|
|
896
|
+
|
|
897
|
+
Build your application to transform your components and extract the content
|
|
898
|
+
|
|
888
899
|
```bash packageManager="npm"
|
|
889
900
|
npm run build # Or npm run dev
|
|
890
901
|
```
|
|
@@ -941,7 +952,9 @@ const pathList = [
|
|
|
941
952
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
942
953
|
];
|
|
943
954
|
|
|
944
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
955
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
956
|
+
siteUrl: "https://example.com",
|
|
957
|
+
});
|
|
945
958
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
946
959
|
|
|
947
960
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -954,7 +967,7 @@ const robotsTxt = [
|
|
|
954
967
|
"Allow: /",
|
|
955
968
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
956
969
|
"",
|
|
957
|
-
`Sitemap:
|
|
970
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
958
971
|
].join("\n");
|
|
959
972
|
|
|
960
973
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-03-07
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + React i18n - Complete guide to translate your app"
|
|
5
5
|
description: "No more i18next. The 2026 guide to building a multilingual (i18n) Vite + React app. Translate with AI agents and optimize bundle size, SEO and performances."
|
|
6
6
|
keywords:
|
|
@@ -828,8 +828,14 @@ bun x intlayer extract
|
|
|
828
828
|
</Tab>
|
|
829
829
|
<Tab value='Babel compiler'>
|
|
830
830
|
|
|
831
|
+
<Tabs>
|
|
832
|
+
<Tab value='intlayer >= 9'>
|
|
833
|
+
|
|
831
834
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
832
835
|
|
|
836
|
+
</Tab>
|
|
837
|
+
<Tab value='intlayer < 9'>
|
|
838
|
+
|
|
833
839
|
Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
|
|
834
840
|
|
|
835
841
|
```ts fileName="vite.config.ts"
|
|
@@ -844,6 +850,11 @@ export default defineConfig({
|
|
|
844
850
|
});
|
|
845
851
|
```
|
|
846
852
|
|
|
853
|
+
</Tab>
|
|
854
|
+
</Tabs>
|
|
855
|
+
|
|
856
|
+
Build your application to transform your components and extract the content
|
|
857
|
+
|
|
847
858
|
```bash packageManager="npm"
|
|
848
859
|
npm run build # Or npm run dev
|
|
849
860
|
```
|
|
@@ -900,7 +911,9 @@ const pathList = [
|
|
|
900
911
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
901
912
|
];
|
|
902
913
|
|
|
903
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
914
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
915
|
+
siteUrl: "https://example.com",
|
|
916
|
+
});
|
|
904
917
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
905
918
|
|
|
906
919
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -913,7 +926,7 @@ const robotsTxt = [
|
|
|
913
926
|
"Allow: /",
|
|
914
927
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
915
928
|
"",
|
|
916
|
-
`Sitemap:
|
|
929
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
917
930
|
].join("\n");
|
|
918
931
|
|
|
919
932
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|