@intlayer/docs 8.11.1 → 8.11.3
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 +3 -3
- package/blog/ar/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/de/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/en/i18n_using_next-intl.md +3 -3
- package/blog/en/list_i18n_technologies/frameworks/angular.md +3 -3
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +3 -3
- package/blog/en/list_i18n_technologies/frameworks/react.md +3 -3
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +3 -3
- package/blog/en/list_i18n_technologies/frameworks/vue.md +3 -3
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
- package/blog/en-GB/i18n_using_next-i18next.md +3 -3
- package/blog/en-GB/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/es/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/fr/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/hi/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/id/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/it/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/ja/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/ko/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/pl/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/pt/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/ru/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/tr/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/uk/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/vi/i18n_using_next-intl.md +3 -3
- 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 +3 -3
- package/blog/zh/i18n_using_next-intl.md +3 -3
- 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/generated/blog.entry.cjs +0 -1
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +20 -21
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs +0 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/cjs/generated/legal.entry.cjs +0 -1
- package/dist/cjs/generated/legal.entry.cjs.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/dictionary/markdown.md +161 -0
- 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 +59 -18
- package/docs/ar/intlayer_with_astro_lit.md +62 -19
- package/docs/ar/intlayer_with_astro_preact.md +62 -19
- package/docs/ar/intlayer_with_astro_react.md +62 -19
- package/docs/ar/intlayer_with_astro_solid.md +62 -19
- package/docs/ar/intlayer_with_astro_svelte.md +62 -19
- package/docs/ar/intlayer_with_astro_vanilla.md +59 -18
- package/docs/ar/intlayer_with_astro_vue.md +62 -19
- package/docs/ar/intlayer_with_create_react_app.md +34 -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 -3
- 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 +74 -24
- package/docs/ar/intlayer_with_nextjs_15.md +75 -27
- package/docs/ar/intlayer_with_nextjs_16.md +74 -26
- package/docs/ar/intlayer_with_nextjs_compiler.md +41 -15
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +65 -21
- package/docs/ar/intlayer_with_nextjs_page_router.md +72 -23
- package/docs/ar/intlayer_with_nuxt.md +62 -19
- 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 +57 -16
- package/docs/ar/intlayer_with_svelte_kit.md +91 -28
- package/docs/ar/intlayer_with_tanstack+solid.md +86 -28
- package/docs/ar/intlayer_with_tanstack.md +86 -28
- package/docs/ar/intlayer_with_vanilla.md +59 -22
- package/docs/ar/intlayer_with_vite+lit.md +71 -22
- package/docs/ar/intlayer_with_vite+preact.md +71 -22
- package/docs/ar/intlayer_with_vite+react.md +68 -21
- package/docs/ar/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/ar/intlayer_with_vite+solid.md +71 -22
- package/docs/ar/intlayer_with_vite+svelte.md +68 -21
- package/docs/ar/intlayer_with_vite+vanilla.md +74 -23
- package/docs/ar/intlayer_with_vite+vue.md +71 -22
- package/docs/ar/introduction.md +76 -37
- package/docs/ar/lsp.md +351 -0
- 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_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 +67 -37
- package/docs/cs/interest_of_intlayer.md +55 -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 +28 -8
- package/docs/cs/intlayer_with_vanilla.md +34 -12
- package/docs/cs/intlayer_with_vite+lit.md +43 -15
- package/docs/cs/intlayer_with_vite+vanilla.md +46 -16
- package/docs/cs/introduction.md +61 -31
- package/docs/de/dictionary/markdown.md +161 -0
- package/docs/de/interest_of_intlayer.md +126 -78
- package/docs/de/intlayer_with_adonisjs.md +3 -3
- package/docs/de/intlayer_with_analog.md +63 -16
- package/docs/de/intlayer_with_angular_19.md +63 -16
- package/docs/de/intlayer_with_angular_21.md +63 -16
- package/docs/de/intlayer_with_astro.md +69 -18
- package/docs/de/intlayer_with_astro_lit.md +72 -19
- package/docs/de/intlayer_with_astro_preact.md +72 -19
- package/docs/de/intlayer_with_astro_react.md +72 -19
- package/docs/de/intlayer_with_astro_solid.md +72 -19
- package/docs/de/intlayer_with_astro_svelte.md +72 -19
- package/docs/de/intlayer_with_astro_vanilla.md +69 -18
- package/docs/de/intlayer_with_astro_vue.md +72 -19
- package/docs/de/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/de/intlayer_with_nestjs.md +3 -3
- 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 +84 -24
- package/docs/de/intlayer_with_nextjs_15.md +84 -26
- package/docs/de/intlayer_with_nextjs_16.md +90 -28
- package/docs/de/intlayer_with_nextjs_compiler.md +10 -4
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/de/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/de/intlayer_with_nuxt.md +72 -19
- package/docs/de/intlayer_with_react_native+expo.md +83 -11
- package/docs/de/intlayer_with_react_router_v7.md +89 -23
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +69 -19
- package/docs/de/intlayer_with_storybook.md +67 -16
- package/docs/de/intlayer_with_svelte_kit.md +101 -28
- package/docs/de/intlayer_with_tanstack+solid.md +99 -29
- package/docs/de/intlayer_with_tanstack.md +99 -29
- package/docs/de/intlayer_with_vanilla.md +69 -22
- package/docs/de/intlayer_with_vite+lit.md +81 -22
- package/docs/de/intlayer_with_vite+preact.md +81 -22
- package/docs/de/intlayer_with_vite+react.md +78 -21
- package/docs/de/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/de/intlayer_with_vite+solid.md +81 -22
- package/docs/de/intlayer_with_vite+svelte.md +81 -22
- package/docs/de/intlayer_with_vite+vanilla.md +84 -23
- package/docs/de/intlayer_with_vite+vue.md +81 -22
- package/docs/de/introduction.md +69 -31
- package/docs/de/lsp.md +351 -0
- package/docs/de/releases/v7.md +1 -1
- package/docs/en/dictionary/markdown.md +163 -0
- package/docs/en/interest_of_intlayer.md +51 -3
- package/docs/en/intlayer_with_adonisjs.md +3 -3
- package/docs/en/intlayer_with_analog.md +63 -16
- package/docs/en/intlayer_with_angular_19.md +63 -16
- package/docs/en/intlayer_with_angular_21.md +63 -16
- package/docs/en/intlayer_with_astro.md +75 -20
- package/docs/en/intlayer_with_astro_lit.md +72 -19
- package/docs/en/intlayer_with_astro_preact.md +72 -19
- package/docs/en/intlayer_with_astro_react.md +72 -19
- package/docs/en/intlayer_with_astro_solid.md +72 -19
- package/docs/en/intlayer_with_astro_svelte.md +72 -19
- package/docs/en/intlayer_with_astro_vanilla.md +69 -18
- package/docs/en/intlayer_with_astro_vue.md +72 -19
- package/docs/en/intlayer_with_create_react_app.md +74 -19
- package/docs/en/intlayer_with_express.md +3 -3
- package/docs/en/intlayer_with_fastify.md +3 -3
- package/docs/en/intlayer_with_hono.md +3 -3
- package/docs/en/intlayer_with_lynx+react.md +41 -10
- package/docs/en/intlayer_with_nestjs.md +3 -3
- package/docs/en/intlayer_with_next-i18next.md +3 -3
- package/docs/en/intlayer_with_next-intl.md +3 -3
- package/docs/en/intlayer_with_nextjs_14.md +87 -25
- package/docs/en/intlayer_with_nextjs_15.md +87 -25
- package/docs/en/intlayer_with_nextjs_16.md +89 -27
- package/docs/en/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/en/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/en/intlayer_with_nuxt.md +72 -19
- package/docs/en/intlayer_with_react_native+expo.md +40 -11
- package/docs/en/intlayer_with_react_router_v7.md +85 -23
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +78 -22
- package/docs/en/intlayer_with_storybook.md +66 -15
- package/docs/en/intlayer_with_svelte_kit.md +81 -22
- package/docs/en/intlayer_with_tanstack+solid.md +99 -29
- package/docs/en/intlayer_with_tanstack.md +99 -29
- package/docs/en/intlayer_with_vanilla.md +69 -22
- package/docs/en/intlayer_with_vite+lit.md +81 -22
- package/docs/en/intlayer_with_vite+preact.md +81 -22
- package/docs/en/intlayer_with_vite+react.md +78 -21
- package/docs/en/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/en/intlayer_with_vite+solid.md +78 -21
- package/docs/en/intlayer_with_vite+svelte.md +81 -22
- package/docs/en/intlayer_with_vite+vanilla.md +84 -23
- package/docs/en/intlayer_with_vite+vue.md +78 -21
- package/docs/en/introduction.md +28 -2
- package/docs/en/lsp.md +351 -0
- package/docs/en/mcp_server.md +22 -0
- package/docs/en-GB/dictionary/markdown.md +161 -0
- package/docs/en-GB/interest_of_intlayer.md +71 -23
- package/docs/en-GB/intlayer_with_adonisjs.md +3 -3
- package/docs/en-GB/intlayer_with_analog.md +63 -16
- package/docs/en-GB/intlayer_with_angular_19.md +63 -16
- package/docs/en-GB/intlayer_with_angular_21.md +63 -16
- package/docs/en-GB/intlayer_with_astro.md +69 -18
- package/docs/en-GB/intlayer_with_astro_lit.md +72 -19
- package/docs/en-GB/intlayer_with_astro_preact.md +72 -19
- package/docs/en-GB/intlayer_with_astro_react.md +72 -19
- package/docs/en-GB/intlayer_with_astro_solid.md +72 -19
- package/docs/en-GB/intlayer_with_astro_svelte.md +72 -19
- package/docs/en-GB/intlayer_with_astro_vanilla.md +69 -18
- package/docs/en-GB/intlayer_with_astro_vue.md +72 -19
- package/docs/en-GB/intlayer_with_create_react_app.md +53 -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 +41 -10
- package/docs/en-GB/intlayer_with_nestjs.md +3 -3
- 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 +84 -24
- package/docs/en-GB/intlayer_with_nextjs_15.md +84 -26
- package/docs/en-GB/intlayer_with_nextjs_16.md +87 -27
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +37 -13
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/en-GB/intlayer_with_nuxt.md +72 -19
- package/docs/en-GB/intlayer_with_react_native+expo.md +82 -10
- package/docs/en-GB/intlayer_with_react_router_v7.md +82 -22
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/en-GB/intlayer_with_storybook.md +67 -16
- package/docs/en-GB/intlayer_with_svelte_kit.md +98 -27
- package/docs/en-GB/intlayer_with_tanstack+solid.md +99 -29
- package/docs/en-GB/intlayer_with_tanstack.md +96 -28
- package/docs/en-GB/intlayer_with_vanilla.md +69 -22
- package/docs/en-GB/intlayer_with_vite+lit.md +81 -22
- package/docs/en-GB/intlayer_with_vite+preact.md +78 -21
- package/docs/en-GB/intlayer_with_vite+react.md +75 -20
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/en-GB/intlayer_with_vite+solid.md +78 -21
- package/docs/en-GB/intlayer_with_vite+svelte.md +75 -20
- package/docs/en-GB/intlayer_with_vite+vanilla.md +84 -23
- package/docs/en-GB/intlayer_with_vite+vue.md +84 -23
- package/docs/en-GB/introduction.md +75 -25
- 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/index.md +1 -1
- 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 +168 -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 +124 -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 +63 -16
- package/docs/es/intlayer_with_angular_19.md +63 -16
- package/docs/es/intlayer_with_angular_21.md +63 -16
- package/docs/es/intlayer_with_astro.md +69 -18
- package/docs/es/intlayer_with_astro_lit.md +72 -19
- package/docs/es/intlayer_with_astro_preact.md +72 -19
- package/docs/es/intlayer_with_astro_react.md +72 -19
- package/docs/es/intlayer_with_astro_solid.md +72 -19
- package/docs/es/intlayer_with_astro_svelte.md +72 -19
- package/docs/es/intlayer_with_astro_vanilla.md +69 -18
- package/docs/es/intlayer_with_astro_vue.md +72 -19
- package/docs/es/intlayer_with_create_react_app.md +35 -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 +41 -10
- package/docs/es/intlayer_with_nestjs.md +3 -3
- 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 +86 -26
- package/docs/es/intlayer_with_nextjs_15.md +86 -28
- package/docs/es/intlayer_with_nextjs_16.md +92 -30
- package/docs/es/intlayer_with_nextjs_compiler.md +42 -16
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/es/intlayer_with_nextjs_page_router.md +83 -24
- package/docs/es/intlayer_with_nuxt.md +74 -21
- package/docs/es/intlayer_with_react_native+expo.md +82 -10
- package/docs/es/intlayer_with_react_router_v7.md +89 -23
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +78 -22
- package/docs/es/intlayer_with_storybook.md +67 -16
- package/docs/es/intlayer_with_svelte_kit.md +101 -28
- package/docs/es/intlayer_with_tanstack+solid.md +99 -29
- package/docs/es/intlayer_with_tanstack.md +99 -29
- package/docs/es/intlayer_with_vanilla.md +69 -22
- package/docs/es/intlayer_with_vite+lit.md +81 -22
- package/docs/es/intlayer_with_vite+preact.md +82 -23
- package/docs/es/intlayer_with_vite+react.md +79 -22
- package/docs/es/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/es/intlayer_with_vite+solid.md +82 -23
- package/docs/es/intlayer_with_vite+svelte.md +82 -23
- package/docs/es/intlayer_with_vite+vanilla.md +84 -23
- package/docs/es/intlayer_with_vite+vue.md +82 -23
- package/docs/es/introduction.md +62 -25
- 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/dictionary/markdown.md +161 -0
- package/docs/fr/interest_of_intlayer.md +121 -72
- package/docs/fr/intlayer_with_adonisjs.md +3 -3
- package/docs/fr/intlayer_with_analog.md +63 -16
- package/docs/fr/intlayer_with_angular_19.md +63 -16
- package/docs/fr/intlayer_with_angular_21.md +63 -16
- package/docs/fr/intlayer_with_astro.md +69 -18
- package/docs/fr/intlayer_with_astro_lit.md +72 -19
- package/docs/fr/intlayer_with_astro_preact.md +72 -19
- package/docs/fr/intlayer_with_astro_react.md +72 -19
- package/docs/fr/intlayer_with_astro_solid.md +72 -19
- package/docs/fr/intlayer_with_astro_svelte.md +72 -19
- package/docs/fr/intlayer_with_astro_vanilla.md +69 -18
- package/docs/fr/intlayer_with_astro_vue.md +72 -19
- package/docs/fr/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/fr/intlayer_with_nestjs.md +3 -3
- 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 +85 -25
- package/docs/fr/intlayer_with_nextjs_15.md +85 -27
- package/docs/fr/intlayer_with_nextjs_16.md +90 -28
- package/docs/fr/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/fr/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/fr/intlayer_with_nuxt.md +72 -19
- package/docs/fr/intlayer_with_react_native+expo.md +82 -10
- package/docs/fr/intlayer_with_react_router_v7.md +89 -23
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/fr/intlayer_with_storybook.md +67 -16
- package/docs/fr/intlayer_with_svelte_kit.md +101 -28
- package/docs/fr/intlayer_with_tanstack+solid.md +99 -29
- package/docs/fr/intlayer_with_tanstack.md +99 -29
- package/docs/fr/intlayer_with_vanilla.md +69 -22
- package/docs/fr/intlayer_with_vite+lit.md +81 -22
- package/docs/fr/intlayer_with_vite+preact.md +81 -22
- package/docs/fr/intlayer_with_vite+react.md +78 -21
- package/docs/fr/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/fr/intlayer_with_vite+solid.md +81 -22
- package/docs/fr/intlayer_with_vite+svelte.md +81 -22
- package/docs/fr/intlayer_with_vite+vanilla.md +84 -23
- package/docs/fr/intlayer_with_vite+vue.md +81 -22
- package/docs/fr/introduction.md +61 -24
- 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/dictionary/markdown.md +161 -0
- 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 +59 -18
- package/docs/hi/intlayer_with_astro_lit.md +62 -19
- package/docs/hi/intlayer_with_astro_preact.md +62 -19
- package/docs/hi/intlayer_with_astro_react.md +62 -19
- package/docs/hi/intlayer_with_astro_solid.md +62 -19
- package/docs/hi/intlayer_with_astro_svelte.md +62 -19
- package/docs/hi/intlayer_with_astro_vanilla.md +59 -18
- package/docs/hi/intlayer_with_astro_vue.md +62 -19
- package/docs/hi/intlayer_with_create_react_app.md +34 -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 -3
- 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 +74 -24
- package/docs/hi/intlayer_with_nextjs_15.md +74 -26
- package/docs/hi/intlayer_with_nextjs_16.md +74 -26
- package/docs/hi/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +68 -22
- package/docs/hi/intlayer_with_nextjs_page_router.md +71 -22
- package/docs/hi/intlayer_with_nuxt.md +62 -19
- 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 +57 -16
- package/docs/hi/intlayer_with_svelte_kit.md +91 -28
- 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 +59 -22
- package/docs/hi/intlayer_with_vite+lit.md +71 -22
- package/docs/hi/intlayer_with_vite+preact.md +71 -22
- package/docs/hi/intlayer_with_vite+react.md +68 -21
- package/docs/hi/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/hi/intlayer_with_vite+solid.md +71 -22
- package/docs/hi/intlayer_with_vite+svelte.md +68 -21
- package/docs/hi/intlayer_with_vite+vanilla.md +74 -23
- package/docs/hi/intlayer_with_vite+vue.md +71 -22
- package/docs/hi/introduction.md +81 -43
- package/docs/hi/lsp.md +351 -0
- package/docs/id/dictionary/markdown.md +161 -0
- package/docs/id/interest_of_intlayer.md +50 -192
- package/docs/id/intlayer_with_adonisjs.md +3 -3
- package/docs/id/intlayer_with_analog.md +63 -16
- package/docs/id/intlayer_with_angular_19.md +63 -16
- package/docs/id/intlayer_with_angular_21.md +63 -16
- package/docs/id/intlayer_with_astro.md +69 -18
- package/docs/id/intlayer_with_astro_lit.md +72 -19
- package/docs/id/intlayer_with_astro_preact.md +72 -19
- package/docs/id/intlayer_with_astro_react.md +72 -19
- package/docs/id/intlayer_with_astro_solid.md +72 -19
- package/docs/id/intlayer_with_astro_svelte.md +72 -19
- package/docs/id/intlayer_with_astro_vanilla.md +69 -18
- package/docs/id/intlayer_with_astro_vue.md +72 -19
- package/docs/id/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/id/intlayer_with_nestjs.md +3 -3
- 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 +87 -25
- package/docs/id/intlayer_with_nextjs_15.md +87 -25
- package/docs/id/intlayer_with_nextjs_16.md +84 -26
- package/docs/id/intlayer_with_nextjs_compiler.md +37 -13
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/id/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/id/intlayer_with_nuxt.md +72 -19
- package/docs/id/intlayer_with_react_native+expo.md +82 -10
- package/docs/id/intlayer_with_react_router_v7.md +89 -23
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +89 -23
- package/docs/id/intlayer_with_storybook.md +67 -16
- package/docs/id/intlayer_with_svelte_kit.md +101 -28
- package/docs/id/intlayer_with_tanstack+solid.md +96 -28
- package/docs/id/intlayer_with_tanstack.md +96 -28
- package/docs/id/intlayer_with_vanilla.md +69 -22
- package/docs/id/intlayer_with_vite+lit.md +81 -22
- package/docs/id/intlayer_with_vite+preact.md +81 -22
- package/docs/id/intlayer_with_vite+react.md +78 -21
- package/docs/id/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/id/intlayer_with_vite+solid.md +81 -22
- package/docs/id/intlayer_with_vite+svelte.md +78 -21
- package/docs/id/intlayer_with_vite+vanilla.md +84 -23
- package/docs/id/intlayer_with_vite+vue.md +81 -22
- package/docs/id/introduction.md +65 -35
- package/docs/id/lsp.md +351 -0
- package/docs/it/dictionary/markdown.md +161 -0
- package/docs/it/interest_of_intlayer.md +130 -82
- package/docs/it/intlayer_with_adonisjs.md +3 -3
- package/docs/it/intlayer_with_analog.md +63 -16
- package/docs/it/intlayer_with_angular_19.md +63 -16
- package/docs/it/intlayer_with_angular_21.md +63 -16
- package/docs/it/intlayer_with_astro.md +69 -18
- package/docs/it/intlayer_with_astro_lit.md +72 -19
- package/docs/it/intlayer_with_astro_preact.md +72 -19
- package/docs/it/intlayer_with_astro_react.md +72 -19
- package/docs/it/intlayer_with_astro_solid.md +72 -19
- package/docs/it/intlayer_with_astro_svelte.md +72 -19
- package/docs/it/intlayer_with_astro_vanilla.md +69 -18
- package/docs/it/intlayer_with_astro_vue.md +72 -19
- package/docs/it/intlayer_with_create_react_app.md +37 -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 +41 -10
- package/docs/it/intlayer_with_nestjs.md +3 -3
- 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 +84 -24
- package/docs/it/intlayer_with_nextjs_15.md +84 -26
- package/docs/it/intlayer_with_nextjs_16.md +85 -27
- package/docs/it/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/it/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/it/intlayer_with_nuxt.md +72 -19
- package/docs/it/intlayer_with_react_native+expo.md +82 -10
- package/docs/it/intlayer_with_react_router_v7.md +89 -23
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/it/intlayer_with_storybook.md +67 -16
- package/docs/it/intlayer_with_svelte_kit.md +101 -28
- package/docs/it/intlayer_with_tanstack+solid.md +99 -29
- package/docs/it/intlayer_with_tanstack.md +99 -29
- package/docs/it/intlayer_with_vanilla.md +69 -22
- package/docs/it/intlayer_with_vite+lit.md +81 -22
- package/docs/it/intlayer_with_vite+preact.md +81 -22
- package/docs/it/intlayer_with_vite+react.md +78 -21
- package/docs/it/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/it/intlayer_with_vite+solid.md +81 -22
- package/docs/it/intlayer_with_vite+svelte.md +78 -21
- package/docs/it/intlayer_with_vite+vanilla.md +84 -23
- package/docs/it/intlayer_with_vite+vue.md +81 -22
- package/docs/it/introduction.md +71 -32
- package/docs/it/lsp.md +351 -0
- package/docs/it/releases/v7.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 +59 -18
- package/docs/ja/intlayer_with_astro_lit.md +62 -19
- package/docs/ja/intlayer_with_astro_preact.md +62 -19
- package/docs/ja/intlayer_with_astro_react.md +62 -19
- package/docs/ja/intlayer_with_astro_solid.md +62 -19
- package/docs/ja/intlayer_with_astro_svelte.md +62 -19
- package/docs/ja/intlayer_with_astro_vanilla.md +59 -18
- package/docs/ja/intlayer_with_astro_vue.md +62 -19
- package/docs/ja/intlayer_with_create_react_app.md +34 -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 -3
- 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 +74 -24
- package/docs/ja/intlayer_with_nextjs_15.md +74 -26
- package/docs/ja/intlayer_with_nextjs_16.md +74 -26
- package/docs/ja/intlayer_with_nextjs_compiler.md +37 -13
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +65 -21
- package/docs/ja/intlayer_with_nextjs_page_router.md +71 -22
- package/docs/ja/intlayer_with_nuxt.md +62 -19
- 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 +57 -16
- package/docs/ja/intlayer_with_svelte_kit.md +38 -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 +59 -22
- package/docs/ja/intlayer_with_vite+lit.md +71 -22
- package/docs/ja/intlayer_with_vite+preact.md +38 -11
- package/docs/ja/intlayer_with_vite+react.md +19 -111
- package/docs/ja/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/ja/intlayer_with_vite+solid.md +74 -23
- package/docs/ja/intlayer_with_vite+svelte.md +68 -21
- package/docs/ja/intlayer_with_vite+vanilla.md +74 -23
- package/docs/ja/intlayer_with_vite+vue.md +71 -22
- package/docs/ja/introduction.md +79 -40
- package/docs/ja/lsp.md +351 -0
- package/docs/ko/dictionary/markdown.md +161 -0
- package/docs/ko/interest_of_intlayer.md +140 -92
- package/docs/ko/intlayer_with_adonisjs.md +3 -3
- package/docs/ko/intlayer_with_analog.md +41 -10
- package/docs/ko/intlayer_with_angular_19.md +41 -10
- package/docs/ko/intlayer_with_angular_21.md +41 -10
- package/docs/ko/intlayer_with_astro.md +41 -10
- package/docs/ko/intlayer_with_astro_lit.md +41 -10
- package/docs/ko/intlayer_with_astro_preact.md +41 -10
- package/docs/ko/intlayer_with_astro_react.md +41 -10
- package/docs/ko/intlayer_with_astro_solid.md +41 -10
- package/docs/ko/intlayer_with_astro_svelte.md +41 -10
- package/docs/ko/intlayer_with_astro_vanilla.md +41 -10
- package/docs/ko/intlayer_with_astro_vue.md +41 -10
- package/docs/ko/intlayer_with_create_react_app.md +19 -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 +41 -10
- package/docs/ko/intlayer_with_nestjs.md +3 -3
- 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 +44 -12
- package/docs/ko/intlayer_with_nextjs_15.md +44 -14
- package/docs/ko/intlayer_with_nextjs_16.md +51 -15
- package/docs/ko/intlayer_with_nextjs_compiler.md +10 -4
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +51 -13
- package/docs/ko/intlayer_with_nextjs_page_router.md +44 -11
- package/docs/ko/intlayer_with_nuxt.md +41 -10
- package/docs/ko/intlayer_with_react_native+expo.md +84 -10
- package/docs/ko/intlayer_with_react_router_v7.md +51 -13
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +51 -13
- package/docs/ko/intlayer_with_storybook.md +39 -8
- package/docs/ko/intlayer_with_svelte_kit.md +49 -12
- package/docs/ko/intlayer_with_tanstack+solid.md +41 -11
- package/docs/ko/intlayer_with_tanstack.md +41 -11
- package/docs/ko/intlayer_with_vanilla.md +38 -13
- package/docs/ko/intlayer_with_vite+lit.md +41 -10
- package/docs/ko/intlayer_with_vite+preact.md +48 -11
- package/docs/ko/intlayer_with_vite+react.md +48 -11
- package/docs/ko/intlayer_with_vite+react_compiler.md +3 -3
- package/docs/ko/intlayer_with_vite+solid.md +48 -11
- package/docs/ko/intlayer_with_vite+svelte.md +51 -12
- package/docs/ko/intlayer_with_vite+vanilla.md +41 -10
- package/docs/ko/intlayer_with_vite+vue.md +48 -11
- package/docs/ko/introduction.md +84 -45
- package/docs/ko/lsp.md +351 -0
- package/docs/nl/interest_of_intlayer.md +132 -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 +28 -8
- package/docs/nl/intlayer_with_vanilla.md +34 -12
- package/docs/nl/intlayer_with_vite+lit.md +43 -15
- package/docs/nl/intlayer_with_vite+vanilla.md +46 -16
- package/docs/nl/introduction.md +66 -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/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/dictionary/markdown.md +161 -0
- package/docs/pl/how_works_intlayer.md +1 -1
- package/docs/pl/interest_of_intlayer.md +124 -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 +59 -18
- package/docs/pl/intlayer_with_astro_lit.md +62 -19
- package/docs/pl/intlayer_with_astro_preact.md +62 -19
- package/docs/pl/intlayer_with_astro_react.md +62 -19
- package/docs/pl/intlayer_with_astro_solid.md +62 -19
- package/docs/pl/intlayer_with_astro_svelte.md +62 -19
- package/docs/pl/intlayer_with_astro_vanilla.md +59 -18
- package/docs/pl/intlayer_with_astro_vue.md +62 -19
- package/docs/pl/intlayer_with_create_react_app.md +34 -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 -3
- 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 +77 -25
- package/docs/pl/intlayer_with_nextjs_15.md +77 -25
- package/docs/pl/intlayer_with_nextjs_16.md +81 -29
- package/docs/pl/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +68 -22
- package/docs/pl/intlayer_with_nextjs_page_router.md +71 -22
- package/docs/pl/intlayer_with_nuxt.md +62 -19
- 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 +57 -16
- package/docs/pl/intlayer_with_svelte_kit.md +94 -29
- 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 +59 -22
- package/docs/pl/intlayer_with_vite+lit.md +71 -22
- package/docs/pl/intlayer_with_vite+preact.md +71 -22
- package/docs/pl/intlayer_with_vite+react.md +68 -21
- package/docs/pl/intlayer_with_vite+react_compiler.md +26 -10
- package/docs/pl/intlayer_with_vite+solid.md +71 -22
- package/docs/pl/intlayer_with_vite+svelte.md +68 -21
- package/docs/pl/intlayer_with_vite+vanilla.md +74 -23
- package/docs/pl/intlayer_with_vite+vue.md +71 -22
- package/docs/pl/introduction.md +67 -40
- 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/dictionary/html.md +5 -5
- package/docs/pt/dictionary/markdown.md +168 -7
- package/docs/pt/how_works_intlayer.md +2 -2
- package/docs/pt/interest_of_intlayer.md +133 -85
- package/docs/pt/intlayer_with_adonisjs.md +3 -3
- package/docs/pt/intlayer_with_analog.md +63 -16
- package/docs/pt/intlayer_with_angular_19.md +63 -16
- package/docs/pt/intlayer_with_angular_21.md +63 -16
- package/docs/pt/intlayer_with_astro.md +69 -18
- package/docs/pt/intlayer_with_astro_lit.md +72 -19
- package/docs/pt/intlayer_with_astro_preact.md +72 -19
- package/docs/pt/intlayer_with_astro_react.md +72 -19
- package/docs/pt/intlayer_with_astro_solid.md +72 -19
- package/docs/pt/intlayer_with_astro_svelte.md +72 -19
- package/docs/pt/intlayer_with_astro_vanilla.md +69 -18
- package/docs/pt/intlayer_with_astro_vue.md +72 -19
- package/docs/pt/intlayer_with_create_react_app.md +37 -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 +41 -10
- package/docs/pt/intlayer_with_nestjs.md +3 -3
- 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 +84 -24
- package/docs/pt/intlayer_with_nextjs_15.md +84 -26
- package/docs/pt/intlayer_with_nextjs_16.md +90 -28
- package/docs/pt/intlayer_with_nextjs_compiler.md +40 -14
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/pt/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/pt/intlayer_with_nuxt.md +74 -21
- package/docs/pt/intlayer_with_react_native+expo.md +82 -10
- package/docs/pt/intlayer_with_react_router_v7.md +88 -24
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/pt/intlayer_with_storybook.md +67 -16
- package/docs/pt/intlayer_with_svelte_kit.md +104 -29
- package/docs/pt/intlayer_with_tanstack+solid.md +99 -29
- package/docs/pt/intlayer_with_tanstack.md +99 -29
- package/docs/pt/intlayer_with_vanilla.md +69 -22
- package/docs/pt/intlayer_with_vite+lit.md +81 -22
- package/docs/pt/intlayer_with_vite+preact.md +82 -23
- package/docs/pt/intlayer_with_vite+react.md +79 -22
- package/docs/pt/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/pt/intlayer_with_vite+solid.md +82 -23
- package/docs/pt/intlayer_with_vite+svelte.md +82 -23
- package/docs/pt/intlayer_with_vite+vanilla.md +84 -23
- package/docs/pt/intlayer_with_vite+vue.md +82 -23
- package/docs/pt/introduction.md +81 -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/configuration.md +2 -2
- package/docs/ru/dictionary/content_file.md +2 -2
- package/docs/ru/dictionary/markdown.md +161 -0
- package/docs/ru/interest_of_intlayer.md +122 -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 +63 -16
- package/docs/ru/intlayer_with_angular_19.md +63 -16
- package/docs/ru/intlayer_with_angular_21.md +63 -16
- package/docs/ru/intlayer_with_astro.md +69 -18
- package/docs/ru/intlayer_with_astro_lit.md +72 -19
- package/docs/ru/intlayer_with_astro_preact.md +72 -19
- package/docs/ru/intlayer_with_astro_react.md +72 -19
- package/docs/ru/intlayer_with_astro_solid.md +72 -19
- package/docs/ru/intlayer_with_astro_svelte.md +72 -19
- package/docs/ru/intlayer_with_astro_vanilla.md +69 -18
- package/docs/ru/intlayer_with_astro_vue.md +72 -19
- package/docs/ru/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/ru/intlayer_with_nestjs.md +3 -3
- 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 +84 -24
- package/docs/ru/intlayer_with_nextjs_15.md +87 -27
- package/docs/ru/intlayer_with_nextjs_16.md +90 -28
- package/docs/ru/intlayer_with_nextjs_compiler.md +42 -16
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +75 -21
- package/docs/ru/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/ru/intlayer_with_nuxt.md +72 -19
- package/docs/ru/intlayer_with_react_native+expo.md +82 -10
- package/docs/ru/intlayer_with_react_router_v7.md +89 -23
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/ru/intlayer_with_storybook.md +67 -16
- package/docs/ru/intlayer_with_svelte_kit.md +101 -28
- package/docs/ru/intlayer_with_tanstack+solid.md +99 -29
- package/docs/ru/intlayer_with_tanstack.md +99 -29
- package/docs/ru/intlayer_with_vanilla.md +69 -22
- package/docs/ru/intlayer_with_vite+lit.md +81 -22
- package/docs/ru/intlayer_with_vite+preact.md +81 -22
- package/docs/ru/intlayer_with_vite+react.md +78 -21
- package/docs/ru/intlayer_with_vite+react_compiler.md +26 -10
- package/docs/ru/intlayer_with_vite+solid.md +81 -22
- package/docs/ru/intlayer_with_vite+svelte.md +78 -21
- package/docs/ru/intlayer_with_vite+vanilla.md +84 -23
- package/docs/ru/intlayer_with_vite+vue.md +81 -22
- package/docs/ru/introduction.md +69 -31
- 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/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 +168 -7
- package/docs/tr/how_works_intlayer.md +2 -2
- package/docs/tr/interest_of_intlayer.md +144 -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 +63 -16
- package/docs/tr/intlayer_with_angular_19.md +63 -16
- package/docs/tr/intlayer_with_angular_21.md +63 -16
- package/docs/tr/intlayer_with_astro.md +69 -18
- package/docs/tr/intlayer_with_astro_lit.md +72 -19
- package/docs/tr/intlayer_with_astro_preact.md +72 -19
- package/docs/tr/intlayer_with_astro_react.md +72 -19
- package/docs/tr/intlayer_with_astro_solid.md +72 -19
- package/docs/tr/intlayer_with_astro_svelte.md +72 -19
- package/docs/tr/intlayer_with_astro_vanilla.md +69 -18
- package/docs/tr/intlayer_with_astro_vue.md +72 -19
- package/docs/tr/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/tr/intlayer_with_nestjs.md +3 -3
- 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 +14 -6
- package/docs/tr/intlayer_with_nextjs_15.md +85 -27
- package/docs/tr/intlayer_with_nextjs_16.md +91 -29
- package/docs/tr/intlayer_with_nextjs_compiler.md +38 -14
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +79 -23
- package/docs/tr/intlayer_with_nextjs_page_router.md +82 -23
- package/docs/tr/intlayer_with_nuxt.md +72 -19
- package/docs/tr/intlayer_with_react_native+expo.md +83 -11
- package/docs/tr/intlayer_with_react_router_v7.md +89 -23
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/tr/intlayer_with_storybook.md +67 -16
- package/docs/tr/intlayer_with_svelte_kit.md +101 -28
- package/docs/tr/intlayer_with_tanstack+solid.md +96 -28
- package/docs/tr/intlayer_with_tanstack.md +96 -28
- package/docs/tr/intlayer_with_vanilla.md +69 -22
- package/docs/tr/intlayer_with_vite+lit.md +82 -23
- package/docs/tr/intlayer_with_vite+preact.md +82 -23
- package/docs/tr/intlayer_with_vite+react.md +79 -22
- package/docs/tr/intlayer_with_vite+react_compiler.md +27 -11
- package/docs/tr/intlayer_with_vite+solid.md +82 -23
- package/docs/tr/intlayer_with_vite+svelte.md +79 -22
- package/docs/tr/intlayer_with_vite+vanilla.md +85 -24
- package/docs/tr/intlayer_with_vite+vue.md +82 -23
- package/docs/tr/introduction.md +86 -47
- 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/dictionary/markdown.md +161 -0
- package/docs/uk/interest_of_intlayer.md +50 -192
- package/docs/uk/intlayer_with_adonisjs.md +3 -3
- package/docs/uk/intlayer_with_analog.md +63 -16
- package/docs/uk/intlayer_with_angular_19.md +63 -16
- package/docs/uk/intlayer_with_angular_21.md +63 -16
- package/docs/uk/intlayer_with_astro.md +69 -18
- package/docs/uk/intlayer_with_astro_lit.md +72 -19
- package/docs/uk/intlayer_with_astro_preact.md +72 -19
- package/docs/uk/intlayer_with_astro_react.md +72 -19
- package/docs/uk/intlayer_with_astro_solid.md +72 -19
- package/docs/uk/intlayer_with_astro_svelte.md +72 -19
- package/docs/uk/intlayer_with_astro_vanilla.md +69 -18
- package/docs/uk/intlayer_with_astro_vue.md +72 -19
- package/docs/uk/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/uk/intlayer_with_nestjs.md +3 -3
- 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 +87 -25
- package/docs/uk/intlayer_with_nextjs_15.md +87 -25
- package/docs/uk/intlayer_with_nextjs_16.md +90 -28
- package/docs/uk/intlayer_with_nextjs_compiler.md +37 -13
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +78 -22
- package/docs/uk/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/uk/intlayer_with_nuxt.md +72 -19
- package/docs/uk/intlayer_with_react_native+expo.md +81 -11
- package/docs/uk/intlayer_with_react_router_v7.md +89 -23
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +82 -22
- package/docs/uk/intlayer_with_storybook.md +67 -16
- package/docs/uk/intlayer_with_svelte_kit.md +81 -22
- package/docs/uk/intlayer_with_tanstack+solid.md +97 -29
- package/docs/uk/intlayer_with_tanstack.md +96 -28
- package/docs/uk/intlayer_with_vanilla.md +69 -22
- package/docs/uk/intlayer_with_vite+lit.md +81 -22
- package/docs/uk/intlayer_with_vite+preact.md +81 -22
- package/docs/uk/intlayer_with_vite+react.md +78 -21
- package/docs/uk/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/uk/intlayer_with_vite+solid.md +81 -22
- package/docs/uk/intlayer_with_vite+svelte.md +81 -22
- package/docs/uk/intlayer_with_vite+vanilla.md +85 -24
- package/docs/uk/intlayer_with_vite+vue.md +81 -22
- package/docs/uk/introduction.md +66 -39
- package/docs/uk/lsp.md +351 -0
- 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 +28 -8
- package/docs/ur/intlayer_with_vanilla.md +34 -12
- package/docs/ur/intlayer_with_vite+lit.md +43 -15
- package/docs/ur/intlayer_with_vite+vanilla.md +46 -16
- package/docs/ur/introduction.md +67 -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/dictionary/markdown.md +161 -0
- package/docs/vi/how_works_intlayer.md +2 -2
- package/docs/vi/interest_of_intlayer.md +50 -192
- package/docs/vi/intlayer_with_adonisjs.md +3 -3
- package/docs/vi/intlayer_with_analog.md +63 -16
- package/docs/vi/intlayer_with_angular_19.md +63 -16
- package/docs/vi/intlayer_with_angular_21.md +63 -16
- package/docs/vi/intlayer_with_astro.md +69 -18
- package/docs/vi/intlayer_with_astro_lit.md +72 -19
- package/docs/vi/intlayer_with_astro_preact.md +72 -19
- package/docs/vi/intlayer_with_astro_react.md +72 -19
- package/docs/vi/intlayer_with_astro_solid.md +72 -19
- package/docs/vi/intlayer_with_astro_svelte.md +72 -19
- package/docs/vi/intlayer_with_astro_vanilla.md +69 -18
- package/docs/vi/intlayer_with_astro_vue.md +72 -19
- package/docs/vi/intlayer_with_create_react_app.md +34 -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 +41 -10
- package/docs/vi/intlayer_with_nestjs.md +3 -3
- 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 +87 -25
- package/docs/vi/intlayer_with_nextjs_15.md +69 -26
- package/docs/vi/intlayer_with_nextjs_16.md +91 -29
- package/docs/vi/intlayer_with_nextjs_compiler.md +37 -13
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +75 -21
- package/docs/vi/intlayer_with_nextjs_page_router.md +81 -22
- package/docs/vi/intlayer_with_nuxt.md +72 -19
- package/docs/vi/intlayer_with_react_native+expo.md +82 -10
- package/docs/vi/intlayer_with_react_router_v7.md +89 -23
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +89 -23
- package/docs/vi/intlayer_with_storybook.md +67 -16
- package/docs/vi/intlayer_with_svelte_kit.md +101 -28
- package/docs/vi/intlayer_with_tanstack+solid.md +96 -28
- package/docs/vi/intlayer_with_tanstack.md +96 -28
- package/docs/vi/intlayer_with_vanilla.md +69 -22
- package/docs/vi/intlayer_with_vite+lit.md +81 -22
- package/docs/vi/intlayer_with_vite+preact.md +81 -22
- package/docs/vi/intlayer_with_vite+react.md +78 -21
- package/docs/vi/intlayer_with_vite+react_compiler.md +25 -9
- package/docs/vi/intlayer_with_vite+solid.md +81 -22
- package/docs/vi/intlayer_with_vite+svelte.md +78 -21
- package/docs/vi/intlayer_with_vite+vanilla.md +84 -23
- package/docs/vi/intlayer_with_vite+vue.md +81 -22
- package/docs/vi/introduction.md +72 -41
- 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/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 +168 -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 -3
- 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 +53 -17
- package/docs/zh/intlayer_with_nextjs_15.md +57 -21
- package/docs/zh/intlayer_with_nextjs_16.md +43 -17
- package/docs/zh/intlayer_with_nextjs_compiler.md +28 -10
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +56 -18
- package/docs/zh/intlayer_with_nextjs_page_router.md +50 -15
- package/docs/zh/intlayer_with_nuxt.md +47 -14
- 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 +29 -8
- package/docs/zh/intlayer_with_svelte_kit.md +54 -17
- 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 +44 -13
- package/docs/zh/intlayer_with_vite+react.md +53 -16
- package/docs/zh/intlayer_with_vite+react_compiler.md +3 -3
- package/docs/zh/intlayer_with_vite+solid.md +44 -13
- package/docs/zh/intlayer_with_vite+svelte.md +56 -17
- package/docs/zh/intlayer_with_vite+vanilla.md +31 -10
- package/docs/zh/intlayer_with_vite+vue.md +56 -17
- package/docs/zh/introduction.md +83 -44
- 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 +192 -0
- package/package.json +7 -7
- 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
package/docs/pl/lsp.md
ADDED
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-06-07
|
|
3
|
+
updatedAt: 2026-05-31
|
|
4
|
+
title: Serwer Intlayer LSP
|
|
5
|
+
description: Dowiedz się, jak serwer językowy Intlayer zapewnia funkcję "Przejdź do definicji" i inne funkcje IDE dla useIntlayer, getIntlayer oraz powiązanych wywołań we wszystkich obsługiwanych edytorach.
|
|
6
|
+
keywords:
|
|
7
|
+
- LSP
|
|
8
|
+
- Serwer Językowy
|
|
9
|
+
- Przejdź do definicji
|
|
10
|
+
- IDE
|
|
11
|
+
- Intlayer
|
|
12
|
+
- VS Code
|
|
13
|
+
- Neovim
|
|
14
|
+
- TypeScript
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- lsp
|
|
18
|
+
history:
|
|
19
|
+
- version: 8.12.0
|
|
20
|
+
date: 2026-06-01
|
|
21
|
+
changes: "Release LSP"
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Serwer Intlayer LSP
|
|
25
|
+
|
|
26
|
+
**Serwer Językowy Intlayer (LSP)** to implementacja protokołu [Language Server Protocol (LSP)](https://microsoft.github.io/language-server-protocol/), która wzbogaca Twoje IDE o inteligencję rozumiejącą strukturę Intlayer. Obecnie zapewnia funkcję **Przejdź do definicji (Go to Definition)** dla wywołań kluczy słownika, umożliwiając bezpośrednie przejście od `useIntlayer("my-key")` w komponencie do pliku `.content.ts`, który go deklaruje.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Dlaczego warto używać LSP?
|
|
31
|
+
|
|
32
|
+
Gdy używasz Intlayer, połączenie między wywołaniem takim jak `useIntlayer("homepage")` a jego deklaracją w `src/homepage.content.ts` jest niejawne. Bez odpowiednich narzędzi musisz szukać tego pliku ręcznie. LSP sprawia, że to powiązanie staje się jawne:
|
|
33
|
+
|
|
34
|
+
**Świadomość agentów AI**
|
|
35
|
+
|
|
36
|
+
Agenci kodujący AI (Cursor, Windsurf, GitHub Copilot, Claude Code, Codex) polegają na serwerze językowym w celu rozpoznawania symboli i rozumienia relacji między plikami. Dzięki uruchomionemu Intlayer LSP agenci mogą śledzić wywołanie `useIntlayer("key")` z powrotem do jego deklaracji, co daje im dokładny kontekst dotyczący dostępnych kluczy treści, struktury każdego słownika oraz plików do odczytu lub edycji.
|
|
37
|
+
|
|
38
|
+
**Przejdź do definicji**
|
|
39
|
+
|
|
40
|
+
Umieść kursor na dowolnym ciągu klucza słownika wewnątrz obsługiwanego wywołania pobierającego i naciśnij `F12` (lub `Cmd/Ctrl+Kliknięcie`). Edytor otworzy plik deklaracji treści i ustawi kursor w linii `key:`.
|
|
41
|
+
|
|
42
|
+
**Obsługa scalonych słowników**
|
|
43
|
+
|
|
44
|
+
Klucz może być podzielony na wiele plików treści (Intlayer scala je). Serwer zwraca jedną lokalizację (`Location`) na plik źródłowy, dzięki czemu możesz przejść do każdej deklaracji.
|
|
45
|
+
|
|
46
|
+
**Działa wszędzie**
|
|
47
|
+
|
|
48
|
+
Obsługuje wszystkie pakiety `*-intlayer` (`next-intlayer`, `react-intlayer`, `vue-intlayer`, `svelte-intlayer`, `solid-intlayer`, `preact-intlayer`, `angular-intlayer`, `lit-intlayer`, `express-intlayer`, `hono-intlayer`, `fastify-intlayer`, `adonis-intlayer`, `intlayer`).
|
|
49
|
+
|
|
50
|
+
### Obsługiwane wywołania pobierające
|
|
51
|
+
|
|
52
|
+
Serwer wykrywa następujące wywołania funkcji i wyodrębnia pierwszy argument jako klucz słownika:
|
|
53
|
+
|
|
54
|
+
| Funkcja | Przykład |
|
|
55
|
+
| ------------- | ----------------------------- |
|
|
56
|
+
| `useIntlayer` | `useIntlayer("hero")` |
|
|
57
|
+
| `getIntlayer` | `getIntlayer("hero", locale)` |
|
|
58
|
+
|
|
59
|
+
Typy generyczne TypeScript oraz dodatkowe argumenty są ignorowane — liczy się tylko klucz słownika.
|
|
60
|
+
|
|
61
|
+
> Funkcje `useDictionary` i `getDictionary` przyjmują jako pierwszy argument już zaimportowany obiekt `Dictionary`, a nie klucz tekstowy, dlatego nie korzystają z funkcji Przejdź do definicji i nie są śledzone przez serwer.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Instalacja
|
|
66
|
+
|
|
67
|
+
Serwer LSP jest dystrybuowany jako część pakietu `@intlayer/lsp`:
|
|
68
|
+
|
|
69
|
+
```bash packageManager="npm"
|
|
70
|
+
npm install --save-dev @intlayer/lsp
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```bash packageManager="yarn"
|
|
74
|
+
yarn add --dev @intlayer/lsp
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
```bash packageManager="pnpm"
|
|
78
|
+
pnpm add --save-dev @intlayer/lsp
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
```bash packageManager="bun"
|
|
82
|
+
bun add --dev @intlayer/lsp
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Pakiet udostępnia plik wykonywalny `intlayer-lsp`, którego edytory używają jako serwera.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Konfiguracja jako plugin Claude Code
|
|
90
|
+
|
|
91
|
+
Serwer Intlayer LSP jest dostępny jako **plugin Claude Code** hostowany bezpośrednio w repozytorium GitHub Intlayer. Jego instalacja daje Claude Code natywną świadomość funkcji Przejdź do definicji dla wszystkich wywołań `useIntlayer` / `getIntlayer`.
|
|
92
|
+
|
|
93
|
+
### 1. Zainstaluj plik wykonywalny serwera językowego
|
|
94
|
+
|
|
95
|
+
```bash packageManager="npm"
|
|
96
|
+
npm install -g @intlayer/lsp
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```bash packageManager="yarn"
|
|
100
|
+
yarn global add @intlayer/lsp
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
```bash packageManager="pnpm"
|
|
104
|
+
pnpm add -g @intlayer/lsp
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
To polecenie umieści plik binarny `intlayer-lsp` w Twojej ścieżce PATH, co jest wywoływane przez wpis `lspServers` w pluginie.
|
|
108
|
+
|
|
109
|
+
### 2. Zarejestruj rynek Intlayer i zainstaluj plugin
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
claude plugin marketplace add intlayer@github:aymericzip/intlayer
|
|
113
|
+
claude plugin install intlayer-lsp@intlayer
|
|
114
|
+
claude plugin enable intlayer-lsp@intlayer
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Claude Code doda `"intlayer-lsp@intlayer": true` do Twoich `enabledPlugins` i automatycznie uruchomi serwer językowy dla obsługiwanych typów plików (`.ts`, `.tsx`, `.js`, `.jsx`, `.vue`, `.svelte`).
|
|
118
|
+
|
|
119
|
+
### 3. Włącz narzędzie LSP (jeśli nie jest jeszcze aktywne)
|
|
120
|
+
|
|
121
|
+
Niektóre wersje Claude Code wymagają ustawienia flagi funkcji LSP. Dodaj poniższy wpis do pliku `~/.claude/settings.json`, jeśli funkcja Przejdź do definicji nie działa po instalacji:
|
|
122
|
+
|
|
123
|
+
```json fileName="~/.claude/settings.json"
|
|
124
|
+
{
|
|
125
|
+
"env": {
|
|
126
|
+
"ENABLE_LSP_TOOL": "1"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Uruchom ponownie Claude Code — od teraz będzie on używał `goToDefinition`, `findReferences` oraz innych operacji LSP podczas nawigacji po kodzie Intlayer zamiast powracać do `grep`.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Konfiguracja w VS Code (przez rozszerzenie — zalecane)
|
|
136
|
+
|
|
137
|
+
Jeśli masz zainstalowane [rozszerzenie Intlayer dla VS Code](https://marketplace.visualstudio.com/items?itemName=Intlayer.intlayer-vs-code-extension), serwer językowy uruchomi się automatycznie. Nie jest wymagana żadna dodatkowa konfiguracja.
|
|
138
|
+
|
|
139
|
+
> Zobacz [dokumentację rozszerzenia VS Code](https://intlayer.org/doc/vs-code-extension) w celu uzyskania szczegółów instalacji i innych funkcji.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Ręczna konfiguracja w VS Code
|
|
144
|
+
|
|
145
|
+
Jeśli nie używasz rozszerzenia Intlayer, możesz połączyć serwer językowy ręcznie, korzystając z ogólnego rozszerzenia klienta LSP, takiego jak [**vscode-glspc**](https://marketplace.visualstudio.com/items?itemName=sibiraj-s.vscode-scss-formatter) lub pisząc własne małe rozszerzenie. Zalecanym podejściem jest użycie oficjalnego rozszerzenia Intlayer.
|
|
146
|
+
|
|
147
|
+
Dla odniesienia, serwer uruchamia się za pomocą pliku binarnego `intlayer-lsp` przez stdio:
|
|
148
|
+
|
|
149
|
+
```json fileName=".vscode/settings.json"
|
|
150
|
+
{
|
|
151
|
+
"intlayer.languageServer.command": "npx",
|
|
152
|
+
"intlayer.languageServer.args": ["@intlayer/lsp"]
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Rozszerzenie Intlayer odczytuje te ustawienia, aby uruchomić serwer. Jeśli polegasz wyłącznie na rozszerzeniu, konfiguracja ręczna nie jest potrzebna.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Konfiguracja w Cursor
|
|
161
|
+
|
|
162
|
+
[Cursor](https://www.cursor.com/) to fork VS Code z wbudowanymi funkcjami AI. Korzysta z tego samego ekosystemu rozszerzeń, więc **rozszerzenie Intlayer dla VS Code** działa bez żadnej dodatkowej konfiguracji — zainstaluj je raz, a Cursor wykryje je automatycznie.
|
|
163
|
+
|
|
164
|
+
Jeśli wolisz ręczną konfigurację, Cursor odczytuje również plik `.vscode/settings.json` z katalogu głównego obszaru roboczego, więc powyższy fragment kodu dla VS Code ma zastosowanie bezpośrednio.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Konfiguracja w Windsurf
|
|
169
|
+
|
|
170
|
+
[Windsurf](https://windsurf.com/) (stworzony przez Codeium) to kolejny edytor oparty na VS Code. Zainstaluj rozszerzenie Intlayer z VS Code Marketplace, a serwer językowy aktywuje się automatycznie, dokładnie tak samo jak w VS Code i Cursor.
|
|
171
|
+
|
|
172
|
+
W przypadku ręcznej konfiguracji utwórz plik `.vscode/settings.json` w katalogu głównym projektu:
|
|
173
|
+
|
|
174
|
+
```json fileName=".vscode/settings.json"
|
|
175
|
+
{
|
|
176
|
+
"intlayer.languageServer.command": "npx",
|
|
177
|
+
"intlayer.languageServer.args": ["@intlayer/lsp"]
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Konfiguracja w Zed
|
|
184
|
+
|
|
185
|
+
[Zed](https://zed.dev/) posiada natywną obsługę LSP poprzez swoje ustawienia językowe. Dodaj wpis do ustawień użytkownika Zed (`~/.config/zed/settings.json`):
|
|
186
|
+
|
|
187
|
+
```json fileName="~/.config/zed/settings.json"
|
|
188
|
+
{
|
|
189
|
+
"lsp": {
|
|
190
|
+
"intlayer-lsp": {
|
|
191
|
+
"binary": {
|
|
192
|
+
"path": "npx",
|
|
193
|
+
"arguments": ["--yes", "@intlayer/lsp"]
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"languages": {
|
|
198
|
+
"TypeScript": {
|
|
199
|
+
"language_servers": ["intlayer-lsp", "..."]
|
|
200
|
+
},
|
|
201
|
+
"TSX": {
|
|
202
|
+
"language_servers": ["intlayer-lsp", "..."]
|
|
203
|
+
},
|
|
204
|
+
"JavaScript": {
|
|
205
|
+
"language_servers": ["intlayer-lsp", "..."]
|
|
206
|
+
},
|
|
207
|
+
"Vue.js": {
|
|
208
|
+
"language_servers": ["intlayer-lsp", "..."]
|
|
209
|
+
},
|
|
210
|
+
"Svelte": {
|
|
211
|
+
"language_servers": ["intlayer-lsp", "..."]
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Znak zastępczy `"..."` informuje edytor Zed, aby zachował domyślne serwery językowe obok serwera Intlayer.
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## Konfiguracja dla AI Agent CLI (Claude Code, Codex itp.)
|
|
222
|
+
|
|
223
|
+
**Claude Code** posiada pierwszorzędną obsługę pluginów LSP — postępuj zgodnie z instrukcjami w sekcji [Konfiguracja jako plugin Claude Code](#konfiguracja-jako-plugin-claude-code) powyżej, aby uzyskać pełną funkcjonalność Przejdź do definicji bezpośrednio w sesjach terminala.
|
|
224
|
+
|
|
225
|
+
**OpenAI Codex** oraz inne narzędzia konsolowe nie działają jeszcze jako klienci LSP — odczytują i zapisują pliki bezpośrednio, zamiast utrzymywać trwałą sesję serwera językowego. Dla tych narzędzi wartość uruchomionego LSP pojawia się pośrednio: gdy serwer jest aktywny w towarzyszącym edytorze (VS Code, Cursor, Windsurf, ...), bieżący indeks edytora jest dostępny dla każdego agenta AI, który może odpytać go za pomocą dostarczonego przez edytor kontekstu (np. Cursor Composer, Windsurf Cascade, GitHub Copilot Chat).
|
|
226
|
+
|
|
227
|
+
Jeśli pracujesz wyłącznie w terminalu bez otwartego edytora, możesz uruchomić serwer językowy w tle, aby był gotowy na podłączenie dowolnego edytora do tego samego obszaru roboczego w przyszłości:
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
# Utrzymuj serwer aktywny w tle
|
|
231
|
+
npx @intlayer/lsp &
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Ręczna konfiguracja w Neovim
|
|
237
|
+
|
|
238
|
+
Używając [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig), zarejestruj niestandardową konfigurację serwera:
|
|
239
|
+
|
|
240
|
+
```lua fileName="~/.config/nvim/init.lua"
|
|
241
|
+
local lspconfig = require('lspconfig')
|
|
242
|
+
local configs = require('lspconfig.configs')
|
|
243
|
+
|
|
244
|
+
if not configs.intlayer_lsp then
|
|
245
|
+
configs.intlayer_lsp = {
|
|
246
|
+
default_config = {
|
|
247
|
+
-- Uruchom serwer za pomocą npx, aby uniknąć instalacji globalnej
|
|
248
|
+
cmd = { 'npx', '--yes', '@intlayer/lsp' },
|
|
249
|
+
filetypes = {
|
|
250
|
+
'typescript',
|
|
251
|
+
'typescriptreact',
|
|
252
|
+
'javascript',
|
|
253
|
+
'javascriptreact',
|
|
254
|
+
'vue',
|
|
255
|
+
'svelte',
|
|
256
|
+
},
|
|
257
|
+
root_dir = lspconfig.util.root_pattern(
|
|
258
|
+
'intlayer.config.ts',
|
|
259
|
+
'intlayer.config.js',
|
|
260
|
+
'package.json'
|
|
261
|
+
),
|
|
262
|
+
},
|
|
263
|
+
}
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
lspconfig.intlayer_lsp.setup({})
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Po ponownym uruchomieniu Neovim, naciśnięcie `gd` nad kluczem Intlayer wywoła funkcję Przejdź do definicji.
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## Ręczna konfiguracja w innych edytorach
|
|
274
|
+
|
|
275
|
+
Każdy edytor obsługujący protokół Language Server Protocol może korzystać z `@intlayer/lsp`. Specyfikacja serwera:
|
|
276
|
+
|
|
277
|
+
- **Transport** – Node.js IPC / stdio (standard)
|
|
278
|
+
- **Plik wykonywalny** – `npx @intlayer/lsp` (lub lokalnie zainstalowany plik binarny `intlayer-lsp`)
|
|
279
|
+
- **Możliwości** – `definitionProvider: true`, `textDocumentSync: Incremental`
|
|
280
|
+
|
|
281
|
+
Skonsultuj się z dokumentacją LSP swojego edytora, aby uzyskać dokładny format konfiguracji (np. `languageserver.json` dla [coc.nvim](https://github.com/neoclide/coc.nvim) lub ustawienia klienta LSP w [Helix](https://helix-editor.com)).
|
|
282
|
+
|
|
283
|
+
### Przykład: coc.nvim
|
|
284
|
+
|
|
285
|
+
```json fileName="~/.config/nvim/coc-settings.json"
|
|
286
|
+
{
|
|
287
|
+
"languageserver": {
|
|
288
|
+
"intlayer": {
|
|
289
|
+
"command": "npx",
|
|
290
|
+
"args": ["@intlayer/lsp"],
|
|
291
|
+
"filetypes": [
|
|
292
|
+
"typescript",
|
|
293
|
+
"typescriptreact",
|
|
294
|
+
"javascript",
|
|
295
|
+
"javascriptreact",
|
|
296
|
+
"vue",
|
|
297
|
+
"svelte"
|
|
298
|
+
],
|
|
299
|
+
"rootPatterns": [
|
|
300
|
+
"intlayer.config.ts",
|
|
301
|
+
"intlayer.config.js",
|
|
302
|
+
"package.json"
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Przykład: Helix
|
|
310
|
+
|
|
311
|
+
```toml fileName="~/.config/helix/languages.toml"
|
|
312
|
+
[[language]]
|
|
313
|
+
name = "typescript"
|
|
314
|
+
language-servers = ["intlayer-lsp", "typescript-language-server"]
|
|
315
|
+
|
|
316
|
+
[[language]]
|
|
317
|
+
name = "tsx"
|
|
318
|
+
language-servers = ["intlayer-lsp", "typescript-language-server"]
|
|
319
|
+
|
|
320
|
+
[language-server.intlayer-lsp]
|
|
321
|
+
command = "npx"
|
|
322
|
+
args = ["@intlayer/lsp"]
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Jak to działa
|
|
328
|
+
|
|
329
|
+
Gdy serwer się uruchamia, odczytuje konfigurację Intlayer z głównego katalogu obszaru roboczego za pomocą `getConfiguration()`. Daje mu to ścieżki `build` i `system` niezbędne do znalezienia skompilowanych słowników.
|
|
330
|
+
|
|
331
|
+
Przy każdym żądaniu **Przejdź do definicji**:
|
|
332
|
+
|
|
333
|
+
1. Serwer odczytuje pełny tekst otwartego dokumentu.
|
|
334
|
+
2. Skanuje w poszukiwaniu wywołań pobierających (`useIntlayer`, `getIntlayer` itp.) za pomocą wyrażenia regularnego.
|
|
335
|
+
3. Sprawdza, czy pozycja kursora znajduje się wewnątrz jednego z tych wywołań.
|
|
336
|
+
4. Jeśli tak, wyodrębnia klucz słownika (grupa przechwytująca 3 wyrażenia regularnego) i wywołuje `getUnmergedDictionaries()`, aby zlokalizować każdy plik treści, który deklaruje ten klucz.
|
|
337
|
+
5. Odczytuje każdy pasujący plik i znajduje dokładną linię zawierającą `key: "<klucz>"`, aby precyzyjnie ustawić kursor.
|
|
338
|
+
6. Zwraca tablicę obiektów `Location` — po jednym na plik źródłowy.
|
|
339
|
+
|
|
340
|
+
Konfiguracja jest pobierana leniwie (lazy) i buforowana na sesję; resetuje się przy każdym żądaniu `initialize` (np. przy otwarciu nowego folderu obszaru roboczego).
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## Rozwiązywanie problemów
|
|
345
|
+
|
|
346
|
+
| Symptom | Prawdopodobna przyczyna | Rozwiązanie |
|
|
347
|
+
| ------------------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
348
|
+
| Przejdź do definicji nic nie robi | Serwer nie działa | Sprawdź, czy `@intlayer/lsp` jest zainstalowany i czy edytor go uruchamia |
|
|
349
|
+
| Wykryto nieprawidłowy katalog główny | Wiele folderów w obszarze roboczym | Upewnij się, że folder zawierający `intlayer.config.ts` jest pierwszym folderem obszaru roboczego |
|
|
350
|
+
| Nie znaleziono definicji dla klucza | Konfiguracja nie została wczytana | Sprawdź, czy `intlayer.config.ts` (lub `.js`) istnieje w katalogu głównym obszaru roboczego |
|
|
351
|
+
| Serwer ulega awarii przy starcie | Wersja Node.js jest zbyt stara | Wymaga Node.js ≥ 14.18 |
|
package/docs/pl/releases/v7.md
CHANGED
|
@@ -66,7 +66,7 @@ Nowy system cache’owania:
|
|
|
66
66
|
|
|
67
67
|
- Przechowuje skompilowane deklaracje treści, aby uniknąć zbędnego przetwarzania
|
|
68
68
|
- Wykrywa zmiany i przebudowuje tylko zmodyfikowane pliki
|
|
69
|
-
- Znacząco skraca czas budowania dużych projektów
|
|
69
|
+
- Znacząco skraca czas budowania (build time) dużych projektów
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
package/docs/pl/releases/v8.md
CHANGED
|
@@ -754,7 +754,7 @@ export default {
|
|
|
754
754
|
|
|
755
755
|
## Walidacja schematów treści
|
|
756
756
|
|
|
757
|
-
W Intlayer v8 wprowadzono walidację schematów dla słowników. Teraz możesz definiować wielokrotnego użytku schematy walidacji w konfiguracji przy użyciu Zod i stosować je w plikach z zawartością. Dzięki temu Twoja zawartość zawsze będzie zgodna z oczekiwaną strukturą, a błędy zostaną wykryte podczas budowania.
|
|
757
|
+
W Intlayer v8 wprowadzono walidację schematów dla słowników. Teraz możesz definiować wielokrotnego użytku schematy walidacji w konfiguracji przy użyciu Zod i stosować je w plikach z zawartością. Dzięki temu Twoja zawartość zawsze będzie zgodna z oczekiwaną strukturą, a błędy zostaną wykryte podczas budowania (build time).
|
|
758
758
|
|
|
759
759
|
### 1. Zdefiniuj schematy
|
|
760
760
|
|
|
@@ -1062,7 +1062,7 @@ Właściwość boolean `live` została oznaczona jako przestarzała na rzecz bar
|
|
|
1062
1062
|
|
|
1063
1063
|
### Tryby
|
|
1064
1064
|
|
|
1065
|
-
- **`static`** (Domyślny): Słownik jest dołączany podczas budowania. Najlepsze dla wydajności.
|
|
1065
|
+
- **`static`** (Domyślny): Słownik jest dołączany podczas budowania (build time). Najlepsze dla wydajności.
|
|
1066
1066
|
- **`dynamic`**: Słownik jest ładowany w czasie wykonywania (np. przez pobranie JSON lub użycie Suspense).
|
|
1067
1067
|
- **`fetch`**: Słownik jest pobierany z CMS/serwera w czasie wykonywania i synchronizowany.
|
|
1068
1068
|
|
package/docs/pt/agent_skills.md
CHANGED
|
@@ -72,7 +72,7 @@ npx skills add aymericzip/intlayer-skills
|
|
|
72
72
|
|
|
73
73
|
**intlayer-astro**
|
|
74
74
|
|
|
75
|
-
- Fornece ao agente os conhecimentos necessários para lidar com traduções do lado do servidor e padrões de roteamento
|
|
75
|
+
- Fornece ao agente os conhecimentos necessários para lidar com traduções do lado do servidor e padrões de roteamento por localeizados exclusivos do ecossistema Astro.
|
|
76
76
|
|
|
77
77
|
**intlayer-content**
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ npx skills add aymericzip/intlayer-skills
|
|
|
80
80
|
|
|
81
81
|
**intlayer-next-js**
|
|
82
82
|
|
|
83
|
-
- Dá ao agente a profundidade necessária para implementar i18n em componentes Server e Client de Next.js, assegurando a otimização SEO e um roteamento
|
|
83
|
+
- Dá ao agente a profundidade necessária para implementar i18n em componentes Server e Client de Next.js, assegurando a otimização SEO e um roteamento por localeizado suave.
|
|
84
84
|
|
|
85
85
|
**intlayer-react**
|
|
86
86
|
|
|
@@ -280,7 +280,7 @@ Você pode configurar a renderização de HTML globalmente para toda a sua aplic
|
|
|
280
280
|
);
|
|
281
281
|
```
|
|
282
282
|
|
|
283
|
-
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do
|
|
283
|
+
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
284
284
|
|
|
285
285
|
</Tab>
|
|
286
286
|
<Tab label="Vue" value="vue">
|
|
@@ -325,7 +325,7 @@ Você pode configurar a renderização de HTML globalmente para toda a sua aplic
|
|
|
325
325
|
app.mount("#app");
|
|
326
326
|
```
|
|
327
327
|
|
|
328
|
-
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do
|
|
328
|
+
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
329
329
|
|
|
330
330
|
</Tab>
|
|
331
331
|
<Tab label="Svelte" value="svelte">
|
|
@@ -379,7 +379,7 @@ Você pode configurar a renderização de HTML globalmente para toda a sua aplic
|
|
|
379
379
|
);
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do
|
|
382
|
+
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
383
383
|
|
|
384
384
|
</Tab>
|
|
385
385
|
<Tab label="Solid" value="solid">
|
|
@@ -415,7 +415,7 @@ Você pode configurar a renderização de HTML globalmente para toda a sua aplic
|
|
|
415
415
|
);
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do
|
|
418
|
+
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
419
419
|
|
|
420
420
|
</Tab>
|
|
421
421
|
<Tab label="Angular" value="angular">
|
|
@@ -452,7 +452,7 @@ Você pode configurar a renderização de HTML globalmente para toda a sua aplic
|
|
|
452
452
|
};
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do
|
|
455
|
+
> Importar dinamicamente o seu renderizador de HTML é uma boa maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
456
456
|
|
|
457
457
|
</Tab>
|
|
458
458
|
</Tabs>
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
- content
|
|
18
18
|
- markdown
|
|
19
19
|
history:
|
|
20
|
+
- version: 8.11.0
|
|
21
|
+
date: 2026-05-28
|
|
22
|
+
changes: "Permitir a pré-análise do AST do Markdown para SSR / hidratação"
|
|
20
23
|
- version: 8.10.0
|
|
21
24
|
date: 2026-05-19
|
|
22
25
|
changes: "Adicionado suporte a arquivos `.content.md`"
|
|
@@ -737,7 +740,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
737
740
|
);
|
|
738
741
|
```
|
|
739
742
|
|
|
740
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
743
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
741
744
|
|
|
742
745
|
</Tab>
|
|
743
746
|
<Tab label="Next.js" value="nextjs">
|
|
@@ -779,7 +782,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
779
782
|
);
|
|
780
783
|
```
|
|
781
784
|
|
|
782
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
785
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
783
786
|
|
|
784
787
|
</Tab>
|
|
785
788
|
<Tab label="Vue" value="vue">
|
|
@@ -830,7 +833,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
830
833
|
app.mount("#app");
|
|
831
834
|
```
|
|
832
835
|
|
|
833
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
836
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
834
837
|
|
|
835
838
|
</Tab>
|
|
836
839
|
<Tab label="Svelte" value="svelte">
|
|
@@ -870,7 +873,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
870
873
|
</MarkdownProvider>
|
|
871
874
|
```
|
|
872
875
|
|
|
873
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
876
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
874
877
|
|
|
875
878
|
</Tab>
|
|
876
879
|
<Tab label="Preact" value="preact">
|
|
@@ -909,7 +912,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
909
912
|
);
|
|
910
913
|
```
|
|
911
914
|
|
|
912
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
915
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
913
916
|
|
|
914
917
|
</Tab>
|
|
915
918
|
<Tab label="Solid" value="solid">
|
|
@@ -948,7 +951,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
948
951
|
);
|
|
949
952
|
```
|
|
950
953
|
|
|
951
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
954
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
952
955
|
|
|
953
956
|
</Tab>
|
|
954
957
|
<Tab label="Angular" value="angular">
|
|
@@ -970,7 +973,7 @@ O `MarkdownProvider` (ou o seu equivalente do framework) configura o pipeline de
|
|
|
970
973
|
export class AppModule {}
|
|
971
974
|
```
|
|
972
975
|
|
|
973
|
-
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do
|
|
976
|
+
> Importar dinamicamente o seu renderizador de Markdown é uma ótima maneira de reduzir o tamanho do bundle da sua aplicação.
|
|
974
977
|
|
|
975
978
|
</Tab>
|
|
976
979
|
</Tabs>
|
|
@@ -1149,6 +1152,164 @@ export class MyComponent {
|
|
|
1149
1152
|
|
|
1150
1153
|
---
|
|
1151
1154
|
|
|
1155
|
+
## Renderização no Lado do Servidor (SSR) e Hidratação
|
|
1156
|
+
|
|
1157
|
+
Em comparação com outros analisadores de Markdown, como remark / rehype, o Intlayer Markdown é livre de dependências e roda tanto no cliente quanto no servidor.
|
|
1158
|
+
|
|
1159
|
+
No entanto, o Intlayer otimiza a análise para frameworks de Renderização no Lado do Servidor (SSR) (como Next.js App Router, React Router, Nuxt, SvelteKit, etc.).
|
|
1160
|
+
|
|
1161
|
+
Em vez de enviar strings Markdown brutas para o cliente e analisá-las no navegador (o que acarreta uma perda de desempenho), o Intlayer permite pré-analisar o Markdown em uma Árvore de Sintaxe Abstrata (AST) no servidor.
|
|
1162
|
+
|
|
1163
|
+
Você pode usar a função `parseMarkdown` do pacote Intlayer do seu framework no lado do servidor para gerar uma AST serializável (objeto `ParsedMarkdown`) e passá-la diretamente para o frontend. Todos os utilitários de renderização do Intlayer (como `<MarkdownRenderer>`, `useMarkdownRenderer`, etc.) aceitam automaticamente esse objeto AST e o renderizam perfeitamente.
|
|
1164
|
+
|
|
1165
|
+
### Exemplo em uma Arquitetura Servidor/Cliente
|
|
1166
|
+
|
|
1167
|
+
<Tabs group="framework">
|
|
1168
|
+
<Tab label="React Router" value="react">
|
|
1169
|
+
|
|
1170
|
+
```tsx fileName="server.ts"
|
|
1171
|
+
import { parseMarkdown } from "react-intlayer/markdown";
|
|
1172
|
+
|
|
1173
|
+
// 1. No servidor: Analisar o markdown em uma AST serializável
|
|
1174
|
+
export const loader = async () => {
|
|
1175
|
+
const markdownString = "## My title \n\nLorem Ipsum";
|
|
1176
|
+
const ast = parseMarkdown(markdownString);
|
|
1177
|
+
|
|
1178
|
+
// Retornar a AST como JSON para o cliente
|
|
1179
|
+
return Response.json({ content: ast });
|
|
1180
|
+
};
|
|
1181
|
+
```
|
|
1182
|
+
|
|
1183
|
+
```tsx fileName="client.tsx"
|
|
1184
|
+
import { useLoaderData } from "react-router";
|
|
1185
|
+
import { MarkdownRenderer } from "react-intlayer/markdown";
|
|
1186
|
+
|
|
1187
|
+
// 2. No cliente: Renderizar a AST diretamente sem reanalisar
|
|
1188
|
+
export default function Page() {
|
|
1189
|
+
const { content } = useLoaderData();
|
|
1190
|
+
|
|
1191
|
+
// O renderizador aceita uma string bruta ou a AST analisada
|
|
1192
|
+
return <MarkdownRenderer content={content} />;
|
|
1193
|
+
}
|
|
1194
|
+
```
|
|
1195
|
+
|
|
1196
|
+
</Tab>
|
|
1197
|
+
<Tab label="Next.js" value="nextjs">
|
|
1198
|
+
|
|
1199
|
+
```tsx fileName="app/page.tsx"
|
|
1200
|
+
import { parseMarkdown } from "next-intlayer/markdown";
|
|
1201
|
+
import { MarkdownRenderer } from "next-intlayer/markdown";
|
|
1202
|
+
|
|
1203
|
+
export default async function Page() {
|
|
1204
|
+
// 1. Analisar o markdown em uma AST serializável no servidor
|
|
1205
|
+
const markdownString = "## My title \n\nLorem Ipsum";
|
|
1206
|
+
const ast = parseMarkdown(markdownString);
|
|
1207
|
+
|
|
1208
|
+
// 2. Renderizar a AST diretamente
|
|
1209
|
+
// Em um Server Component, isso funciona perfeitamente e passa a AST
|
|
1210
|
+
// diretamente para os componentes de cliente subjacentes, se necessário.
|
|
1211
|
+
return <MarkdownRenderer content={ast} />;
|
|
1212
|
+
}
|
|
1213
|
+
```
|
|
1214
|
+
|
|
1215
|
+
</Tab>
|
|
1216
|
+
<Tab label="Vue / Nuxt" value="vue">
|
|
1217
|
+
|
|
1218
|
+
```vue fileName="pages/index.vue"
|
|
1219
|
+
<script setup lang="ts">
|
|
1220
|
+
import { parseMarkdown } from "vue-intlayer/markdown";
|
|
1221
|
+
import { MarkdownRenderer } from "vue-intlayer/markdown";
|
|
1222
|
+
|
|
1223
|
+
// 1. Buscar e analisar o markdown em uma AST no servidor
|
|
1224
|
+
const { data: ast } = await useAsyncData('markdown', () => {
|
|
1225
|
+
const markdownString = "## My title \n\nLorem Ipsum";
|
|
1226
|
+
return parseMarkdown(markdownString);
|
|
1227
|
+
});
|
|
1228
|
+
</script>
|
|
1229
|
+
|
|
1230
|
+
<template>
|
|
1231
|
+
<!-- 2. No cliente: Renderizar a AST diretamente sem reanalisar -->
|
|
1232
|
+
<MarkdownRenderer :content="ast" />
|
|
1233
|
+
</template>
|
|
1234
|
+
```
|
|
1235
|
+
|
|
1236
|
+
</Tab>
|
|
1237
|
+
<Tab label="SvelteKit" value="svelte">
|
|
1238
|
+
|
|
1239
|
+
```typescript fileName="+page.server.ts"
|
|
1240
|
+
import { parseMarkdown } from "svelte-intlayer/markdown";
|
|
1241
|
+
|
|
1242
|
+
// 1. No servidor: Analisar o markdown em uma AST serializável
|
|
1243
|
+
export const load = async () => {
|
|
1244
|
+
const markdownString = "## My title \n\nLorem Ipsum";
|
|
1245
|
+
const ast = parseMarkdown(markdownString);
|
|
1246
|
+
|
|
1247
|
+
// Retornar a AST para o cliente
|
|
1248
|
+
return { content: ast };
|
|
1249
|
+
};
|
|
1250
|
+
```
|
|
1251
|
+
|
|
1252
|
+
```svelte fileName="+page.svelte"
|
|
1253
|
+
<script lang="ts">
|
|
1254
|
+
import { MarkdownRenderer } from "svelte-intlayer/markdown";
|
|
1255
|
+
export let data;
|
|
1256
|
+
</script>
|
|
1257
|
+
|
|
1258
|
+
<!-- 2. No cliente: Renderizar a AST diretamente sem reanalisar -->
|
|
1259
|
+
<MarkdownRenderer value={data.content} />
|
|
1260
|
+
```
|
|
1261
|
+
|
|
1262
|
+
</Tab>
|
|
1263
|
+
<Tab label="Angular" value="angular">
|
|
1264
|
+
|
|
1265
|
+
O SSR do Angular normalmente resolve os dados no servidor durante o carregamento inicial e hidrata no cliente. Você pode usar resolvers para passar a AST.
|
|
1266
|
+
|
|
1267
|
+
```typescript fileName="app.resolver.ts"
|
|
1268
|
+
import { Injectable } from "@angular/core";
|
|
1269
|
+
import { Resolve } from "@angular/router";
|
|
1270
|
+
import { parseMarkdown, type ParsedMarkdown } from "angular-intlayer/markdown";
|
|
1271
|
+
|
|
1272
|
+
@Injectable({ providedIn: "root" })
|
|
1273
|
+
export class MarkdownResolver implements Resolve<ParsedMarkdown> {
|
|
1274
|
+
resolve(): ParsedMarkdown {
|
|
1275
|
+
const markdownString = "## My title \n\nLorem Ipsum";
|
|
1276
|
+
// 1. No servidor: Analisar o markdown em uma AST serializável
|
|
1277
|
+
return parseMarkdown(markdownString);
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
```
|
|
1281
|
+
|
|
1282
|
+
```typescript fileName="app.component.ts"
|
|
1283
|
+
import { Component } from "@angular/core";
|
|
1284
|
+
import { ActivatedRoute } from "@angular/router";
|
|
1285
|
+
import { IntlayerMarkdownService, type ParsedMarkdown } from "angular-intlayer/markdown";
|
|
1286
|
+
|
|
1287
|
+
@Component({
|
|
1288
|
+
selector: "app-root",
|
|
1289
|
+
template: `<div [innerHTML]="renderedMarkdown"></div>`,
|
|
1290
|
+
})
|
|
1291
|
+
export class AppComponent {
|
|
1292
|
+
renderedMarkdown: string = "";
|
|
1293
|
+
|
|
1294
|
+
constructor(
|
|
1295
|
+
private route: ActivatedRoute,
|
|
1296
|
+
private markdownService: IntlayerMarkdownService
|
|
1297
|
+
) {
|
|
1298
|
+
// 2. No cliente: Renderizar a AST diretamente sem reanalisar
|
|
1299
|
+
this.route.data.subscribe((data) => {
|
|
1300
|
+
this.renderedMarkdown = this.markdownService.renderMarkdown(
|
|
1301
|
+
data.markdownAst
|
|
1302
|
+
) as string;
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
```
|
|
1307
|
+
|
|
1308
|
+
</Tab>
|
|
1309
|
+
</Tabs>
|
|
1310
|
+
|
|
1311
|
+
Esse padrão garante que a lógica de análise do Markdown seja executada inteiramente no servidor, reduzindo significativamente o tempo de execução no cliente e melhorando a velocidade de hidratação inicial.
|
|
1312
|
+
|
|
1152
1313
|
## Referência de opções
|
|
1153
1314
|
|
|
1154
1315
|
Essas opções podem ser passadas para `MarkdownProvider`, `MarkdownRenderer`, `useMarkdownRenderer` e `renderMarkdown`.
|