@intlayer/docs 8.11.2 → 8.12.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/i18n_using_next-i18next.md +63 -23
- package/blog/ar/i18n_using_next-intl.md +54 -20
- package/blog/ar/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/ar/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/ar/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/ar/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/ar/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/de/i18n_using_next-i18next.md +64 -23
- package/blog/de/i18n_using_next-intl.md +54 -20
- package/blog/de/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/de/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/de/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/de/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/de/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/en/i18n_using_next-i18next.md +62 -21
- package/blog/en/i18n_using_next-intl.md +52 -18
- package/blog/en/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +2 -2
- package/blog/en/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +2 -2
- package/blog/en-GB/i18n_using_next-i18next.md +64 -23
- package/blog/en-GB/i18n_using_next-intl.md +54 -20
- package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/en-GB/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/es/i18n_using_next-i18next.md +64 -23
- package/blog/es/i18n_using_next-intl.md +55 -20
- package/blog/es/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/es/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/es/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/es/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/es/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/fr/i18n_using_next-i18next.md +64 -23
- package/blog/fr/i18n_using_next-intl.md +55 -20
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/fr/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/fr/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/fr/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/fr/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/hi/i18n_using_next-i18next.md +64 -23
- package/blog/hi/i18n_using_next-intl.md +54 -20
- package/blog/hi/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/hi/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/hi/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/hi/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/hi/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/id/i18n_using_next-i18next.md +64 -23
- package/blog/id/i18n_using_next-intl.md +54 -20
- package/blog/id/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/id/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/id/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/id/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/id/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/id/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/it/i18n_using_next-i18next.md +64 -23
- package/blog/it/i18n_using_next-intl.md +54 -20
- package/blog/it/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/it/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/it/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/it/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/it/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/ja/i18n_using_next-i18next.md +64 -23
- package/blog/ja/i18n_using_next-intl.md +55 -20
- package/blog/ja/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/ja/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/ja/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/ja/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/ja/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/ko/i18n_using_next-i18next.md +64 -23
- package/blog/ko/i18n_using_next-intl.md +55 -20
- package/blog/ko/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/ko/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/ko/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/ko/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/ko/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/pl/i18n_using_next-i18next.md +64 -23
- package/blog/pl/i18n_using_next-intl.md +54 -20
- package/blog/pl/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/pl/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/pl/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/pl/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/pl/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/pl/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/pt/i18n_using_next-i18next.md +64 -23
- package/blog/pt/i18n_using_next-intl.md +54 -20
- package/blog/pt/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/pt/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/pt/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/pt/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/pt/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/ru/i18n_using_next-i18next.md +64 -23
- package/blog/ru/i18n_using_next-intl.md +55 -20
- package/blog/ru/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/ru/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/ru/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/ru/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/ru/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/tr/i18n_using_next-i18next.md +64 -23
- package/blog/tr/i18n_using_next-intl.md +54 -20
- package/blog/tr/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/tr/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/tr/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/tr/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/tr/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/uk/i18n_using_next-i18next.md +64 -23
- package/blog/uk/i18n_using_next-intl.md +54 -20
- package/blog/uk/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/uk/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/uk/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/uk/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/uk/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/vi/i18n_using_next-i18next.md +64 -23
- package/blog/vi/i18n_using_next-intl.md +54 -20
- package/blog/vi/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/vi/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/vi/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/vi/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/vi/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/vi/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/zh/i18n_using_next-i18next.md +64 -23
- package/blog/zh/i18n_using_next-intl.md +55 -20
- package/blog/zh/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/zh/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/zh/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/zh/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/zh/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/dist/cjs/common.cjs +1 -1
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +20 -20
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/common.mjs +1 -1
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +20 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +1 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/cli/build.md +1 -1
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/interest_of_intlayer.md +39 -192
- package/docs/ar/intlayer_with_adonisjs.md +3 -3
- package/docs/ar/intlayer_with_analog.md +53 -16
- package/docs/ar/intlayer_with_angular_19.md +53 -16
- package/docs/ar/intlayer_with_angular_21.md +53 -16
- package/docs/ar/intlayer_with_astro.md +106 -66
- package/docs/ar/intlayer_with_astro_lit.md +113 -70
- package/docs/ar/intlayer_with_astro_preact.md +107 -64
- package/docs/ar/intlayer_with_astro_react.md +109 -66
- package/docs/ar/intlayer_with_astro_solid.md +109 -66
- package/docs/ar/intlayer_with_astro_svelte.md +109 -66
- package/docs/ar/intlayer_with_astro_vanilla.md +106 -65
- package/docs/ar/intlayer_with_astro_vue.md +109 -66
- package/docs/ar/intlayer_with_create_react_app.md +33 -12
- package/docs/ar/intlayer_with_express.md +3 -3
- package/docs/ar/intlayer_with_fastify.md +3 -3
- package/docs/ar/intlayer_with_hono.md +3 -3
- package/docs/ar/intlayer_with_lynx+react.md +31 -10
- package/docs/ar/intlayer_with_nestjs.md +3 -14
- package/docs/ar/intlayer_with_next-i18next.md +3 -3
- package/docs/ar/intlayer_with_next-intl.md +3 -3
- package/docs/ar/intlayer_with_nextjs_14.md +73 -24
- package/docs/ar/intlayer_with_nextjs_15.md +74 -27
- package/docs/ar/intlayer_with_nextjs_16.md +74 -26
- package/docs/ar/intlayer_with_nextjs_compiler.md +70 -46
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +64 -21
- package/docs/ar/intlayer_with_nextjs_page_router.md +71 -23
- package/docs/ar/intlayer_with_nuxt.md +88 -45
- package/docs/ar/intlayer_with_react_native+expo.md +72 -10
- package/docs/ar/intlayer_with_react_router_v7.md +79 -23
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +79 -23
- package/docs/ar/intlayer_with_storybook.md +59 -18
- package/docs/ar/intlayer_with_svelte_kit.md +99 -36
- package/docs/ar/intlayer_with_tanstack+solid.md +86 -28
- package/docs/ar/intlayer_with_tanstack.md +96 -38
- package/docs/ar/intlayer_with_vanilla.md +58 -22
- package/docs/ar/intlayer_with_vite+lit.md +71 -22
- package/docs/ar/intlayer_with_vite+preact.md +108 -60
- package/docs/ar/intlayer_with_vite+react.md +97 -52
- package/docs/ar/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/ar/intlayer_with_vite+solid.md +93 -45
- package/docs/ar/intlayer_with_vite+svelte.md +77 -31
- package/docs/ar/intlayer_with_vite+vanilla.md +73 -23
- package/docs/ar/intlayer_with_vite+vue.md +122 -74
- package/docs/ar/introduction.md +92 -38
- package/docs/ar/lsp.md +351 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/intlayer_with_angular_21.md +3 -3
- package/docs/bn/intlayer_with_fastify.md +3 -3
- package/docs/bn/intlayer_with_hono.md +3 -3
- package/docs/bn/intlayer_with_storybook.md +2 -2
- package/docs/bn/intlayer_with_vanilla.md +3 -3
- package/docs/bn/intlayer_with_vite+lit.md +3 -3
- package/docs/bn/intlayer_with_vite+vanilla.md +3 -3
- package/docs/bn/introduction.md +82 -37
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/interest_of_intlayer.md +63 -7
- package/docs/cs/intlayer_with_angular_21.md +25 -9
- package/docs/cs/intlayer_with_fastify.md +3 -3
- package/docs/cs/intlayer_with_hono.md +3 -3
- package/docs/cs/intlayer_with_storybook.md +30 -10
- package/docs/cs/intlayer_with_vanilla.md +33 -12
- package/docs/cs/intlayer_with_vite+lit.md +43 -15
- package/docs/cs/intlayer_with_vite+vanilla.md +45 -16
- package/docs/cs/introduction.md +76 -31
- package/docs/de/cli/build.md +1 -1
- package/docs/de/cli/index.md +1 -1
- package/docs/de/interest_of_intlayer.md +134 -78
- package/docs/de/intlayer_with_adonisjs.md +3 -3
- package/docs/de/intlayer_with_analog.md +70 -16
- package/docs/de/intlayer_with_angular_19.md +70 -16
- package/docs/de/intlayer_with_angular_21.md +70 -16
- package/docs/de/intlayer_with_astro.md +123 -66
- package/docs/de/intlayer_with_astro_lit.md +130 -70
- package/docs/de/intlayer_with_astro_preact.md +124 -64
- package/docs/de/intlayer_with_astro_react.md +126 -66
- package/docs/de/intlayer_with_astro_solid.md +126 -66
- package/docs/de/intlayer_with_astro_svelte.md +126 -66
- package/docs/de/intlayer_with_astro_vanilla.md +123 -65
- package/docs/de/intlayer_with_astro_vue.md +126 -66
- package/docs/de/intlayer_with_create_react_app.md +33 -12
- package/docs/de/intlayer_with_express.md +3 -3
- package/docs/de/intlayer_with_fastify.md +3 -3
- package/docs/de/intlayer_with_hono.md +3 -3
- package/docs/de/intlayer_with_lynx+react.md +48 -10
- package/docs/de/intlayer_with_nestjs.md +3 -14
- package/docs/de/intlayer_with_next-i18next.md +3 -3
- package/docs/de/intlayer_with_next-intl.md +3 -3
- package/docs/de/intlayer_with_nextjs_14.md +90 -24
- package/docs/de/intlayer_with_nextjs_15.md +90 -26
- package/docs/de/intlayer_with_nextjs_16.md +159 -92
- package/docs/de/intlayer_with_nextjs_compiler.md +9 -4
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/de/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/de/intlayer_with_nuxt.md +105 -45
- package/docs/de/intlayer_with_react_native+expo.md +90 -11
- package/docs/de/intlayer_with_react_router_v7.md +96 -23
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +76 -19
- package/docs/de/intlayer_with_storybook.md +76 -18
- package/docs/de/intlayer_with_svelte_kit.md +117 -38
- package/docs/de/intlayer_with_tanstack+solid.md +106 -29
- package/docs/de/intlayer_with_tanstack.md +106 -29
- package/docs/de/intlayer_with_vanilla.md +75 -22
- package/docs/de/intlayer_with_vite+lit.md +88 -22
- package/docs/de/intlayer_with_vite+preact.md +142 -77
- package/docs/de/intlayer_with_vite+react.md +131 -69
- package/docs/de/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/de/intlayer_with_vite+solid.md +127 -62
- package/docs/de/intlayer_with_vite+svelte.md +114 -49
- package/docs/de/intlayer_with_vite+vanilla.md +90 -23
- package/docs/de/intlayer_with_vite+vue.md +134 -69
- package/docs/de/introduction.md +85 -32
- package/docs/de/lsp.md +351 -0
- package/docs/de/releases/v7.md +1 -1
- package/docs/en/cli/build.md +1 -1
- package/docs/en/cli/index.md +1 -1
- package/docs/en/interest_of_intlayer.md +59 -3
- package/docs/en/intlayer_with_adonisjs.md +2 -2
- package/docs/en/intlayer_with_analog.md +69 -15
- package/docs/en/intlayer_with_angular_19.md +69 -15
- package/docs/en/intlayer_with_angular_21.md +69 -15
- package/docs/en/intlayer_with_astro.md +128 -67
- package/docs/en/intlayer_with_astro_lit.md +129 -69
- package/docs/en/intlayer_with_astro_preact.md +129 -69
- package/docs/en/intlayer_with_astro_react.md +125 -65
- package/docs/en/intlayer_with_astro_solid.md +125 -65
- package/docs/en/intlayer_with_astro_svelte.md +125 -65
- package/docs/en/intlayer_with_astro_vanilla.md +122 -64
- package/docs/en/intlayer_with_astro_vue.md +125 -65
- package/docs/en/intlayer_with_create_react_app.md +79 -18
- package/docs/en/intlayer_with_express.md +2 -2
- package/docs/en/intlayer_with_fastify.md +2 -2
- package/docs/en/intlayer_with_hono.md +2 -2
- package/docs/en/intlayer_with_lynx+react.md +47 -9
- package/docs/en/intlayer_with_nestjs.md +2 -13
- package/docs/en/intlayer_with_next-i18next.md +2 -2
- package/docs/en/intlayer_with_next-intl.md +2 -2
- package/docs/en/intlayer_with_nextjs_14.md +92 -24
- package/docs/en/intlayer_with_nextjs_15.md +92 -24
- package/docs/en/intlayer_with_nextjs_16.md +94 -26
- package/docs/en/intlayer_with_nextjs_compiler.md +38 -13
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +83 -21
- package/docs/en/intlayer_with_nextjs_page_router.md +86 -21
- package/docs/en/intlayer_with_nuxt.md +104 -44
- package/docs/en/intlayer_with_react_native+expo.md +46 -10
- package/docs/en/intlayer_with_react_router_v7.md +91 -22
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +84 -21
- package/docs/en/intlayer_with_storybook.md +75 -17
- package/docs/en/intlayer_with_svelte_kit.md +86 -21
- package/docs/en/intlayer_with_tanstack+solid.md +105 -28
- package/docs/en/intlayer_with_tanstack.md +105 -28
- package/docs/en/intlayer_with_vanilla.md +74 -21
- package/docs/en/intlayer_with_vite+lit.md +87 -21
- package/docs/en/intlayer_with_vite+preact.md +86 -21
- package/docs/en/intlayer_with_vite+react.md +83 -20
- package/docs/en/intlayer_with_vite+react_compiler.md +23 -8
- package/docs/en/intlayer_with_vite+solid.md +83 -20
- package/docs/en/intlayer_with_vite+svelte.md +86 -21
- package/docs/en/intlayer_with_vite+vanilla.md +89 -22
- package/docs/en/intlayer_with_vite+vue.md +83 -20
- package/docs/en/introduction.md +44 -3
- package/docs/en/lsp.md +351 -0
- package/docs/en/mcp_server.md +22 -0
- package/docs/en-GB/cli/build.md +1 -1
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/interest_of_intlayer.md +79 -23
- package/docs/en-GB/intlayer_with_adonisjs.md +3 -3
- package/docs/en-GB/intlayer_with_analog.md +70 -16
- package/docs/en-GB/intlayer_with_angular_19.md +70 -16
- package/docs/en-GB/intlayer_with_angular_21.md +70 -16
- package/docs/en-GB/intlayer_with_astro.md +123 -66
- package/docs/en-GB/intlayer_with_astro_lit.md +130 -70
- package/docs/en-GB/intlayer_with_astro_preact.md +124 -64
- package/docs/en-GB/intlayer_with_astro_react.md +126 -66
- package/docs/en-GB/intlayer_with_astro_solid.md +126 -66
- package/docs/en-GB/intlayer_with_astro_svelte.md +126 -66
- package/docs/en-GB/intlayer_with_astro_vanilla.md +123 -65
- package/docs/en-GB/intlayer_with_astro_vue.md +126 -66
- package/docs/en-GB/intlayer_with_create_react_app.md +52 -17
- package/docs/en-GB/intlayer_with_express.md +3 -3
- package/docs/en-GB/intlayer_with_fastify.md +3 -3
- package/docs/en-GB/intlayer_with_hono.md +3 -3
- package/docs/en-GB/intlayer_with_lynx+react.md +48 -10
- package/docs/en-GB/intlayer_with_nestjs.md +3 -14
- package/docs/en-GB/intlayer_with_next-i18next.md +3 -3
- package/docs/en-GB/intlayer_with_next-intl.md +3 -3
- package/docs/en-GB/intlayer_with_nextjs_14.md +90 -24
- package/docs/en-GB/intlayer_with_nextjs_15.md +90 -26
- package/docs/en-GB/intlayer_with_nextjs_16.md +93 -27
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +36 -13
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/en-GB/intlayer_with_nuxt.md +105 -45
- package/docs/en-GB/intlayer_with_react_native+expo.md +89 -10
- package/docs/en-GB/intlayer_with_react_router_v7.md +89 -22
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/en-GB/intlayer_with_storybook.md +76 -18
- package/docs/en-GB/intlayer_with_svelte_kit.md +105 -27
- package/docs/en-GB/intlayer_with_tanstack+solid.md +106 -29
- package/docs/en-GB/intlayer_with_tanstack.md +103 -28
- package/docs/en-GB/intlayer_with_vanilla.md +75 -22
- package/docs/en-GB/intlayer_with_vite+lit.md +88 -22
- package/docs/en-GB/intlayer_with_vite+preact.md +85 -21
- package/docs/en-GB/intlayer_with_vite+react.md +81 -20
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/en-GB/intlayer_with_vite+solid.md +85 -21
- package/docs/en-GB/intlayer_with_vite+svelte.md +155 -94
- package/docs/en-GB/intlayer_with_vite+vanilla.md +90 -23
- package/docs/en-GB/intlayer_with_vite+vue.md +91 -23
- package/docs/en-GB/introduction.md +74 -27
- package/docs/en-GB/lsp.md +351 -0
- package/docs/en-GB/mcp_server.md +22 -0
- package/docs/es/agent_skills.md +2 -2
- package/docs/es/benchmark/nextjs.md +3 -3
- package/docs/es/benchmark/solid.md +3 -3
- package/docs/es/benchmark/svelte.md +3 -3
- package/docs/es/benchmark/tanstack.md +2 -2
- package/docs/es/benchmark/vue.md +3 -3
- package/docs/es/bundle_optimization.md +1 -1
- package/docs/es/cli/build.md +1 -1
- package/docs/es/cli/index.md +2 -2
- package/docs/es/cli/live.md +2 -2
- package/docs/es/compiler.md +1 -1
- package/docs/es/component_i18n.md +1 -1
- package/docs/es/custom_domains.md +3 -3
- package/docs/es/dictionary/condition.md +1 -1
- package/docs/es/dictionary/content_file.md +4 -4
- package/docs/es/dictionary/gender.md +1 -1
- package/docs/es/dictionary/html.md +7 -7
- package/docs/es/dictionary/insertion.md +1 -1
- package/docs/es/dictionary/markdown.md +7 -7
- package/docs/es/dictionary/plurial.md +1 -1
- package/docs/es/how_works_intlayer.md +2 -2
- package/docs/es/interest_of_intlayer.md +132 -75
- package/docs/es/intlayer_CMS.md +3 -3
- package/docs/es/intlayer_with_adonisjs.md +3 -3
- package/docs/es/intlayer_with_analog.md +70 -16
- package/docs/es/intlayer_with_angular_19.md +70 -16
- package/docs/es/intlayer_with_angular_21.md +70 -16
- package/docs/es/intlayer_with_astro.md +123 -66
- package/docs/es/intlayer_with_astro_lit.md +130 -70
- package/docs/es/intlayer_with_astro_preact.md +124 -64
- package/docs/es/intlayer_with_astro_react.md +126 -66
- package/docs/es/intlayer_with_astro_solid.md +126 -66
- package/docs/es/intlayer_with_astro_svelte.md +126 -66
- package/docs/es/intlayer_with_astro_vanilla.md +123 -65
- package/docs/es/intlayer_with_astro_vue.md +126 -66
- package/docs/es/intlayer_with_create_react_app.md +34 -13
- package/docs/es/intlayer_with_express.md +3 -3
- package/docs/es/intlayer_with_fastify.md +3 -3
- package/docs/es/intlayer_with_hono.md +3 -3
- package/docs/es/intlayer_with_lynx+react.md +48 -10
- package/docs/es/intlayer_with_nestjs.md +3 -14
- package/docs/es/intlayer_with_next-i18next.md +4 -4
- package/docs/es/intlayer_with_next-intl.md +5 -5
- package/docs/es/intlayer_with_nextjs_14.md +92 -26
- package/docs/es/intlayer_with_nextjs_15.md +92 -28
- package/docs/es/intlayer_with_nextjs_16.md +115 -48
- package/docs/es/intlayer_with_nextjs_compiler.md +41 -16
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/es/intlayer_with_nextjs_page_router.md +89 -24
- package/docs/es/intlayer_with_nuxt.md +107 -47
- package/docs/es/intlayer_with_react_native+expo.md +89 -10
- package/docs/es/intlayer_with_react_router_v7.md +96 -23
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +85 -22
- package/docs/es/intlayer_with_storybook.md +76 -18
- package/docs/es/intlayer_with_svelte_kit.md +107 -28
- package/docs/es/intlayer_with_tanstack+solid.md +106 -29
- package/docs/es/intlayer_with_tanstack.md +106 -29
- package/docs/es/intlayer_with_vanilla.md +75 -22
- package/docs/es/intlayer_with_vite+lit.md +88 -22
- package/docs/es/intlayer_with_vite+preact.md +88 -23
- package/docs/es/intlayer_with_vite+react.md +85 -22
- package/docs/es/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/es/intlayer_with_vite+solid.md +88 -23
- package/docs/es/intlayer_with_vite+svelte.md +88 -23
- package/docs/es/intlayer_with_vite+vanilla.md +90 -23
- package/docs/es/intlayer_with_vite+vue.md +88 -23
- package/docs/es/introduction.md +78 -26
- package/docs/es/lsp.md +351 -0
- package/docs/es/mcp_server.md +22 -0
- package/docs/es/packages/express-intlayer/t.md +1 -1
- package/docs/es/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/es/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/es/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/es/plugins/sync-json.md +1 -1
- package/docs/es/readme.md +1 -1
- package/docs/es/releases/v6.md +2 -2
- package/docs/es/releases/v7.md +2 -2
- package/docs/es/releases/v8.md +2 -2
- package/docs/es/roadmap.md +1 -1
- package/docs/es/testing.md +1 -1
- package/docs/fr/benchmark/tanstack.md +7 -7
- package/docs/fr/cli/build.md +1 -1
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/interest_of_intlayer.md +129 -72
- package/docs/fr/intlayer_with_adonisjs.md +3 -3
- package/docs/fr/intlayer_with_analog.md +70 -16
- package/docs/fr/intlayer_with_angular_19.md +70 -16
- package/docs/fr/intlayer_with_angular_21.md +70 -16
- package/docs/fr/intlayer_with_astro.md +123 -66
- package/docs/fr/intlayer_with_astro_lit.md +130 -70
- package/docs/fr/intlayer_with_astro_preact.md +130 -70
- package/docs/fr/intlayer_with_astro_react.md +126 -66
- package/docs/fr/intlayer_with_astro_solid.md +126 -66
- package/docs/fr/intlayer_with_astro_svelte.md +126 -66
- package/docs/fr/intlayer_with_astro_vanilla.md +123 -65
- package/docs/fr/intlayer_with_astro_vue.md +126 -66
- package/docs/fr/intlayer_with_create_react_app.md +33 -12
- package/docs/fr/intlayer_with_express.md +3 -3
- package/docs/fr/intlayer_with_fastify.md +3 -3
- package/docs/fr/intlayer_with_hono.md +3 -3
- package/docs/fr/intlayer_with_lynx+react.md +48 -10
- package/docs/fr/intlayer_with_nestjs.md +3 -14
- package/docs/fr/intlayer_with_next-i18next.md +3 -3
- package/docs/fr/intlayer_with_next-intl.md +3 -3
- package/docs/fr/intlayer_with_nextjs_14.md +91 -25
- package/docs/fr/intlayer_with_nextjs_15.md +91 -27
- package/docs/fr/intlayer_with_nextjs_16.md +96 -28
- package/docs/fr/intlayer_with_nextjs_compiler.md +39 -14
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/fr/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/fr/intlayer_with_nuxt.md +105 -45
- package/docs/fr/intlayer_with_react_native+expo.md +89 -10
- package/docs/fr/intlayer_with_react_router_v7.md +96 -23
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/fr/intlayer_with_storybook.md +76 -18
- package/docs/fr/intlayer_with_svelte_kit.md +107 -28
- package/docs/fr/intlayer_with_tanstack+solid.md +106 -29
- package/docs/fr/intlayer_with_tanstack.md +106 -29
- package/docs/fr/intlayer_with_vanilla.md +75 -22
- package/docs/fr/intlayer_with_vite+lit.md +88 -22
- package/docs/fr/intlayer_with_vite+preact.md +87 -22
- package/docs/fr/intlayer_with_vite+react.md +84 -21
- package/docs/fr/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/fr/intlayer_with_vite+solid.md +87 -22
- package/docs/fr/intlayer_with_vite+svelte.md +87 -22
- package/docs/fr/intlayer_with_vite+vanilla.md +90 -23
- package/docs/fr/intlayer_with_vite+vue.md +87 -22
- package/docs/fr/introduction.md +77 -25
- package/docs/fr/lsp.md +351 -0
- package/docs/fr/mcp_server.md +22 -0
- package/docs/fr/readme.md +1 -1
- package/docs/hi/cli/build.md +1 -1
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/interest_of_intlayer.md +39 -192
- package/docs/hi/intlayer_with_adonisjs.md +3 -3
- package/docs/hi/intlayer_with_analog.md +53 -16
- package/docs/hi/intlayer_with_angular_19.md +53 -16
- package/docs/hi/intlayer_with_angular_21.md +53 -16
- package/docs/hi/intlayer_with_astro.md +106 -66
- package/docs/hi/intlayer_with_astro_lit.md +113 -70
- package/docs/hi/intlayer_with_astro_preact.md +107 -64
- package/docs/hi/intlayer_with_astro_react.md +109 -66
- package/docs/hi/intlayer_with_astro_solid.md +109 -66
- package/docs/hi/intlayer_with_astro_svelte.md +109 -66
- package/docs/hi/intlayer_with_astro_vanilla.md +106 -65
- package/docs/hi/intlayer_with_astro_vue.md +109 -66
- package/docs/hi/intlayer_with_create_react_app.md +33 -12
- package/docs/hi/intlayer_with_express.md +3 -3
- package/docs/hi/intlayer_with_fastify.md +3 -3
- package/docs/hi/intlayer_with_hono.md +3 -3
- package/docs/hi/intlayer_with_lynx+react.md +31 -10
- package/docs/hi/intlayer_with_nestjs.md +3 -14
- package/docs/hi/intlayer_with_next-i18next.md +3 -3
- package/docs/hi/intlayer_with_next-intl.md +3 -3
- package/docs/hi/intlayer_with_nextjs_14.md +73 -24
- package/docs/hi/intlayer_with_nextjs_15.md +73 -26
- package/docs/hi/intlayer_with_nextjs_16.md +74 -26
- package/docs/hi/intlayer_with_nextjs_compiler.md +84 -60
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +67 -22
- package/docs/hi/intlayer_with_nextjs_page_router.md +70 -22
- package/docs/hi/intlayer_with_nuxt.md +88 -45
- package/docs/hi/intlayer_with_react_native+expo.md +72 -10
- package/docs/hi/intlayer_with_react_router_v7.md +79 -23
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +79 -23
- package/docs/hi/intlayer_with_storybook.md +59 -18
- package/docs/hi/intlayer_with_svelte_kit.md +100 -38
- package/docs/hi/intlayer_with_tanstack+solid.md +86 -28
- package/docs/hi/intlayer_with_tanstack.md +86 -28
- package/docs/hi/intlayer_with_vanilla.md +58 -22
- package/docs/hi/intlayer_with_vite+lit.md +71 -22
- package/docs/hi/intlayer_with_vite+preact.md +125 -77
- package/docs/hi/intlayer_with_vite+react.md +114 -69
- package/docs/hi/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/hi/intlayer_with_vite+solid.md +110 -62
- package/docs/hi/intlayer_with_vite+svelte.md +94 -48
- package/docs/hi/intlayer_with_vite+vanilla.md +73 -23
- package/docs/hi/intlayer_with_vite+vue.md +117 -69
- package/docs/hi/introduction.md +97 -44
- package/docs/hi/lsp.md +351 -0
- package/docs/id/cli/build.md +1 -1
- package/docs/id/cli/index.md +1 -1
- package/docs/id/interest_of_intlayer.md +58 -192
- package/docs/id/intlayer_with_adonisjs.md +3 -3
- package/docs/id/intlayer_with_analog.md +70 -16
- package/docs/id/intlayer_with_angular_19.md +70 -16
- package/docs/id/intlayer_with_angular_21.md +70 -16
- package/docs/id/intlayer_with_astro.md +123 -66
- package/docs/id/intlayer_with_astro_lit.md +130 -70
- package/docs/id/intlayer_with_astro_preact.md +124 -64
- package/docs/id/intlayer_with_astro_react.md +126 -66
- package/docs/id/intlayer_with_astro_solid.md +126 -66
- package/docs/id/intlayer_with_astro_svelte.md +126 -66
- package/docs/id/intlayer_with_astro_vanilla.md +123 -65
- package/docs/id/intlayer_with_astro_vue.md +126 -66
- package/docs/id/intlayer_with_create_react_app.md +33 -12
- package/docs/id/intlayer_with_express.md +3 -3
- package/docs/id/intlayer_with_fastify.md +3 -3
- package/docs/id/intlayer_with_hono.md +3 -3
- package/docs/id/intlayer_with_lynx+react.md +48 -10
- package/docs/id/intlayer_with_nestjs.md +3 -13
- package/docs/id/intlayer_with_next-i18next.md +3 -3
- package/docs/id/intlayer_with_next-intl.md +3 -3
- package/docs/id/intlayer_with_nextjs_14.md +93 -25
- package/docs/id/intlayer_with_nextjs_15.md +93 -25
- package/docs/id/intlayer_with_nextjs_16.md +91 -26
- package/docs/id/intlayer_with_nextjs_compiler.md +101 -80
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/id/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/id/intlayer_with_nuxt.md +105 -45
- package/docs/id/intlayer_with_react_native+expo.md +89 -10
- package/docs/id/intlayer_with_react_router_v7.md +96 -23
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +96 -23
- package/docs/id/intlayer_with_storybook.md +76 -18
- package/docs/id/intlayer_with_svelte_kit.md +117 -38
- package/docs/id/intlayer_with_tanstack+solid.md +103 -28
- package/docs/id/intlayer_with_tanstack.md +103 -28
- package/docs/id/intlayer_with_vanilla.md +75 -22
- package/docs/id/intlayer_with_vite+lit.md +88 -22
- package/docs/id/intlayer_with_vite+preact.md +142 -77
- package/docs/id/intlayer_with_vite+react.md +131 -69
- package/docs/id/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/id/intlayer_with_vite+solid.md +127 -62
- package/docs/id/intlayer_with_vite+svelte.md +111 -48
- package/docs/id/intlayer_with_vite+vanilla.md +90 -23
- package/docs/id/intlayer_with_vite+vue.md +134 -69
- package/docs/id/introduction.md +81 -36
- package/docs/id/lsp.md +351 -0
- package/docs/it/cli/build.md +1 -1
- package/docs/it/cli/index.md +1 -1
- package/docs/it/interest_of_intlayer.md +138 -82
- package/docs/it/intlayer_with_adonisjs.md +3 -3
- package/docs/it/intlayer_with_analog.md +70 -16
- package/docs/it/intlayer_with_angular_19.md +70 -16
- package/docs/it/intlayer_with_angular_21.md +70 -16
- package/docs/it/intlayer_with_astro.md +123 -66
- package/docs/it/intlayer_with_astro_lit.md +130 -70
- package/docs/it/intlayer_with_astro_preact.md +124 -64
- package/docs/it/intlayer_with_astro_react.md +126 -66
- package/docs/it/intlayer_with_astro_solid.md +126 -66
- package/docs/it/intlayer_with_astro_svelte.md +126 -66
- package/docs/it/intlayer_with_astro_vanilla.md +123 -65
- package/docs/it/intlayer_with_astro_vue.md +126 -66
- package/docs/it/intlayer_with_create_react_app.md +36 -13
- package/docs/it/intlayer_with_express.md +3 -3
- package/docs/it/intlayer_with_fastify.md +3 -3
- package/docs/it/intlayer_with_hono.md +3 -3
- package/docs/it/intlayer_with_lynx+react.md +48 -10
- package/docs/it/intlayer_with_nestjs.md +3 -14
- package/docs/it/intlayer_with_next-i18next.md +3 -3
- package/docs/it/intlayer_with_next-intl.md +3 -3
- package/docs/it/intlayer_with_nextjs_14.md +109 -44
- package/docs/it/intlayer_with_nextjs_15.md +90 -26
- package/docs/it/intlayer_with_nextjs_16.md +92 -27
- package/docs/it/intlayer_with_nextjs_compiler.md +84 -60
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/it/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/it/intlayer_with_nuxt.md +105 -45
- package/docs/it/intlayer_with_react_native+expo.md +89 -10
- package/docs/it/intlayer_with_react_router_v7.md +96 -23
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/it/intlayer_with_storybook.md +76 -18
- package/docs/it/intlayer_with_svelte_kit.md +149 -70
- package/docs/it/intlayer_with_tanstack+solid.md +106 -29
- package/docs/it/intlayer_with_tanstack.md +106 -29
- package/docs/it/intlayer_with_vanilla.md +75 -22
- package/docs/it/intlayer_with_vite+lit.md +88 -22
- package/docs/it/intlayer_with_vite+preact.md +142 -77
- package/docs/it/intlayer_with_vite+react.md +131 -69
- package/docs/it/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/it/intlayer_with_vite+solid.md +127 -62
- package/docs/it/intlayer_with_vite+svelte.md +111 -48
- package/docs/it/intlayer_with_vite+vanilla.md +90 -23
- package/docs/it/intlayer_with_vite+vue.md +156 -91
- package/docs/it/introduction.md +87 -33
- package/docs/it/lsp.md +351 -0
- package/docs/it/releases/v7.md +1 -1
- package/docs/ja/cli/build.md +1 -1
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/interest_of_intlayer.md +123 -86
- package/docs/ja/intlayer_with_adonisjs.md +3 -3
- package/docs/ja/intlayer_with_analog.md +53 -16
- package/docs/ja/intlayer_with_angular_19.md +53 -16
- package/docs/ja/intlayer_with_angular_21.md +53 -16
- package/docs/ja/intlayer_with_astro.md +106 -66
- package/docs/ja/intlayer_with_astro_lit.md +113 -70
- package/docs/ja/intlayer_with_astro_preact.md +113 -70
- package/docs/ja/intlayer_with_astro_react.md +109 -66
- package/docs/ja/intlayer_with_astro_solid.md +109 -66
- package/docs/ja/intlayer_with_astro_svelte.md +109 -66
- package/docs/ja/intlayer_with_astro_vanilla.md +106 -65
- package/docs/ja/intlayer_with_astro_vue.md +109 -66
- package/docs/ja/intlayer_with_create_react_app.md +33 -12
- package/docs/ja/intlayer_with_express.md +3 -3
- package/docs/ja/intlayer_with_fastify.md +3 -3
- package/docs/ja/intlayer_with_hono.md +3 -3
- package/docs/ja/intlayer_with_lynx+react.md +31 -10
- package/docs/ja/intlayer_with_nestjs.md +3 -14
- package/docs/ja/intlayer_with_next-i18next.md +3 -3
- package/docs/ja/intlayer_with_next-intl.md +3 -3
- package/docs/ja/intlayer_with_nextjs_14.md +73 -24
- package/docs/ja/intlayer_with_nextjs_15.md +73 -26
- package/docs/ja/intlayer_with_nextjs_16.md +74 -26
- package/docs/ja/intlayer_with_nextjs_compiler.md +101 -80
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +64 -21
- package/docs/ja/intlayer_with_nextjs_page_router.md +70 -22
- package/docs/ja/intlayer_with_nuxt.md +88 -45
- package/docs/ja/intlayer_with_react_native+expo.md +73 -11
- package/docs/ja/intlayer_with_react_router_v7.md +41 -13
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +72 -22
- package/docs/ja/intlayer_with_storybook.md +59 -18
- package/docs/ja/intlayer_with_svelte_kit.md +37 -11
- package/docs/ja/intlayer_with_tanstack+solid.md +89 -29
- package/docs/ja/intlayer_with_tanstack.md +89 -29
- package/docs/ja/intlayer_with_vanilla.md +58 -22
- package/docs/ja/intlayer_with_vite+lit.md +71 -22
- package/docs/ja/intlayer_with_vite+preact.md +37 -11
- package/docs/ja/intlayer_with_vite+react.md +19 -111
- package/docs/ja/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/ja/intlayer_with_vite+solid.md +113 -63
- package/docs/ja/intlayer_with_vite+svelte.md +94 -48
- package/docs/ja/intlayer_with_vite+vanilla.md +73 -23
- package/docs/ja/intlayer_with_vite+vue.md +117 -69
- package/docs/ja/introduction.md +95 -41
- package/docs/ja/lsp.md +351 -0
- package/docs/ko/cli/build.md +1 -1
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/interest_of_intlayer.md +148 -92
- package/docs/ko/intlayer_with_adonisjs.md +3 -3
- package/docs/ko/intlayer_with_analog.md +48 -10
- package/docs/ko/intlayer_with_angular_19.md +48 -10
- package/docs/ko/intlayer_with_angular_21.md +48 -10
- package/docs/ko/intlayer_with_astro.md +48 -10
- package/docs/ko/intlayer_with_astro_lit.md +48 -10
- package/docs/ko/intlayer_with_astro_preact.md +48 -10
- package/docs/ko/intlayer_with_astro_react.md +48 -10
- package/docs/ko/intlayer_with_astro_solid.md +48 -10
- package/docs/ko/intlayer_with_astro_svelte.md +48 -10
- package/docs/ko/intlayer_with_astro_vanilla.md +48 -10
- package/docs/ko/intlayer_with_astro_vue.md +48 -10
- package/docs/ko/intlayer_with_create_react_app.md +18 -7
- package/docs/ko/intlayer_with_express.md +3 -3
- package/docs/ko/intlayer_with_fastify.md +3 -3
- package/docs/ko/intlayer_with_hono.md +3 -3
- package/docs/ko/intlayer_with_lynx+react.md +48 -10
- package/docs/ko/intlayer_with_nestjs.md +3 -14
- package/docs/ko/intlayer_with_next-i18next.md +3 -3
- package/docs/ko/intlayer_with_next-intl.md +3 -3
- package/docs/ko/intlayer_with_nextjs_14.md +51 -12
- package/docs/ko/intlayer_with_nextjs_15.md +51 -14
- package/docs/ko/intlayer_with_nextjs_16.md +57 -15
- package/docs/ko/intlayer_with_nextjs_compiler.md +9 -4
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +57 -13
- package/docs/ko/intlayer_with_nextjs_page_router.md +51 -11
- package/docs/ko/intlayer_with_nuxt.md +48 -10
- package/docs/ko/intlayer_with_react_native+expo.md +91 -10
- package/docs/ko/intlayer_with_react_router_v7.md +155 -110
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +155 -110
- package/docs/ko/intlayer_with_storybook.md +48 -10
- package/docs/ko/intlayer_with_svelte_kit.md +55 -12
- package/docs/ko/intlayer_with_tanstack+solid.md +48 -11
- package/docs/ko/intlayer_with_tanstack.md +48 -11
- package/docs/ko/intlayer_with_vanilla.md +45 -13
- package/docs/ko/intlayer_with_vite+lit.md +48 -10
- package/docs/ko/intlayer_with_vite+preact.md +54 -11
- package/docs/ko/intlayer_with_vite+react.md +54 -11
- package/docs/ko/intlayer_with_vite+react_compiler.md +3 -3
- package/docs/ko/intlayer_with_vite+solid.md +54 -11
- package/docs/ko/intlayer_with_vite+svelte.md +151 -107
- package/docs/ko/intlayer_with_vite+vanilla.md +48 -10
- package/docs/ko/intlayer_with_vite+vue.md +54 -11
- package/docs/ko/introduction.md +101 -47
- package/docs/ko/lsp.md +351 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/interest_of_intlayer.md +140 -84
- package/docs/nl/intlayer_with_angular_21.md +25 -9
- package/docs/nl/intlayer_with_fastify.md +3 -3
- package/docs/nl/intlayer_with_hono.md +3 -3
- package/docs/nl/intlayer_with_storybook.md +30 -10
- package/docs/nl/intlayer_with_vanilla.md +33 -12
- package/docs/nl/intlayer_with_vite+lit.md +43 -15
- package/docs/nl/intlayer_with_vite+vanilla.md +45 -16
- package/docs/nl/introduction.md +81 -34
- package/docs/pl/benchmark/nextjs.md +6 -6
- package/docs/pl/benchmark/svelte.md +1 -1
- package/docs/pl/benchmark/tanstack.md +3 -3
- package/docs/pl/bundle_optimization.md +1 -1
- package/docs/pl/cli/build.md +1 -1
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/compiler.md +1 -1
- package/docs/pl/component_i18n.md +1 -1
- package/docs/pl/configuration.md +12 -12
- package/docs/pl/dictionary/content_file.md +1 -1
- package/docs/pl/dictionary/function_fetching.md +1 -1
- package/docs/pl/how_works_intlayer.md +1 -1
- package/docs/pl/interest_of_intlayer.md +132 -76
- package/docs/pl/intlayer_CMS.md +1 -1
- package/docs/pl/intlayer_with_adonisjs.md +3 -3
- package/docs/pl/intlayer_with_analog.md +53 -16
- package/docs/pl/intlayer_with_angular_19.md +53 -16
- package/docs/pl/intlayer_with_angular_21.md +53 -16
- package/docs/pl/intlayer_with_astro.md +106 -66
- package/docs/pl/intlayer_with_astro_lit.md +113 -70
- package/docs/pl/intlayer_with_astro_preact.md +107 -64
- package/docs/pl/intlayer_with_astro_react.md +109 -66
- package/docs/pl/intlayer_with_astro_solid.md +109 -66
- package/docs/pl/intlayer_with_astro_svelte.md +109 -66
- package/docs/pl/intlayer_with_astro_vanilla.md +106 -65
- package/docs/pl/intlayer_with_astro_vue.md +109 -66
- package/docs/pl/intlayer_with_create_react_app.md +33 -12
- package/docs/pl/intlayer_with_express.md +3 -3
- package/docs/pl/intlayer_with_fastify.md +3 -3
- package/docs/pl/intlayer_with_hono.md +3 -3
- package/docs/pl/intlayer_with_lynx+react.md +31 -10
- package/docs/pl/intlayer_with_nestjs.md +3 -13
- package/docs/pl/intlayer_with_next-i18next.md +3 -3
- package/docs/pl/intlayer_with_next-intl.md +3 -3
- package/docs/pl/intlayer_with_nextjs_14.md +76 -25
- package/docs/pl/intlayer_with_nextjs_15.md +76 -25
- package/docs/pl/intlayer_with_nextjs_16.md +143 -93
- package/docs/pl/intlayer_with_nextjs_compiler.md +84 -60
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +67 -22
- package/docs/pl/intlayer_with_nextjs_page_router.md +70 -22
- package/docs/pl/intlayer_with_nuxt.md +88 -45
- package/docs/pl/intlayer_with_react_native+expo.md +72 -10
- package/docs/pl/intlayer_with_react_router_v7.md +79 -23
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +72 -22
- package/docs/pl/intlayer_with_storybook.md +59 -18
- package/docs/pl/intlayer_with_svelte_kit.md +103 -39
- package/docs/pl/intlayer_with_tanstack+solid.md +86 -28
- package/docs/pl/intlayer_with_tanstack.md +86 -28
- package/docs/pl/intlayer_with_vanilla.md +58 -22
- package/docs/pl/intlayer_with_vite+lit.md +71 -22
- package/docs/pl/intlayer_with_vite+preact.md +125 -77
- package/docs/pl/intlayer_with_vite+react.md +114 -69
- package/docs/pl/intlayer_with_vite+react_compiler.md +25 -10
- package/docs/pl/intlayer_with_vite+solid.md +110 -62
- package/docs/pl/intlayer_with_vite+svelte.md +94 -48
- package/docs/pl/intlayer_with_vite+vanilla.md +73 -23
- package/docs/pl/intlayer_with_vite+vue.md +139 -91
- package/docs/pl/introduction.md +85 -43
- package/docs/pl/lsp.md +351 -0
- package/docs/pl/releases/v7.md +1 -1
- package/docs/pl/releases/v8.md +2 -2
- package/docs/pt/agent_skills.md +2 -2
- package/docs/pt/cli/build.md +1 -1
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/dictionary/html.md +5 -5
- package/docs/pt/dictionary/markdown.md +7 -7
- package/docs/pt/how_works_intlayer.md +2 -2
- package/docs/pt/interest_of_intlayer.md +141 -85
- package/docs/pt/intlayer_with_adonisjs.md +3 -3
- package/docs/pt/intlayer_with_analog.md +70 -16
- package/docs/pt/intlayer_with_angular_19.md +70 -16
- package/docs/pt/intlayer_with_angular_21.md +70 -16
- package/docs/pt/intlayer_with_astro.md +123 -66
- package/docs/pt/intlayer_with_astro_lit.md +130 -70
- package/docs/pt/intlayer_with_astro_preact.md +124 -64
- package/docs/pt/intlayer_with_astro_react.md +126 -66
- package/docs/pt/intlayer_with_astro_solid.md +126 -66
- package/docs/pt/intlayer_with_astro_svelte.md +126 -66
- package/docs/pt/intlayer_with_astro_vanilla.md +123 -65
- package/docs/pt/intlayer_with_astro_vue.md +126 -66
- package/docs/pt/intlayer_with_create_react_app.md +36 -13
- package/docs/pt/intlayer_with_express.md +3 -3
- package/docs/pt/intlayer_with_fastify.md +3 -3
- package/docs/pt/intlayer_with_hono.md +3 -3
- package/docs/pt/intlayer_with_lynx+react.md +48 -10
- package/docs/pt/intlayer_with_nestjs.md +3 -14
- package/docs/pt/intlayer_with_next-i18next.md +3 -3
- package/docs/pt/intlayer_with_next-intl.md +3 -3
- package/docs/pt/intlayer_with_nextjs_14.md +90 -24
- package/docs/pt/intlayer_with_nextjs_15.md +90 -26
- package/docs/pt/intlayer_with_nextjs_16.md +113 -46
- package/docs/pt/intlayer_with_nextjs_compiler.md +39 -14
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/pt/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/pt/intlayer_with_nuxt.md +107 -47
- package/docs/pt/intlayer_with_react_native+expo.md +89 -10
- package/docs/pt/intlayer_with_react_router_v7.md +95 -24
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/pt/intlayer_with_storybook.md +76 -18
- package/docs/pt/intlayer_with_svelte_kit.md +152 -71
- package/docs/pt/intlayer_with_tanstack+solid.md +106 -29
- package/docs/pt/intlayer_with_tanstack.md +106 -29
- package/docs/pt/intlayer_with_vanilla.md +75 -22
- package/docs/pt/intlayer_with_vite+lit.md +88 -22
- package/docs/pt/intlayer_with_vite+preact.md +88 -23
- package/docs/pt/intlayer_with_vite+react.md +85 -22
- package/docs/pt/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/pt/intlayer_with_vite+solid.md +88 -23
- package/docs/pt/intlayer_with_vite+svelte.md +115 -50
- package/docs/pt/intlayer_with_vite+vanilla.md +90 -23
- package/docs/pt/intlayer_with_vite+vue.md +88 -23
- package/docs/pt/introduction.md +96 -40
- package/docs/pt/lsp.md +351 -0
- package/docs/pt/readme.md +1 -1
- package/docs/ru/benchmark/svelte.md +1 -1
- package/docs/ru/bundle_optimization.md +1 -1
- package/docs/ru/cli/build.md +1 -1
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/configuration.md +2 -2
- package/docs/ru/dictionary/content_file.md +2 -2
- package/docs/ru/interest_of_intlayer.md +130 -74
- package/docs/ru/intlayer_CMS.md +1 -1
- package/docs/ru/intlayer_with_adonisjs.md +3 -3
- package/docs/ru/intlayer_with_analog.md +70 -16
- package/docs/ru/intlayer_with_angular_19.md +70 -16
- package/docs/ru/intlayer_with_angular_21.md +70 -16
- package/docs/ru/intlayer_with_astro.md +123 -66
- package/docs/ru/intlayer_with_astro_lit.md +130 -70
- package/docs/ru/intlayer_with_astro_preact.md +130 -70
- package/docs/ru/intlayer_with_astro_react.md +126 -66
- package/docs/ru/intlayer_with_astro_solid.md +126 -66
- package/docs/ru/intlayer_with_astro_svelte.md +126 -66
- package/docs/ru/intlayer_with_astro_vanilla.md +123 -65
- package/docs/ru/intlayer_with_astro_vue.md +126 -66
- package/docs/ru/intlayer_with_create_react_app.md +33 -12
- package/docs/ru/intlayer_with_express.md +3 -3
- package/docs/ru/intlayer_with_fastify.md +3 -3
- package/docs/ru/intlayer_with_hono.md +3 -3
- package/docs/ru/intlayer_with_lynx+react.md +48 -10
- package/docs/ru/intlayer_with_nestjs.md +3 -14
- package/docs/ru/intlayer_with_next-i18next.md +3 -3
- package/docs/ru/intlayer_with_next-intl.md +3 -3
- package/docs/ru/intlayer_with_nextjs_14.md +90 -24
- package/docs/ru/intlayer_with_nextjs_15.md +93 -27
- package/docs/ru/intlayer_with_nextjs_16.md +159 -92
- package/docs/ru/intlayer_with_nextjs_compiler.md +86 -62
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +81 -21
- package/docs/ru/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/ru/intlayer_with_nuxt.md +105 -45
- package/docs/ru/intlayer_with_react_native+expo.md +89 -10
- package/docs/ru/intlayer_with_react_router_v7.md +96 -23
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/ru/intlayer_with_storybook.md +76 -18
- package/docs/ru/intlayer_with_svelte_kit.md +117 -38
- package/docs/ru/intlayer_with_tanstack+solid.md +106 -29
- package/docs/ru/intlayer_with_tanstack.md +106 -29
- package/docs/ru/intlayer_with_vanilla.md +75 -22
- package/docs/ru/intlayer_with_vite+lit.md +88 -22
- package/docs/ru/intlayer_with_vite+preact.md +142 -77
- package/docs/ru/intlayer_with_vite+react.md +130 -68
- package/docs/ru/intlayer_with_vite+react_compiler.md +25 -10
- package/docs/ru/intlayer_with_vite+solid.md +127 -62
- package/docs/ru/intlayer_with_vite+svelte.md +111 -48
- package/docs/ru/intlayer_with_vite+vanilla.md +90 -23
- package/docs/ru/intlayer_with_vite+vue.md +134 -69
- package/docs/ru/introduction.md +85 -32
- package/docs/ru/lsp.md +351 -0
- package/docs/ru/packages/vite-intlayer/exports.md +7 -7
- package/docs/ru/releases/v6.md +2 -2
- package/docs/ru/releases/v7.md +2 -2
- package/docs/ru/roadmap.md +1 -1
- package/docs/ru/testing.md +1 -1
- package/docs/tr/benchmark/index.md +1 -1
- package/docs/tr/benchmark/nextjs.md +7 -7
- package/docs/tr/benchmark/solid.md +2 -2
- package/docs/tr/benchmark/svelte.md +2 -2
- package/docs/tr/benchmark/tanstack.md +4 -4
- package/docs/tr/benchmark/vue.md +3 -3
- package/docs/tr/bundle_optimization.md +1 -1
- package/docs/tr/cli/build.md +1 -1
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/component_i18n.md +1 -1
- package/docs/tr/dictionary/content_file.md +2 -2
- package/docs/tr/dictionary/html.md +5 -5
- package/docs/tr/dictionary/markdown.md +7 -7
- package/docs/tr/how_works_intlayer.md +2 -2
- package/docs/tr/interest_of_intlayer.md +152 -96
- package/docs/tr/intlayer_CMS.md +1 -1
- package/docs/tr/intlayer_with_adonisjs.md +3 -3
- package/docs/tr/intlayer_with_analog.md +70 -16
- package/docs/tr/intlayer_with_angular_19.md +70 -16
- package/docs/tr/intlayer_with_angular_21.md +70 -16
- package/docs/tr/intlayer_with_astro.md +123 -66
- package/docs/tr/intlayer_with_astro_lit.md +138 -78
- package/docs/tr/intlayer_with_astro_preact.md +132 -72
- package/docs/tr/intlayer_with_astro_react.md +134 -74
- package/docs/tr/intlayer_with_astro_solid.md +134 -74
- package/docs/tr/intlayer_with_astro_svelte.md +134 -74
- package/docs/tr/intlayer_with_astro_vanilla.md +131 -73
- package/docs/tr/intlayer_with_astro_vue.md +126 -66
- package/docs/tr/intlayer_with_create_react_app.md +33 -12
- package/docs/tr/intlayer_with_express.md +3 -3
- package/docs/tr/intlayer_with_fastify.md +3 -3
- package/docs/tr/intlayer_with_hono.md +3 -3
- package/docs/tr/intlayer_with_lynx+react.md +48 -10
- package/docs/tr/intlayer_with_nestjs.md +3 -14
- package/docs/tr/intlayer_with_next-i18next.md +3 -3
- package/docs/tr/intlayer_with_next-intl.md +3 -3
- package/docs/tr/intlayer_with_nextjs_14.md +13 -6
- package/docs/tr/intlayer_with_nextjs_15.md +91 -27
- package/docs/tr/intlayer_with_nextjs_16.md +160 -93
- package/docs/tr/intlayer_with_nextjs_compiler.md +102 -81
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +85 -23
- package/docs/tr/intlayer_with_nextjs_page_router.md +88 -23
- package/docs/tr/intlayer_with_nuxt.md +105 -45
- package/docs/tr/intlayer_with_react_native+expo.md +90 -11
- package/docs/tr/intlayer_with_react_router_v7.md +96 -23
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/tr/intlayer_with_storybook.md +76 -18
- package/docs/tr/intlayer_with_svelte_kit.md +117 -38
- package/docs/tr/intlayer_with_tanstack+solid.md +103 -28
- package/docs/tr/intlayer_with_tanstack.md +103 -28
- package/docs/tr/intlayer_with_vanilla.md +75 -22
- package/docs/tr/intlayer_with_vite+lit.md +89 -23
- package/docs/tr/intlayer_with_vite+preact.md +143 -78
- package/docs/tr/intlayer_with_vite+react.md +132 -70
- package/docs/tr/intlayer_with_vite+react_compiler.md +26 -11
- package/docs/tr/intlayer_with_vite+solid.md +128 -63
- package/docs/tr/intlayer_with_vite+svelte.md +112 -49
- package/docs/tr/intlayer_with_vite+vanilla.md +91 -24
- package/docs/tr/intlayer_with_vite+vue.md +135 -70
- package/docs/tr/introduction.md +103 -49
- package/docs/tr/lsp.md +351 -0
- package/docs/tr/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/tr/packages/vite-intlayer/intlayerPrune.md +1 -1
- package/docs/tr/readme.md +1 -1
- package/docs/tr/releases/v7.md +1 -1
- package/docs/tr/releases/v8.md +1 -1
- package/docs/uk/cli/build.md +1 -1
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/interest_of_intlayer.md +58 -192
- package/docs/uk/intlayer_with_adonisjs.md +3 -3
- package/docs/uk/intlayer_with_analog.md +70 -16
- package/docs/uk/intlayer_with_angular_19.md +70 -16
- package/docs/uk/intlayer_with_angular_21.md +70 -16
- package/docs/uk/intlayer_with_astro.md +123 -66
- package/docs/uk/intlayer_with_astro_lit.md +130 -70
- package/docs/uk/intlayer_with_astro_preact.md +124 -64
- package/docs/uk/intlayer_with_astro_react.md +126 -66
- package/docs/uk/intlayer_with_astro_solid.md +126 -66
- package/docs/uk/intlayer_with_astro_svelte.md +126 -66
- package/docs/uk/intlayer_with_astro_vanilla.md +123 -65
- package/docs/uk/intlayer_with_astro_vue.md +126 -66
- package/docs/uk/intlayer_with_create_react_app.md +33 -12
- package/docs/uk/intlayer_with_express.md +3 -3
- package/docs/uk/intlayer_with_fastify.md +3 -3
- package/docs/uk/intlayer_with_hono.md +3 -3
- package/docs/uk/intlayer_with_lynx+react.md +48 -10
- package/docs/uk/intlayer_with_nestjs.md +3 -13
- package/docs/uk/intlayer_with_next-i18next.md +3 -3
- package/docs/uk/intlayer_with_next-intl.md +3 -3
- package/docs/uk/intlayer_with_nextjs_14.md +93 -25
- package/docs/uk/intlayer_with_nextjs_15.md +93 -25
- package/docs/uk/intlayer_with_nextjs_16.md +159 -92
- package/docs/uk/intlayer_with_nextjs_compiler.md +101 -80
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +84 -22
- package/docs/uk/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/uk/intlayer_with_nuxt.md +105 -45
- package/docs/uk/intlayer_with_react_native+expo.md +88 -11
- package/docs/uk/intlayer_with_react_router_v7.md +96 -23
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +89 -22
- package/docs/uk/intlayer_with_storybook.md +76 -18
- package/docs/uk/intlayer_with_svelte_kit.md +97 -32
- package/docs/uk/intlayer_with_tanstack+solid.md +104 -29
- package/docs/uk/intlayer_with_tanstack.md +103 -28
- package/docs/uk/intlayer_with_vanilla.md +75 -22
- package/docs/uk/intlayer_with_vite+lit.md +88 -22
- package/docs/uk/intlayer_with_vite+preact.md +142 -77
- package/docs/uk/intlayer_with_vite+react.md +131 -69
- package/docs/uk/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/uk/intlayer_with_vite+solid.md +127 -62
- package/docs/uk/intlayer_with_vite+svelte.md +114 -49
- package/docs/uk/intlayer_with_vite+vanilla.md +91 -24
- package/docs/uk/intlayer_with_vite+vue.md +134 -69
- package/docs/uk/introduction.md +82 -40
- package/docs/uk/lsp.md +351 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/interest_of_intlayer.md +125 -88
- package/docs/ur/intlayer_with_angular_21.md +25 -9
- package/docs/ur/intlayer_with_fastify.md +3 -3
- package/docs/ur/intlayer_with_hono.md +3 -3
- package/docs/ur/intlayer_with_storybook.md +30 -10
- package/docs/ur/intlayer_with_vanilla.md +33 -12
- package/docs/ur/intlayer_with_vite+lit.md +43 -15
- package/docs/ur/intlayer_with_vite+vanilla.md +45 -16
- package/docs/ur/introduction.md +82 -37
- package/docs/vi/benchmark/index.md +1 -1
- package/docs/vi/benchmark/nextjs.md +5 -5
- package/docs/vi/benchmark/tanstack.md +2 -2
- package/docs/vi/cli/build.md +1 -1
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/how_works_intlayer.md +2 -2
- package/docs/vi/interest_of_intlayer.md +58 -192
- package/docs/vi/intlayer_with_adonisjs.md +3 -3
- package/docs/vi/intlayer_with_analog.md +70 -16
- package/docs/vi/intlayer_with_angular_19.md +70 -16
- package/docs/vi/intlayer_with_angular_21.md +70 -16
- package/docs/vi/intlayer_with_astro.md +123 -66
- package/docs/vi/intlayer_with_astro_lit.md +130 -70
- package/docs/vi/intlayer_with_astro_preact.md +124 -64
- package/docs/vi/intlayer_with_astro_react.md +126 -66
- package/docs/vi/intlayer_with_astro_solid.md +126 -66
- package/docs/vi/intlayer_with_astro_svelte.md +126 -66
- package/docs/vi/intlayer_with_astro_vanilla.md +123 -65
- package/docs/vi/intlayer_with_astro_vue.md +126 -66
- package/docs/vi/intlayer_with_create_react_app.md +33 -12
- package/docs/vi/intlayer_with_express.md +3 -3
- package/docs/vi/intlayer_with_fastify.md +3 -3
- package/docs/vi/intlayer_with_hono.md +3 -3
- package/docs/vi/intlayer_with_lynx+react.md +48 -10
- package/docs/vi/intlayer_with_nestjs.md +3 -13
- package/docs/vi/intlayer_with_next-i18next.md +3 -3
- package/docs/vi/intlayer_with_next-intl.md +3 -3
- package/docs/vi/intlayer_with_nextjs_14.md +93 -25
- package/docs/vi/intlayer_with_nextjs_15.md +76 -26
- package/docs/vi/intlayer_with_nextjs_16.md +160 -93
- package/docs/vi/intlayer_with_nextjs_compiler.md +101 -80
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +81 -21
- package/docs/vi/intlayer_with_nextjs_page_router.md +87 -22
- package/docs/vi/intlayer_with_nuxt.md +105 -45
- package/docs/vi/intlayer_with_react_native+expo.md +89 -10
- package/docs/vi/intlayer_with_react_router_v7.md +96 -23
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +96 -23
- package/docs/vi/intlayer_with_storybook.md +76 -18
- package/docs/vi/intlayer_with_svelte_kit.md +117 -38
- package/docs/vi/intlayer_with_tanstack+solid.md +103 -28
- package/docs/vi/intlayer_with_tanstack.md +103 -28
- package/docs/vi/intlayer_with_vanilla.md +75 -22
- package/docs/vi/intlayer_with_vite+lit.md +88 -22
- package/docs/vi/intlayer_with_vite+preact.md +142 -77
- package/docs/vi/intlayer_with_vite+react.md +131 -69
- package/docs/vi/intlayer_with_vite+react_compiler.md +24 -9
- package/docs/vi/intlayer_with_vite+solid.md +127 -62
- package/docs/vi/intlayer_with_vite+svelte.md +113 -50
- package/docs/vi/intlayer_with_vite+vanilla.md +90 -23
- package/docs/vi/intlayer_with_vite+vue.md +134 -69
- package/docs/vi/introduction.md +88 -42
- package/docs/vi/lsp.md +351 -0
- package/docs/vi/releases/v7.md +1 -1
- package/docs/zh/benchmark/nextjs.md +1 -1
- package/docs/zh/benchmark/solid.md +1 -1
- package/docs/zh/benchmark/svelte.md +1 -1
- package/docs/zh/benchmark/vue.md +2 -2
- package/docs/zh/bundle_optimization.md +13 -13
- package/docs/zh/cli/build.md +1 -1
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/component_i18n.md +1 -1
- package/docs/zh/dictionary/content_file.md +2 -2
- package/docs/zh/dictionary/html.md +6 -6
- package/docs/zh/dictionary/markdown.md +7 -7
- package/docs/zh/how_works_intlayer.md +1 -1
- package/docs/zh/interest_of_intlayer.md +122 -85
- package/docs/zh/intlayer_with_adonisjs.md +3 -3
- package/docs/zh/intlayer_with_analog.md +31 -10
- package/docs/zh/intlayer_with_angular_19.md +31 -10
- package/docs/zh/intlayer_with_angular_21.md +53 -16
- package/docs/zh/intlayer_with_astro.md +31 -10
- package/docs/zh/intlayer_with_astro_lit.md +31 -10
- package/docs/zh/intlayer_with_astro_preact.md +31 -10
- package/docs/zh/intlayer_with_astro_react.md +31 -10
- package/docs/zh/intlayer_with_astro_solid.md +31 -10
- package/docs/zh/intlayer_with_astro_svelte.md +31 -10
- package/docs/zh/intlayer_with_astro_vanilla.md +31 -10
- package/docs/zh/intlayer_with_astro_vue.md +31 -10
- package/docs/zh/intlayer_with_create_react_app.md +3 -3
- package/docs/zh/intlayer_with_express.md +3 -3
- package/docs/zh/intlayer_with_fastify.md +3 -3
- package/docs/zh/intlayer_with_hono.md +3 -3
- package/docs/zh/intlayer_with_lynx+react.md +31 -10
- package/docs/zh/intlayer_with_nestjs.md +3 -14
- package/docs/zh/intlayer_with_next-i18next.md +3 -3
- package/docs/zh/intlayer_with_next-intl.md +3 -3
- package/docs/zh/intlayer_with_nextjs_14.md +52 -17
- package/docs/zh/intlayer_with_nextjs_15.md +56 -21
- package/docs/zh/intlayer_with_nextjs_16.md +42 -17
- package/docs/zh/intlayer_with_nextjs_compiler.md +171 -157
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +140 -104
- package/docs/zh/intlayer_with_nextjs_page_router.md +49 -15
- package/docs/zh/intlayer_with_nuxt.md +73 -40
- package/docs/zh/intlayer_with_react_native+expo.md +72 -10
- package/docs/zh/intlayer_with_react_router_v7.md +38 -12
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +38 -12
- package/docs/zh/intlayer_with_storybook.md +31 -10
- package/docs/zh/intlayer_with_svelte_kit.md +262 -226
- package/docs/zh/intlayer_with_tanstack+solid.md +31 -11
- package/docs/zh/intlayer_with_tanstack.md +31 -11
- package/docs/zh/intlayer_with_vanilla.md +28 -13
- package/docs/zh/intlayer_with_vite+lit.md +31 -10
- package/docs/zh/intlayer_with_vite+preact.md +137 -108
- package/docs/zh/intlayer_with_vite+react.md +99 -64
- package/docs/zh/intlayer_with_vite+react_compiler.md +3 -3
- package/docs/zh/intlayer_with_vite+solid.md +83 -53
- package/docs/zh/intlayer_with_vite+svelte.md +82 -44
- package/docs/zh/intlayer_with_vite+vanilla.md +31 -10
- package/docs/zh/intlayer_with_vite+vue.md +124 -86
- package/docs/zh/introduction.md +100 -46
- package/docs/zh/lsp.md +351 -0
- package/docs/zh/releases/v8.md +3 -3
- package/docs/zh/roadmap.md +1 -1
- package/docs/zh-TW/interest_of_intlayer.md +135 -98
- package/docs/zh-TW/intlayer_with_angular_21.md +25 -9
- package/docs/zh-TW/introduction.md +207 -0
- package/package.json +7 -7
- package/src/common.ts +1 -1
- package/src/generated/docs.entry.ts +20 -20
- package/docs/ar/index.md +0 -164
- package/docs/bn/index.md +0 -183
- package/docs/cs/index.md +0 -183
- package/docs/de/index.md +0 -166
- package/docs/en/index.md +0 -183
- package/docs/en-GB/index.md +0 -170
- package/docs/es/index.md +0 -165
- package/docs/fr/index.md +0 -163
- package/docs/hi/index.md +0 -166
- package/docs/id/index.md +0 -176
- package/docs/it/index.md +0 -166
- package/docs/ja/index.md +0 -164
- package/docs/ko/index.md +0 -164
- package/docs/nl/index.md +0 -183
- package/docs/pl/index.md +0 -176
- package/docs/pt/index.md +0 -166
- package/docs/ru/index.md +0 -163
- package/docs/tr/index.md +0 -166
- package/docs/uk/index.md +0 -175
- package/docs/ur/index.md +0 -183
- package/docs/vi/index.md +0 -174
- package/docs/zh/index.md +0 -183
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-04-18
|
|
3
|
-
updatedAt: 2026-05-
|
|
4
|
-
title: Vite + Preact i18n -
|
|
5
|
-
description:
|
|
3
|
+
updatedAt: 2026-05-31
|
|
4
|
+
title: "Vite + Preact i18n - Hướng dẫn đầy đủ để dịch ứng dụng của bạn"
|
|
5
|
+
description: "Không còn i18next nữa. Hướng dẫn 2026 để xây dựng ứng dụng Vite + Preact đa ngôn ngữ (i18n). Dịch với các AI agent và tối ưu hóa kích thước bundle, SEO và hiệu suất."
|
|
6
6
|
keywords:
|
|
7
7
|
- Quốc tế hóa
|
|
8
8
|
- Tài liệu
|
|
@@ -67,16 +67,54 @@ history:
|
|
|
67
67
|
|
|
68
68
|
<TOC/>
|
|
69
69
|
|
|
70
|
-
## Intlayer
|
|
70
|
+
## Tại sao Intlayer thay thế các lựa chọn thay thế?
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
So với các giải pháp chính như `preact-i18n` hay `i18next`, Intlayer là giải pháp đi kèm với các tính năng tối ưu hóa tích hợp như:
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
<AccordionGroup>
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
<Accordion header="Bảo hiểm đầy đủ Preact">
|
|
77
|
+
|
|
78
|
+
Intlayer được tối ưu hóa để hoạt động hoàn hảo với Preact bằng cách cung cấp **phạm vi nội dung cấp thành phần**, **bản dịch được tải từng phần** và tất cả các tính năng cần thiết để mở rộng quy mô quốc tế hóa (i18n).
|
|
79
|
+
|
|
80
|
+
</Accordion>
|
|
81
|
+
|
|
82
|
+
<Accordion header="Kích thước bundle">
|
|
83
|
+
|
|
84
|
+
Thay vì tải các tệp JSON lớn vào trang của bạn, hãy chỉ tải nội dung cần thiết. Intlayer giúp **giảm tới 50% kích thước bundle và kích thước trang**.
|
|
85
|
+
|
|
86
|
+
</Accordion>
|
|
87
|
+
|
|
88
|
+
<Accordion header="Khả năng bảo trì">
|
|
89
|
+
|
|
90
|
+
Xác định phạm vi nội dung ứng dụng của bạn **tạo điều kiện bảo trì** cho các ứng dụng quy mô lớn. Bạn có thể sao chép hoặc xóa một thư mục tính năng mà không phải lo lắng về việc xem lại toàn bộ cơ sở mã nội dung của mình. Ngoài ra, Intlayer **được nhập đầy đủ** để đảm bảo tính chính xác cho nội dung của bạn.
|
|
91
|
+
|
|
92
|
+
</Accordion>
|
|
93
|
+
|
|
94
|
+
<Accordion header="Đại lý AI">
|
|
95
|
+
|
|
96
|
+
Nội dung cùng định vị **giảm ngữ cảnh cần thiết** của Mô hình ngôn ngữ lớn (LLM). Intlayer cũng đi kèm một bộ công cụ, chẳng hạn như **CLI** để kiểm tra các bản dịch bị thiếu,**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**, **[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** và **[agent Skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**, để giúp trải nghiệm của nhà phát triển (DX) trở nên mượt mà hơn nữa đối với các tác nhân AI.
|
|
97
|
+
|
|
98
|
+
</Accordion>
|
|
99
|
+
|
|
100
|
+
<Accordion header="Tự động hóa">
|
|
101
|
+
|
|
102
|
+
Sử dụng tính năng tự động hóa để dịch trong quy trình CI/CD của bạn bằng cách sử dụng LLM mà bạn chọn với chi phí do nhà cung cấp AI của bạn chi trả. Intlayer cũng cung cấp **trình biên dịch** để tự động trích xuất nội dung cũng như [nền tảng web](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md) để giúp **dịch ở chế độ nền**.
|
|
103
|
+
|
|
104
|
+
</Accordion>
|
|
105
|
+
|
|
106
|
+
<Accordion header="Hiệu suất">
|
|
107
|
+
|
|
108
|
+
Việc kết nối các tệp JSON lớn với các thành phần có thể dẫn đến các vấn đề về hiệu suất và khả năng phản hồi. Intlayer tối ưu hóa việc tải nội dung của bạn tại thời điểm build.
|
|
109
|
+
|
|
110
|
+
</Accordion>
|
|
111
|
+
|
|
112
|
+
<Accordion header="Mở rộng quy mô không có nhà phát triển">
|
|
113
|
+
|
|
114
|
+
Không chỉ là giải pháp i18n, Intlayer còn cung cấp **[trình chỉnh sửa trực quan](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)** và **[CMS đầy đủ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** để giúp bạn quản lý nội dung đa ngôn ngữ của mình trong **thời gian thực**, giúp việc cộng tác với người dịch, người viết quảng cáo và các thành viên khác trong nhóm trở nên liền mạch. Nội dung có thể được lưu trữ cục bộ và/hoặc từ xa.
|
|
115
|
+
|
|
116
|
+
</Accordion>
|
|
117
|
+
</AccordionGroup>
|
|
80
118
|
|
|
81
119
|
---
|
|
82
120
|
|
|
@@ -84,7 +122,9 @@ Với Intlayer, bạn có thể:
|
|
|
84
122
|
|
|
85
123
|
Xem [Mẫu Ứng Dụng](https://github.com/aymericzip/intlayer-vite-preact-template) trên GitHub.
|
|
86
124
|
|
|
87
|
-
|
|
125
|
+
<Steps>
|
|
126
|
+
|
|
127
|
+
<Step number={1} title="Cài Đặt Các Phụ Thuộc">
|
|
88
128
|
|
|
89
129
|
Cài đặt các gói cần thiết bằng npm:
|
|
90
130
|
|
|
@@ -124,7 +164,9 @@ bun x intlayer init
|
|
|
124
164
|
|
|
125
165
|
Bao gồm plugin Vite để tích hợp Intlayer với [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), cũng như middleware để phát hiện ngôn ngữ ưu tiên của người dùng, quản lý cookie và xử lý chuyển hướng URL.
|
|
126
166
|
|
|
127
|
-
|
|
167
|
+
</Step>
|
|
168
|
+
|
|
169
|
+
<Step number={2} title="Cấu hình dự án của bạn">
|
|
128
170
|
|
|
129
171
|
Tạo một file cấu hình để cấu hình các ngôn ngữ của ứng dụng của bạn:
|
|
130
172
|
|
|
@@ -152,7 +194,9 @@ export default config;
|
|
|
152
194
|
|
|
153
195
|
> Thông qua tệp cấu hình này, bạn có thể thiết lập URL đa ngôn ngữ, chế độ định tuyến, tùy chọn lưu trữ, tên cookie, vị trí và phần mở rộng của các khai báo nội dung, tắt các log của Intlayer trên console, và nhiều hơn nữa. Để xem danh sách đầy đủ các tham số có sẵn, hãy tham khảo [tài liệu cấu hình](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/configuration.md).
|
|
154
196
|
|
|
155
|
-
|
|
197
|
+
</Step>
|
|
198
|
+
|
|
199
|
+
<Step number={3} title="Tích hợp Intlayer vào cấu hình Vite của bạn">
|
|
156
200
|
|
|
157
201
|
Thêm plugin intlayer vào cấu hình của bạn.
|
|
158
202
|
|
|
@@ -169,7 +213,9 @@ export default defineConfig({
|
|
|
169
213
|
|
|
170
214
|
> Plugin Vite `intlayer()` được sử dụng để tích hợp Intlayer với Vite. Nó đảm bảo việc xây dựng các file khai báo nội dung và giám sát chúng trong chế độ phát triển. Nó định nghĩa các biến môi trường Intlayer trong ứng dụng Vite. Ngoài ra, nó còn cung cấp các bí danh để tối ưu hiệu suất.
|
|
171
215
|
|
|
172
|
-
|
|
216
|
+
</Step>
|
|
217
|
+
|
|
218
|
+
<Step number={4} title="Khai báo Nội dung của Bạn">
|
|
173
219
|
|
|
174
220
|
Tạo và quản lý các khai báo nội dung để lưu trữ bản dịch:
|
|
175
221
|
|
|
@@ -291,7 +337,9 @@ export default appContent;
|
|
|
291
337
|
|
|
292
338
|
> Nếu file nội dung của bạn bao gồm mã TSX, bạn có thể cần import `import { h } from "preact";` hoặc đảm bảo pragma JSX của bạn được thiết lập đúng cho Preact.
|
|
293
339
|
|
|
294
|
-
|
|
340
|
+
</Step>
|
|
341
|
+
|
|
342
|
+
<Step number={5} title="Sử dụng Intlayer trong Code của Bạn">
|
|
295
343
|
|
|
296
344
|
Truy cập các từ điển nội dung trong toàn bộ ứng dụng của bạn:
|
|
297
345
|
|
|
@@ -363,7 +411,9 @@ export default App;
|
|
|
363
411
|
|
|
364
412
|
> Nếu ứng dụng của bạn đã tồn tại, bạn có thể sử dụng [Intlayer Compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/compiler.md) kết hợp với [lệnh extract](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/cli/extract.md) để chuyển đổi hàng nghìn component chỉ trong một giây.
|
|
365
413
|
|
|
366
|
-
|
|
414
|
+
</Step>
|
|
415
|
+
|
|
416
|
+
<Step number={6} title="Thay đổi ngôn ngữ của nội dung" isOptional={true}>
|
|
367
417
|
|
|
368
418
|
Để thay đổi ngôn ngữ của nội dung, bạn có thể sử dụng hàm `setLocale` được cung cấp bởi hook `useLocale`. Hàm này cho phép bạn thiết lập locale của ứng dụng và cập nhật nội dung tương ứng.
|
|
369
419
|
|
|
@@ -387,7 +437,9 @@ export default LocaleSwitcher;
|
|
|
387
437
|
|
|
388
438
|
> Để tìm hiểu thêm về hook `useLocale`, hãy tham khảo [tài liệu](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/packages/react-intlayer/useLocale.md) (API tương tự cho `preact-intlayer`).
|
|
389
439
|
|
|
390
|
-
|
|
440
|
+
</Step>
|
|
441
|
+
|
|
442
|
+
<Step number={7} title="Thêm định tuyến cục bộ vào ứng dụng của bạn" isOptional={true}>
|
|
391
443
|
|
|
392
444
|
Mục đích của bước này là tạo các route duy nhất cho mỗi ngôn ngữ. Điều này hữu ích cho SEO và các URL thân thiện với SEO.
|
|
393
445
|
Ví dụ:
|
|
@@ -450,7 +502,9 @@ const App: FunctionalComponent = () => (
|
|
|
450
502
|
export default App;
|
|
451
503
|
```
|
|
452
504
|
|
|
453
|
-
|
|
505
|
+
</Step>
|
|
506
|
+
|
|
507
|
+
<Step number={8} title="Thay đổi URL khi ngôn ngữ thay đổi" isOptional={true}>
|
|
454
508
|
|
|
455
509
|
Để thay đổi URL khi ngôn ngữ thay đổi, bạn có thể sử dụng thuộc tính `onLocaleChange` được cung cấp bởi hook `useLocale`. Đồng thời, bạn có thể sử dụng phương thức `route` từ `useLocation` của `preact-iso` để cập nhật đường dẫn URL.
|
|
456
510
|
|
|
@@ -524,7 +578,9 @@ export default LocaleSwitcher;
|
|
|
524
578
|
>
|
|
525
579
|
> > - [Hook `useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/packages/react-intlayer/useLocale.md) (API tương tự cho `preact-intlayer`)> - [Hook `getLocaleName`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/packages/intlayer/getLocaleName.md)> - [Hook `getLocalizedUrl`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/packages/intlayer/getLocalizedUrl.md)> - [Hook `getHTMLTextDir`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/packages/intlayer/getHTMLTextDir.md)> - [Thuộc tính `hreflang`](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)> - [Thuộc tính `lang`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)> - [Thuộc tính `dir`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir)> - [Thuộc tính `aria-current`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)> - [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
526
580
|
|
|
527
|
-
|
|
581
|
+
</Step>
|
|
582
|
+
|
|
583
|
+
<Step number={9} title="Chuyển đổi thuộc tính ngôn ngữ và hướng của HTML" isOptional={true}>
|
|
528
584
|
|
|
529
585
|
Khi ứng dụng của bạn hỗ trợ nhiều ngôn ngữ, việc cập nhật các thuộc tính `lang` và `dir` của thẻ `<html>` để khớp với ngôn ngữ hiện tại là rất quan trọng. Làm như vậy đảm bảo:
|
|
530
586
|
|
|
@@ -591,7 +647,9 @@ const App: FunctionalComponent = () => (
|
|
|
591
647
|
export default App;
|
|
592
648
|
```
|
|
593
649
|
|
|
594
|
-
|
|
650
|
+
</Step>
|
|
651
|
+
|
|
652
|
+
<Step number={10} title="Tạo thành phần liên kết cục bộ" isOptional={true}>
|
|
595
653
|
|
|
596
654
|
Để đảm bảo rằng điều hướng của ứng dụng của bạn tôn trọng ngôn ngữ hiện tại, bạn có thể tạo một thành phần `Link` tùy chỉnh. Thành phần này tự động thêm tiền tố ngôn ngữ hiện tại vào các URL nội bộ.
|
|
597
655
|
|
|
@@ -656,7 +714,9 @@ Link.displayName = "Link";
|
|
|
656
714
|
- **Trả về liên kết**:
|
|
657
715
|
Thành phần trả về phần tử `<a>` với URL được bản địa hóa, đảm bảo điều hướng nhất quán với ngôn ngữ.
|
|
658
716
|
|
|
659
|
-
|
|
717
|
+
</Step>
|
|
718
|
+
|
|
719
|
+
<Step number={11} title="Hiển thị Markdown và HTML" isOptional={true}>
|
|
660
720
|
|
|
661
721
|
Intlayer hỗ trợ hiển thị nội dung Markdown và HTML trong Preact.
|
|
662
722
|
|
|
@@ -690,63 +750,9 @@ return (
|
|
|
690
750
|
);
|
|
691
751
|
```
|
|
692
752
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
Intlayer sử dụng module augmentation để tận dụng lợi ích của TypeScript và làm cho codebase của bạn mạnh mẽ hơn.
|
|
696
|
-
|
|
697
|
-

|
|
698
|
-
|
|
699
|
-

|
|
700
|
-
|
|
701
|
-
Đảm bảo cấu hình TypeScript của bạn bao gồm các loại được tạo tự động.
|
|
702
|
-
|
|
703
|
-
```json5 fileName="tsconfig.json"
|
|
704
|
-
{
|
|
705
|
-
// ... Các cấu hình TypeScript hiện có của bạn
|
|
706
|
-
"compilerOptions": {
|
|
707
|
-
// ...
|
|
708
|
-
"jsx": "react-jsx",
|
|
709
|
-
"jsxImportSource": "preact", // Được đề xuất cho Preact 10+
|
|
710
|
-
// ...
|
|
711
|
-
},
|
|
712
|
-
"include": [
|
|
713
|
-
// ... Các cấu hình TypeScript hiện có của bạn
|
|
714
|
-
".intlayer/**/*.ts", // Bao gồm các loại được tạo tự động
|
|
715
|
-
],
|
|
716
|
-
}
|
|
717
|
-
```
|
|
718
|
-
|
|
719
|
-
> Đảm bảo `tsconfig.json` của bạn được thiết lập cho Preact, đặc biệt là `jsx` và `jsxImportSource` hoặc `jsxFactory`/`jsxFragmentFactory` cho các phiên bản Preact cũ hơn nếu không sử dụng mặc định của `preset-vite`.
|
|
720
|
-
|
|
721
|
-
### Cấu hình Git
|
|
722
|
-
|
|
723
|
-
Bạn nên bỏ qua các tệp do Intlayer tạo ra. Điều này cho phép bạn tránh commit chúng vào kho lưu trữ Git của mình.
|
|
724
|
-
|
|
725
|
-
Để làm điều này, bạn có thể thêm các hướng dẫn sau vào tệp `.gitignore` của mình:
|
|
726
|
-
|
|
727
|
-
```bash
|
|
728
|
-
# Bỏ qua các tệp do Intlayer tạo ra
|
|
729
|
-
.intlayer
|
|
730
|
-
```
|
|
731
|
-
|
|
732
|
-
### Tiện ích mở rộng VS Code
|
|
753
|
+
</Step>
|
|
733
754
|
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
[Cài đặt từ VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
737
|
-
|
|
738
|
-
Tiện ích mở rộng này cung cấp:
|
|
739
|
-
|
|
740
|
-
- **Tự động hoàn thành** cho các khóa dịch.
|
|
741
|
-
- **Phát hiện lỗi theo thời gian thực** cho các bản dịch còn thiếu.
|
|
742
|
-
- **Xem trước nội tuyến** nội dung đã dịch.
|
|
743
|
-
- **Hành động nhanh** để dễ dàng tạo và cập nhật bản dịch.
|
|
744
|
-
|
|
745
|
-
Để biết thêm chi tiết về cách sử dụng tiện ích mở rộng, hãy tham khảo [tài liệu Tiện ích mở rộng Intlayer VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
746
|
-
|
|
747
|
-
---
|
|
748
|
-
|
|
749
|
-
### (Tùy chọn) Bước 1 : Trích xuất nội dung các thành phần của bạn
|
|
755
|
+
<Step number={1} title="Trích xuất nội dung các thành phần của bạn" isOptional={true}>
|
|
750
756
|
|
|
751
757
|
Nếu bạn có một cơ sở mã hiện có, việc chuyển đổi hàng nghìn tệp có thể tốn nhiều thời gian.
|
|
752
758
|
|
|
@@ -841,6 +847,65 @@ bun run build # Or bun run dev
|
|
|
841
847
|
|
|
842
848
|
</Tab>
|
|
843
849
|
</Tabs>
|
|
850
|
+
</Step>
|
|
851
|
+
|
|
852
|
+
</Steps>
|
|
853
|
+
|
|
854
|
+
### Cấu hình TypeScript
|
|
855
|
+
|
|
856
|
+
Intlayer sử dụng module augmentation để tận dụng lợi ích của TypeScript và làm cho codebase của bạn mạnh mẽ hơn.
|
|
857
|
+
|
|
858
|
+

|
|
859
|
+
|
|
860
|
+

|
|
861
|
+
|
|
862
|
+
Đảm bảo cấu hình TypeScript của bạn bao gồm các loại được tạo tự động.
|
|
863
|
+
|
|
864
|
+
```json5 fileName="tsconfig.json"
|
|
865
|
+
{
|
|
866
|
+
// ... Các cấu hình TypeScript hiện có của bạn
|
|
867
|
+
"compilerOptions": {
|
|
868
|
+
// ...
|
|
869
|
+
"jsx": "react-jsx",
|
|
870
|
+
"jsxImportSource": "preact", // Được đề xuất cho Preact 10+
|
|
871
|
+
// ...
|
|
872
|
+
},
|
|
873
|
+
"include": [
|
|
874
|
+
// ... Các cấu hình TypeScript hiện có của bạn
|
|
875
|
+
".intlayer/**/*.ts", // Bao gồm các loại được tạo tự động
|
|
876
|
+
],
|
|
877
|
+
}
|
|
878
|
+
```
|
|
879
|
+
|
|
880
|
+
> Đảm bảo `tsconfig.json` của bạn được thiết lập cho Preact, đặc biệt là `jsx` và `jsxImportSource` hoặc `jsxFactory`/`jsxFragmentFactory` cho các phiên bản Preact cũ hơn nếu không sử dụng mặc định của `preset-vite`.
|
|
881
|
+
|
|
882
|
+
### Cấu hình Git
|
|
883
|
+
|
|
884
|
+
Bạn nên bỏ qua các tệp do Intlayer tạo ra. Điều này cho phép bạn tránh commit chúng vào kho lưu trữ Git của mình.
|
|
885
|
+
|
|
886
|
+
Để làm điều này, bạn có thể thêm các hướng dẫn sau vào tệp `.gitignore` của mình:
|
|
887
|
+
|
|
888
|
+
```bash
|
|
889
|
+
# Bỏ qua các tệp do Intlayer tạo ra
|
|
890
|
+
.intlayer
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
### Tiện ích mở rộng VS Code
|
|
894
|
+
|
|
895
|
+
Để cải thiện trải nghiệm phát triển của bạn với Intlayer, bạn có thể cài đặt **Tiện ích mở rộng Intlayer VS Code** chính thức.
|
|
896
|
+
|
|
897
|
+
[Cài đặt từ VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
898
|
+
|
|
899
|
+
Tiện ích mở rộng này cung cấp:
|
|
900
|
+
|
|
901
|
+
- **Tự động hoàn thành** cho các khóa dịch.
|
|
902
|
+
- **Phát hiện lỗi theo thời gian thực** cho các bản dịch còn thiếu.
|
|
903
|
+
- **Xem trước nội tuyến** nội dung đã dịch.
|
|
904
|
+
- **Hành động nhanh** để dễ dàng tạo và cập nhật bản dịch.
|
|
905
|
+
|
|
906
|
+
Để biết thêm chi tiết về cách sử dụng tiện ích mở rộng, hãy tham khảo [tài liệu Tiện ích mở rộng Intlayer VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
907
|
+
|
|
908
|
+
---
|
|
844
909
|
|
|
845
910
|
### (Tuỳ chọn) Sitemap và robots.txt (sinh lúc build)
|
|
846
911
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-03-07
|
|
3
|
-
updatedAt: 2026-05-
|
|
4
|
-
title: Vite + React i18n -
|
|
5
|
-
description:
|
|
3
|
+
updatedAt: 2026-05-31
|
|
4
|
+
title: "Vite + React i18n - Hướng dẫn đầy đủ để dịch ứng dụng của bạn"
|
|
5
|
+
description: "Không còn i18next nữa. Hướng dẫn 2026 để xây dựng ứng dụng Vite + React đa ngôn ngữ (i18n). Dịch với các AI agent và tối ưu hóa kích thước bundle, SEO và hiệu suất."
|
|
6
6
|
keywords:
|
|
7
7
|
- Quốc tế hóa
|
|
8
8
|
- Tài liệu
|
|
@@ -36,16 +36,54 @@ history:
|
|
|
36
36
|
|
|
37
37
|
<TOC/>
|
|
38
38
|
|
|
39
|
-
## Intlayer
|
|
39
|
+
## Tại sao Intlayer thay thế các lựa chọn thay thế?
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
So với các giải pháp chính như `react-i18next` hay `i18next`, Intlayer là giải pháp đi kèm với các tính năng tối ưu hóa tích hợp như:
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
<AccordionGroup>
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
<Accordion header="Bảo hiểm đầy đủ Vite và React">
|
|
46
|
+
|
|
47
|
+
Intlayer được tối ưu hóa để hoạt động hoàn hảo với Vite và React bằng cách cung cấp **phạm vi nội dung cấp thành phần**, **bản dịch được tải từng phần** và tất cả các tính năng cần thiết để mở rộng quy mô quốc tế hóa (i18n).
|
|
48
|
+
|
|
49
|
+
</Accordion>
|
|
50
|
+
|
|
51
|
+
<Accordion header="Kích thước bundle">
|
|
52
|
+
|
|
53
|
+
Thay vì tải các tệp JSON lớn vào trang của bạn, hãy chỉ tải nội dung cần thiết. Intlayer giúp **giảm tới 50% kích thước bundle và kích thước trang**.
|
|
54
|
+
|
|
55
|
+
</Accordion>
|
|
56
|
+
|
|
57
|
+
<Accordion header="Khả năng bảo trì">
|
|
58
|
+
|
|
59
|
+
Xác định phạm vi nội dung ứng dụng của bạn **tạo điều kiện bảo trì** cho các ứng dụng quy mô lớn. Bạn có thể sao chép hoặc xóa một thư mục tính năng mà không phải lo lắng về việc xem lại toàn bộ cơ sở mã nội dung của mình. Ngoài ra, Intlayer **được nhập đầy đủ** để đảm bảo tính chính xác cho nội dung của bạn.
|
|
60
|
+
|
|
61
|
+
</Accordion>
|
|
62
|
+
|
|
63
|
+
<Accordion header="Đại lý AI">
|
|
64
|
+
|
|
65
|
+
Nội dung cùng định vị **giảm ngữ cảnh cần thiết** của Mô hình ngôn ngữ lớn (LLM). Intlayer cũng đi kèm một bộ công cụ, chẳng hạn như **CLI** để kiểm tra các bản dịch bị thiếu,**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**, **[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** và **[agent Skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**, để giúp trải nghiệm của nhà phát triển (DX) trở nên mượt mà hơn nữa đối với các tác nhân AI.
|
|
66
|
+
|
|
67
|
+
</Accordion>
|
|
68
|
+
|
|
69
|
+
<Accordion header="Tự động hóa">
|
|
70
|
+
|
|
71
|
+
Sử dụng tính năng tự động hóa để dịch trong quy trình CI/CD của bạn bằng cách sử dụng LLM mà bạn chọn với chi phí do nhà cung cấp AI của bạn chi trả. Intlayer cũng cung cấp **trình biên dịch** để tự động trích xuất nội dung cũng như [nền tảng web](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md) để giúp **dịch ở chế độ nền**.
|
|
72
|
+
|
|
73
|
+
</Accordion>
|
|
74
|
+
|
|
75
|
+
<Accordion header="Hiệu suất">
|
|
76
|
+
|
|
77
|
+
Việc kết nối các tệp JSON lớn với các thành phần có thể dẫn đến các vấn đề về hiệu suất và khả năng phản hồi. Intlayer tối ưu hóa việc tải nội dung của bạn tại thời điểm build.
|
|
78
|
+
|
|
79
|
+
</Accordion>
|
|
80
|
+
|
|
81
|
+
<Accordion header="Mở rộng quy mô không có nhà phát triển">
|
|
82
|
+
|
|
83
|
+
Không chỉ là giải pháp i18n, Intlayer còn cung cấp **[trình chỉnh sửa trực quan](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)** và **[CMS đầy đủ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** để giúp bạn quản lý nội dung đa ngôn ngữ của mình trong **thời gian thực**, giúp việc cộng tác với người dịch, người viết quảng cáo và các thành viên khác trong nhóm trở nên liền mạch. Nội dung có thể được lưu trữ cục bộ và/hoặc từ xa.
|
|
84
|
+
|
|
85
|
+
</Accordion>
|
|
86
|
+
</AccordionGroup>
|
|
49
87
|
|
|
50
88
|
---
|
|
51
89
|
|
|
@@ -83,7 +121,9 @@ Với Intlayer, bạn có thể:
|
|
|
83
121
|
|
|
84
122
|
Xem [Mẫu Ứng Dụng](https://github.com/aymericzip/intlayer-vite-react-template) trên GitHub.
|
|
85
123
|
|
|
86
|
-
|
|
124
|
+
<Steps>
|
|
125
|
+
|
|
126
|
+
<Step number={1} title="Cài đặt các phụ thuộc">
|
|
87
127
|
|
|
88
128
|
Cài đặt các gói cần thiết bằng npm:
|
|
89
129
|
|
|
@@ -121,7 +161,9 @@ bun x intlayer init
|
|
|
121
161
|
- **vite-intlayer**
|
|
122
162
|
Bao gồm plugin Vite để tích hợp Intlayer với [trình đóng gói Vite](https://vite.dev/guide/why.html#why-bundle-for-production), cũng như middleware để phát hiện ngôn ngữ ưu tiên của người dùng, quản lý cookie, và xử lý chuyển hướng URL.
|
|
123
163
|
|
|
124
|
-
|
|
164
|
+
</Step>
|
|
165
|
+
|
|
166
|
+
<Step number={2} title="Cấu hình dự án của bạn">
|
|
125
167
|
|
|
126
168
|
Tạo một file cấu hình để cấu hình các ngôn ngữ cho ứng dụng của bạn:
|
|
127
169
|
|
|
@@ -145,7 +187,9 @@ export default config;
|
|
|
145
187
|
|
|
146
188
|
> Thông qua tệp cấu hình này, bạn có thể thiết lập URL theo ngôn ngữ, chuyển hướng middleware, tên cookie, vị trí và phần mở rộng của các khai báo nội dung, tắt các log của Intlayer trên console, và nhiều hơn nữa. Để xem danh sách đầy đủ các tham số có sẵn, hãy tham khảo [tài liệu cấu hình](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md).
|
|
147
189
|
|
|
148
|
-
|
|
190
|
+
</Step>
|
|
191
|
+
|
|
192
|
+
<Step number={3} title="Tích hợp Intlayer vào cấu hình Vite của bạn">
|
|
149
193
|
|
|
150
194
|
Thêm plugin intlayer vào cấu hình của bạn.
|
|
151
195
|
|
|
@@ -162,7 +206,9 @@ export default defineConfig({
|
|
|
162
206
|
|
|
163
207
|
> Plugin Vite `intlayer()` được sử dụng để tích hợp Intlayer với Vite. Nó đảm bảo việc xây dựng các file khai báo nội dung và giám sát chúng trong chế độ phát triển. Nó định nghĩa các biến môi trường Intlayer trong ứng dụng Vite. Ngoài ra, nó còn cung cấp các bí danh để tối ưu hiệu suất.
|
|
164
208
|
|
|
165
|
-
|
|
209
|
+
</Step>
|
|
210
|
+
|
|
211
|
+
<Step number={4} title="Khai báo Nội dung của Bạn">
|
|
166
212
|
|
|
167
213
|
Tạo và quản lý các khai báo nội dung để lưu trữ bản dịch:
|
|
168
214
|
|
|
@@ -293,7 +339,9 @@ export default appContent;
|
|
|
293
339
|
|
|
294
340
|
> Nếu tệp nội dung của bạn bao gồm mã TSX, bạn nên xem xét việc import `import React from "react";` trong tệp nội dung của bạn.
|
|
295
341
|
|
|
296
|
-
|
|
342
|
+
</Step>
|
|
343
|
+
|
|
344
|
+
<Step number={5} title="Sử dụng Intlayer trong Mã của Bạn">
|
|
297
345
|
|
|
298
346
|
Truy cập các từ điển nội dung của bạn trong toàn bộ ứng dụng:
|
|
299
347
|
|
|
@@ -356,7 +404,9 @@ export default App;
|
|
|
356
404
|
|
|
357
405
|
> Nếu ứng dụng của bạn đã tồn tại, bạn có thể sử dụng [Intlayer Compiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/compiler.md) kết hợp với [lệnh extract](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/cli/extract.md) để chuyển đổi hàng nghìn component chỉ trong một giây.
|
|
358
406
|
|
|
359
|
-
|
|
407
|
+
</Step>
|
|
408
|
+
|
|
409
|
+
<Step number={6} title="Thay đổi ngôn ngữ cho nội dung của bạn" isOptional={true}>
|
|
360
410
|
|
|
361
411
|
Để thay đổi ngôn ngữ cho nội dung của bạn, bạn có thể sử dụng hàm `setLocale` được cung cấp bởi hook `useLocale`. Hàm này cho phép bạn thiết lập locale của ứng dụng và cập nhật nội dung tương ứng.
|
|
362
412
|
|
|
@@ -378,7 +428,9 @@ const LocaleSwitcher: FC = () => {
|
|
|
378
428
|
|
|
379
429
|
> Để tìm hiểu thêm về hook `useLocale`, hãy tham khảo [tài liệu](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useLocale.md).
|
|
380
430
|
|
|
381
|
-
|
|
431
|
+
</Step>
|
|
432
|
+
|
|
433
|
+
<Step number={7} title="Thêm định tuyến theo ngôn ngữ vào ứng dụng của bạn" isOptional={true}>
|
|
382
434
|
|
|
383
435
|
Mục đích của bước này là tạo các đường dẫn duy nhất cho mỗi ngôn ngữ. Điều này hữu ích cho SEO và các URL thân thiện với SEO.
|
|
384
436
|
Ví dụ:
|
|
@@ -457,7 +509,9 @@ export default defineConfig({
|
|
|
457
509
|
});
|
|
458
510
|
```
|
|
459
511
|
|
|
460
|
-
|
|
512
|
+
</Step>
|
|
513
|
+
|
|
514
|
+
<Step number={8} title="Thay đổi URL khi thay đổi locale" isOptional={true}>
|
|
461
515
|
|
|
462
516
|
Để thay đổi URL khi locale thay đổi, bạn có thể sử dụng prop `onLocaleChange` được cung cấp bởi hook `useLocale`. Đồng thời, bạn có thể sử dụng các hook `useLocation` và `useNavigate` từ `react-router-dom` để cập nhật đường dẫn URL.
|
|
463
517
|
|
|
@@ -541,7 +595,9 @@ Dưới đây là **Bước 9** đã được cập nhật với các giải th
|
|
|
541
595
|
|
|
542
596
|
---
|
|
543
597
|
|
|
544
|
-
|
|
598
|
+
</Step>
|
|
599
|
+
|
|
600
|
+
<Step number={9} title="Chuyển đổi Thuộc tính Ngôn ngữ và Hướng của HTML" isOptional={true}>
|
|
545
601
|
|
|
546
602
|
Khi ứng dụng của bạn hỗ trợ nhiều ngôn ngữ, việc cập nhật các thuộc tính `lang` và `dir` của thẻ `<html>` để phù hợp với locale hiện tại là rất quan trọng. Việc này đảm bảo:
|
|
547
603
|
|
|
@@ -612,7 +668,9 @@ Bằng cách áp dụng những thay đổi này, ứng dụng của bạn sẽ:
|
|
|
612
668
|
- Điều chỉnh **hướng văn bản** (`dir`) theo locale, nâng cao khả năng đọc và trải nghiệm người dùng cho các ngôn ngữ có thứ tự đọc khác nhau.
|
|
613
669
|
- Cung cấp trải nghiệm **truy cập tốt hơn**, vì các công nghệ hỗ trợ phụ thuộc vào các thuộc tính này để hoạt động tối ưu.
|
|
614
670
|
|
|
615
|
-
|
|
671
|
+
</Step>
|
|
672
|
+
|
|
673
|
+
<Step number={10} title="Tạo Component Link Đa Ngôn Ngữ" isOptional={true}>
|
|
616
674
|
|
|
617
675
|
Để đảm bảo rằng điều hướng của ứng dụng của bạn tuân thủ locale hiện tại, bạn có thể tạo một component `Link` tùy chỉnh. Component này tự động thêm tiền tố ngôn ngữ hiện tại vào các URL nội bộ, ví dụ, khi người dùng nói tiếng Pháp nhấp vào liên kết đến trang "About", họ sẽ được chuyển hướng đến `/fr/about` thay vì `/about`.
|
|
618
676
|
|
|
@@ -685,56 +743,9 @@ Link.displayName = "Link";
|
|
|
685
743
|
Thành phần trả về một phần tử `<a>` với URL đã được địa phương hóa, đảm bảo rằng việc điều hướng nhất quán với ngôn ngữ hiện tại.
|
|
686
744
|
|
|
687
745
|
Bằng cách tích hợp thành phần `Link` này trong toàn bộ ứng dụng của bạn, bạn duy trì trải nghiệm người dùng nhất quán và nhận biết ngôn ngữ đồng thời tận dụng được lợi ích từ SEO và khả năng sử dụng được cải thiện.
|
|
746
|
+
</Step>
|
|
688
747
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
Intlayer sử dụng module augmentation để tận dụng các lợi ích của TypeScript và làm cho codebase của bạn mạnh mẽ hơn.
|
|
692
|
-
|
|
693
|
-

|
|
694
|
-
|
|
695
|
-

|
|
696
|
-
|
|
697
|
-
Đảm bảo cấu hình TypeScript của bạn bao gồm các kiểu được tạo tự động.
|
|
698
|
-
|
|
699
|
-
```json5 fileName="tsconfig.json"
|
|
700
|
-
{
|
|
701
|
-
// ... Cấu hình TypeScript hiện tại của bạn
|
|
702
|
-
"include": [
|
|
703
|
-
// ... Cấu hình TypeScript hiện tại của bạn
|
|
704
|
-
".intlayer/**/*.ts", // Bao gồm các kiểu tự động tạo
|
|
705
|
-
],
|
|
706
|
-
}
|
|
707
|
-
```
|
|
708
|
-
|
|
709
|
-
### Cấu hình Git
|
|
710
|
-
|
|
711
|
-
Khuyến nghị bỏ qua các tệp được tạo bởi Intlayer. Điều này giúp bạn tránh việc commit chúng vào kho Git của mình.
|
|
712
|
-
|
|
713
|
-
Để làm điều này, bạn có thể thêm các chỉ dẫn sau vào tệp `.gitignore` của bạn:
|
|
714
|
-
|
|
715
|
-
```bash
|
|
716
|
-
# Bỏ qua các tệp được tạo bởi Intlayer
|
|
717
|
-
.intlayer
|
|
718
|
-
```
|
|
719
|
-
|
|
720
|
-
### Tiện ích mở rộng VS Code
|
|
721
|
-
|
|
722
|
-
Để cải thiện trải nghiệm phát triển với Intlayer, bạn có thể cài đặt **Tiện ích mở rộng Intlayer cho VS Code** chính thức.
|
|
723
|
-
|
|
724
|
-
[Cài đặt từ VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
725
|
-
|
|
726
|
-
Tiện ích mở rộng này cung cấp:
|
|
727
|
-
|
|
728
|
-
- **Tự động hoàn thành** cho các khóa dịch.
|
|
729
|
-
- **Phát hiện lỗi thời gian thực** cho các bản dịch còn thiếu.
|
|
730
|
-
- **Xem trước nội dung dịch ngay trong dòng**.
|
|
731
|
-
- **Hành động nhanh** để dễ dàng tạo và cập nhật bản dịch.
|
|
732
|
-
|
|
733
|
-
Để biết thêm chi tiết về cách sử dụng tiện ích mở rộng, hãy tham khảo [Tài liệu Tiện ích mở rộng Intlayer cho VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
734
|
-
|
|
735
|
-
---
|
|
736
|
-
|
|
737
|
-
### (Tùy chọn) Bước 1 : Trích xuất nội dung các thành phần của bạn
|
|
748
|
+
<Step number={1} title="Trích xuất nội dung các thành phần của bạn" isOptional={true}>
|
|
738
749
|
|
|
739
750
|
Nếu bạn có một cơ sở mã hiện có, việc chuyển đổi hàng nghìn tệp có thể tốn nhiều thời gian.
|
|
740
751
|
|
|
@@ -829,6 +840,57 @@ bun run build # Or bun run dev
|
|
|
829
840
|
|
|
830
841
|
</Tab>
|
|
831
842
|
</Tabs>
|
|
843
|
+
</Step>
|
|
844
|
+
|
|
845
|
+
</Steps>
|
|
846
|
+
|
|
847
|
+
### Cấu hình TypeScript
|
|
848
|
+
|
|
849
|
+
Intlayer sử dụng module augmentation để tận dụng các lợi ích của TypeScript và làm cho codebase của bạn mạnh mẽ hơn.
|
|
850
|
+
|
|
851
|
+

|
|
852
|
+
|
|
853
|
+

|
|
854
|
+
|
|
855
|
+
Đảm bảo cấu hình TypeScript của bạn bao gồm các kiểu được tạo tự động.
|
|
856
|
+
|
|
857
|
+
```json5 fileName="tsconfig.json"
|
|
858
|
+
{
|
|
859
|
+
// ... Cấu hình TypeScript hiện tại của bạn
|
|
860
|
+
"include": [
|
|
861
|
+
// ... Cấu hình TypeScript hiện tại của bạn
|
|
862
|
+
".intlayer/**/*.ts", // Bao gồm các kiểu tự động tạo
|
|
863
|
+
],
|
|
864
|
+
}
|
|
865
|
+
```
|
|
866
|
+
|
|
867
|
+
### Cấu hình Git
|
|
868
|
+
|
|
869
|
+
Khuyến nghị bỏ qua các tệp được tạo bởi Intlayer. Điều này giúp bạn tránh việc commit chúng vào kho Git của mình.
|
|
870
|
+
|
|
871
|
+
Để làm điều này, bạn có thể thêm các chỉ dẫn sau vào tệp `.gitignore` của bạn:
|
|
872
|
+
|
|
873
|
+
```bash
|
|
874
|
+
# Bỏ qua các tệp được tạo bởi Intlayer
|
|
875
|
+
.intlayer
|
|
876
|
+
```
|
|
877
|
+
|
|
878
|
+
### Tiện ích mở rộng VS Code
|
|
879
|
+
|
|
880
|
+
Để cải thiện trải nghiệm phát triển với Intlayer, bạn có thể cài đặt **Tiện ích mở rộng Intlayer cho VS Code** chính thức.
|
|
881
|
+
|
|
882
|
+
[Cài đặt từ VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
883
|
+
|
|
884
|
+
Tiện ích mở rộng này cung cấp:
|
|
885
|
+
|
|
886
|
+
- **Tự động hoàn thành** cho các khóa dịch.
|
|
887
|
+
- **Phát hiện lỗi thời gian thực** cho các bản dịch còn thiếu.
|
|
888
|
+
- **Xem trước nội dung dịch ngay trong dòng**.
|
|
889
|
+
- **Hành động nhanh** để dễ dàng tạo và cập nhật bản dịch.
|
|
890
|
+
|
|
891
|
+
Để biết thêm chi tiết về cách sử dụng tiện ích mở rộng, hãy tham khảo [Tài liệu Tiện ích mở rộng Intlayer cho VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
892
|
+
|
|
893
|
+
---
|
|
832
894
|
|
|
833
895
|
### (Tuỳ chọn) Sitemap và robots.txt (sinh lúc build)
|
|
834
896
|
|