@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-20
|
|
4
4
|
title: "Astro + Lit i18n - अपने ऐप को अनुवाद करने का पूर्ण गाइड"
|
|
5
5
|
description: "अब i18next की जरूरत नहीं। 2026 में Astro + Lit ऐप को बहुभाषी (i18n) बनाने का गाइड। AI एजेंट्स से अनुवाद करें और बंडल साइज़, SEO और परफॉर्मेंस ऑप्टिमाइज़ करें।"
|
|
6
6
|
keywords:
|
|
@@ -20,6 +20,9 @@ slugs:
|
|
|
20
20
|
applicationTemplate: https://github.com/aymericzip/intlayer-astro-template
|
|
21
21
|
applicationShowcase: https://intlayer-astro-template.vercel.app
|
|
22
22
|
history:
|
|
23
|
+
- version: 9.5.5
|
|
24
|
+
date: 2026-09-19
|
|
25
|
+
changes: "Astro पेज में astro-intlayer के useIntlayer / useLocale हुक्स का उपयोग"
|
|
23
26
|
- version: 8.9.0
|
|
24
27
|
date: 2026-05-04
|
|
25
28
|
changes: "सॉलिड useIntlayer API उपयोग को सीधे प्रॉपर्टी एक्सेस में अपडेट करें"
|
|
@@ -163,7 +166,7 @@ bun x intlayer init
|
|
|
163
166
|
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md), ट्रांसपाइलेशन और [CLI कमांड](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/cli/index.md) के लिए i18n टूल प्रदान करता है।
|
|
164
167
|
|
|
165
168
|
- **astro-intlayer**
|
|
166
|
-
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ
|
|
169
|
+
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ एकीकृत करने के लिए Astro एकीकरण प्लगइन, प्रत्येक अनुरोध के लोकेल को `Astro.locals.intlayer` में हल करने वाला एक मिडलवेयर, और `useIntlayer` / `useDictionary` / `useLocale` हुक्स शामिल हैं। वही आयात पथ आपके `.astro` फ्रंटमैट में सर्वर कार्यान्वयन और `<script>` ब्लॉक में क्लाइंट कार्यान्वयन (`vanilla-intlayer` द्वारा समर्थित) को हल करता है।
|
|
167
170
|
|
|
168
171
|
- **lit**
|
|
169
172
|
तेज़, हल्के Web Components बनाने के लिए मुख्य Lit पैकेज।
|
|
@@ -258,19 +261,21 @@ export default litDemoContent;
|
|
|
258
261
|
</Step>
|
|
259
262
|
<Step number={5} title="Astro में सामग्री का उपयोग करना">
|
|
260
263
|
|
|
261
|
-
|
|
264
|
+
`astro-intlayer` द्वारा निर्यात किए गए हुक्स के साथ `.astro` फ़ाइलों में अपने शब्दकोशों का उपयोग करें। वे `react-intlayer` के समान हस्ताक्षर साझा करते हैं: `useIntlayer("key")` एक शब्दकोश की सामग्री लौटाता है और `useLocale()` बिना किसी तर्क के वर्तमान लोकेल लौटाता है।
|
|
265
|
+
|
|
266
|
+
लोकेल `astro-intlayer` मिडलवेयर से आता है, जिसे एकीकरण आपके अपने `src/middleware.ts` से पहले पंजीकृत करता है। यह प्रत्येक अनुरोध के लिए इसे URL उपसर्ग, फिर क्लाइंट द्वारा सहेजे गए लोकेल (कुकी या हेडर), फिर `Accept-Language` से हल करता है, और इसे `Astro.locals.intlayer` में संग्रहीत करता है। प्री-रेंडर किए गए पृष्ठ केवल URL का उपयोग करते हैं, क्योंकि वे प्रत्येक आगंतुक के लिए एक बार रेंडर होते हैं।
|
|
267
|
+
|
|
268
|
+
Lit custom elements को एक क्लाइंट `<script>` के माध्यम से आयात किया जाता है और बॉडी में रखा जाता है।
|
|
262
269
|
|
|
263
270
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
264
271
|
---
|
|
272
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
265
273
|
import {
|
|
266
|
-
getIntlayer,
|
|
267
|
-
getLocaleFromPath,
|
|
268
274
|
getLocalizedUrl,
|
|
269
|
-
getHTMLTextDir,
|
|
270
275
|
getPrefix,
|
|
271
276
|
localeMap,
|
|
272
277
|
defaultLocale,
|
|
273
|
-
|
|
278
|
+
getHTMLTextDir,
|
|
274
279
|
} from "intlayer";
|
|
275
280
|
|
|
276
281
|
export const getStaticPaths = () => {
|
|
@@ -279,8 +284,11 @@ export const getStaticPaths = () => {
|
|
|
279
284
|
}));
|
|
280
285
|
};
|
|
281
286
|
|
|
282
|
-
|
|
283
|
-
const {
|
|
287
|
+
// मिडलवेयर द्वारा हल किया गया लोकेल (उदा. /hi/about -> 'hi')
|
|
288
|
+
const { locale } = useLocale();
|
|
289
|
+
|
|
290
|
+
// उस लोकेल के लिए 'lit-demo' शब्दकोश की सामग्री
|
|
291
|
+
const { greeting } = useIntlayer("lit-demo");
|
|
284
292
|
---
|
|
285
293
|
|
|
286
294
|
<!doctype html>
|
|
@@ -339,6 +347,8 @@ const { greeting } = getIntlayer("lit-demo", locale);
|
|
|
339
347
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
340
348
|
> ```
|
|
341
349
|
|
|
350
|
+
> `Astro.locals.intlayer` आपके अपने मिडलवेयर और एंडपॉइंट्स के लिए `locale`, `defaultLocale` और `availableLocales` भी प्रदर्शित करता है। एक कॉल के लिए अनुरोध लोकेल को ओवरराइड करने के लिए दूसरे तर्क के रूप में एक लोकेल या चयनकर्ता पास करें (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`)।
|
|
351
|
+
|
|
342
352
|
> **रूटिंग सेटअप पर नोट:**
|
|
343
353
|
> आपके द्वारा उपयोग की जाने वाली निर्देशिका संरचना `intlayer.config.ts` में `middleware.routing` सेटिंग पर निर्भर करती है:
|
|
344
354
|
>
|
|
@@ -495,10 +505,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
495
505
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
496
506
|
];
|
|
497
507
|
|
|
498
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
499
|
-
|
|
500
508
|
export const GET: APIRoute = async ({ site }) => {
|
|
501
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
509
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
510
|
+
siteUrl: "https://example.com",
|
|
511
|
+
});
|
|
502
512
|
|
|
503
513
|
return new Response(xmlOutput, {
|
|
504
514
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -598,39 +608,22 @@ bun x intlayer extract
|
|
|
598
608
|
</Tab>
|
|
599
609
|
<Tab value='बैबेल कंपाइलर'>
|
|
600
610
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
intlayerCompiler प्लगइन शामिल करने के लिए अपनी `vite.config.ts` अपडेट करें:
|
|
604
|
-
|
|
605
|
-
```ts fileName="vite.config.ts"
|
|
606
|
-
import { defineConfig } from "vite";
|
|
607
|
-
import { intlayer } from "vite-intlayer";
|
|
608
|
-
|
|
609
|
-
export default defineConfig({
|
|
610
|
-
plugins: [
|
|
611
|
-
intlayer({
|
|
612
|
-
proxy: {
|
|
613
|
-
ignore: (req) => req.url?.startsWith("/api"),
|
|
614
|
-
},
|
|
615
|
-
}),
|
|
616
|
-
],
|
|
617
|
-
});
|
|
618
|
-
```
|
|
611
|
+
अपने घटकों को बदलने और सामग्री निकालने के लिए अपना एप्लिकेशन बिल्ड करें
|
|
619
612
|
|
|
620
613
|
```bash packageManager="npm"
|
|
621
614
|
npm run build # या npm run dev
|
|
622
615
|
```
|
|
623
616
|
|
|
624
617
|
```bash packageManager="pnpm"
|
|
625
|
-
pnpm run build #
|
|
618
|
+
pnpm run build # या pnpm run dev
|
|
626
619
|
```
|
|
627
620
|
|
|
628
621
|
```bash packageManager="yarn"
|
|
629
|
-
yarn build #
|
|
622
|
+
yarn build # या yarn dev
|
|
630
623
|
```
|
|
631
624
|
|
|
632
625
|
```bash packageManager="bun"
|
|
633
|
-
bun run build #
|
|
626
|
+
bun run build # या bun run dev
|
|
634
627
|
```
|
|
635
628
|
|
|
636
629
|
</Tab>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + Preact i18n - अपने ऐप को अनुवाद करने का पूर्ण गाइड"
|
|
5
5
|
description: "अब i18next की जरूरत नहीं। 2026 में Astro + Preact ऐप को बहुभाषी (i18n) बनाने का गाइड। AI एजेंट्स से अनुवाद करें और बंडल साइज़, SEO और परफॉर्मेंस ऑप्टिमाइज़ करें।"
|
|
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: "Astro पेज में astro-intlayer के useIntlayer / useLocale हुक्स का उपयोग"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "सॉलिड useIntlayer API उपयोग को सीधे प्रॉपर्टी एक्सेस में अपडेट करें"
|
|
@@ -162,7 +165,7 @@ bun x intlayer init
|
|
|
162
165
|
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md), ट्रांसपाइलेशन और [CLI कमांड](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/cli/index.md) के लिए i18n टूल प्रदान करता है।
|
|
163
166
|
|
|
164
167
|
- **astro-intlayer**
|
|
165
|
-
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ
|
|
168
|
+
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ एकीकृत करने के लिए Astro एकीकरण प्लगइन, प्रत्येक अनुरोध के लोकेल को `Astro.locals.intlayer` में हल करने वाला एक मिडलवेयर, और `useIntlayer` / `useDictionary` / `useLocale` हुक्स शामिल हैं। वही आयात पथ आपके `.astro` फ्रंटमैट में सर्वर कार्यान्वयन और `<script>` ब्लॉक में क्लाइंट कार्यान्वयन (`vanilla-intlayer` द्वारा समर्थित) को हल करता है।
|
|
166
169
|
|
|
167
170
|
- **preact**
|
|
168
171
|
मुख्य Preact पैकेज - React का एक तेज़, हल्का विकल्प।
|
|
@@ -255,19 +258,21 @@ export default appContent;
|
|
|
255
258
|
</Step>
|
|
256
259
|
<Step number={5} title="Astro में सामग्री का उपयोग करना">
|
|
257
260
|
|
|
258
|
-
|
|
261
|
+
`astro-intlayer` द्वारा निर्यात किए गए हुक्स के साथ `.astro` फ़ाइलों में अपने शब्दकोशों का उपयोग करें। वे `react-intlayer` के समान हस्ताक्षर साझा करते हैं: `useIntlayer("key")` एक शब्दकोश की सामग्री लौटाता है और `useLocale()` बिना किसी तर्क के वर्तमान लोकेल लौटाता है।
|
|
262
|
+
|
|
263
|
+
लोकेल `astro-intlayer` मिडलवेयर से आता है, जिसे एकीकरण आपके अपने `src/middleware.ts` से पहले पंजीकृत करता है। यह प्रत्येक अनुरोध के लिए इसे URL उपसर्ग, फिर क्लाइंट द्वारा सहेजे गए लोकेल (कुकी या हेडर), फिर `Accept-Language` से हल करता है, और इसे `Astro.locals.intlayer` में संग्रहीत करता है। प्री-रेंडर किए गए पृष्ठ केवल URL का उपयोग करते हैं, क्योंकि वे प्रत्येक आगंतुक के लिए एक बार रेंडर होते हैं।
|
|
264
|
+
|
|
265
|
+
आपको हर पृष्ठ पर SEO मेटाडेटा (जैसे hreflang और कैनोनिकल लिंक) भी जोड़ना चाहिए और इंटरैक्टिव क्लाइंट-साइड सामग्री के लिए एक Preact island पेश करना चाहिए।
|
|
259
266
|
|
|
260
267
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
261
268
|
---
|
|
269
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
262
270
|
import {
|
|
263
|
-
getIntlayer,
|
|
264
|
-
getLocaleFromPath,
|
|
265
271
|
getLocalizedUrl,
|
|
266
|
-
getHTMLTextDir,
|
|
267
272
|
getPrefix,
|
|
268
273
|
localeMap,
|
|
269
274
|
defaultLocale,
|
|
270
|
-
|
|
275
|
+
getHTMLTextDir,
|
|
271
276
|
} from "intlayer";
|
|
272
277
|
import { PreactIsland } from "../../components/preact/ReactIsland";
|
|
273
278
|
|
|
@@ -277,8 +282,11 @@ export const getStaticPaths = () => {
|
|
|
277
282
|
}));
|
|
278
283
|
};
|
|
279
284
|
|
|
280
|
-
|
|
281
|
-
const {
|
|
285
|
+
// मिडलवेयर द्वारा हल किया गया लोकेल (उदा. /hi/about -> 'hi')
|
|
286
|
+
const { locale } = useLocale();
|
|
287
|
+
|
|
288
|
+
// उस लोकेल के लिए 'app' शब्दकोश की सामग्री
|
|
289
|
+
const { title } = useIntlayer("app");
|
|
282
290
|
---
|
|
283
291
|
|
|
284
292
|
<!doctype html>
|
|
@@ -334,6 +342,8 @@ const { title } = getIntlayer("app", locale);
|
|
|
334
342
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
335
343
|
> ```
|
|
336
344
|
|
|
345
|
+
> `Astro.locals.intlayer` आपके अपने मिडलवेयर और एंडपॉइंट्स के लिए `locale`, `defaultLocale` और `availableLocales` भी प्रदर्शित करता है। एक कॉल के लिए अनुरोध लोकेल को ओवरराइड करने के लिए दूसरे तर्क के रूप में एक लोकेल या चयनकर्ता पास करें (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`)।
|
|
346
|
+
|
|
337
347
|
> **रूटिंग सेटअप पर नोट:**
|
|
338
348
|
> आपके द्वारा उपयोग की जाने वाली निर्देशिका संरचना `intlayer.config.ts` में `middleware.routing` सेटिंग पर निर्भर करती है:
|
|
339
349
|
>
|
|
@@ -450,10 +460,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
450
460
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
451
461
|
];
|
|
452
462
|
|
|
453
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
454
|
-
|
|
455
463
|
export const GET: APIRoute = async ({ site }) => {
|
|
456
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
464
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
465
|
+
siteUrl: "https://example.com",
|
|
466
|
+
});
|
|
457
467
|
|
|
458
468
|
return new Response(xmlOutput, {
|
|
459
469
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -553,39 +563,22 @@ bun x intlayer extract
|
|
|
553
563
|
</Tab>
|
|
554
564
|
<Tab value='बैबेल कंपाइलर'>
|
|
555
565
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
intlayerCompiler प्लगइन शामिल करने के लिए अपनी `vite.config.ts` अपडेट करें:
|
|
559
|
-
|
|
560
|
-
```ts fileName="vite.config.ts"
|
|
561
|
-
import { defineConfig } from "vite";
|
|
562
|
-
import { intlayer } from "vite-intlayer";
|
|
563
|
-
|
|
564
|
-
export default defineConfig({
|
|
565
|
-
plugins: [
|
|
566
|
-
intlayer({
|
|
567
|
-
proxy: {
|
|
568
|
-
ignore: (req) => req.url?.startsWith("/api"),
|
|
569
|
-
},
|
|
570
|
-
}),
|
|
571
|
-
],
|
|
572
|
-
});
|
|
573
|
-
```
|
|
566
|
+
अपने घटकों को बदलने और सामग्री निकालने के लिए अपना एप्लिकेशन बिल्ड करें
|
|
574
567
|
|
|
575
568
|
```bash packageManager="npm"
|
|
576
569
|
npm run build # या npm run dev
|
|
577
570
|
```
|
|
578
571
|
|
|
579
572
|
```bash packageManager="pnpm"
|
|
580
|
-
pnpm run build #
|
|
573
|
+
pnpm run build # या pnpm run dev
|
|
581
574
|
```
|
|
582
575
|
|
|
583
576
|
```bash packageManager="yarn"
|
|
584
|
-
yarn build #
|
|
577
|
+
yarn build # या yarn dev
|
|
585
578
|
```
|
|
586
579
|
|
|
587
580
|
```bash packageManager="bun"
|
|
588
|
-
bun run build #
|
|
581
|
+
bun run build # या bun run dev
|
|
589
582
|
```
|
|
590
583
|
|
|
591
584
|
</Tab>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-03-07
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + React i18n - अपने ऐप को अनुवाद करने का पूर्ण गाइड"
|
|
5
5
|
description: "अब i18next की जरूरत नहीं। 2026 में Astro + React ऐप को बहुभाषी (i18n) बनाने का गाइड। AI एजेंट्स से अनुवाद करें और बंडल साइज़, SEO और परफॉर्मेंस ऑप्टिमाइज़ करें।"
|
|
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: "Astro पेज में astro-intlayer के useIntlayer / useLocale हुक्स का उपयोग"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "सॉलिड useIntlayer API उपयोग को सीधे प्रॉपर्टी एक्सेस में अपडेट करें"
|
|
@@ -165,7 +168,7 @@ bun x intlayer init
|
|
|
165
168
|
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md), ट्रांसपाइलेशन और [CLI कमांड](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/cli/index.md) के लिए i18n टूल प्रदान करता है।
|
|
166
169
|
|
|
167
170
|
- **astro-intlayer**
|
|
168
|
-
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ
|
|
171
|
+
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ एकीकृत करने के लिए Astro एकीकरण प्लगइन, प्रत्येक अनुरोध के लोकेल को `Astro.locals.intlayer` में हल करने वाला एक मिडलवेयर, और `useIntlayer` / `useDictionary` / `useLocale` हुक्स शामिल हैं। वही आयात पथ आपके `.astro` फ्रंटमैट में सर्वर कार्यान्वयन और `<script>` ब्लॉक में क्लाइंट कार्यान्वयन (`vanilla-intlayer` द्वारा समर्थित) को हल करता है।
|
|
169
172
|
|
|
170
173
|
- **react**, **react-dom**
|
|
171
174
|
ब्राउज़र में React घटकों को रेंडर करने के लिए आवश्यक मुख्य React पैकेज।
|
|
@@ -255,19 +258,21 @@ export default appContent;
|
|
|
255
258
|
</Step>
|
|
256
259
|
<Step number={5} title="Astro में सामग्री का उपयोग करना">
|
|
257
260
|
|
|
258
|
-
|
|
261
|
+
`astro-intlayer` द्वारा निर्यात किए गए हुक्स के साथ `.astro` फ़ाइलों में अपने शब्दकोशों का उपयोग करें। वे `react-intlayer` के समान हस्ताक्षर साझा करते हैं: `useIntlayer("key")` एक शब्दकोश की सामग्री लौटाता है और `useLocale()` बिना किसी तर्क के वर्तमान लोकेल लौटाता है।
|
|
262
|
+
|
|
263
|
+
लोकेल `astro-intlayer` मिडलवेयर से आता है, जिसे एकीकरण आपके अपने `src/middleware.ts` से पहले पंजीकृत करता है। यह प्रत्येक अनुरोध के लिए इसे URL उपसर्ग, फिर क्लाइंट द्वारा सहेजे गए लोकेल (कुकी या हेडर), फिर `Accept-Language` से हल करता है, और इसे `Astro.locals.intlayer` में संग्रहीत करता है। प्री-रेंडर किए गए पृष्ठ केवल URL का उपयोग करते हैं, क्योंकि वे प्रत्येक आगंतुक के लिए एक बार रेंडर होते हैं।
|
|
264
|
+
|
|
265
|
+
आपको हर पृष्ठ पर SEO मेटाडेटा (जैसे hreflang और कैनोनिकल लिंक) भी जोड़ना चाहिए और इंटरैक्टिव क्लाइंट-साइड सामग्री के लिए एक React island पेश करना चाहिए।
|
|
259
266
|
|
|
260
267
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
261
268
|
---
|
|
269
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
262
270
|
import {
|
|
263
|
-
getIntlayer,
|
|
264
|
-
getLocaleFromPath,
|
|
265
271
|
getLocalizedUrl,
|
|
266
|
-
getHTMLTextDir,
|
|
267
272
|
getPrefix,
|
|
268
273
|
localeMap,
|
|
269
274
|
defaultLocale,
|
|
270
|
-
|
|
275
|
+
getHTMLTextDir,
|
|
271
276
|
} from "intlayer";
|
|
272
277
|
import { ReactIsland } from "../../components/react/ReactIsland";
|
|
273
278
|
|
|
@@ -277,8 +282,11 @@ export const getStaticPaths = () => {
|
|
|
277
282
|
}));
|
|
278
283
|
};
|
|
279
284
|
|
|
280
|
-
|
|
281
|
-
const {
|
|
285
|
+
// मिडलवेयर द्वारा हल किया गया लोकेल (उदा. /hi/about -> 'hi')
|
|
286
|
+
const { locale } = useLocale();
|
|
287
|
+
|
|
288
|
+
// उस लोकेल के लिए 'app' शब्दकोश की सामग्री
|
|
289
|
+
const { title } = useIntlayer("app");
|
|
282
290
|
---
|
|
283
291
|
|
|
284
292
|
<!doctype html>
|
|
@@ -334,6 +342,8 @@ const { title } = getIntlayer("app", locale);
|
|
|
334
342
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
335
343
|
> ```
|
|
336
344
|
|
|
345
|
+
> `Astro.locals.intlayer` आपके अपने मिडलवेयर और एंडपॉइंट्स के लिए `locale`, `defaultLocale` और `availableLocales` भी प्रदर्शित करता है। एक कॉल के लिए अनुरोध लोकेल को ओवरराइड करने के लिए दूसरे तर्क के रूप में एक लोकेल या चयनकर्ता पास करें (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`)।
|
|
346
|
+
|
|
337
347
|
> **रूटिंग सेटअप पर नोट:**
|
|
338
348
|
> आपके द्वारा उपयोग की जाने वाली निर्देशिका संरचना `intlayer.config.ts` में `middleware.routing` सेटिंग पर निर्भर करती है:
|
|
339
349
|
>
|
|
@@ -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" },
|
|
@@ -549,39 +559,22 @@ bun x intlayer extract
|
|
|
549
559
|
</Tab>
|
|
550
560
|
<Tab value='बैबेल कंपाइलर'>
|
|
551
561
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
intlayerCompiler प्लगइन शामिल करने के लिए अपनी `vite.config.ts` अपडेट करें:
|
|
555
|
-
|
|
556
|
-
```ts fileName="vite.config.ts"
|
|
557
|
-
import { defineConfig } from "vite";
|
|
558
|
-
import { intlayer } from "vite-intlayer";
|
|
559
|
-
|
|
560
|
-
export default defineConfig({
|
|
561
|
-
plugins: [
|
|
562
|
-
intlayer({
|
|
563
|
-
proxy: {
|
|
564
|
-
ignore: (req) => req.url?.startsWith("/api"),
|
|
565
|
-
},
|
|
566
|
-
}),
|
|
567
|
-
],
|
|
568
|
-
});
|
|
569
|
-
```
|
|
562
|
+
अपने घटकों को बदलने और सामग्री निकालने के लिए अपना एप्लिकेशन बिल्ड करें
|
|
570
563
|
|
|
571
564
|
```bash packageManager="npm"
|
|
572
565
|
npm run build # या npm run dev
|
|
573
566
|
```
|
|
574
567
|
|
|
575
568
|
```bash packageManager="pnpm"
|
|
576
|
-
pnpm run build #
|
|
569
|
+
pnpm run build # या pnpm run dev
|
|
577
570
|
```
|
|
578
571
|
|
|
579
572
|
```bash packageManager="yarn"
|
|
580
|
-
yarn build #
|
|
573
|
+
yarn build # या yarn dev
|
|
581
574
|
```
|
|
582
575
|
|
|
583
576
|
```bash packageManager="bun"
|
|
584
|
-
bun run build #
|
|
577
|
+
bun run build # या bun run dev
|
|
585
578
|
```
|
|
586
579
|
|
|
587
580
|
</Tab>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + Solid i18n - अपने ऐप को अनुवाद करने का पूर्ण गाइड"
|
|
5
5
|
description: "अब i18next की जरूरत नहीं। 2026 में Astro + Solid ऐप को बहुभाषी (i18n) बनाने का गाइड। AI एजेंट्स से अनुवाद करें और बंडल साइज़, SEO और परफॉर्मेंस ऑप्टिमाइज़ करें।"
|
|
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: "Astro पेज में astro-intlayer के useIntlayer / useLocale हुक्स का उपयोग"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "सॉलिड useIntlayer API उपयोग को सीधे प्रॉपर्टी एक्सेस में अपडेट करें"
|
|
@@ -162,7 +165,7 @@ bun x intlayer init
|
|
|
162
165
|
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md), ट्रांसपाइलेशन और [CLI कमांड](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/cli/index.md) के लिए i18n टूल प्रदान करता है।
|
|
163
166
|
|
|
164
167
|
- **astro-intlayer**
|
|
165
|
-
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ
|
|
168
|
+
Intlayer को [Vite बंडलर](https://vite.dev/guide/why.html#why-bundle-for-production) के साथ एकीकृत करने के लिए Astro एकीकरण प्लगइन, प्रत्येक अनुरोध के लोकेल को `Astro.locals.intlayer` में हल करने वाला एक मिडलवेयर, और `useIntlayer` / `useDictionary` / `useLocale` हुक्स शामिल हैं। वही आयात पथ आपके `.astro` फ्रंटमैट में सर्वर कार्यान्वयन और `<script>` ब्लॉक में क्लाइंट कार्यान्वयन (`vanilla-intlayer` द्वारा समर्थित) को हल करता है।
|
|
166
169
|
|
|
167
170
|
- **solid-js**
|
|
168
171
|
मुख्य Solid पैकेज।
|
|
@@ -251,19 +254,21 @@ export default appContent;
|
|
|
251
254
|
</Step>
|
|
252
255
|
<Step number={5} title="Astro में सामग्री का उपयोग करना">
|
|
253
256
|
|
|
254
|
-
|
|
257
|
+
`astro-intlayer` द्वारा निर्यात किए गए हुक्स के साथ `.astro` फ़ाइलों में अपने शब्दकोशों का उपयोग करें। वे `react-intlayer` के समान हस्ताक्षर साझा करते हैं: `useIntlayer("key")` एक शब्दकोश की सामग्री लौटाता है और `useLocale()` बिना किसी तर्क के वर्तमान लोकेल लौटाता है।
|
|
258
|
+
|
|
259
|
+
लोकेल `astro-intlayer` मिडलवेयर से आता है, जिसे एकीकरण आपके अपने `src/middleware.ts` से पहले पंजीकृत करता है। यह प्रत्येक अनुरोध के लिए इसे URL उपसर्ग, फिर क्लाइंट द्वारा सहेजे गए लोकेल (कुकी या हेडर), फिर `Accept-Language` से हल करता है, और इसे `Astro.locals.intlayer` में संग्रहीत करता है। प्री-रेंडर किए गए पृष्ठ केवल URL का उपयोग करते हैं, क्योंकि वे प्रत्येक आगंतुक के लिए एक बार रेंडर होते हैं।
|
|
260
|
+
|
|
261
|
+
आपको हर पृष्ठ पर SEO मेटाडेटा (जैसे hreflang और कैनोनिकल लिंक) भी जोड़ना चाहिए और इंटरैक्टिव क्लाइंट-साइड सामग्री के लिए एक Solid island पेश करना चाहिए।
|
|
255
262
|
|
|
256
263
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
257
264
|
---
|
|
265
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
258
266
|
import {
|
|
259
|
-
getIntlayer,
|
|
260
|
-
getLocaleFromPath,
|
|
261
267
|
getLocalizedUrl,
|
|
262
|
-
getHTMLTextDir,
|
|
263
268
|
getPrefix,
|
|
264
269
|
localeMap,
|
|
265
270
|
defaultLocale,
|
|
266
|
-
|
|
271
|
+
getHTMLTextDir,
|
|
267
272
|
} from "intlayer";
|
|
268
273
|
import { SolidIsland } from "../../components/solid/SolidIsland";
|
|
269
274
|
|
|
@@ -273,8 +278,11 @@ export const getStaticPaths = () => {
|
|
|
273
278
|
}));
|
|
274
279
|
};
|
|
275
280
|
|
|
276
|
-
|
|
277
|
-
const {
|
|
281
|
+
// मिडलवेयर द्वारा हल किया गया लोकेल (उदा. /hi/about -> 'hi')
|
|
282
|
+
const { locale } = useLocale();
|
|
283
|
+
|
|
284
|
+
// उस लोकेल के लिए 'app' शब्दकोश की सामग्री
|
|
285
|
+
const { title } = useIntlayer("app");
|
|
278
286
|
---
|
|
279
287
|
|
|
280
288
|
<!doctype html>
|
|
@@ -330,6 +338,8 @@ const { title } = getIntlayer("app", locale);
|
|
|
330
338
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
331
339
|
> ```
|
|
332
340
|
|
|
341
|
+
> `Astro.locals.intlayer` आपके अपने मिडलवेयर और एंडपॉइंट्स के लिए `locale`, `defaultLocale` और `availableLocales` भी प्रदर्शित करता है। एक कॉल के लिए अनुरोध लोकेल को ओवरराइड करने के लिए दूसरे तर्क के रूप में एक लोकेल या चयनकर्ता पास करें (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`)।
|
|
342
|
+
|
|
333
343
|
> **रूटिंग सेटअप पर नोट:**
|
|
334
344
|
> आपके द्वारा उपयोग की जाने वाली निर्देशिका संरचना `intlayer.config.ts` में `middleware.routing` सेटिंग पर निर्भर करती है:
|
|
335
345
|
>
|
|
@@ -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" },
|
|
@@ -549,39 +559,22 @@ bun x intlayer extract
|
|
|
549
559
|
</Tab>
|
|
550
560
|
<Tab value='बैबेल कंपाइलर'>
|
|
551
561
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
intlayerCompiler प्लगइन शामिल करने के लिए अपनी `vite.config.ts` अपडेट करें:
|
|
555
|
-
|
|
556
|
-
```ts fileName="vite.config.ts"
|
|
557
|
-
import { defineConfig } from "vite";
|
|
558
|
-
import { intlayer } from "vite-intlayer";
|
|
559
|
-
|
|
560
|
-
export default defineConfig({
|
|
561
|
-
plugins: [
|
|
562
|
-
intlayer({
|
|
563
|
-
proxy: {
|
|
564
|
-
ignore: (req) => req.url?.startsWith("/api"),
|
|
565
|
-
},
|
|
566
|
-
}),
|
|
567
|
-
],
|
|
568
|
-
});
|
|
569
|
-
```
|
|
562
|
+
अपने घटकों को बदलने और सामग्री निकालने के लिए अपना एप्लिकेशन बिल्ड करें
|
|
570
563
|
|
|
571
564
|
```bash packageManager="npm"
|
|
572
565
|
npm run build # या npm run dev
|
|
573
566
|
```
|
|
574
567
|
|
|
575
568
|
```bash packageManager="pnpm"
|
|
576
|
-
pnpm run build #
|
|
569
|
+
pnpm run build # या pnpm run dev
|
|
577
570
|
```
|
|
578
571
|
|
|
579
572
|
```bash packageManager="yarn"
|
|
580
|
-
yarn build #
|
|
573
|
+
yarn build # या yarn dev
|
|
581
574
|
```
|
|
582
575
|
|
|
583
576
|
```bash packageManager="bun"
|
|
584
|
-
bun run build #
|
|
577
|
+
bun run build # या bun run dev
|
|
585
578
|
```
|
|
586
579
|
|
|
587
580
|
</Tab>
|