@intlayer/docs 9.0.0-canary.2 → 9.0.0-canary.20
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/internationalization_and_SEO.md +6 -0
- package/blog/ar/intlayer_with_i18next.md +28 -4
- package/blog/ar/intlayer_with_next-i18next.md +24 -15
- package/blog/ar/intlayer_with_next-intl.md +28 -4
- package/blog/ar/intlayer_with_react-i18next.md +24 -4
- package/blog/ar/intlayer_with_react-intl.md +24 -4
- package/blog/ar/intlayer_with_vue-i18n.md +24 -4
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
- package/blog/ar/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ar/rag_powered_documentation_assistant.md +13 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
- package/blog/de/internationalization_and_SEO.md +6 -0
- package/blog/de/intlayer_with_i18next.md +38 -6
- package/blog/de/intlayer_with_next-i18next.md +34 -17
- package/blog/de/intlayer_with_next-intl.md +41 -7
- package/blog/de/intlayer_with_react-i18next.md +37 -7
- package/blog/de/intlayer_with_react-intl.md +37 -7
- package/blog/de/intlayer_with_vue-i18n.md +37 -7
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/de/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/de/rag_powered_documentation_assistant.md +0 -193
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/de/vue-i18n_vs_intlayer.md +8 -0
- package/blog/en/internationalization_and_SEO.md +6 -0
- package/blog/en/intlayer_with_i18next.md +24 -4
- package/blog/en/intlayer_with_next-i18next.md +24 -4
- package/blog/en/intlayer_with_next-intl.md +24 -4
- package/blog/en/intlayer_with_react-i18next.md +24 -4
- package/blog/en/intlayer_with_react-intl.md +24 -4
- package/blog/en/intlayer_with_vue-i18n.md +24 -4
- package/blog/en/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/en/rag_powered_documentation_assistant.md +6 -0
- package/blog/en-GB/internationalization_and_SEO.md +6 -0
- package/blog/en-GB/intlayer_with_i18next.md +28 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +24 -15
- package/blog/en-GB/intlayer_with_next-intl.md +28 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +24 -4
- package/blog/en-GB/intlayer_with_react-intl.md +24 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +24 -4
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/en-GB/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
- package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
- package/blog/es/internationalization_and_SEO.md +6 -0
- package/blog/es/intlayer_with_i18next.md +28 -4
- package/blog/es/intlayer_with_next-i18next.md +24 -15
- package/blog/es/intlayer_with_next-intl.md +28 -4
- package/blog/es/intlayer_with_react-i18next.md +24 -4
- package/blog/es/intlayer_with_react-intl.md +24 -4
- package/blog/es/intlayer_with_vue-i18n.md +24 -4
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/es/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/es/rag_powered_documentation_assistant.md +13 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/es/vue-i18n_vs_intlayer.md +8 -0
- package/blog/fr/i18n_meaning.md +95 -0
- package/blog/fr/internationalization_and_SEO.md +6 -0
- package/blog/fr/intlayer_with_i18next.md +24 -4
- package/blog/fr/intlayer_with_next-i18next.md +24 -15
- package/blog/fr/intlayer_with_next-intl.md +28 -4
- package/blog/fr/intlayer_with_react-i18next.md +24 -12
- package/blog/fr/intlayer_with_react-intl.md +24 -4
- package/blog/fr/intlayer_with_vue-i18n.md +24 -4
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/fr/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/fr/rag_powered_documentation_assistant.md +0 -62
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
- package/blog/hi/internationalization_and_SEO.md +6 -0
- package/blog/hi/intlayer_with_i18next.md +28 -4
- package/blog/hi/intlayer_with_next-i18next.md +24 -15
- package/blog/hi/intlayer_with_next-intl.md +28 -4
- package/blog/hi/intlayer_with_react-i18next.md +24 -4
- package/blog/hi/intlayer_with_react-intl.md +24 -4
- package/blog/hi/intlayer_with_vue-i18n.md +24 -4
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
- package/blog/hi/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/hi/rag_powered_documentation_assistant.md +13 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
- package/blog/id/internationalization_and_SEO.md +6 -91
- package/blog/id/intlayer_with_i18next.md +28 -4
- package/blog/id/intlayer_with_next-i18next.md +24 -15
- package/blog/id/intlayer_with_next-intl.md +28 -4
- package/blog/id/intlayer_with_react-i18next.md +24 -4
- package/blog/id/intlayer_with_react-intl.md +24 -4
- package/blog/id/intlayer_with_vue-i18n.md +24 -4
- package/blog/id/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/id/rag_powered_documentation_assistant.md +13 -0
- package/blog/it/internationalization_and_SEO.md +6 -0
- package/blog/it/intlayer_with_i18next.md +41 -7
- package/blog/it/intlayer_with_next-i18next.md +37 -18
- package/blog/it/intlayer_with_next-intl.md +41 -7
- package/blog/it/intlayer_with_react-i18next.md +37 -7
- package/blog/it/intlayer_with_react-intl.md +37 -7
- package/blog/it/intlayer_with_vue-i18n.md +37 -7
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/it/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/it/rag_powered_documentation_assistant.md +0 -195
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/it/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ja/internationalization_and_SEO.md +6 -0
- package/blog/ja/intlayer_with_i18next.md +28 -4
- package/blog/ja/intlayer_with_next-i18next.md +24 -15
- package/blog/ja/intlayer_with_next-intl.md +28 -4
- package/blog/ja/intlayer_with_react-i18next.md +24 -4
- package/blog/ja/intlayer_with_react-intl.md +24 -4
- package/blog/ja/intlayer_with_vue-i18n.md +24 -4
- package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/ja/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ja/rag_powered_documentation_assistant.md +13 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/internationalization_and_SEO.md +6 -0
- package/blog/ko/intlayer_with_i18next.md +41 -7
- package/blog/ko/intlayer_with_next-i18next.md +37 -18
- package/blog/ko/intlayer_with_next-intl.md +41 -7
- package/blog/ko/intlayer_with_react-i18next.md +37 -7
- package/blog/ko/intlayer_with_react-intl.md +37 -7
- package/blog/ko/intlayer_with_vue-i18n.md +37 -7
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
- package/blog/ko/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ko/rag_powered_documentation_assistant.md +0 -194
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ko/what_is_internationalization.md +0 -4
- package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
- package/blog/pl/internationalization_and_SEO.md +6 -91
- package/blog/pl/intlayer_with_i18next.md +28 -4
- package/blog/pl/intlayer_with_next-i18next.md +24 -15
- package/blog/pl/intlayer_with_next-intl.md +28 -4
- package/blog/pl/intlayer_with_react-i18next.md +24 -4
- package/blog/pl/intlayer_with_react-intl.md +24 -4
- package/blog/pl/intlayer_with_vue-i18n.md +24 -4
- package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
- package/blog/pl/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/pl/rag_powered_documentation_assistant.md +13 -0
- package/blog/pt/internationalization_and_SEO.md +7 -1
- package/blog/pt/intlayer_with_i18next.md +41 -7
- package/blog/pt/intlayer_with_next-i18next.md +37 -18
- package/blog/pt/intlayer_with_next-intl.md +41 -7
- package/blog/pt/intlayer_with_react-i18next.md +37 -7
- package/blog/pt/intlayer_with_react-intl.md +37 -11
- package/blog/pt/intlayer_with_vue-i18n.md +37 -7
- package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
- package/blog/pt/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/pt/rag_powered_documentation_assistant.md +0 -195
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
- package/blog/ru/internationalization_and_SEO.md +6 -0
- package/blog/ru/intlayer_with_i18next.md +28 -4
- package/blog/ru/intlayer_with_next-i18next.md +24 -15
- package/blog/ru/intlayer_with_next-intl.md +28 -4
- package/blog/ru/intlayer_with_react-i18next.md +24 -4
- package/blog/ru/intlayer_with_react-intl.md +24 -4
- package/blog/ru/intlayer_with_vue-i18n.md +24 -4
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
- package/blog/ru/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ru/rag_powered_documentation_assistant.md +13 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
- package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
- package/blog/tr/internationalization_and_SEO.md +6 -0
- package/blog/tr/intlayer_with_i18next.md +28 -4
- package/blog/tr/intlayer_with_next-i18next.md +24 -15
- package/blog/tr/intlayer_with_next-intl.md +28 -4
- package/blog/tr/intlayer_with_react-i18next.md +24 -4
- package/blog/tr/intlayer_with_react-intl.md +24 -4
- package/blog/tr/intlayer_with_vue-i18n.md +24 -4
- package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
- package/blog/tr/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/tr/rag_powered_documentation_assistant.md +0 -38
- package/blog/uk/internationalization_and_SEO.md +6 -0
- package/blog/uk/intlayer_with_i18next.md +24 -4
- package/blog/uk/intlayer_with_next-i18next.md +24 -4
- package/blog/uk/intlayer_with_next-intl.md +24 -4
- package/blog/uk/intlayer_with_react-i18next.md +24 -4
- package/blog/uk/intlayer_with_react-intl.md +24 -4
- package/blog/uk/intlayer_with_vue-i18n.md +24 -4
- package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
- package/blog/uk/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/uk/rag_powered_documentation_assistant.md +13 -0
- package/blog/vi/internationalization_and_SEO.md +6 -91
- package/blog/vi/intlayer_with_i18next.md +28 -4
- package/blog/vi/intlayer_with_next-i18next.md +24 -15
- package/blog/vi/intlayer_with_next-intl.md +28 -4
- package/blog/vi/intlayer_with_react-i18next.md +24 -4
- package/blog/vi/intlayer_with_react-intl.md +24 -4
- package/blog/vi/intlayer_with_vue-i18n.md +24 -4
- package/blog/vi/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/vi/rag_powered_documentation_assistant.md +13 -0
- package/blog/zh/internationalization_and_SEO.md +6 -0
- package/blog/zh/intlayer_with_i18next.md +4 -31
- package/blog/zh/intlayer_with_next-i18next.md +0 -42
- package/blog/zh/intlayer_with_next-intl.md +4 -31
- package/blog/zh/intlayer_with_react-i18next.md +0 -31
- package/blog/zh/intlayer_with_react-intl.md +0 -31
- package/blog/zh/intlayer_with_vue-i18n.md +0 -31
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
- package/blog/zh/nextjs-multilingual-seo-comparison.md +6 -30
- package/blog/zh/rag_powered_documentation_assistant.md +0 -191
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
- package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
- package/dist/cjs/authors.cjs.map +1 -1
- package/dist/cjs/blog.cjs.map +1 -1
- package/dist/cjs/common.cjs +2 -1
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/frequentQuestions.cjs.map +1 -1
- 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 +300 -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/cjs/legal.cjs.map +1 -1
- package/dist/esm/authors.mjs.map +1 -1
- package/dist/esm/blog.mjs.map +1 -1
- package/dist/esm/common.mjs +2 -1
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/frequentQuestions.mjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +300 -20
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/esm/generated/legal.entry.mjs.map +1 -1
- package/dist/esm/legal.mjs.map +1 -1
- package/dist/types/authors.d.ts +16 -8
- package/dist/types/authors.d.ts.map +1 -1
- package/dist/types/blog.d.ts +0 -1
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/common.d.ts +0 -1
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/doc.d.ts +0 -1
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/frequentQuestions.d.ts +0 -1
- package/dist/types/frequentQuestions.d.ts.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +0 -1
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +15 -2
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +0 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/dist/types/generated/legal.entry.d.ts +0 -1
- package/dist/types/generated/legal.entry.d.ts.map +1 -1
- package/dist/types/legal.d.ts +0 -1
- package/dist/types/legal.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -0
- package/docs/ar/autoFill.md +81 -0
- package/docs/ar/benchmark/solid.md +22 -0
- package/docs/ar/benchmark/svelte.md +22 -0
- package/docs/ar/benchmark/tanstack.md +22 -0
- package/docs/ar/bundle_optimization.md +16 -0
- package/docs/ar/cli/ci.md +22 -0
- package/docs/ar/cli/fill.md +8 -0
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/cli/scan.md +2 -2
- package/docs/ar/compat/i18n-js.md +44 -0
- package/docs/ar/compat/i18next.md +59 -0
- package/docs/ar/compat/index.md +51 -0
- package/docs/ar/compat/lingui.md +44 -0
- package/docs/ar/compat/next-i18next.md +57 -0
- package/docs/ar/compat/next-intl.md +59 -0
- package/docs/ar/compat/next-translate.md +45 -0
- package/docs/ar/compat/ngx-translate.md +45 -0
- package/docs/ar/compat/nuxtjs-i18n.md +46 -0
- package/docs/ar/compat/polyglot.md +45 -0
- package/docs/ar/compat/react-i18next.md +58 -0
- package/docs/ar/compat/react-intl.md +55 -0
- package/docs/ar/compat/svelte-i18n.md +47 -0
- package/docs/ar/compat/transloco.md +45 -0
- package/docs/ar/compat/vue-i18n.md +58 -0
- package/docs/ar/compiler.md +9 -4
- package/docs/ar/configuration.md +60 -17
- package/docs/ar/custom_domains.md +9 -3
- package/docs/ar/custom_url_rewrites.md +9 -3
- package/docs/ar/dictionary/content_file.md +4 -7
- package/docs/ar/dictionary/enumeration.md +0 -187
- package/docs/ar/dictionary/file.md +8 -0
- package/docs/ar/dictionary/nesting.md +39 -0
- package/docs/ar/dictionary/translation.md +0 -61
- package/docs/ar/dynamic_dictionaries/index.md +24 -18
- package/docs/ar/dynamic_dictionaries/variants.md +280 -22
- package/docs/ar/formatters.md +59 -0
- package/docs/ar/how_works_intlayer.md +6 -2
- package/docs/ar/interest_of_intlayer.md +193 -0
- package/docs/ar/intlayer_CMS.md +20 -122
- package/docs/ar/intlayer_with_adonisjs.md +24 -4
- package/docs/ar/intlayer_with_analog.md +29 -5
- package/docs/ar/intlayer_with_angular_19.md +24 -4
- package/docs/ar/intlayer_with_angular_21.md +24 -4
- package/docs/ar/intlayer_with_astro.md +131 -2
- package/docs/ar/intlayer_with_astro_lit.md +30 -12
- package/docs/ar/intlayer_with_astro_preact.md +27 -9
- package/docs/ar/intlayer_with_astro_react.md +27 -9
- package/docs/ar/intlayer_with_astro_solid.md +27 -9
- package/docs/ar/intlayer_with_astro_svelte.md +27 -9
- package/docs/ar/intlayer_with_astro_vanilla.md +27 -9
- package/docs/ar/intlayer_with_astro_vue.md +27 -9
- package/docs/ar/intlayer_with_create_react_app.md +24 -18
- package/docs/ar/intlayer_with_express.md +24 -25
- package/docs/ar/intlayer_with_fastify.md +24 -8
- package/docs/ar/intlayer_with_hono.md +24 -4
- package/docs/ar/intlayer_with_lynx+react.md +30 -5
- package/docs/ar/intlayer_with_nestjs.md +24 -22
- package/docs/ar/intlayer_with_next-i18next.md +24 -4
- package/docs/ar/intlayer_with_nextjs_14.md +54 -11
- package/docs/ar/intlayer_with_nextjs_15.md +47 -9
- package/docs/ar/intlayer_with_nextjs_16.md +152 -10
- package/docs/ar/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/ar/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/ar/intlayer_with_nuxt.md +30 -8
- package/docs/ar/intlayer_with_react_native+expo.md +112 -74
- package/docs/ar/intlayer_with_react_router_v7.md +29 -101
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +48 -102
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +19 -184
- package/docs/ar/intlayer_with_tanstack+solid.md +44 -15
- package/docs/ar/intlayer_with_tanstack.md +43 -15
- package/docs/ar/intlayer_with_vite+lit.md +33 -7
- package/docs/ar/intlayer_with_vite+preact.md +67 -45
- package/docs/ar/intlayer_with_vite+react.md +34 -9
- package/docs/ar/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/ar/intlayer_with_vite+solid.md +52 -30
- package/docs/ar/intlayer_with_vite+svelte.md +40 -18
- package/docs/ar/intlayer_with_vite+vanilla.md +41 -10
- package/docs/ar/intlayer_with_vite+vue.md +77 -122
- package/docs/ar/live-sync.md +174 -0
- package/docs/ar/mcp_server.md +22 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +337 -0
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/ar/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/angular-intlayer/exports.md +14 -10
- package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/intlayer/comparePaths.md +173 -0
- package/docs/ar/packages/intlayer/exports.md +5 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
- package/docs/ar/packages/next-intlayer/exports.md +4 -0
- package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ar/packages/preact-intlayer/exports.md +10 -6
- package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ar/packages/react-intlayer/exports.md +4 -0
- package/docs/ar/packages/react-intlayer/t.md +0 -13
- package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
- package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
- package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ar/packages/solid-intlayer/exports.md +4 -0
- package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/packages/vue-intlayer/exports.md +4 -0
- package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ar/plugins/sync-json.md +221 -49
- package/docs/ar/releases/v6.md +28 -0
- package/docs/ar/releases/v7.md +128 -0
- package/docs/ar/releases/v9.md +227 -38
- package/docs/ar/roadmap.md +6 -0
- package/docs/ar/self_hosting.md +350 -0
- package/docs/bn/bundle_optimization.md +16 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/cli/scan.md +2 -2
- package/docs/bn/configuration.md +45 -1
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_CMS.md +570 -0
- package/docs/bn/intlayer_with_angular_21.md +24 -4
- package/docs/bn/intlayer_with_fastify.md +24 -8
- package/docs/bn/intlayer_with_hono.md +24 -4
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +32 -6
- package/docs/bn/intlayer_with_vite+vanilla.md +40 -9
- package/docs/bn/packages/intlayer/comparePaths.md +173 -0
- package/docs/bn/releases/v9.md +340 -0
- package/docs/cs/bundle_optimization.md +16 -0
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/cli/scan.md +2 -2
- package/docs/cs/configuration.md +45 -1
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_angular_21.md +24 -4
- package/docs/cs/intlayer_with_fastify.md +24 -8
- package/docs/cs/intlayer_with_hono.md +24 -4
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +32 -6
- package/docs/cs/intlayer_with_vite+vanilla.md +40 -9
- package/docs/cs/packages/intlayer/comparePaths.md +173 -0
- package/docs/cs/releases/v9.md +340 -0
- package/docs/de/CI_CD.md +4 -0
- package/docs/de/autoFill.md +81 -0
- package/docs/de/benchmark/solid.md +22 -0
- package/docs/de/benchmark/svelte.md +22 -0
- package/docs/de/benchmark/tanstack.md +22 -0
- package/docs/de/bundle_optimization.md +16 -0
- package/docs/de/cli/ci.md +22 -0
- package/docs/de/cli/fill.md +8 -0
- package/docs/de/cli/index.md +1 -1
- package/docs/de/cli/init.md +20 -0
- package/docs/de/cli/scan.md +2 -2
- package/docs/de/compat/i18n-js.md +44 -0
- package/docs/de/compat/i18next.md +59 -0
- package/docs/de/compat/index.md +51 -0
- package/docs/de/compat/lingui.md +44 -0
- package/docs/de/compat/next-i18next.md +57 -0
- package/docs/de/compat/next-intl.md +59 -0
- package/docs/de/compat/next-translate.md +45 -0
- package/docs/de/compat/ngx-translate.md +45 -0
- package/docs/de/compat/nuxtjs-i18n.md +46 -0
- package/docs/de/compat/polyglot.md +45 -0
- package/docs/de/compat/react-i18next.md +58 -0
- package/docs/de/compat/react-intl.md +55 -0
- package/docs/de/compat/svelte-i18n.md +47 -0
- package/docs/de/compat/transloco.md +45 -0
- package/docs/de/compat/vue-i18n.md +58 -0
- package/docs/de/compiler.md +9 -4
- package/docs/de/configuration.md +60 -17
- package/docs/de/custom_domains.md +9 -3
- package/docs/de/custom_url_rewrites.md +9 -3
- package/docs/de/dictionary/content_file.md +4 -0
- package/docs/de/dictionary/enumeration.md +0 -199
- package/docs/de/dictionary/file.md +8 -0
- package/docs/de/dictionary/insertion.md +0 -4
- package/docs/de/dictionary/nesting.md +39 -0
- package/docs/de/dictionary/translation.md +0 -61
- package/docs/de/dynamic_dictionaries/index.md +23 -17
- package/docs/de/dynamic_dictionaries/variants.md +272 -14
- package/docs/de/formatters.md +130 -0
- package/docs/de/how_works_intlayer.md +6 -2
- package/docs/de/intlayer_CMS.md +92 -100
- package/docs/de/intlayer_with_adonisjs.md +24 -4
- package/docs/de/intlayer_with_analog.md +29 -5
- package/docs/de/intlayer_with_angular_19.md +24 -4
- package/docs/de/intlayer_with_angular_21.md +24 -4
- package/docs/de/intlayer_with_astro.md +132 -3
- package/docs/de/intlayer_with_astro_lit.md +31 -13
- package/docs/de/intlayer_with_astro_preact.md +28 -10
- package/docs/de/intlayer_with_astro_react.md +28 -10
- package/docs/de/intlayer_with_astro_solid.md +28 -10
- package/docs/de/intlayer_with_astro_svelte.md +28 -10
- package/docs/de/intlayer_with_astro_vanilla.md +28 -10
- package/docs/de/intlayer_with_astro_vue.md +28 -10
- package/docs/de/intlayer_with_create_react_app.md +39 -4
- package/docs/de/intlayer_with_express.md +24 -27
- package/docs/de/intlayer_with_fastify.md +24 -8
- package/docs/de/intlayer_with_hono.md +24 -4
- package/docs/de/intlayer_with_lynx+react.md +34 -7
- package/docs/de/intlayer_with_nestjs.md +24 -12
- package/docs/de/intlayer_with_next-i18next.md +24 -4
- package/docs/de/intlayer_with_nextjs_14.md +52 -11
- package/docs/de/intlayer_with_nextjs_15.md +47 -9
- package/docs/de/intlayer_with_nextjs_16.md +29 -9
- package/docs/de/intlayer_with_nextjs_compiler.md +51 -1
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/de/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/de/intlayer_with_nuxt.md +30 -8
- package/docs/de/intlayer_with_react_native+expo.md +95 -68
- package/docs/de/intlayer_with_react_router_v7.md +29 -101
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +9 -94
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +20 -185
- package/docs/de/intlayer_with_tanstack+solid.md +44 -15
- package/docs/de/intlayer_with_tanstack.md +44 -16
- package/docs/de/intlayer_with_vite+lit.md +38 -9
- package/docs/de/intlayer_with_vite+preact.md +89 -63
- package/docs/de/intlayer_with_vite+react.md +35 -10
- package/docs/de/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/de/intlayer_with_vite+solid.md +61 -48
- package/docs/de/intlayer_with_vite+svelte.md +36 -33
- package/docs/de/intlayer_with_vite+vanilla.md +41 -10
- package/docs/de/intlayer_with_vite+vue.md +88 -111
- package/docs/de/live-sync.md +174 -0
- package/docs/de/mcp_server.md +22 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/de/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/de/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/de/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/angular-intlayer/exports.md +13 -9
- package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/de/packages/intlayer/comparePaths.md +173 -0
- package/docs/de/packages/intlayer/exports.md +5 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/de/packages/next-intlayer/exports.md +4 -0
- package/docs/de/packages/next-intlayer/usePathname.md +136 -0
- package/docs/de/packages/preact-intlayer/exports.md +10 -6
- package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/de/packages/react-intlayer/exports.md +4 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
- package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/de/packages/react-intlayer/usePathname.md +87 -0
- package/docs/de/packages/react-native-intlayer/exports.md +47 -13
- package/docs/de/packages/solid-intlayer/exports.md +4 -0
- package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/de/packages/svelte-intlayer/exports.md +13 -9
- package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/packages/vue-intlayer/exports.md +4 -0
- package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/de/plugins/sync-json.md +221 -49
- package/docs/de/releases/v6.md +10 -6
- package/docs/de/releases/v7.md +128 -0
- package/docs/de/releases/v9.md +208 -38
- package/docs/de/roadmap.md +6 -16
- package/docs/de/self_hosting.md +350 -0
- package/docs/en/analytics.md +222 -0
- package/docs/en/bundle_optimization.md +24 -3
- package/docs/en/cli/index.md +1 -1
- package/docs/en/cli/scan.md +2 -2
- package/docs/en/compiler.md +16 -6
- package/docs/en/configuration.md +63 -8
- package/docs/en/custom_domains.md +10 -2
- package/docs/en/custom_url_rewrites.md +10 -2
- package/docs/en/dynamic_dictionaries/index.md +20 -14
- package/docs/en/dynamic_dictionaries/variants.md +266 -8
- package/docs/en/how_works_intlayer.md +2 -2
- package/docs/en/intlayer_CMS.md +143 -107
- package/docs/en/intlayer_with_adonisjs.md +24 -4
- package/docs/en/intlayer_with_analog.md +29 -5
- package/docs/en/intlayer_with_angular_19.md +24 -4
- package/docs/en/intlayer_with_angular_21.md +24 -4
- package/docs/en/intlayer_with_astro.md +26 -8
- package/docs/en/intlayer_with_astro_lit.md +29 -11
- package/docs/en/intlayer_with_astro_preact.md +26 -8
- package/docs/en/intlayer_with_astro_react.md +26 -8
- package/docs/en/intlayer_with_astro_solid.md +26 -8
- package/docs/en/intlayer_with_astro_svelte.md +26 -8
- package/docs/en/intlayer_with_astro_vanilla.md +26 -8
- package/docs/en/intlayer_with_astro_vue.md +26 -8
- package/docs/en/intlayer_with_create_react_app.md +24 -4
- package/docs/en/intlayer_with_express.md +24 -4
- package/docs/en/intlayer_with_fastify.md +24 -8
- package/docs/en/intlayer_with_hono.md +24 -4
- package/docs/en/intlayer_with_lynx+react.md +30 -5
- package/docs/en/intlayer_with_nestjs.md +24 -4
- package/docs/en/intlayer_with_next-i18next.md +24 -4
- package/docs/en/intlayer_with_nextjs_14.md +26 -4
- package/docs/en/intlayer_with_nextjs_15.md +27 -7
- package/docs/en/intlayer_with_nextjs_16.md +30 -8
- package/docs/en/intlayer_with_nextjs_compiler.md +30 -8
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +28 -8
- package/docs/en/intlayer_with_nextjs_page_router.md +26 -4
- package/docs/en/intlayer_with_nuxt.md +30 -8
- package/docs/en/intlayer_with_react_native+expo.md +52 -23
- package/docs/en/intlayer_with_react_router_v7.md +35 -8
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +10 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +34 -7
- package/docs/en/intlayer_with_tanstack+solid.md +45 -14
- package/docs/en/intlayer_with_tanstack.md +44 -14
- package/docs/en/intlayer_with_vite+lit.md +39 -8
- package/docs/en/intlayer_with_vite+preact.md +35 -8
- package/docs/en/intlayer_with_vite+react.md +35 -8
- package/docs/en/intlayer_with_vite+react_compiler.md +36 -7
- package/docs/en/intlayer_with_vite+solid.md +35 -8
- package/docs/en/intlayer_with_vite+svelte.md +34 -7
- package/docs/en/intlayer_with_vite+vanilla.md +41 -8
- package/docs/en/intlayer_with_vite+vue.md +35 -8
- package/docs/en/live-sync.md +184 -0
- package/docs/en/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/en/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/en/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/en/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/angular-intlayer/exports.md +13 -9
- package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en/packages/intlayer/comparePaths.md +173 -0
- package/docs/en/packages/intlayer/exports.md +18 -13
- package/docs/en/packages/next-intlayer/exports.md +4 -0
- package/docs/en/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en/packages/preact-intlayer/exports.md +10 -6
- package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en/packages/react-intlayer/exports.md +4 -0
- package/docs/en/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en/packages/react-native-intlayer/exports.md +47 -13
- package/docs/en/packages/solid-intlayer/exports.md +4 -0
- package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/packages/vue-intlayer/exports.md +4 -0
- package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en/plugins/sync-json.md +56 -3
- package/docs/en/releases/v9.md +202 -32
- package/docs/en/self_hosting.md +310 -0
- package/docs/en-GB/CI_CD.md +4 -0
- package/docs/en-GB/autoFill.md +81 -0
- package/docs/en-GB/benchmark/solid.md +22 -0
- package/docs/en-GB/benchmark/svelte.md +22 -0
- package/docs/en-GB/benchmark/tanstack.md +22 -0
- package/docs/en-GB/bundle_optimization.md +16 -0
- package/docs/en-GB/cli/ci.md +22 -0
- package/docs/en-GB/cli/fill.md +8 -0
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/cli/login.md +0 -36
- package/docs/en-GB/cli/scan.md +2 -2
- package/docs/en-GB/cli/test.md +0 -36
- package/docs/en-GB/compat/i18n-js.md +44 -0
- package/docs/en-GB/compat/i18next.md +59 -0
- package/docs/en-GB/compat/index.md +51 -0
- package/docs/en-GB/compat/lingui.md +44 -0
- package/docs/en-GB/compat/next-i18next.md +57 -0
- package/docs/en-GB/compat/next-intl.md +59 -0
- package/docs/en-GB/compat/next-translate.md +45 -0
- package/docs/en-GB/compat/ngx-translate.md +45 -0
- package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
- package/docs/en-GB/compat/polyglot.md +45 -0
- package/docs/en-GB/compat/react-i18next.md +58 -0
- package/docs/en-GB/compat/react-intl.md +55 -0
- package/docs/en-GB/compat/svelte-i18n.md +47 -0
- package/docs/en-GB/compat/transloco.md +45 -0
- package/docs/en-GB/compat/vue-i18n.md +58 -0
- package/docs/en-GB/compiler.md +9 -4
- package/docs/en-GB/configuration.md +45 -1
- package/docs/en-GB/custom_domains.md +9 -3
- package/docs/en-GB/custom_url_rewrites.md +9 -3
- package/docs/en-GB/dictionary/content_file.md +4 -7
- package/docs/en-GB/dictionary/file.md +8 -0
- package/docs/en-GB/dictionary/function_fetching.md +0 -4
- package/docs/en-GB/dictionary/nesting.md +8 -0
- package/docs/en-GB/dictionary/translation.md +0 -61
- package/docs/en-GB/dynamic_dictionaries/index.md +21 -15
- package/docs/en-GB/dynamic_dictionaries/variants.md +268 -10
- package/docs/en-GB/formatters.md +59 -0
- package/docs/en-GB/how_works_intlayer.md +6 -18
- package/docs/en-GB/intlayer_CMS.md +20 -122
- package/docs/en-GB/intlayer_with_adonisjs.md +24 -4
- package/docs/en-GB/intlayer_with_analog.md +29 -5
- package/docs/en-GB/intlayer_with_angular_19.md +24 -4
- package/docs/en-GB/intlayer_with_angular_21.md +24 -4
- package/docs/en-GB/intlayer_with_astro.md +131 -2
- package/docs/en-GB/intlayer_with_astro_lit.md +30 -12
- package/docs/en-GB/intlayer_with_astro_preact.md +27 -9
- package/docs/en-GB/intlayer_with_astro_react.md +27 -9
- package/docs/en-GB/intlayer_with_astro_solid.md +27 -9
- package/docs/en-GB/intlayer_with_astro_svelte.md +27 -9
- package/docs/en-GB/intlayer_with_astro_vanilla.md +27 -9
- package/docs/en-GB/intlayer_with_astro_vue.md +27 -9
- package/docs/en-GB/intlayer_with_create_react_app.md +46 -52
- package/docs/en-GB/intlayer_with_express.md +24 -27
- package/docs/en-GB/intlayer_with_fastify.md +24 -8
- package/docs/en-GB/intlayer_with_hono.md +24 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +54 -9
- package/docs/en-GB/intlayer_with_nestjs.md +24 -12
- package/docs/en-GB/intlayer_with_next-i18next.md +24 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +37 -9
- package/docs/en-GB/intlayer_with_nextjs_15.md +49 -9
- package/docs/en-GB/intlayer_with_nextjs_16.md +29 -9
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +29 -9
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/en-GB/intlayer_with_nuxt.md +30 -8
- package/docs/en-GB/intlayer_with_react_native+expo.md +90 -67
- package/docs/en-GB/intlayer_with_react_router_v7.md +32 -9
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +51 -9
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +17 -184
- package/docs/en-GB/intlayer_with_tanstack+solid.md +44 -15
- package/docs/en-GB/intlayer_with_tanstack.md +41 -15
- package/docs/en-GB/intlayer_with_vite+lit.md +38 -9
- package/docs/en-GB/intlayer_with_vite+preact.md +30 -6
- package/docs/en-GB/intlayer_with_vite+react.md +32 -9
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/en-GB/intlayer_with_vite+solid.md +26 -6
- package/docs/en-GB/intlayer_with_vite+svelte.md +31 -8
- package/docs/en-GB/intlayer_with_vite+vanilla.md +40 -9
- package/docs/en-GB/intlayer_with_vite+vue.md +40 -188
- package/docs/en-GB/live-sync.md +173 -0
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +337 -0
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
- package/docs/en-GB/packages/intlayer/exports.md +5 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
- package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
- package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
- package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
- package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
- package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
- package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
- package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
- package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/en-GB/plugins/sync-json.md +222 -50
- package/docs/en-GB/releases/v6.md +10 -6
- package/docs/en-GB/releases/v7.md +128 -0
- package/docs/en-GB/releases/v8.md +190 -0
- package/docs/en-GB/releases/v9.md +193 -30
- package/docs/en-GB/roadmap.md +6 -0
- package/docs/en-GB/self_hosting.md +350 -0
- package/docs/es/CI_CD.md +4 -0
- package/docs/es/autoFill.md +81 -0
- package/docs/es/benchmark/solid.md +22 -0
- package/docs/es/benchmark/svelte.md +22 -0
- package/docs/es/benchmark/tanstack.md +22 -0
- package/docs/es/bundle_optimization.md +16 -0
- package/docs/es/cli/ci.md +22 -0
- package/docs/es/cli/fill.md +8 -0
- package/docs/es/cli/index.md +1 -1
- package/docs/es/cli/login.md +0 -36
- package/docs/es/cli/scan.md +2 -2
- package/docs/es/compat/i18n-js.md +44 -0
- package/docs/es/compat/i18next.md +59 -0
- package/docs/es/compat/index.md +51 -0
- package/docs/es/compat/lingui.md +44 -0
- package/docs/es/compat/next-i18next.md +57 -0
- package/docs/es/compat/next-intl.md +61 -0
- package/docs/es/compat/next-translate.md +45 -0
- package/docs/es/compat/ngx-translate.md +45 -0
- package/docs/es/compat/nuxtjs-i18n.md +46 -0
- package/docs/es/compat/polyglot.md +45 -0
- package/docs/es/compat/react-i18next.md +58 -0
- package/docs/es/compat/react-intl.md +55 -0
- package/docs/es/compat/svelte-i18n.md +47 -0
- package/docs/es/compat/transloco.md +45 -0
- package/docs/es/compat/vue-i18n.md +58 -0
- package/docs/es/compiler.md +9 -4
- package/docs/es/configuration.md +60 -17
- package/docs/es/custom_domains.md +9 -3
- package/docs/es/custom_url_rewrites.md +9 -3
- package/docs/es/dictionary/content_file.md +4 -0
- package/docs/es/dictionary/file.md +8 -0
- package/docs/es/dictionary/nesting.md +39 -0
- package/docs/es/dictionary/translation.md +0 -61
- package/docs/es/dynamic_dictionaries/index.md +25 -19
- package/docs/es/dynamic_dictionaries/variants.md +275 -17
- package/docs/es/formatters.md +82 -0
- package/docs/es/how_works_intlayer.md +6 -6
- package/docs/es/intlayer_CMS.md +101 -99
- package/docs/es/intlayer_visual_editor.md +0 -23
- package/docs/es/intlayer_with_adonisjs.md +24 -4
- package/docs/es/intlayer_with_analog.md +29 -5
- package/docs/es/intlayer_with_angular_19.md +24 -4
- package/docs/es/intlayer_with_angular_21.md +24 -4
- package/docs/es/intlayer_with_astro.md +132 -3
- package/docs/es/intlayer_with_astro_lit.md +31 -13
- package/docs/es/intlayer_with_astro_preact.md +28 -10
- package/docs/es/intlayer_with_astro_react.md +28 -10
- package/docs/es/intlayer_with_astro_solid.md +28 -10
- package/docs/es/intlayer_with_astro_svelte.md +28 -10
- package/docs/es/intlayer_with_astro_vanilla.md +28 -10
- package/docs/es/intlayer_with_astro_vue.md +28 -10
- package/docs/es/intlayer_with_create_react_app.md +24 -4
- package/docs/es/intlayer_with_express.md +24 -8
- package/docs/es/intlayer_with_fastify.md +24 -8
- package/docs/es/intlayer_with_hono.md +24 -4
- package/docs/es/intlayer_with_lynx+react.md +30 -5
- package/docs/es/intlayer_with_nestjs.md +24 -22
- package/docs/es/intlayer_with_next-i18next.md +24 -4
- package/docs/es/intlayer_with_nextjs_14.md +34 -8
- package/docs/es/intlayer_with_nextjs_15.md +47 -9
- package/docs/es/intlayer_with_nextjs_16.md +29 -9
- package/docs/es/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/es/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/es/intlayer_with_nuxt.md +30 -8
- package/docs/es/intlayer_with_react_native+expo.md +96 -72
- package/docs/es/intlayer_with_react_router_v7.md +29 -101
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +10 -5
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +20 -185
- package/docs/es/intlayer_with_tanstack+solid.md +44 -15
- package/docs/es/intlayer_with_tanstack.md +44 -16
- package/docs/es/intlayer_with_vite+lit.md +38 -9
- package/docs/es/intlayer_with_vite+preact.md +33 -7
- package/docs/es/intlayer_with_vite+react.md +35 -10
- package/docs/es/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/es/intlayer_with_vite+solid.md +29 -7
- package/docs/es/intlayer_with_vite+svelte.md +29 -7
- package/docs/es/intlayer_with_vite+vanilla.md +41 -10
- package/docs/es/intlayer_with_vite+vue.md +52 -95
- package/docs/es/live-sync.md +176 -0
- package/docs/es/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/es/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/es/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/es/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/angular-intlayer/exports.md +13 -9
- package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/es/packages/express-intlayer/t.md +0 -9
- package/docs/es/packages/intlayer/comparePaths.md +173 -0
- package/docs/es/packages/intlayer/exports.md +18 -13
- package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/es/packages/next-intlayer/exports.md +4 -0
- package/docs/es/packages/next-intlayer/usePathname.md +136 -0
- package/docs/es/packages/preact-intlayer/exports.md +10 -6
- package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/es/packages/react-intlayer/exports.md +4 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/es/packages/react-intlayer/usePathname.md +87 -0
- package/docs/es/packages/react-native-intlayer/exports.md +47 -13
- package/docs/es/packages/solid-intlayer/exports.md +4 -0
- package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/es/packages/svelte-intlayer/exports.md +4 -0
- package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/packages/vue-intlayer/exports.md +4 -0
- package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/es/plugins/sync-json.md +221 -49
- package/docs/es/releases/v6.md +28 -0
- package/docs/es/releases/v7.md +128 -0
- package/docs/es/releases/v9.md +208 -38
- package/docs/es/roadmap.md +6 -0
- package/docs/es/self_hosting.md +350 -0
- package/docs/fr/CI_CD.md +4 -0
- package/docs/fr/autoFill.md +81 -0
- package/docs/fr/benchmark/solid.md +22 -0
- package/docs/fr/benchmark/svelte.md +22 -0
- package/docs/fr/benchmark/tanstack.md +22 -0
- package/docs/fr/bundle_optimization.md +16 -0
- package/docs/fr/cli/ci.md +22 -0
- package/docs/fr/cli/fill.md +8 -0
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/cli/login.md +0 -36
- package/docs/fr/cli/scan.md +2 -2
- package/docs/fr/compat/i18n-js.md +44 -0
- package/docs/fr/compat/i18next.md +59 -0
- package/docs/fr/compat/index.md +51 -0
- package/docs/fr/compat/lingui.md +44 -0
- package/docs/fr/compat/next-i18next.md +57 -0
- package/docs/fr/compat/next-intl.md +59 -0
- package/docs/fr/compat/next-translate.md +45 -0
- package/docs/fr/compat/ngx-translate.md +45 -0
- package/docs/fr/compat/nuxtjs-i18n.md +46 -0
- package/docs/fr/compat/polyglot.md +45 -0
- package/docs/fr/compat/react-i18next.md +58 -0
- package/docs/fr/compat/react-intl.md +55 -0
- package/docs/fr/compat/svelte-i18n.md +47 -0
- package/docs/fr/compat/transloco.md +45 -0
- package/docs/fr/compat/vue-i18n.md +58 -0
- package/docs/fr/compiler.md +9 -4
- package/docs/fr/configuration.md +61 -17
- package/docs/fr/custom_domains.md +9 -3
- package/docs/fr/custom_url_rewrites.md +22 -16
- package/docs/fr/dictionary/content_file.md +4 -0
- package/docs/fr/dictionary/enumeration.md +0 -187
- package/docs/fr/dictionary/file.md +8 -0
- package/docs/fr/dictionary/nesting.md +39 -0
- package/docs/fr/dictionary/translation.md +0 -61
- package/docs/fr/dynamic_dictionaries/index.md +26 -20
- package/docs/fr/dynamic_dictionaries/variants.md +273 -15
- package/docs/fr/formatters.md +171 -77
- package/docs/fr/how_works_intlayer.md +6 -2
- package/docs/fr/intlayer_CMS.md +92 -100
- package/docs/fr/intlayer_with_adonisjs.md +24 -4
- package/docs/fr/intlayer_with_analog.md +29 -5
- package/docs/fr/intlayer_with_angular_19.md +24 -4
- package/docs/fr/intlayer_with_angular_21.md +24 -4
- package/docs/fr/intlayer_with_astro.md +132 -3
- package/docs/fr/intlayer_with_astro_lit.md +31 -13
- package/docs/fr/intlayer_with_astro_preact.md +28 -10
- package/docs/fr/intlayer_with_astro_react.md +28 -10
- package/docs/fr/intlayer_with_astro_solid.md +28 -10
- package/docs/fr/intlayer_with_astro_svelte.md +28 -10
- package/docs/fr/intlayer_with_astro_vanilla.md +28 -10
- package/docs/fr/intlayer_with_astro_vue.md +28 -10
- package/docs/fr/intlayer_with_create_react_app.md +24 -18
- package/docs/fr/intlayer_with_express.md +24 -8
- package/docs/fr/intlayer_with_fastify.md +24 -8
- package/docs/fr/intlayer_with_hono.md +24 -4
- package/docs/fr/intlayer_with_lynx+react.md +30 -5
- package/docs/fr/intlayer_with_nestjs.md +24 -22
- package/docs/fr/intlayer_with_next-i18next.md +24 -4
- package/docs/fr/intlayer_with_nextjs_14.md +50 -9
- package/docs/fr/intlayer_with_nextjs_15.md +47 -9
- package/docs/fr/intlayer_with_nextjs_16.md +29 -9
- package/docs/fr/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/fr/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/fr/intlayer_with_nuxt.md +25 -32
- package/docs/fr/intlayer_with_react_native+expo.md +99 -68
- package/docs/fr/intlayer_with_react_router_v7.md +29 -101
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +4 -101
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +20 -217
- package/docs/fr/intlayer_with_tanstack+solid.md +44 -15
- package/docs/fr/intlayer_with_tanstack.md +44 -16
- package/docs/fr/intlayer_with_vite+lit.md +38 -9
- package/docs/fr/intlayer_with_vite+preact.md +33 -7
- package/docs/fr/intlayer_with_vite+react.md +35 -10
- package/docs/fr/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/fr/intlayer_with_vite+solid.md +29 -7
- package/docs/fr/intlayer_with_vite+svelte.md +34 -9
- package/docs/fr/intlayer_with_vite+vanilla.md +41 -10
- package/docs/fr/intlayer_with_vite+vue.md +47 -92
- package/docs/fr/live-sync.md +174 -0
- package/docs/fr/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/fr/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/angular-intlayer/exports.md +13 -9
- package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/express-intlayer/t.md +0 -9
- package/docs/fr/packages/intlayer/comparePaths.md +173 -0
- package/docs/fr/packages/intlayer/exports.md +18 -13
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
- package/docs/fr/packages/next-intlayer/exports.md +4 -0
- package/docs/fr/packages/next-intlayer/t.md +1 -1
- package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
- package/docs/fr/packages/preact-intlayer/exports.md +10 -6
- package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/fr/packages/react-intlayer/exports.md +4 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
- package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
- package/docs/fr/packages/solid-intlayer/exports.md +4 -0
- package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
- package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/packages/vue-intlayer/exports.md +14 -10
- package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/fr/plugins/sync-json.md +221 -49
- package/docs/fr/releases/v6.md +28 -0
- package/docs/fr/releases/v7.md +128 -0
- package/docs/fr/releases/v9.md +208 -30
- package/docs/fr/roadmap.md +6 -0
- package/docs/fr/self_hosting.md +350 -0
- package/docs/hi/CI_CD.md +4 -0
- package/docs/hi/autoFill.md +81 -0
- package/docs/hi/benchmark/solid.md +22 -0
- package/docs/hi/benchmark/svelte.md +22 -0
- package/docs/hi/benchmark/tanstack.md +22 -0
- package/docs/hi/bundle_optimization.md +16 -0
- package/docs/hi/cli/ci.md +22 -0
- package/docs/hi/cli/fill.md +8 -0
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/cli/login.md +0 -36
- package/docs/hi/cli/scan.md +2 -2
- package/docs/hi/compat/i18n-js.md +44 -0
- package/docs/hi/compat/i18next.md +59 -0
- package/docs/hi/compat/index.md +51 -0
- package/docs/hi/compat/lingui.md +44 -0
- package/docs/hi/compat/next-i18next.md +57 -0
- package/docs/hi/compat/next-intl.md +59 -0
- package/docs/hi/compat/next-translate.md +45 -0
- package/docs/hi/compat/ngx-translate.md +45 -0
- package/docs/hi/compat/nuxtjs-i18n.md +46 -0
- package/docs/hi/compat/polyglot.md +45 -0
- package/docs/hi/compat/react-i18next.md +58 -0
- package/docs/hi/compat/react-intl.md +55 -0
- package/docs/hi/compat/svelte-i18n.md +47 -0
- package/docs/hi/compat/transloco.md +45 -0
- package/docs/hi/compat/vue-i18n.md +58 -0
- package/docs/hi/compiler.md +9 -4
- package/docs/hi/configuration.md +60 -17
- package/docs/hi/custom_domains.md +9 -3
- package/docs/hi/custom_url_rewrites.md +9 -3
- package/docs/hi/dictionary/enumeration.md +0 -187
- package/docs/hi/dictionary/file.md +8 -0
- package/docs/hi/dictionary/nesting.md +39 -0
- package/docs/hi/dictionary/translation.md +0 -61
- package/docs/hi/dynamic_dictionaries/index.md +28 -22
- package/docs/hi/dynamic_dictionaries/variants.md +282 -24
- package/docs/hi/formatters.md +85 -0
- package/docs/hi/how_works_intlayer.md +4 -2
- package/docs/hi/interest_of_intlayer.md +194 -0
- package/docs/hi/intlayer_CMS.md +20 -122
- package/docs/hi/intlayer_with_adonisjs.md +24 -4
- package/docs/hi/intlayer_with_analog.md +29 -5
- package/docs/hi/intlayer_with_angular_19.md +24 -4
- package/docs/hi/intlayer_with_angular_21.md +24 -4
- package/docs/hi/intlayer_with_astro.md +136 -6
- package/docs/hi/intlayer_with_astro_lit.md +7 -4
- package/docs/hi/intlayer_with_astro_preact.md +7 -4
- package/docs/hi/intlayer_with_astro_react.md +7 -4
- package/docs/hi/intlayer_with_astro_solid.md +7 -4
- package/docs/hi/intlayer_with_astro_svelte.md +7 -4
- package/docs/hi/intlayer_with_astro_vanilla.md +7 -4
- package/docs/hi/intlayer_with_astro_vue.md +31 -12
- package/docs/hi/intlayer_with_create_react_app.md +39 -4
- package/docs/hi/intlayer_with_express.md +24 -27
- package/docs/hi/intlayer_with_fastify.md +24 -8
- package/docs/hi/intlayer_with_hono.md +24 -4
- package/docs/hi/intlayer_with_lynx+react.md +30 -5
- package/docs/hi/intlayer_with_nestjs.md +24 -12
- package/docs/hi/intlayer_with_next-i18next.md +24 -4
- package/docs/hi/intlayer_with_nextjs_14.md +55 -12
- package/docs/hi/intlayer_with_nextjs_15.md +47 -9
- package/docs/hi/intlayer_with_nextjs_16.md +202 -62
- package/docs/hi/intlayer_with_nextjs_compiler.md +25 -5
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/hi/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/hi/intlayer_with_nuxt.md +25 -32
- package/docs/hi/intlayer_with_react_native+expo.md +135 -87
- package/docs/hi/intlayer_with_react_router_v7.md +32 -103
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +51 -104
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +23 -187
- package/docs/hi/intlayer_with_tanstack+solid.md +44 -15
- package/docs/hi/intlayer_with_tanstack.md +47 -18
- package/docs/hi/intlayer_with_vite+lit.md +33 -7
- package/docs/hi/intlayer_with_vite+preact.md +32 -9
- package/docs/hi/intlayer_with_vite+react.md +38 -12
- package/docs/hi/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/hi/intlayer_with_vite+solid.md +32 -9
- package/docs/hi/intlayer_with_vite+svelte.md +63 -56
- package/docs/hi/intlayer_with_vite+vanilla.md +41 -10
- package/docs/hi/intlayer_with_vite+vue.md +60 -82
- package/docs/hi/live-sync.md +174 -0
- package/docs/hi/mcp_server.md +22 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +335 -0
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/hi/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/angular-intlayer/exports.md +13 -9
- package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/intlayer/comparePaths.md +173 -0
- package/docs/hi/packages/intlayer/exports.md +18 -13
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/hi/packages/intlayer/index.md +24 -4
- package/docs/hi/packages/next-intlayer/exports.md +4 -0
- package/docs/hi/packages/next-intlayer/t.md +2 -0
- package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/hi/packages/preact-intlayer/exports.md +10 -6
- package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/hi/packages/react-intlayer/exports.md +3 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
- package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
- package/docs/hi/packages/solid-intlayer/exports.md +15 -11
- package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/packages/vue-intlayer/exports.md +14 -10
- package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/hi/plugins/sync-json.md +220 -48
- package/docs/hi/releases/v6.md +28 -0
- package/docs/hi/releases/v7.md +128 -0
- package/docs/hi/releases/v9.md +206 -38
- package/docs/hi/roadmap.md +6 -0
- package/docs/hi/self_hosting.md +350 -0
- package/docs/id/autoFill.md +20 -0
- package/docs/id/benchmark/solid.md +22 -0
- package/docs/id/benchmark/svelte.md +22 -0
- package/docs/id/benchmark/tanstack.md +22 -0
- package/docs/id/bundle_optimization.md +16 -0
- package/docs/id/cli/ci.md +22 -0
- package/docs/id/cli/fill.md +8 -0
- package/docs/id/cli/index.md +1 -1
- package/docs/id/cli/scan.md +2 -2
- package/docs/id/compat/i18n-js.md +44 -0
- package/docs/id/compat/i18next.md +59 -0
- package/docs/id/compat/index.md +51 -0
- package/docs/id/compat/lingui.md +44 -0
- package/docs/id/compat/next-i18next.md +57 -0
- package/docs/id/compat/next-intl.md +59 -0
- package/docs/id/compat/next-translate.md +45 -0
- package/docs/id/compat/ngx-translate.md +45 -0
- package/docs/id/compat/nuxtjs-i18n.md +46 -0
- package/docs/id/compat/polyglot.md +45 -0
- package/docs/id/compat/react-i18next.md +58 -0
- package/docs/id/compat/react-intl.md +55 -0
- package/docs/id/compat/svelte-i18n.md +47 -0
- package/docs/id/compat/transloco.md +45 -0
- package/docs/id/compat/vue-i18n.md +58 -0
- package/docs/id/compiler.md +9 -4
- package/docs/id/configuration.md +60 -17
- package/docs/id/custom_domains.md +9 -3
- package/docs/id/custom_url_rewrites.md +22 -18
- package/docs/id/dictionary/content_file.md +0 -7
- package/docs/id/dictionary/enumeration.md +0 -187
- package/docs/id/dictionary/nesting.md +39 -0
- package/docs/id/dictionary/translation.md +0 -61
- package/docs/id/dynamic_dictionaries/index.md +25 -19
- package/docs/id/dynamic_dictionaries/variants.md +274 -16
- package/docs/id/formatters.md +120 -0
- package/docs/id/how_works_intlayer.md +2 -2
- package/docs/id/interest_of_intlayer.md +193 -0
- package/docs/id/intlayer_CMS.md +5 -139
- package/docs/id/intlayer_with_adonisjs.md +24 -4
- package/docs/id/intlayer_with_analog.md +29 -5
- package/docs/id/intlayer_with_angular_19.md +24 -4
- package/docs/id/intlayer_with_angular_21.md +24 -4
- package/docs/id/intlayer_with_astro.md +133 -4
- package/docs/id/intlayer_with_astro_lit.md +31 -13
- package/docs/id/intlayer_with_astro_preact.md +28 -10
- package/docs/id/intlayer_with_astro_react.md +28 -10
- package/docs/id/intlayer_with_astro_solid.md +28 -10
- package/docs/id/intlayer_with_astro_svelte.md +28 -10
- package/docs/id/intlayer_with_astro_vanilla.md +28 -10
- package/docs/id/intlayer_with_astro_vue.md +28 -10
- package/docs/id/intlayer_with_create_react_app.md +24 -4
- package/docs/id/intlayer_with_express.md +24 -4
- package/docs/id/intlayer_with_fastify.md +24 -8
- package/docs/id/intlayer_with_hono.md +24 -4
- package/docs/id/intlayer_with_lynx+react.md +30 -5
- package/docs/id/intlayer_with_nestjs.md +24 -4
- package/docs/id/intlayer_with_next-i18next.md +24 -4
- package/docs/id/intlayer_with_nextjs_14.md +25 -5
- package/docs/id/intlayer_with_nextjs_15.md +26 -8
- package/docs/id/intlayer_with_nextjs_16.md +204 -62
- package/docs/id/intlayer_with_nextjs_compiler.md +27 -26
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/id/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/id/intlayer_with_nuxt.md +30 -8
- package/docs/id/intlayer_with_react_native+expo.md +49 -65
- package/docs/id/intlayer_with_react_router_v7.md +29 -101
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +20 -185
- package/docs/id/intlayer_with_tanstack+solid.md +44 -15
- package/docs/id/intlayer_with_tanstack.md +44 -16
- package/docs/id/intlayer_with_vite+lit.md +33 -7
- package/docs/id/intlayer_with_vite+preact.md +85 -63
- package/docs/id/intlayer_with_vite+react.md +83 -58
- package/docs/id/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/id/intlayer_with_vite+solid.md +61 -48
- package/docs/id/intlayer_with_vite+svelte.md +56 -36
- package/docs/id/intlayer_with_vite+vanilla.md +41 -10
- package/docs/id/intlayer_with_vite+vue.md +83 -110
- package/docs/id/live-sync.md +185 -0
- package/docs/id/mcp_server.md +22 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +334 -0
- package/docs/id/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/id/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/id/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/angular-intlayer/exports.md +14 -10
- package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/id/packages/intlayer/comparePaths.md +173 -0
- package/docs/id/packages/intlayer/exports.md +5 -0
- package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/id/packages/next-intlayer/exports.md +4 -0
- package/docs/id/packages/next-intlayer/usePathname.md +136 -0
- package/docs/id/packages/preact-intlayer/exports.md +10 -6
- package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/id/packages/react-intlayer/exports.md +4 -0
- package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/id/packages/react-intlayer/usePathname.md +87 -0
- package/docs/id/packages/react-native-intlayer/exports.md +47 -13
- package/docs/id/packages/solid-intlayer/exports.md +4 -0
- package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/id/packages/svelte-intlayer/exports.md +13 -9
- package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/packages/vue-intlayer/exports.md +4 -0
- package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/id/plugins/sync-json.md +221 -49
- package/docs/id/releases/v6.md +4 -0
- package/docs/id/releases/v7.md +128 -0
- package/docs/id/releases/v9.md +178 -38
- package/docs/id/roadmap.md +0 -16
- package/docs/id/self_hosting.md +350 -0
- package/docs/it/CI_CD.md +4 -0
- package/docs/it/autoFill.md +81 -0
- package/docs/it/benchmark/solid.md +22 -0
- package/docs/it/benchmark/svelte.md +22 -0
- package/docs/it/benchmark/tanstack.md +22 -0
- package/docs/it/bundle_optimization.md +16 -0
- package/docs/it/cli/ci.md +22 -0
- package/docs/it/cli/fill.md +8 -0
- package/docs/it/cli/index.md +1 -1
- package/docs/it/cli/scan.md +2 -2
- package/docs/it/compat/i18n-js.md +44 -0
- package/docs/it/compat/i18next.md +59 -0
- package/docs/it/compat/index.md +51 -0
- package/docs/it/compat/lingui.md +44 -0
- package/docs/it/compat/next-i18next.md +57 -0
- package/docs/it/compat/next-intl.md +59 -0
- package/docs/it/compat/next-translate.md +45 -0
- package/docs/it/compat/ngx-translate.md +45 -0
- package/docs/it/compat/nuxtjs-i18n.md +46 -0
- package/docs/it/compat/polyglot.md +45 -0
- package/docs/it/compat/react-i18next.md +58 -0
- package/docs/it/compat/react-intl.md +55 -0
- package/docs/it/compat/svelte-i18n.md +47 -0
- package/docs/it/compat/transloco.md +45 -0
- package/docs/it/compat/vue-i18n.md +58 -0
- package/docs/it/compiler.md +9 -4
- package/docs/it/configuration.md +60 -17
- package/docs/it/custom_domains.md +9 -3
- package/docs/it/custom_url_rewrites.md +9 -3
- package/docs/it/dictionary/content_file.md +4 -7
- package/docs/it/dictionary/enumeration.md +0 -197
- package/docs/it/dictionary/file.md +8 -0
- package/docs/it/dictionary/nesting.md +39 -0
- package/docs/it/dictionary/translation.md +0 -61
- package/docs/it/dynamic_dictionaries/index.md +26 -20
- package/docs/it/dynamic_dictionaries/variants.md +273 -15
- package/docs/it/formatters.md +82 -0
- package/docs/it/how_works_intlayer.md +6 -6
- package/docs/it/intlayer_CMS.md +93 -94
- package/docs/it/intlayer_with_adonisjs.md +24 -4
- package/docs/it/intlayer_with_analog.md +29 -5
- package/docs/it/intlayer_with_angular_19.md +24 -4
- package/docs/it/intlayer_with_angular_21.md +24 -4
- package/docs/it/intlayer_with_astro.md +132 -3
- package/docs/it/intlayer_with_astro_lit.md +31 -13
- package/docs/it/intlayer_with_astro_preact.md +28 -10
- package/docs/it/intlayer_with_astro_react.md +28 -10
- package/docs/it/intlayer_with_astro_solid.md +28 -10
- package/docs/it/intlayer_with_astro_svelte.md +28 -10
- package/docs/it/intlayer_with_astro_vanilla.md +28 -10
- package/docs/it/intlayer_with_astro_vue.md +28 -10
- package/docs/it/intlayer_with_create_react_app.md +24 -18
- package/docs/it/intlayer_with_express.md +24 -8
- package/docs/it/intlayer_with_fastify.md +24 -8
- package/docs/it/intlayer_with_hono.md +24 -4
- package/docs/it/intlayer_with_lynx+react.md +41 -5
- package/docs/it/intlayer_with_nestjs.md +24 -12
- package/docs/it/intlayer_with_next-i18next.md +24 -4
- package/docs/it/intlayer_with_nextjs_14.md +54 -13
- package/docs/it/intlayer_with_nextjs_15.md +47 -9
- package/docs/it/intlayer_with_nextjs_16.md +204 -62
- package/docs/it/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/it/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/it/intlayer_with_nuxt.md +30 -8
- package/docs/it/intlayer_with_react_native+expo.md +85 -64
- package/docs/it/intlayer_with_react_router_v7.md +29 -101
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +20 -217
- package/docs/it/intlayer_with_tanstack+solid.md +44 -15
- package/docs/it/intlayer_with_tanstack.md +44 -16
- package/docs/it/intlayer_with_vite+lit.md +38 -9
- package/docs/it/intlayer_with_vite+preact.md +89 -63
- package/docs/it/intlayer_with_vite+react.md +84 -11
- package/docs/it/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/it/intlayer_with_vite+solid.md +61 -48
- package/docs/it/intlayer_with_vite+svelte.md +55 -35
- package/docs/it/intlayer_with_vite+vanilla.md +41 -10
- package/docs/it/intlayer_with_vite+vue.md +87 -132
- package/docs/it/live-sync.md +174 -0
- package/docs/it/mcp_server.md +22 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/it/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/it/migration_from_next-intl_to_intlayer.md +24 -4
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/it/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/angular-intlayer/exports.md +13 -9
- package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/it/packages/intlayer/comparePaths.md +173 -0
- package/docs/it/packages/intlayer/exports.md +18 -13
- package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/it/packages/next-intlayer/exports.md +4 -0
- package/docs/it/packages/next-intlayer/t.md +34 -0
- package/docs/it/packages/next-intlayer/usePathname.md +136 -0
- package/docs/it/packages/preact-intlayer/exports.md +10 -6
- package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/it/packages/react-intlayer/exports.md +20 -16
- package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
- package/docs/it/packages/react-intlayer/usePathname.md +87 -0
- package/docs/it/packages/react-native-intlayer/exports.md +47 -13
- package/docs/it/packages/solid-intlayer/exports.md +4 -0
- package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/it/packages/svelte-intlayer/exports.md +4 -0
- package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/packages/vue-intlayer/exports.md +4 -0
- package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/it/plugins/sync-json.md +223 -51
- package/docs/it/releases/v6.md +28 -0
- package/docs/it/releases/v7.md +128 -0
- package/docs/it/releases/v9.md +208 -38
- package/docs/it/roadmap.md +6 -0
- package/docs/it/self_hosting.md +350 -0
- package/docs/ja/CI_CD.md +4 -0
- package/docs/ja/autoFill.md +81 -0
- package/docs/ja/benchmark/solid.md +22 -0
- package/docs/ja/benchmark/svelte.md +22 -0
- package/docs/ja/benchmark/tanstack.md +22 -0
- package/docs/ja/bundle_optimization.md +16 -0
- package/docs/ja/cli/ci.md +22 -0
- package/docs/ja/cli/fill.md +8 -0
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/cli/list_projects.md +0 -18
- package/docs/ja/cli/scan.md +2 -2
- package/docs/ja/compat/i18n-js.md +44 -0
- package/docs/ja/compat/i18next.md +59 -0
- package/docs/ja/compat/index.md +51 -0
- package/docs/ja/compat/lingui.md +44 -0
- package/docs/ja/compat/next-i18next.md +57 -0
- package/docs/ja/compat/next-intl.md +59 -0
- package/docs/ja/compat/next-translate.md +45 -0
- package/docs/ja/compat/ngx-translate.md +45 -0
- package/docs/ja/compat/nuxtjs-i18n.md +46 -0
- package/docs/ja/compat/polyglot.md +45 -0
- package/docs/ja/compat/react-i18next.md +58 -0
- package/docs/ja/compat/react-intl.md +55 -0
- package/docs/ja/compat/svelte-i18n.md +47 -0
- package/docs/ja/compat/transloco.md +45 -0
- package/docs/ja/compat/vue-i18n.md +58 -0
- package/docs/ja/compiler.md +9 -4
- package/docs/ja/configuration.md +60 -17
- package/docs/ja/custom_domains.md +9 -3
- package/docs/ja/custom_url_rewrites.md +9 -3
- package/docs/ja/dictionary/content_file.md +4 -0
- package/docs/ja/dictionary/enumeration.md +0 -187
- package/docs/ja/dictionary/function_fetching.md +0 -27
- package/docs/ja/dictionary/markdown.md +1348 -0
- package/docs/ja/dictionary/nesting.md +39 -0
- package/docs/ja/dictionary/translation.md +0 -119
- package/docs/ja/dynamic_dictionaries/index.md +27 -21
- package/docs/ja/dynamic_dictionaries/variants.md +276 -18
- package/docs/ja/formatters.md +77 -0
- package/docs/ja/how_works_intlayer.md +6 -4
- package/docs/ja/intlayer_CMS.md +155 -102
- package/docs/ja/intlayer_visual_editor.md +0 -4
- package/docs/ja/intlayer_with_adonisjs.md +24 -4
- package/docs/ja/intlayer_with_analog.md +33 -5
- package/docs/ja/intlayer_with_angular_19.md +24 -4
- package/docs/ja/intlayer_with_angular_21.md +24 -4
- package/docs/ja/intlayer_with_astro.md +131 -2
- package/docs/ja/intlayer_with_astro_lit.md +30 -12
- package/docs/ja/intlayer_with_astro_preact.md +27 -9
- package/docs/ja/intlayer_with_astro_react.md +27 -9
- package/docs/ja/intlayer_with_astro_solid.md +27 -9
- package/docs/ja/intlayer_with_astro_svelte.md +27 -9
- package/docs/ja/intlayer_with_astro_vanilla.md +27 -9
- package/docs/ja/intlayer_with_astro_vue.md +27 -9
- package/docs/ja/intlayer_with_create_react_app.md +24 -20
- package/docs/ja/intlayer_with_express.md +24 -8
- package/docs/ja/intlayer_with_fastify.md +24 -8
- package/docs/ja/intlayer_with_hono.md +24 -4
- package/docs/ja/intlayer_with_lynx+react.md +30 -5
- package/docs/ja/intlayer_with_nestjs.md +24 -12
- package/docs/ja/intlayer_with_next-i18next.md +24 -4
- package/docs/ja/intlayer_with_nextjs_14.md +50 -24
- package/docs/ja/intlayer_with_nextjs_15.md +47 -9
- package/docs/ja/intlayer_with_nextjs_16.md +204 -62
- package/docs/ja/intlayer_with_nextjs_compiler.md +27 -26
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/ja/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/ja/intlayer_with_nuxt.md +30 -8
- package/docs/ja/intlayer_with_react_native+expo.md +143 -137
- package/docs/ja/intlayer_with_react_router_v7.md +9 -26
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +14 -1
- package/docs/ja/intlayer_with_tanstack+solid.md +44 -15
- package/docs/ja/intlayer_with_tanstack.md +45 -17
- package/docs/ja/intlayer_with_vite+lit.md +38 -9
- package/docs/ja/intlayer_with_vite+preact.md +714 -2
- package/docs/ja/intlayer_with_vite+react.md +4 -2
- package/docs/ja/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/ja/intlayer_with_vite+solid.md +61 -48
- package/docs/ja/intlayer_with_vite+svelte.md +58 -36
- package/docs/ja/intlayer_with_vite+vanilla.md +41 -10
- package/docs/ja/intlayer_with_vite+vue.md +104 -123
- package/docs/ja/live-sync.md +185 -0
- package/docs/ja/mcp_server.md +26 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/ja/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/angular-intlayer/exports.md +13 -9
- package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ja/packages/express-intlayer/t.md +0 -9
- package/docs/ja/packages/intlayer/comparePaths.md +173 -0
- package/docs/ja/packages/intlayer/exports.md +5 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ja/packages/next-intlayer/exports.md +4 -0
- package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ja/packages/preact-intlayer/exports.md +10 -6
- package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ja/packages/react-intlayer/exports.md +21 -16
- package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
- package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
- package/docs/ja/packages/solid-intlayer/exports.md +4 -0
- package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
- package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
- package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/packages/vue-intlayer/exports.md +4 -0
- package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ja/plugins/sync-json.md +221 -49
- package/docs/ja/releases/v6.md +28 -0
- package/docs/ja/releases/v7.md +128 -0
- package/docs/ja/releases/v9.md +178 -38
- package/docs/ja/roadmap.md +6 -0
- package/docs/ja/self_hosting.md +350 -0
- package/docs/ko/CI_CD.md +4 -0
- package/docs/ko/autoFill.md +81 -0
- package/docs/ko/benchmark/solid.md +22 -0
- package/docs/ko/benchmark/svelte.md +22 -0
- package/docs/ko/benchmark/tanstack.md +22 -0
- package/docs/ko/bundle_optimization.md +16 -0
- package/docs/ko/cli/ci.md +22 -0
- package/docs/ko/cli/fill.md +8 -0
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/cli/login.md +0 -36
- package/docs/ko/cli/scan.md +2 -2
- package/docs/ko/compat/i18n-js.md +44 -0
- package/docs/ko/compat/i18next.md +59 -0
- package/docs/ko/compat/index.md +51 -0
- package/docs/ko/compat/lingui.md +44 -0
- package/docs/ko/compat/next-i18next.md +55 -0
- package/docs/ko/compat/next-intl.md +59 -0
- package/docs/ko/compat/next-translate.md +45 -0
- package/docs/ko/compat/ngx-translate.md +45 -0
- package/docs/ko/compat/nuxtjs-i18n.md +46 -0
- package/docs/ko/compat/polyglot.md +45 -0
- package/docs/ko/compat/react-i18next.md +58 -0
- package/docs/ko/compat/react-intl.md +55 -0
- package/docs/ko/compat/svelte-i18n.md +47 -0
- package/docs/ko/compat/transloco.md +45 -0
- package/docs/ko/compat/vue-i18n.md +58 -0
- package/docs/ko/compiler.md +9 -4
- package/docs/ko/configuration.md +60 -17
- package/docs/ko/custom_domains.md +9 -3
- package/docs/ko/custom_url_rewrites.md +9 -3
- package/docs/ko/dictionary/content_file.md +4 -27
- package/docs/ko/dictionary/enumeration.md +0 -187
- package/docs/ko/dictionary/insertion.md +0 -6
- package/docs/ko/dictionary/nesting.md +39 -0
- package/docs/ko/dictionary/translation.md +0 -84
- package/docs/ko/dynamic_dictionaries/index.md +23 -17
- package/docs/ko/dynamic_dictionaries/variants.md +273 -15
- package/docs/ko/formatters.md +71 -0
- package/docs/ko/how_works_intlayer.md +6 -2
- package/docs/ko/intlayer_CMS.md +153 -100
- package/docs/ko/intlayer_visual_editor.md +0 -2
- package/docs/ko/intlayer_with_adonisjs.md +24 -4
- package/docs/ko/intlayer_with_analog.md +55 -11
- package/docs/ko/intlayer_with_angular_19.md +46 -10
- package/docs/ko/intlayer_with_angular_21.md +46 -10
- package/docs/ko/intlayer_with_astro.md +159 -10
- package/docs/ko/intlayer_with_astro_lit.md +35 -11
- package/docs/ko/intlayer_with_astro_preact.md +35 -11
- package/docs/ko/intlayer_with_astro_react.md +35 -11
- package/docs/ko/intlayer_with_astro_solid.md +35 -11
- package/docs/ko/intlayer_with_astro_svelte.md +35 -11
- package/docs/ko/intlayer_with_astro_vanilla.md +32 -10
- package/docs/ko/intlayer_with_astro_vue.md +59 -19
- package/docs/ko/intlayer_with_create_react_app.md +43 -23
- package/docs/ko/intlayer_with_express.md +24 -27
- package/docs/ko/intlayer_with_fastify.md +24 -8
- package/docs/ko/intlayer_with_hono.md +24 -4
- package/docs/ko/intlayer_with_lynx+react.md +6 -109
- package/docs/ko/intlayer_with_nestjs.md +24 -22
- package/docs/ko/intlayer_with_next-i18next.md +24 -4
- package/docs/ko/intlayer_with_nextjs_14.md +59 -25
- package/docs/ko/intlayer_with_nextjs_15.md +90 -22
- package/docs/ko/intlayer_with_nextjs_16.md +236 -71
- package/docs/ko/intlayer_with_nextjs_compiler.md +39 -300
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +57 -19
- package/docs/ko/intlayer_with_nextjs_page_router.md +66 -16
- package/docs/ko/intlayer_with_nuxt.md +59 -15
- package/docs/ko/intlayer_with_react_native+expo.md +138 -137
- package/docs/ko/intlayer_with_react_router_v7.md +66 -106
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +85 -107
- package/docs/ko/intlayer_with_storybook.md +35 -9
- package/docs/ko/intlayer_with_svelte_kit.md +57 -182
- package/docs/ko/intlayer_with_tanstack+solid.md +102 -33
- package/docs/ko/intlayer_with_tanstack.md +102 -34
- package/docs/ko/intlayer_with_vanilla.md +31 -9
- package/docs/ko/intlayer_with_vite+lit.md +78 -21
- package/docs/ko/intlayer_with_vite+preact.md +115 -101
- package/docs/ko/intlayer_with_vite+react.md +102 -17
- package/docs/ko/intlayer_with_vite+react_compiler.md +57 -14
- package/docs/ko/intlayer_with_vite+solid.md +91 -155
- package/docs/ko/intlayer_with_vite+svelte.md +87 -45
- package/docs/ko/intlayer_with_vite+vanilla.md +84 -23
- package/docs/ko/intlayer_with_vite+vue.md +119 -120
- package/docs/ko/live-sync.md +187 -0
- package/docs/ko/mcp_server.md +22 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/ko/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/angular-intlayer/exports.md +14 -10
- package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/express-intlayer/t.md +0 -9
- package/docs/ko/packages/intlayer/comparePaths.md +173 -0
- package/docs/ko/packages/intlayer/exports.md +5 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/ko/packages/next-intlayer/exports.md +4 -0
- package/docs/ko/packages/next-intlayer/t.md +34 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
- package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
- package/docs/ko/packages/preact-intlayer/exports.md +10 -6
- package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ko/packages/react-intlayer/exports.md +4 -0
- package/docs/ko/packages/react-intlayer/t.md +0 -20
- package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
- package/docs/ko/packages/solid-intlayer/exports.md +4 -0
- package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/packages/vue-intlayer/exports.md +4 -0
- package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ko/plugins/sync-json.md +222 -50
- package/docs/ko/releases/v6.md +28 -0
- package/docs/ko/releases/v7.md +128 -0
- package/docs/ko/releases/v9.md +177 -38
- package/docs/ko/roadmap.md +6 -0
- package/docs/ko/self_hosting.md +350 -0
- package/docs/nl/bundle_optimization.md +16 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/cli/scan.md +2 -2
- package/docs/nl/configuration.md +45 -1
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_angular_21.md +24 -4
- package/docs/nl/intlayer_with_fastify.md +24 -8
- package/docs/nl/intlayer_with_hono.md +24 -4
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +32 -6
- package/docs/nl/intlayer_with_vite+vanilla.md +40 -9
- package/docs/nl/packages/intlayer/comparePaths.md +173 -0
- package/docs/nl/releases/v9.md +340 -0
- package/docs/pl/autoFill.md +20 -0
- package/docs/pl/benchmark/___NOTE.md +101 -0
- package/docs/pl/benchmark/___nextjs.md +198 -0
- package/docs/pl/benchmark/___solid.md +36 -0
- package/docs/pl/benchmark/___svelte.md +36 -0
- package/docs/pl/benchmark/___tanstack.md +36 -0
- package/docs/pl/benchmark/___vue.md +36 -0
- package/docs/pl/benchmark/solid.md +22 -0
- package/docs/pl/benchmark/svelte.md +22 -0
- package/docs/pl/benchmark/tanstack.md +22 -0
- package/docs/pl/bundle_optimization.md +16 -0
- package/docs/pl/cli/ci.md +22 -0
- package/docs/pl/cli/fill.md +8 -0
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/cli/login.md +0 -36
- package/docs/pl/cli/scan.md +2 -2
- package/docs/pl/compat/i18n-js.md +44 -0
- package/docs/pl/compat/i18next.md +59 -0
- package/docs/pl/compat/index.md +51 -0
- package/docs/pl/compat/lingui.md +44 -0
- package/docs/pl/compat/next-i18next.md +57 -0
- package/docs/pl/compat/next-intl.md +59 -0
- package/docs/pl/compat/next-translate.md +45 -0
- package/docs/pl/compat/ngx-translate.md +45 -0
- package/docs/pl/compat/nuxtjs-i18n.md +46 -0
- package/docs/pl/compat/polyglot.md +45 -0
- package/docs/pl/compat/react-i18next.md +58 -0
- package/docs/pl/compat/react-intl.md +55 -0
- package/docs/pl/compat/svelte-i18n.md +47 -0
- package/docs/pl/compat/transloco.md +45 -0
- package/docs/pl/compat/vue-i18n.md +58 -0
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/configuration.md +60 -17
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/dictionary/content_file.md +0 -40
- package/docs/pl/dictionary/enumeration.md +0 -187
- package/docs/pl/dictionary/nesting.md +39 -0
- package/docs/pl/dictionary/translation.md +0 -61
- package/docs/pl/dynamic_dictionaries/index.md +26 -20
- package/docs/pl/dynamic_dictionaries/variants.md +275 -17
- package/docs/pl/formatters.md +120 -0
- package/docs/pl/how_works_intlayer.md +2 -2
- package/docs/pl/intlayer_CMS.md +14 -133
- package/docs/pl/intlayer_with_adonisjs.md +24 -4
- package/docs/pl/intlayer_with_analog.md +29 -5
- package/docs/pl/intlayer_with_angular_19.md +24 -4
- package/docs/pl/intlayer_with_angular_21.md +24 -4
- package/docs/pl/intlayer_with_astro.md +182 -1
- package/docs/pl/intlayer_with_astro_lit.md +30 -12
- package/docs/pl/intlayer_with_astro_preact.md +27 -9
- package/docs/pl/intlayer_with_astro_react.md +27 -9
- package/docs/pl/intlayer_with_astro_solid.md +27 -9
- package/docs/pl/intlayer_with_astro_svelte.md +27 -9
- package/docs/pl/intlayer_with_astro_vanilla.md +27 -9
- package/docs/pl/intlayer_with_astro_vue.md +27 -9
- package/docs/pl/intlayer_with_create_react_app.md +24 -4
- package/docs/pl/intlayer_with_express.md +24 -4
- package/docs/pl/intlayer_with_fastify.md +24 -8
- package/docs/pl/intlayer_with_hono.md +24 -4
- package/docs/pl/intlayer_with_lynx+react.md +30 -5
- package/docs/pl/intlayer_with_nestjs.md +24 -4
- package/docs/pl/intlayer_with_next-i18next.md +24 -4
- package/docs/pl/intlayer_with_nextjs_14.md +24 -4
- package/docs/pl/intlayer_with_nextjs_15.md +25 -7
- package/docs/pl/intlayer_with_nextjs_16.md +28 -8
- package/docs/pl/intlayer_with_nextjs_compiler.md +26 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +26 -8
- package/docs/pl/intlayer_with_nextjs_page_router.md +24 -4
- package/docs/pl/intlayer_with_nuxt.md +30 -8
- package/docs/pl/intlayer_with_react_native+expo.md +79 -78
- package/docs/pl/intlayer_with_react_router_v7.md +28 -100
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -96
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +19 -188
- package/docs/pl/intlayer_with_tanstack+solid.md +43 -14
- package/docs/pl/intlayer_with_tanstack.md +43 -15
- package/docs/pl/intlayer_with_vite+lit.md +32 -6
- package/docs/pl/intlayer_with_vite+preact.md +84 -62
- package/docs/pl/intlayer_with_vite+react.md +82 -57
- package/docs/pl/intlayer_with_vite+react_compiler.md +34 -7
- package/docs/pl/intlayer_with_vite+solid.md +60 -47
- package/docs/pl/intlayer_with_vite+svelte.md +56 -34
- package/docs/pl/intlayer_with_vite+vanilla.md +40 -9
- package/docs/pl/intlayer_with_vite+vue.md +82 -79
- package/docs/pl/live-sync.md +185 -0
- package/docs/pl/mcp_server.md +22 -0
- package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +355 -0
- package/docs/pl/migration_from_next-intl_to_intlayer.md +362 -0
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +382 -0
- package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/angular-intlayer/exports.md +13 -9
- package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/intlayer/comparePaths.md +173 -0
- package/docs/pl/packages/intlayer/exports.md +5 -0
- package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
- package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/pl/packages/next-intlayer/exports.md +4 -0
- package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pl/packages/preact-intlayer/exports.md +10 -6
- package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pl/packages/react-intlayer/exports.md +4 -0
- package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pl/packages/solid-intlayer/exports.md +4 -0
- package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/packages/vue-intlayer/exports.md +4 -0
- package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pl/plugins/sync-json.md +222 -50
- package/docs/pl/releases/v6.md +4 -0
- package/docs/pl/releases/v7.md +128 -0
- package/docs/pl/releases/v9.md +205 -38
- package/docs/pl/roadmap.md +0 -16
- package/docs/pl/self_hosting.md +350 -0
- package/docs/pt/CI_CD.md +4 -0
- package/docs/pt/autoFill.md +117 -14
- package/docs/pt/benchmark/index.md +5 -5
- package/docs/pt/benchmark/solid.md +22 -0
- package/docs/pt/benchmark/svelte.md +22 -0
- package/docs/pt/benchmark/tanstack.md +22 -0
- package/docs/pt/bundle_optimization.md +16 -0
- package/docs/pt/cli/ci.md +22 -0
- package/docs/pt/cli/fill.md +8 -0
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/cli/login.md +0 -36
- package/docs/pt/cli/scan.md +2 -2
- package/docs/pt/compat/i18n-js.md +44 -0
- package/docs/pt/compat/i18next.md +59 -0
- package/docs/pt/compat/index.md +51 -0
- package/docs/pt/compat/lingui.md +44 -0
- package/docs/pt/compat/next-i18next.md +57 -0
- package/docs/pt/compat/next-intl.md +59 -0
- package/docs/pt/compat/next-translate.md +45 -0
- package/docs/pt/compat/ngx-translate.md +45 -0
- package/docs/pt/compat/nuxtjs-i18n.md +46 -0
- package/docs/pt/compat/polyglot.md +45 -0
- package/docs/pt/compat/react-i18next.md +58 -0
- package/docs/pt/compat/react-intl.md +55 -0
- package/docs/pt/compat/svelte-i18n.md +47 -0
- package/docs/pt/compat/transloco.md +45 -0
- package/docs/pt/compat/vue-i18n.md +58 -0
- package/docs/pt/compiler.md +8 -5
- package/docs/pt/configuration.md +61 -18
- package/docs/pt/custom_domains.md +9 -8
- package/docs/pt/custom_url_rewrites.md +9 -3
- package/docs/pt/dictionary/content_file.md +4 -7
- package/docs/pt/dictionary/enumeration.md +3 -190
- package/docs/pt/dictionary/file.md +8 -0
- package/docs/pt/dictionary/nesting.md +39 -0
- package/docs/pt/dictionary/translation.md +0 -61
- package/docs/pt/dynamic_dictionaries/index.md +25 -19
- package/docs/pt/dynamic_dictionaries/variants.md +276 -18
- package/docs/pt/formatters.md +86 -0
- package/docs/pt/how_works_intlayer.md +6 -2
- package/docs/pt/intlayer_CMS.md +103 -104
- package/docs/pt/intlayer_with_adonisjs.md +24 -4
- package/docs/pt/intlayer_with_analog.md +32 -8
- package/docs/pt/intlayer_with_angular_19.md +31 -11
- package/docs/pt/intlayer_with_angular_21.md +27 -7
- package/docs/pt/intlayer_with_astro.md +185 -4
- package/docs/pt/intlayer_with_astro_lit.md +33 -15
- package/docs/pt/intlayer_with_astro_preact.md +30 -12
- package/docs/pt/intlayer_with_astro_react.md +30 -12
- package/docs/pt/intlayer_with_astro_solid.md +30 -12
- package/docs/pt/intlayer_with_astro_svelte.md +30 -12
- package/docs/pt/intlayer_with_astro_vanilla.md +30 -12
- package/docs/pt/intlayer_with_astro_vue.md +30 -12
- package/docs/pt/intlayer_with_create_react_app.md +24 -18
- package/docs/pt/intlayer_with_express.md +24 -27
- package/docs/pt/intlayer_with_fastify.md +24 -8
- package/docs/pt/intlayer_with_hono.md +24 -4
- package/docs/pt/intlayer_with_lynx+react.md +44 -8
- package/docs/pt/intlayer_with_nestjs.md +24 -22
- package/docs/pt/intlayer_with_next-i18next.md +24 -4
- package/docs/pt/intlayer_with_nextjs_14.md +50 -11
- package/docs/pt/intlayer_with_nextjs_15.md +53 -15
- package/docs/pt/intlayer_with_nextjs_16.md +34 -14
- package/docs/pt/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +32 -14
- package/docs/pt/intlayer_with_nextjs_page_router.md +34 -10
- package/docs/pt/intlayer_with_nuxt.md +33 -11
- package/docs/pt/intlayer_with_react_native+expo.md +89 -65
- package/docs/pt/intlayer_with_react_router_v7.md +41 -92
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -99
- package/docs/pt/intlayer_with_storybook.md +10 -4
- package/docs/pt/intlayer_with_svelte_kit.md +22 -223
- package/docs/pt/intlayer_with_tanstack+solid.md +46 -17
- package/docs/pt/intlayer_with_tanstack.md +46 -18
- package/docs/pt/intlayer_with_vanilla.md +3 -3
- package/docs/pt/intlayer_with_vite+lit.md +40 -11
- package/docs/pt/intlayer_with_vite+preact.md +31 -9
- package/docs/pt/intlayer_with_vite+react.md +44 -19
- package/docs/pt/intlayer_with_vite+react_compiler.md +39 -12
- package/docs/pt/intlayer_with_vite+solid.md +31 -9
- package/docs/pt/intlayer_with_vite+svelte.md +59 -37
- package/docs/pt/intlayer_with_vite+vanilla.md +43 -12
- package/docs/pt/intlayer_with_vite+vue.md +41 -12
- package/docs/pt/live-sync.md +174 -0
- package/docs/pt/mcp_server.md +22 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/pt/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/angular-intlayer/exports.md +14 -10
- package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/hono-intlayer/t.md +1 -1
- package/docs/pt/packages/intlayer/comparePaths.md +173 -0
- package/docs/pt/packages/intlayer/exports.md +5 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/pt/packages/next-intlayer/exports.md +4 -0
- package/docs/pt/packages/next-intlayer/t.md +34 -0
- package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
- package/docs/pt/packages/preact-intlayer/exports.md +10 -6
- package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/pt/packages/react-intlayer/exports.md +21 -17
- package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
- package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
- package/docs/pt/packages/solid-intlayer/exports.md +4 -0
- package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
- package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/packages/vue-intlayer/exports.md +5 -1
- package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/pt/plugins/sync-json.md +221 -49
- package/docs/pt/plugins/sync-po.md +1 -1
- package/docs/pt/readme.md +3 -3
- package/docs/pt/releases/v6.md +28 -0
- package/docs/pt/releases/v7.md +128 -0
- package/docs/pt/releases/v9.md +208 -38
- package/docs/pt/roadmap.md +6 -0
- package/docs/pt/self_hosting.md +350 -0
- package/docs/ru/CI_CD.md +4 -0
- package/docs/ru/autoFill.md +81 -0
- package/docs/ru/benchmark/solid.md +22 -0
- package/docs/ru/benchmark/svelte.md +22 -0
- package/docs/ru/benchmark/tanstack.md +22 -0
- package/docs/ru/bundle_optimization.md +16 -0
- package/docs/ru/cli/ci.md +22 -0
- package/docs/ru/cli/fill.md +8 -0
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/cli/login.md +0 -36
- package/docs/ru/cli/scan.md +2 -2
- package/docs/ru/compat/i18n-js.md +44 -0
- package/docs/ru/compat/i18next.md +59 -0
- package/docs/ru/compat/index.md +51 -0
- package/docs/ru/compat/lingui.md +44 -0
- package/docs/ru/compat/next-i18next.md +57 -0
- package/docs/ru/compat/next-intl.md +59 -0
- package/docs/ru/compat/next-translate.md +45 -0
- package/docs/ru/compat/ngx-translate.md +45 -0
- package/docs/ru/compat/nuxtjs-i18n.md +46 -0
- package/docs/ru/compat/polyglot.md +45 -0
- package/docs/ru/compat/react-i18next.md +58 -0
- package/docs/ru/compat/react-intl.md +55 -0
- package/docs/ru/compat/svelte-i18n.md +47 -0
- package/docs/ru/compat/transloco.md +45 -0
- package/docs/ru/compat/vue-i18n.md +58 -0
- package/docs/ru/compiler.md +9 -4
- package/docs/ru/configuration.md +60 -17
- package/docs/ru/custom_domains.md +9 -3
- package/docs/ru/custom_url_rewrites.md +9 -3
- package/docs/ru/dictionary/content_file.md +4 -27
- package/docs/ru/dictionary/enumeration.md +0 -199
- package/docs/ru/dictionary/file.md +8 -0
- package/docs/ru/dictionary/markdown.md +510 -0
- package/docs/ru/dictionary/nesting.md +8 -0
- package/docs/ru/dictionary/translation.md +0 -61
- package/docs/ru/dynamic_dictionaries/index.md +25 -19
- package/docs/ru/dynamic_dictionaries/variants.md +277 -19
- package/docs/ru/formatters.md +136 -0
- package/docs/ru/how_works_intlayer.md +6 -2
- package/docs/ru/intlayer_CMS.md +155 -102
- package/docs/ru/intlayer_with_adonisjs.md +24 -4
- package/docs/ru/intlayer_with_analog.md +29 -5
- package/docs/ru/intlayer_with_angular_19.md +24 -4
- package/docs/ru/intlayer_with_angular_21.md +24 -4
- package/docs/ru/intlayer_with_astro.md +132 -3
- package/docs/ru/intlayer_with_astro_lit.md +4 -2
- package/docs/ru/intlayer_with_astro_preact.md +4 -2
- package/docs/ru/intlayer_with_astro_react.md +4 -2
- package/docs/ru/intlayer_with_astro_solid.md +4 -2
- package/docs/ru/intlayer_with_astro_svelte.md +4 -2
- package/docs/ru/intlayer_with_astro_vanilla.md +4 -2
- package/docs/ru/intlayer_with_astro_vue.md +28 -10
- package/docs/ru/intlayer_with_create_react_app.md +24 -4
- package/docs/ru/intlayer_with_express.md +24 -27
- package/docs/ru/intlayer_with_fastify.md +24 -8
- package/docs/ru/intlayer_with_hono.md +24 -4
- package/docs/ru/intlayer_with_lynx+react.md +30 -5
- package/docs/ru/intlayer_with_nestjs.md +24 -22
- package/docs/ru/intlayer_with_next-i18next.md +24 -4
- package/docs/ru/intlayer_with_nextjs_14.md +55 -12
- package/docs/ru/intlayer_with_nextjs_15.md +47 -9
- package/docs/ru/intlayer_with_nextjs_16.md +29 -9
- package/docs/ru/intlayer_with_nextjs_compiler.md +28 -8
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/ru/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/ru/intlayer_with_nuxt.md +30 -8
- package/docs/ru/intlayer_with_react_native+expo.md +94 -71
- package/docs/ru/intlayer_with_react_router_v7.md +29 -101
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +20 -185
- package/docs/ru/intlayer_with_tanstack+solid.md +44 -15
- package/docs/ru/intlayer_with_tanstack.md +44 -16
- package/docs/ru/intlayer_with_vite+lit.md +38 -9
- package/docs/ru/intlayer_with_vite+preact.md +85 -63
- package/docs/ru/intlayer_with_vite+react.md +37 -10
- package/docs/ru/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/ru/intlayer_with_vite+solid.md +61 -48
- package/docs/ru/intlayer_with_vite+svelte.md +55 -35
- package/docs/ru/intlayer_with_vite+vanilla.md +41 -10
- package/docs/ru/intlayer_with_vite+vue.md +87 -110
- package/docs/ru/live-sync.md +185 -0
- package/docs/ru/mcp_server.md +22 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/ru/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/angular-intlayer/exports.md +13 -9
- package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/intlayer/comparePaths.md +173 -0
- package/docs/ru/packages/intlayer/exports.md +5 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/ru/packages/next-intlayer/exports.md +4 -0
- package/docs/ru/packages/next-intlayer/t.md +34 -0
- package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
- package/docs/ru/packages/preact-intlayer/exports.md +10 -6
- package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/ru/packages/react-intlayer/exports.md +4 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
- package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
- package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
- package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
- package/docs/ru/packages/solid-intlayer/exports.md +4 -0
- package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
- package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/packages/vue-intlayer/exports.md +4 -0
- package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/ru/plugins/sync-json.md +268 -95
- package/docs/ru/releases/v6.md +28 -0
- package/docs/ru/releases/v7.md +128 -0
- package/docs/ru/releases/v9.md +206 -38
- package/docs/ru/roadmap.md +6 -0
- package/docs/ru/self_hosting.md +350 -0
- package/docs/tr/CI_CD.md +4 -0
- package/docs/tr/autoFill.md +81 -0
- package/docs/tr/benchmark/solid.md +22 -0
- package/docs/tr/benchmark/svelte.md +22 -0
- package/docs/tr/benchmark/tanstack.md +22 -0
- package/docs/tr/bundle_optimization.md +16 -0
- package/docs/tr/cli/ci.md +22 -0
- package/docs/tr/cli/fill.md +8 -0
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/cli/login.md +0 -10
- package/docs/tr/cli/scan.md +2 -2
- package/docs/tr/compat/i18n-js.md +44 -0
- package/docs/tr/compat/i18next.md +59 -0
- package/docs/tr/compat/index.md +51 -0
- package/docs/tr/compat/lingui.md +44 -0
- package/docs/tr/compat/next-i18next.md +57 -0
- package/docs/tr/compat/next-intl.md +59 -0
- package/docs/tr/compat/next-translate.md +45 -0
- package/docs/tr/compat/ngx-translate.md +45 -0
- package/docs/tr/compat/nuxtjs-i18n.md +46 -0
- package/docs/tr/compat/polyglot.md +45 -0
- package/docs/tr/compat/react-i18next.md +58 -0
- package/docs/tr/compat/react-intl.md +55 -0
- package/docs/tr/compat/svelte-i18n.md +47 -0
- package/docs/tr/compat/transloco.md +45 -0
- package/docs/tr/compat/vue-i18n.md +58 -0
- package/docs/tr/compiler.md +9 -4
- package/docs/tr/configuration.md +60 -17
- package/docs/tr/custom_domains.md +9 -3
- package/docs/tr/custom_url_rewrites.md +9 -3
- package/docs/tr/dictionary/content_file.md +4 -27
- package/docs/tr/dictionary/enumeration.md +0 -187
- package/docs/tr/dictionary/file.md +8 -0
- package/docs/tr/dictionary/nesting.md +39 -0
- package/docs/tr/dictionary/translation.md +0 -88
- package/docs/tr/dynamic_dictionaries/index.md +27 -21
- package/docs/tr/dynamic_dictionaries/variants.md +274 -16
- package/docs/tr/formatters.md +59 -0
- package/docs/tr/how_works_intlayer.md +6 -2
- package/docs/tr/intlayer_CMS.md +20 -121
- package/docs/tr/intlayer_with_adonisjs.md +24 -4
- package/docs/tr/intlayer_with_analog.md +33 -5
- package/docs/tr/intlayer_with_angular_19.md +24 -4
- package/docs/tr/intlayer_with_angular_21.md +24 -4
- package/docs/tr/intlayer_with_astro.md +134 -77
- package/docs/tr/intlayer_with_astro_lit.md +31 -13
- package/docs/tr/intlayer_with_astro_preact.md +28 -10
- package/docs/tr/intlayer_with_astro_react.md +28 -10
- package/docs/tr/intlayer_with_astro_solid.md +28 -10
- package/docs/tr/intlayer_with_astro_svelte.md +28 -10
- package/docs/tr/intlayer_with_astro_vanilla.md +28 -10
- package/docs/tr/intlayer_with_astro_vue.md +28 -10
- package/docs/tr/intlayer_with_create_react_app.md +24 -4
- package/docs/tr/intlayer_with_express.md +24 -8
- package/docs/tr/intlayer_with_fastify.md +24 -8
- package/docs/tr/intlayer_with_hono.md +24 -4
- package/docs/tr/intlayer_with_lynx+react.md +30 -5
- package/docs/tr/intlayer_with_nestjs.md +24 -12
- package/docs/tr/intlayer_with_next-i18next.md +24 -4
- package/docs/tr/intlayer_with_nextjs_14.md +119 -12
- package/docs/tr/intlayer_with_nextjs_15.md +47 -9
- package/docs/tr/intlayer_with_nextjs_16.md +29 -9
- package/docs/tr/intlayer_with_nextjs_compiler.md +27 -26
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/tr/intlayer_with_nextjs_page_router.md +29 -5
- package/docs/tr/intlayer_with_nuxt.md +30 -8
- package/docs/tr/intlayer_with_react_native+expo.md +84 -79
- package/docs/tr/intlayer_with_react_router_v7.md +29 -101
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +20 -185
- package/docs/tr/intlayer_with_tanstack+solid.md +44 -15
- package/docs/tr/intlayer_with_tanstack.md +44 -16
- package/docs/tr/intlayer_with_vite+lit.md +33 -7
- package/docs/tr/intlayer_with_vite+preact.md +85 -63
- package/docs/tr/intlayer_with_vite+react.md +83 -58
- package/docs/tr/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/tr/intlayer_with_vite+solid.md +61 -48
- package/docs/tr/intlayer_with_vite+svelte.md +55 -35
- package/docs/tr/intlayer_with_vite+vanilla.md +41 -10
- package/docs/tr/intlayer_with_vite+vue.md +88 -111
- package/docs/tr/live-sync.md +173 -0
- package/docs/tr/mcp_server.md +22 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +24 -4
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +24 -4
- package/docs/tr/migration_from_next-intl_to_intlayer.md +25 -7
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +24 -4
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +25 -7
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +24 -4
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/angular-intlayer/exports.md +13 -9
- package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/intlayer/comparePaths.md +173 -0
- package/docs/tr/packages/intlayer/exports.md +18 -13
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
- package/docs/tr/packages/next-intlayer/exports.md +4 -0
- package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
- package/docs/tr/packages/preact-intlayer/exports.md +10 -6
- package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/tr/packages/react-intlayer/exports.md +4 -0
- package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
- package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
- package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
- package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
- package/docs/tr/packages/solid-intlayer/exports.md +4 -0
- package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
- package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/packages/vue-intlayer/exports.md +4 -0
- package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/tr/plugins/sync-json.md +221 -50
- package/docs/tr/releases/v6.md +28 -0
- package/docs/tr/releases/v7.md +128 -0
- package/docs/tr/releases/v9.md +193 -38
- package/docs/tr/roadmap.md +6 -0
- package/docs/tr/self_hosting.md +350 -0
- package/docs/uk/benchmark/solid.md +22 -0
- package/docs/uk/benchmark/svelte.md +22 -0
- package/docs/uk/benchmark/tanstack.md +22 -0
- package/docs/uk/bundle_optimization.md +16 -0
- package/docs/uk/cli/ci.md +22 -0
- package/docs/uk/cli/fill.md +8 -0
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/cli/scan.md +2 -2
- package/docs/uk/compat/i18n-js.md +44 -0
- package/docs/uk/compat/i18next.md +59 -0
- package/docs/uk/compat/index.md +51 -0
- package/docs/uk/compat/lingui.md +44 -0
- package/docs/uk/compat/next-i18next.md +57 -0
- package/docs/uk/compat/next-intl.md +59 -0
- package/docs/uk/compat/next-translate.md +45 -0
- package/docs/uk/compat/ngx-translate.md +45 -0
- package/docs/uk/compat/nuxtjs-i18n.md +46 -0
- package/docs/uk/compat/polyglot.md +45 -0
- package/docs/uk/compat/react-i18next.md +58 -0
- package/docs/uk/compat/react-intl.md +55 -0
- package/docs/uk/compat/svelte-i18n.md +47 -0
- package/docs/uk/compat/transloco.md +45 -0
- package/docs/uk/compat/vue-i18n.md +58 -0
- package/docs/uk/compiler.md +9 -4
- package/docs/uk/configuration.md +60 -17
- package/docs/uk/custom_domains.md +9 -3
- package/docs/uk/custom_url_rewrites.md +9 -3
- package/docs/uk/dictionary/content_file.md +0 -7
- package/docs/uk/dictionary/enumeration.md +0 -187
- package/docs/uk/dictionary/nesting.md +39 -0
- package/docs/uk/dictionary/translation.md +0 -72
- package/docs/uk/dynamic_dictionaries/index.md +25 -19
- package/docs/uk/dynamic_dictionaries/variants.md +277 -19
- package/docs/uk/formatters.md +142 -58
- package/docs/uk/how_works_intlayer.md +2 -2
- package/docs/uk/interest_of_intlayer.md +194 -0
- package/docs/uk/intlayer_CMS.md +14 -133
- package/docs/uk/intlayer_with_adonisjs.md +24 -4
- package/docs/uk/intlayer_with_analog.md +33 -5
- package/docs/uk/intlayer_with_angular_19.md +24 -4
- package/docs/uk/intlayer_with_angular_21.md +24 -4
- package/docs/uk/intlayer_with_astro.md +133 -4
- package/docs/uk/intlayer_with_astro_lit.md +31 -13
- package/docs/uk/intlayer_with_astro_preact.md +28 -10
- package/docs/uk/intlayer_with_astro_react.md +28 -10
- package/docs/uk/intlayer_with_astro_solid.md +28 -10
- package/docs/uk/intlayer_with_astro_svelte.md +28 -10
- package/docs/uk/intlayer_with_astro_vanilla.md +28 -10
- package/docs/uk/intlayer_with_astro_vue.md +28 -10
- package/docs/uk/intlayer_with_create_react_app.md +24 -4
- package/docs/uk/intlayer_with_express.md +24 -4
- package/docs/uk/intlayer_with_fastify.md +24 -8
- package/docs/uk/intlayer_with_hono.md +24 -4
- package/docs/uk/intlayer_with_lynx+react.md +30 -5
- package/docs/uk/intlayer_with_nestjs.md +24 -4
- package/docs/uk/intlayer_with_next-i18next.md +24 -4
- package/docs/uk/intlayer_with_nextjs_14.md +25 -5
- package/docs/uk/intlayer_with_nextjs_15.md +27 -9
- package/docs/uk/intlayer_with_nextjs_16.md +29 -9
- package/docs/uk/intlayer_with_nextjs_compiler.md +27 -26
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/uk/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/uk/intlayer_with_nuxt.md +25 -32
- package/docs/uk/intlayer_with_react_native+expo.md +68 -84
- package/docs/uk/intlayer_with_react_router_v7.md +29 -101
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +4 -97
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +34 -9
- package/docs/uk/intlayer_with_tanstack+solid.md +44 -15
- package/docs/uk/intlayer_with_tanstack.md +44 -16
- package/docs/uk/intlayer_with_vite+lit.md +33 -7
- package/docs/uk/intlayer_with_vite+preact.md +85 -63
- package/docs/uk/intlayer_with_vite+react.md +83 -58
- package/docs/uk/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/uk/intlayer_with_vite+solid.md +61 -48
- package/docs/uk/intlayer_with_vite+svelte.md +62 -37
- package/docs/uk/intlayer_with_vite+vanilla.md +41 -10
- package/docs/uk/intlayer_with_vite+vue.md +83 -110
- package/docs/uk/live-sync.md +185 -0
- package/docs/uk/mcp_server.md +22 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +337 -0
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/uk/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/angular-intlayer/exports.md +14 -10
- package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/intlayer/comparePaths.md +173 -0
- package/docs/uk/packages/intlayer/exports.md +5 -0
- package/docs/uk/packages/next-intlayer/exports.md +4 -0
- package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
- package/docs/uk/packages/preact-intlayer/exports.md +10 -6
- package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/uk/packages/react-intlayer/exports.md +4 -0
- package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
- package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
- package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
- package/docs/uk/packages/solid-intlayer/exports.md +5 -1
- package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
- package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/packages/vue-intlayer/exports.md +4 -0
- package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/uk/plugins/sync-json.md +56 -3
- package/docs/uk/releases/v6.md +4 -0
- package/docs/uk/releases/v7.md +4 -0
- package/docs/uk/releases/v9.md +205 -38
- package/docs/uk/self_hosting.md +350 -0
- package/docs/ur/bundle_optimization.md +16 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/cli/scan.md +2 -2
- package/docs/ur/configuration.md +45 -1
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_angular_21.md +24 -4
- package/docs/ur/intlayer_with_fastify.md +24 -8
- package/docs/ur/intlayer_with_hono.md +24 -4
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +32 -6
- package/docs/ur/intlayer_with_vite+vanilla.md +40 -9
- package/docs/ur/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/autoFill.md +20 -0
- package/docs/vi/benchmark/solid.md +22 -0
- package/docs/vi/benchmark/svelte.md +22 -0
- package/docs/vi/benchmark/tanstack.md +22 -0
- package/docs/vi/bundle_optimization.md +16 -0
- package/docs/vi/cli/ci.md +22 -0
- package/docs/vi/cli/fill.md +8 -0
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/cli/login.md +0 -36
- package/docs/vi/cli/scan.md +2 -2
- package/docs/vi/compat/i18n-js.md +44 -0
- package/docs/vi/compat/i18next.md +59 -0
- package/docs/vi/compat/index.md +51 -0
- package/docs/vi/compat/lingui.md +44 -0
- package/docs/vi/compat/next-i18next.md +57 -0
- package/docs/vi/compat/next-intl.md +59 -0
- package/docs/vi/compat/next-translate.md +45 -0
- package/docs/vi/compat/ngx-translate.md +45 -0
- package/docs/vi/compat/nuxtjs-i18n.md +46 -0
- package/docs/vi/compat/polyglot.md +45 -0
- package/docs/vi/compat/react-i18next.md +58 -0
- package/docs/vi/compat/react-intl.md +55 -0
- package/docs/vi/compat/svelte-i18n.md +47 -0
- package/docs/vi/compat/transloco.md +45 -0
- package/docs/vi/compat/vue-i18n.md +58 -0
- package/docs/vi/compiler.md +9 -4
- package/docs/vi/configuration.md +60 -17
- package/docs/vi/custom_domains.md +9 -3
- package/docs/vi/custom_url_rewrites.md +9 -3
- package/docs/vi/dictionary/content_file.md +0 -7
- package/docs/vi/dictionary/enumeration.md +0 -199
- package/docs/vi/dictionary/insertion.md +0 -2
- package/docs/vi/dictionary/nesting.md +39 -0
- package/docs/vi/dictionary/translation.md +0 -61
- package/docs/vi/dynamic_dictionaries/index.md +28 -22
- package/docs/vi/dynamic_dictionaries/variants.md +278 -20
- package/docs/vi/formatters.md +124 -0
- package/docs/vi/how_works_intlayer.md +2 -2
- package/docs/vi/interest_of_intlayer.md +193 -0
- package/docs/vi/intlayer_CMS.md +5 -139
- package/docs/vi/intlayer_with_adonisjs.md +24 -4
- package/docs/vi/intlayer_with_analog.md +33 -5
- package/docs/vi/intlayer_with_angular_19.md +24 -4
- package/docs/vi/intlayer_with_angular_21.md +24 -4
- package/docs/vi/intlayer_with_astro.md +133 -4
- package/docs/vi/intlayer_with_astro_lit.md +31 -13
- package/docs/vi/intlayer_with_astro_preact.md +28 -10
- package/docs/vi/intlayer_with_astro_react.md +28 -10
- package/docs/vi/intlayer_with_astro_solid.md +28 -10
- package/docs/vi/intlayer_with_astro_svelte.md +28 -10
- package/docs/vi/intlayer_with_astro_vanilla.md +28 -10
- package/docs/vi/intlayer_with_astro_vue.md +28 -10
- package/docs/vi/intlayer_with_create_react_app.md +24 -4
- package/docs/vi/intlayer_with_express.md +24 -4
- package/docs/vi/intlayer_with_fastify.md +24 -8
- package/docs/vi/intlayer_with_hono.md +24 -4
- package/docs/vi/intlayer_with_lynx+react.md +30 -5
- package/docs/vi/intlayer_with_nestjs.md +24 -4
- package/docs/vi/intlayer_with_next-i18next.md +24 -4
- package/docs/vi/intlayer_with_nextjs_14.md +25 -5
- package/docs/vi/intlayer_with_nextjs_15.md +496 -8
- package/docs/vi/intlayer_with_nextjs_16.md +29 -9
- package/docs/vi/intlayer_with_nextjs_compiler.md +27 -26
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/vi/intlayer_with_nextjs_page_router.md +25 -5
- package/docs/vi/intlayer_with_nuxt.md +25 -32
- package/docs/vi/intlayer_with_react_native+expo.md +47 -64
- package/docs/vi/intlayer_with_react_router_v7.md +29 -101
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +10 -91
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +20 -185
- package/docs/vi/intlayer_with_tanstack+solid.md +44 -15
- package/docs/vi/intlayer_with_tanstack.md +44 -16
- package/docs/vi/intlayer_with_vite+lit.md +33 -7
- package/docs/vi/intlayer_with_vite+preact.md +85 -63
- package/docs/vi/intlayer_with_vite+react.md +83 -58
- package/docs/vi/intlayer_with_vite+react_compiler.md +35 -8
- package/docs/vi/intlayer_with_vite+solid.md +61 -48
- package/docs/vi/intlayer_with_vite+svelte.md +62 -39
- package/docs/vi/intlayer_with_vite+vanilla.md +41 -10
- package/docs/vi/intlayer_with_vite+vue.md +83 -110
- package/docs/vi/live-sync.md +185 -0
- package/docs/vi/mcp_server.md +22 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +337 -0
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/vi/migration_from_next-intl_to_intlayer.md +366 -0
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/angular-intlayer/exports.md +14 -10
- package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/intlayer/comparePaths.md +173 -0
- package/docs/vi/packages/intlayer/exports.md +5 -0
- package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
- package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/vi/packages/next-intlayer/exports.md +4 -0
- package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
- package/docs/vi/packages/preact-intlayer/exports.md +10 -6
- package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/vi/packages/react-intlayer/exports.md +20 -16
- package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
- package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
- package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
- package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
- package/docs/vi/packages/solid-intlayer/exports.md +15 -11
- package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
- package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/packages/vue-intlayer/exports.md +14 -10
- package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/vi/plugins/sync-json.md +229 -57
- package/docs/vi/releases/v6.md +4 -0
- package/docs/vi/releases/v7.md +128 -0
- package/docs/vi/releases/v9.md +178 -38
- package/docs/vi/self_hosting.md +350 -0
- package/docs/zh/CI_CD.md +1 -1
- package/docs/zh/autoFill.md +81 -0
- package/docs/zh/benchmark/solid.md +22 -0
- package/docs/zh/benchmark/svelte.md +22 -0
- package/docs/zh/benchmark/tanstack.md +22 -0
- package/docs/zh/bundle_optimization.md +16 -0
- package/docs/zh/cli/ci.md +22 -0
- package/docs/zh/cli/fill.md +8 -0
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/cli/login.md +0 -36
- package/docs/zh/cli/scan.md +2 -2
- package/docs/zh/compat/i18n-js.md +44 -0
- package/docs/zh/compat/i18next.md +59 -0
- package/docs/zh/compat/index.md +51 -0
- package/docs/zh/compat/lingui.md +44 -0
- package/docs/zh/compat/next-i18next.md +57 -0
- package/docs/zh/compat/next-intl.md +59 -0
- package/docs/zh/compat/next-translate.md +45 -0
- package/docs/zh/compat/ngx-translate.md +45 -0
- package/docs/zh/compat/nuxtjs-i18n.md +46 -0
- package/docs/zh/compat/polyglot.md +45 -0
- package/docs/zh/compat/react-i18next.md +58 -0
- package/docs/zh/compat/react-intl.md +55 -0
- package/docs/zh/compat/svelte-i18n.md +47 -0
- package/docs/zh/compat/transloco.md +45 -0
- package/docs/zh/compat/vue-i18n.md +58 -0
- package/docs/zh/compiler.md +9 -4
- package/docs/zh/configuration.md +60 -17
- package/docs/zh/custom_domains.md +9 -3
- package/docs/zh/custom_url_rewrites.md +22 -18
- package/docs/zh/dictionary/content_file.md +16 -20
- package/docs/zh/dictionary/enumeration.md +0 -187
- package/docs/zh/dictionary/function_fetching.md +0 -27
- package/docs/zh/dictionary/insertion.md +0 -64
- package/docs/zh/dictionary/nesting.md +39 -0
- package/docs/zh/dictionary/translation.md +0 -84
- package/docs/zh/dynamic_dictionaries/index.md +24 -18
- package/docs/zh/dynamic_dictionaries/variants.md +274 -16
- package/docs/zh/formatters.md +77 -0
- package/docs/zh/how_works_intlayer.md +6 -6
- package/docs/zh/intlayer_CMS.md +19 -122
- package/docs/zh/intlayer_with_adonisjs.md +24 -4
- package/docs/zh/intlayer_with_analog.md +4 -154
- package/docs/zh/intlayer_with_angular_19.md +0 -232
- package/docs/zh/intlayer_with_angular_21.md +24 -4
- package/docs/zh/intlayer_with_astro.md +249 -61
- package/docs/zh/intlayer_with_astro_lit.md +138 -86
- package/docs/zh/intlayer_with_astro_preact.md +129 -77
- package/docs/zh/intlayer_with_astro_react.md +131 -79
- package/docs/zh/intlayer_with_astro_solid.md +131 -79
- package/docs/zh/intlayer_with_astro_svelte.md +131 -79
- package/docs/zh/intlayer_with_astro_vanilla.md +128 -78
- package/docs/zh/intlayer_with_astro_vue.md +123 -71
- package/docs/zh/intlayer_with_create_react_app.md +21 -306
- package/docs/zh/intlayer_with_express.md +24 -27
- package/docs/zh/intlayer_with_fastify.md +24 -8
- package/docs/zh/intlayer_with_hono.md +24 -4
- package/docs/zh/intlayer_with_lynx+react.md +0 -259
- package/docs/zh/intlayer_with_nestjs.md +24 -22
- package/docs/zh/intlayer_with_next-i18next.md +24 -4
- package/docs/zh/intlayer_with_nextjs_14.md +87 -29
- package/docs/zh/intlayer_with_nextjs_15.md +90 -22
- package/docs/zh/intlayer_with_nextjs_16.md +157 -95
- package/docs/zh/intlayer_with_nextjs_compiler.md +179 -147
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +27 -9
- package/docs/zh/intlayer_with_nextjs_page_router.md +75 -19
- package/docs/zh/intlayer_with_nuxt.md +5 -149
- package/docs/zh/intlayer_with_react_native+expo.md +164 -156
- package/docs/zh/intlayer_with_react_router_v7.md +29 -348
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -317
- package/docs/zh/intlayer_with_storybook.md +7 -241
- package/docs/zh/intlayer_with_svelte_kit.md +10 -521
- package/docs/zh/intlayer_with_tanstack+solid.md +1 -630
- package/docs/zh/intlayer_with_tanstack.md +1 -628
- package/docs/zh/intlayer_with_vanilla.md +0 -283
- package/docs/zh/intlayer_with_vite+lit.md +1 -395
- package/docs/zh/intlayer_with_vite+preact.md +4 -226
- package/docs/zh/intlayer_with_vite+react.md +11 -6
- package/docs/zh/intlayer_with_vite+react_compiler.md +1 -176
- package/docs/zh/intlayer_with_vite+solid.md +22 -307
- package/docs/zh/intlayer_with_vite+svelte.md +135 -84
- package/docs/zh/intlayer_with_vite+vanilla.md +1 -426
- package/docs/zh/intlayer_with_vite+vue.md +129 -145
- package/docs/zh/live-sync.md +175 -0
- package/docs/zh/mcp_server.md +26 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +334 -0
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +359 -0
- package/docs/zh/migration_from_next-intl_to_intlayer.md +367 -0
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +332 -0
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +386 -0
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +363 -0
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/angular-intlayer/exports.md +13 -9
- package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/intlayer/comparePaths.md +173 -0
- package/docs/zh/packages/intlayer/exports.md +18 -13
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
- package/docs/zh/packages/next-intlayer/exports.md +4 -0
- package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
- package/docs/zh/packages/preact-intlayer/exports.md +10 -6
- package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
- package/docs/zh/packages/react-intlayer/exports.md +5 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
- package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
- package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
- package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
- package/docs/zh/packages/solid-intlayer/exports.md +15 -11
- package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
- package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
- package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/packages/vue-intlayer/exports.md +14 -10
- package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
- package/docs/zh/plugins/sync-json.md +222 -50
- package/docs/zh/releases/v6.md +28 -0
- package/docs/zh/releases/v7.md +128 -0
- package/docs/zh/releases/v8.md +190 -0
- package/docs/zh/releases/v9.md +178 -30
- package/docs/zh/roadmap.md +6 -0
- package/docs/zh/self_hosting.md +350 -0
- package/docs/zh/vs_code_extension.md +0 -7
- package/docs/zh-TW/bundle_optimization.md +16 -0
- package/docs/zh-TW/intlayer_with_angular_21.md +24 -4
- package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/package.json +10 -10
- package/src/generated/docs.entry.ts +300 -20
- package/docs/ar/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/de/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/en-GB/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/es/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/fr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/hi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/id/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/it/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ja/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ko/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pl/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/pt/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/ru/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/tr/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/uk/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/vi/dynamic_dictionaries/dynamic_content.md +0 -271
- package/docs/zh/dynamic_dictionaries/dynamic_content.md +0 -271
|
@@ -177,36 +177,6 @@ export function abs(locale: string, path: string) {
|
|
|
177
177
|
}
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
```tsx fileName="src/app/[locale]/about/layout.tsx"
|
|
181
|
-
rules: { userAgent: "*", allow: ["/"], disallow },
|
|
182
|
-
host: origin,
|
|
183
|
-
sitemap: `${origin}/sitemap.xml`,
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
### **next-i18next**
|
|
189
|
-
|
|
190
|
-
</Tab>
|
|
191
|
-
<Tab label="next-i18next">
|
|
192
|
-
|
|
193
|
-
```ts fileName="i18n.config.ts"
|
|
194
|
-
export const locales = ["en", "fr"] as const;
|
|
195
|
-
export type Locale = (typeof locales)[number];
|
|
196
|
-
export const defaultLocale: Locale = "en";
|
|
197
|
-
|
|
198
|
-
/** 除非是默认语言,否则为路径添加语言前缀 */
|
|
199
|
-
export function localizedPath(locale: string, path: string) {
|
|
200
|
-
return locale === defaultLocale ? path : `/${locale}${path}`;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/** 绝对 URL 辅助函数 */
|
|
204
|
-
const ORIGIN = "https://example.com";
|
|
205
|
-
export function abs(locale: string, path: string) {
|
|
206
|
-
return `${ORIGIN}${localizedPath(locale, path)}`;
|
|
207
|
-
}
|
|
208
|
-
```
|
|
209
|
-
|
|
210
180
|
```tsx fileName="src/app/[locale]/about/layout.tsx"
|
|
211
181
|
import type { Metadata } from "next";
|
|
212
182
|
import { locales, defaultLocale, localizedPath } from "@/i18n.config";
|
|
@@ -377,6 +347,12 @@ export default robots;
|
|
|
377
347
|
|
|
378
348
|
---
|
|
379
349
|
|
|
350
|
+
## 使用 Intlayer SEO Scanner 审核您的网站
|
|
351
|
+
|
|
352
|
+
为了确保您的多语言应用程序得到完美优化,我们建议使用 [Intlayer SEO Scanner](https://intlayer.org/i18n-seo-scanner)。这是一款专门用于多语言网站检查的工具,可帮助您识别所有本地化页面中缺失的 hreflang 标签、断开的链接以及其他 SEO 问题。
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
380
356
|
## 结论
|
|
381
357
|
|
|
382
358
|
在 Next.js 中正确处理国际化(i18n)不仅仅是翻译文本,更是确保搜索引擎和用户能够准确识别并访问您内容的正确版本。
|
|
@@ -30,33 +30,6 @@ author: aymericzip
|
|
|
30
30
|
|
|
31
31
|
👉 [在线演示](https://intlayer.org/doc/why) 👉 [代码模板](https://github.com/aymericzip/smart_doc_RAG)
|
|
32
32
|
|
|
33
|
-
## 介绍
|
|
34
|
-
|
|
35
|
-
如果你曾在文档中迷失,滚动寻找一个答案,你就知道这有多痛苦。文档是有用的,但它们是静态的,搜索起来常常感觉笨拙。
|
|
36
|
-
|
|
37
|
-
这就是**RAG(检索增强生成)**的用武之地。我们不必强迫用户去翻找文本,而是结合**检索**(找到文档中正确的部分)和**生成**(让大型语言模型自然地解释它)。
|
|
38
|
-
|
|
39
|
-
在这篇文章中,我将带你了解我是如何构建一个基于RAG的文档聊天机器人的,以及它不仅帮助用户更快地找到答案,还为产品团队提供了一种全新的方式来理解用户痛点。
|
|
40
|
-
|
|
41
|
-
## 为什么为文档使用RAG?
|
|
42
|
-
|
|
43
|
-
RAG之所以成为流行的方法,是有原因的:它是让大型语言模型真正发挥作用的最实用方式之一。
|
|
44
|
-
|
|
45
|
-
对于文档来说,优势非常明显:
|
|
46
|
-
|
|
47
|
-
- 即时回答:用户用自然语言提问,得到相关的回复。
|
|
48
|
-
- 更好的上下文:模型只看到最相关的文档部分,减少了幻觉现象。
|
|
49
|
-
- 更人性化的搜索:更像是Algolia + FAQ + 聊天机器人三合一。
|
|
50
|
-
- 反馈循环:通过存储查询,你可以发现用户真正遇到的困难。
|
|
51
|
-
|
|
52
|
-
最后一点至关重要。RAG 系统不仅仅是回答问题,它还能告诉你人们在问什么。这意味着:
|
|
53
|
-
|
|
54
|
-
- 你会发现文档中缺失的信息。
|
|
55
|
-
- 你会看到新功能请求的出现。
|
|
56
|
-
- 你会发现一些模式,甚至可以指导产品策略。
|
|
57
|
-
|
|
58
|
-
所以,RAG 不仅仅是一个支持工具,它还是一个**产品发现引擎**。
|
|
59
|
-
|
|
60
33
|
## RAG 流程是如何工作的
|
|
61
34
|
|
|
62
35
|

|
|
@@ -70,12 +43,6 @@ RAG之所以成为流行的方法,是有原因的:它是让大型语言模
|
|
|
70
43
|
5. **增强与生成(RAG 中的 AG)** 这些文本块被注入到 ChatGPT 的提示中,使模型能够基于实际文档上下文进行回答。
|
|
71
44
|
6. **查询日志反馈** 每个用户查询都会被存储。这对于理解痛点、缺失文档或新机会非常宝贵。
|
|
72
45
|
|
|
73
|
-
## 第一步:读取文档
|
|
74
|
-
|
|
75
|
-
第一步很简单:我需要一种方法扫描 docs/ 文件夹中的所有 .md 文件。使用 Node.js 和 glob,我将每个 Markdown 文件的内容加载到内存中。
|
|
76
|
-
|
|
77
|
-
这保持了流程的灵活性:你可以不是从 Markdown,而是从数据库、CMS,甚至 API 中获取文档。
|
|
78
|
-
|
|
79
46
|
## 第2步:将文档分块
|
|
80
47
|
|
|
81
48
|
为什么要分块?因为语言模型有**上下文限制**。给它们整本文档是行不通的。
|
|
@@ -112,164 +79,6 @@ RAG之所以成为流行的方法,是有原因的:它是让大型语言模
|
|
|
112
79
|
|
|
113
80
|
每个向量都是文本的数学指纹,支持相似度搜索。
|
|
114
81
|
|
|
115
|
-
## 第四步:索引与存储嵌入向量
|
|
116
|
-
|
|
117
|
-
为了避免多次重新生成嵌入,我将它们存储在 embeddings.json 中。
|
|
118
|
-
|
|
119
|
-
在生产环境中,你可能会想使用以下向量数据库:
|
|
120
|
-
|
|
121
|
-
- Chroma
|
|
122
|
-
- Qdrant
|
|
123
|
-
- Pinecone
|
|
124
|
-
- FAISS、Weaviate、Milvus 等等。
|
|
125
|
-
|
|
126
|
-
向量数据库负责索引、可扩展性和快速搜索。但对于我的原型,使用本地 JSON 就足够了。
|
|
127
|
-
|
|
128
|
-
## 第五步:使用余弦相似度进行检索
|
|
129
|
-
|
|
130
|
-
当用户提出问题时:
|
|
131
|
-
|
|
132
|
-
1. 为查询生成一个嵌入向量。
|
|
133
|
-
2. 使用**余弦相似度**将其与所有文档嵌入向量进行比较。
|
|
134
|
-
3. 只保留最相似的前 N 个块。
|
|
135
|
-
|
|
136
|
-
余弦相似度衡量两个向量之间的夹角。完美匹配的得分为**1.0**。
|
|
137
|
-
|
|
138
|
-
通过这种方式,系统能够找到与查询最接近的文档段落。
|
|
139
|
-
|
|
140
|
-
## 第六步:增强 + 生成
|
|
141
|
-
|
|
142
|
-
现在进入关键步骤。我们将最相关的块注入到 ChatGPT 的**系统提示**中。
|
|
143
|
-
|
|
144
|
-
这意味着模型的回答就像那些文档片段是对话的一部分一样。
|
|
145
|
-
|
|
146
|
-
结果是:准确的、**基于文档的响应**。
|
|
147
|
-
|
|
148
|
-
## 第7步:记录用户查询
|
|
149
|
-
|
|
150
|
-
这是隐藏的超级能力。
|
|
151
|
-
|
|
152
|
-
每个提问都会被存储。随着时间推移,你会构建一个数据集,包含:
|
|
153
|
-
|
|
154
|
-
- 最常见的问题(非常适合常见问题解答)
|
|
155
|
-
- 未回答的问题(文档缺失或不清晰)
|
|
156
|
-
- 伪装成问题的功能请求(“它能与X集成吗?”)
|
|
157
|
-
- 你未曾预料到的新兴用例
|
|
158
|
-
|
|
159
|
-
这将你的RAG助手变成一个**持续的用户研究工具**。
|
|
160
|
-
|
|
161
|
-
## 成本是多少?
|
|
162
|
-
|
|
163
|
-
对RAG的一个常见反对意见是成本。实际上,它出乎意料地便宜:
|
|
164
|
-
|
|
165
|
-
- 为大约200个文档生成嵌入大约需要**5分钟**,成本为**1–2欧元**。
|
|
166
|
-
- 文档搜索功能是100%免费的。
|
|
167
|
-
- 对于查询,我们使用 gpt-4o-latest,不启用“思考”模式。在 Intlayer 上,我们每月大约处理 **300 次聊天查询**,OpenAI API 账单很少超过 **10 美元**。
|
|
168
|
-
|
|
169
|
-
除此之外,你还需要考虑托管成本。
|
|
170
|
-
|
|
171
|
-
## 实现细节
|
|
172
|
-
|
|
173
|
-
技术栈:
|
|
174
|
-
|
|
175
|
-
- Monorepo:pnpm 工作区
|
|
176
|
-
- 文档包:Node.js / TypeScript / OpenAI API
|
|
177
|
-
- 前端:Next.js / React / Tailwind CSS
|
|
178
|
-
- 后端:Node.js API 路由 / OpenAI API
|
|
179
|
-
|
|
180
|
-
`@smart-doc/docs` 包是一个 TypeScript 包,负责文档处理。当添加或修改 markdown 文件时,该包包含一个 `build` 脚本,用于重新构建每种语言的文档列表,生成嵌入向量,并将其存储在 `embeddings.json` 文件中。
|
|
181
|
-
|
|
182
|
-
在前端,我们使用一个 Next.js 应用程序,提供:
|
|
183
|
-
|
|
184
|
-
- Markdown 转换为 HTML 渲染
|
|
185
|
-
- 一个用于查找相关文档的搜索栏
|
|
186
|
-
- 一个用于提问文档问题的聊天机器人界面
|
|
187
|
-
|
|
188
|
-
为了执行文档搜索,Next.js 应用程序包含一个 API 路由,该路由调用 `@smart-doc/docs` 包中的函数以检索与查询匹配的文档块。利用这些文档块,我们可以返回与用户搜索相关的文档页面列表。
|
|
189
|
-
|
|
190
|
-
对于聊天机器人功能,我们遵循相同的搜索流程,但额外将检索到的文档块注入到发送给 ChatGPT 的提示中。
|
|
191
|
-
|
|
192
|
-
以下是发送给 ChatGPT 的提示示例:
|
|
193
|
-
|
|
194
|
-
系统提示:
|
|
195
|
-
|
|
196
|
-
```txt
|
|
197
|
-
你是一个能够回答关于 Intlayer 文档问题的有用助手。
|
|
198
|
-
|
|
199
|
-
相关文档块:
|
|
200
|
-
|
|
201
|
-
-----
|
|
202
|
-
docName: "getting-started"
|
|
203
|
-
docChunk: "1/3"
|
|
204
|
-
docUrl: "https://example.com/docs/zh/getting-started"
|
|
205
|
-
---
|
|
206
|
-
|
|
207
|
-
# 如何开始
|
|
208
|
-
|
|
209
|
-
...
|
|
210
|
-
|
|
211
|
-
-----
|
|
212
|
-
docName: "another-doc"
|
|
213
|
-
docChunk: "1/5"
|
|
214
|
-
docUrl: "https://example.com/docs/zh/another-doc"
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
# 另一个文档
|
|
218
|
-
|
|
219
|
-
...
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
用户查询:
|
|
223
|
-
|
|
224
|
-
```txt
|
|
225
|
-
如何开始?
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
我们使用 SSE 来流式传输来自 API 路由的响应。
|
|
229
|
-
|
|
230
|
-
如前所述,我们使用无“思考”模式的 gpt-4-turbo。响应相关且延迟低。
|
|
231
|
-
我们尝试过 gpt-5,但延迟过高(有时回复需要长达 15 秒)。但我们将来会重新考虑。
|
|
232
|
-
|
|
233
|
-
👉 [在这里试用演示](https://intlayer.org/doc/zh/why) 👉 [在 GitHub 查看代码模板](https://github.com/aymericzip/smart_doc_RAG)
|
|
234
|
-
|
|
235
|
-
## 进一步探索
|
|
236
|
-
|
|
237
|
-
该项目是一个最小实现。但你可以通过多种方式扩展它:
|
|
238
|
-
|
|
239
|
-
- MCP 服务器 → 将文档检索功能迁移到 MCP 服务器,以便将文档连接到任何 AI 助手
|
|
240
|
-
|
|
241
|
-
- 向量数据库 → 扩展到数百万文档块
|
|
242
|
-
- LangChain / LlamaIndex → 现成的 RAG 流水线框架
|
|
243
|
-
- 分析仪表盘 → 可视化用户查询和痛点
|
|
244
|
-
- 多源检索 → 不仅检索文档,还能拉取数据库条目、博客文章、工单等
|
|
245
|
-
- 改进的提示技术 → 重新排序、过滤和混合搜索(关键词 + 语义)
|
|
246
|
-
|
|
247
|
-
## 我们遇到的限制
|
|
248
|
-
|
|
249
|
-
- 分块和重叠是经验性的。正确的平衡(分块大小、重叠比例、检索块数量)需要反复迭代和测试。
|
|
250
|
-
- 当文档发生变化时,嵌入不会自动重新生成。我们的系统仅在文件的分块数量与存储的不同情况下才会重置该文件的嵌入。
|
|
251
|
-
- 在这个原型中,嵌入向量存储在 JSON 中。这适用于演示,但会污染 Git。在生产环境中,使用数据库或专用向量存储更为合适。
|
|
252
|
-
|
|
253
|
-
## 这不仅仅是文档的重要性
|
|
254
|
-
|
|
255
|
-
有趣的部分不仅仅是聊天机器人,而是**反馈循环**。
|
|
256
|
-
|
|
257
|
-
通过 RAG,你不仅仅是在回答问题:
|
|
258
|
-
|
|
259
|
-
- 你了解用户的困惑所在。
|
|
260
|
-
- 你发现他们期望的功能。
|
|
261
|
-
- 你根据真实查询调整产品策略。
|
|
262
|
-
|
|
263
|
-
**示例:**
|
|
264
|
-
|
|
265
|
-
想象一下发布一个新功能后,立即看到:
|
|
266
|
-
|
|
267
|
-
- 50% 的问题都集中在同一个不清晰的设置步骤上
|
|
268
|
-
- 用户反复请求你尚未支持的集成
|
|
269
|
-
- 人们搜索的词汇揭示了一个新的使用场景
|
|
270
|
-
|
|
271
|
-
这就是直接来自用户的**产品智能**。
|
|
272
|
-
|
|
273
82
|
## 结论
|
|
274
83
|
|
|
275
84
|
RAG 是使大型语言模型(LLM)实用的最简单且最强大的方法之一。通过结合**检索 + 生成**,您可以将静态文档转变为**智能助手**,同时获得持续的产品洞察流。
|
|
@@ -148,6 +148,12 @@ author: aymericzip
|
|
|
148
148
|
|
|
149
149
|
---
|
|
150
150
|
|
|
151
|
+
## GitHub STARs
|
|
152
|
+
|
|
153
|
+
GitHub stars 是项目受欢迎程度、社区信任度和长期相关性的强有力指标。虽然不是技术质量的直接衡量标准,但它们反映了有多少开发者认为该项目有用、关注其进展,以及可能会采用它。对于评估项目价值,stars 有助于比较不同替代方案的吸引力,并提供对生态系统增长的洞察。
|
|
154
|
+
|
|
155
|
+
[](https://www.star-history.com/#formatjs/formatjs&i18next/react-i18next&aymericzip/intlayer)
|
|
156
|
+
|
|
151
157
|
## 结论
|
|
152
158
|
|
|
153
159
|
所有三个库都能有效地实现 React 的本地化。区别在于你需要构建多少**基础设施**,才能达到一个**安全、可扩展**的环境:
|
|
@@ -260,6 +260,14 @@ const { greeting } = useIntlayer("component-example");
|
|
|
260
260
|
|
|
261
261
|
---
|
|
262
262
|
|
|
263
|
+
## GitHub Stars
|
|
264
|
+
|
|
265
|
+
GitHub stars 是项目受欢迎程度、社区信任度和长期相关性的强有力指标。虽然不是技术质量的直接衡量标准,但它们反映了有多少开发者认为该项目有用、关注其进展,以及可能会采用它。对于估计项目的价值,stars 有助于在各种方案之间进行性能对比,并提供生态系统增长的见解。
|
|
266
|
+
|
|
267
|
+
[](https://www.star-history.com/#intlify/vue-i18n&aymericzip/intlayer)
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
263
271
|
## 结论
|
|
264
272
|
|
|
265
273
|
**vue-i18n** 和 **Intlayer** 都能很好地本地化 Vue 应用。区别在于你需要自己构建多少内容,才能实现一个健壮且可扩展的方案:
|
package/dist/cjs/authors.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authors.cjs","names":["authorsData"],"sources":["../../src/authors.ts"],"sourcesContent":["import authorsData from '../authors.json' with { type: 'json' };\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport type AuthorProfile = {\n /** Full display name */\n name: string;\n /** Schema.org Person @id URI (optional) */\n id?: string;\n /** Professional title */\n title?: string;\n /** Canonical URL for this person */\n url?: string;\n /** Profile image URL */\n image?: string;\n /** List of equivalent profile URLs (LinkedIn, Twitter/X, GitHub…) */\n socialMedias?: string[];\n /** Areas of expertise */\n knowsAbout?: string[];\n /** GitHub username/handle */\n github?: string;\n};\n\nexport type Authors = Record<string, AuthorProfile>;\n\n// ─── Loader (lazy singleton) ──────────────────────────────────────────────────\n\nconst loadAuthors = (): Authors => authorsData as Authors;\n\n// ─── Public API ───────────────────────────────────────────────────────────────\n\n/**\n * Resolve a full author profile by GitHub handle.\n * Returns `undefined` if the handle is not found in `authors.json`.\n */\nexport const getAuthor = (github: string): AuthorProfile | undefined => {\n const profile = loadAuthors()[github];\n if (!profile) return undefined;\n return {\n ...profile,\n github,\n };\n};\n\nexport { loadAuthors as getAuthors };\n\n/**\n * Build a Schema.org Person node suitable for JSON-LD.\n * Undefined fields are omitted automatically by JSON.stringify.\n */\nexport const buildAuthorJsonLd = (\n profile?: AuthorProfile,\n fallbackName = 'Aymeric Pineau',\n fallbackUrl?: string\n) => ({\n '@type': 'Person' as const,\n '@id': profile?.id,\n name: profile?.name ?? fallbackName,\n url: profile?.url ?? fallbackUrl,\n jobTitle: profile?.title,\n image: profile?.image,\n sameAs: profile?.socialMedias?.length ? profile.socialMedias : undefined,\n knowsAbout: profile?.knowsAbout?.length ? profile.knowsAbout : undefined,\n});\n"],"mappings":";;;;AA2BA,MAAM,oBAA6BA;;;;;AAQnC,MAAa,aAAa,WAA8C;CACtE,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"authors.cjs","names":["authorsData"],"sources":["../../src/authors.ts"],"sourcesContent":["import authorsData from '../authors.json' with { type: 'json' };\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport type AuthorProfile = {\n /** Full display name */\n name: string;\n /** Schema.org Person @id URI (optional) */\n id?: string;\n /** Professional title */\n title?: string;\n /** Canonical URL for this person */\n url?: string;\n /** Profile image URL */\n image?: string;\n /** List of equivalent profile URLs (LinkedIn, Twitter/X, GitHub…) */\n socialMedias?: string[];\n /** Areas of expertise */\n knowsAbout?: string[];\n /** GitHub username/handle */\n github?: string;\n};\n\nexport type Authors = Record<string, AuthorProfile>;\n\n// ─── Loader (lazy singleton) ──────────────────────────────────────────────────\n\nconst loadAuthors = (): Authors => authorsData as Authors;\n\n// ─── Public API ───────────────────────────────────────────────────────────────\n\n/**\n * Resolve a full author profile by GitHub handle.\n * Returns `undefined` if the handle is not found in `authors.json`.\n */\nexport const getAuthor = (github: string): AuthorProfile | undefined => {\n const profile = loadAuthors()[github];\n if (!profile) return undefined;\n return {\n ...profile,\n github,\n };\n};\n\nexport { loadAuthors as getAuthors };\n\n/**\n * Build a Schema.org Person node suitable for JSON-LD.\n * Undefined fields are omitted automatically by JSON.stringify.\n */\nexport const buildAuthorJsonLd = (\n profile?: AuthorProfile,\n fallbackName = 'Aymeric Pineau',\n fallbackUrl?: string\n) => ({\n '@type': 'Person' as const,\n '@id': profile?.id,\n name: profile?.name ?? fallbackName,\n url: profile?.url ?? fallbackUrl,\n jobTitle: profile?.title,\n image: profile?.image,\n sameAs: profile?.socialMedias?.length ? profile.socialMedias : undefined,\n knowsAbout: profile?.knowsAbout?.length ? profile.knowsAbout : undefined,\n});\n"],"mappings":";;;;AA2BA,MAAM,oBAA6BA;;;;;AAQnC,MAAa,aAAa,WAA8C;CACtE,MAAM,UAAU,YAAY,CAAC,CAAC;CAC9B,IAAI,CAAC,SAAS,OAAO;CACrB,OAAO;EACL,GAAG;EACH;CACF;AACF;;;;;AAQA,MAAa,qBACX,SACA,eAAe,kBACf,iBACI;CACJ,SAAS;CACT,OAAO,SAAS;CAChB,MAAM,SAAS,QAAQ;CACvB,KAAK,SAAS,OAAO;CACrB,UAAU,SAAS;CACnB,OAAO,SAAS;CAChB,QAAQ,SAAS,cAAc,SAAS,QAAQ,eAAe;CAC/D,YAAY,SAAS,YAAY,SAAS,QAAQ,aAAa;AACjE"}
|
package/dist/cjs/blog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog.cjs","names":["getKeys","blogEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/blog.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { blogEntry } from './generated/blog.entry';\n\nexport type BlogKey = keyof typeof blogEntry;\nexport type Blogs = Record<BlogKey, Record<LocalesValues, Promise<string>>>;\nexport type BlogMetadata = FileMetadata;\n\nexport const getBlogsKeys = (): (keyof typeof blogEntry)[] =>\n getKeys(blogEntry);\n\nexport const getBlogs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, string>> => await getFiles(blogEntry, locale);\n\nexport const getBlog = async <L extends LocalesValues = DeclaredLocales>(\n docName: BlogKey,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(blogEntry, docName, locale);\n\nexport const getBlogMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, FileMetadata>> =>\n await getFileMetadataRecord(blogEntry, locale);\n\nexport const getBlogMetadata = async <\n D extends BlogKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(blogEntry, docName, locale);\n\nexport const getBlogMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(blogEntry, slugs, locale, strict);\n\nexport const getBlogBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(blogEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,qBACXA,uBAAQC,
|
|
1
|
+
{"version":3,"file":"blog.cjs","names":["getKeys","blogEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/blog.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { blogEntry } from './generated/blog.entry';\n\nexport type BlogKey = keyof typeof blogEntry;\nexport type Blogs = Record<BlogKey, Record<LocalesValues, Promise<string>>>;\nexport type BlogMetadata = FileMetadata;\n\nexport const getBlogsKeys = (): (keyof typeof blogEntry)[] =>\n getKeys(blogEntry);\n\nexport const getBlogs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, string>> => await getFiles(blogEntry, locale);\n\nexport const getBlog = async <L extends LocalesValues = DeclaredLocales>(\n docName: BlogKey,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(blogEntry, docName, locale);\n\nexport const getBlogMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, FileMetadata>> =>\n await getFileMetadataRecord(blogEntry, locale);\n\nexport const getBlogMetadata = async <\n D extends BlogKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(blogEntry, docName, locale);\n\nexport const getBlogMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(blogEntry, slugs, locale, strict);\n\nexport const getBlogBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(blogEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,qBACXA,uBAAQC,sCAAS;AAEnB,MAAa,WAAW,OACtB,SAAYC,iCACyB,MAAMC,wBAASF,wCAAW,MAAM;AAEvE,MAAa,UAAU,OACrB,SACA,SAAYC,iCACQ,MAAME,uBAAQH,wCAAW,SAAS,MAAM;AAE9D,MAAa,wBAAwB,OAGnC,SAAYC,iCAEZ,MAAMG,qCAAsBJ,wCAAW,MAAM;AAE/C,MAAa,kBAAkB,OAI7B,SACA,SAAYC,iCACc,MAAMI,+BAAgBL,wCAAW,SAAS,MAAM;AAE5E,MAAa,wBAAwB,OAGnC,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMK,qCAAsBN,wCAAW,OAAO,QAAQ,MAAM;AAE9D,MAAa,gBAAgB,OAC3B,OACA,SAAYC,8BACZ,SAAS,UACa,MAAMM,6BAAcP,wCAAW,OAAO,QAAQ,MAAM"}
|
package/dist/cjs/common.cjs
CHANGED
|
@@ -45,7 +45,8 @@ const formatMetadata = (docKey, file, locale = defaultLocale) => {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
const getFileMetadata = async (files, docKey, locale = defaultLocale) => {
|
|
48
|
-
|
|
48
|
+
const file = await getFile(files, docKey, locale);
|
|
49
|
+
return formatMetadata(docKey, file, locale);
|
|
49
50
|
};
|
|
50
51
|
const getFileMetadataRecord = async (files, locale = defaultLocale) => {
|
|
51
52
|
const filesEntries = (await Promise.allSettled(Object.entries(files).map(async ([key]) => {
|
package/dist/cjs/common.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.cjs","names":["Locales"],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey]?.[defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n // Normalise author: accept both a plain string handle (new format)\n // and a legacy object `{ github: '...' }` — always reduce to a plain string.\n const rawAuthor = metadata.author as\n | string\n | { name?: string; github?: string }\n | undefined;\n const author: string | undefined =\n typeof rawAuthor === 'string'\n ? rawAuthor || undefined\n : rawAuthor?.github || undefined;\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n author,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n};\n\nexport const getFileMetadataRecord = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<keyof F, FileMetadata>> => {\n const results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\n};\n\nexport const getFileMetadataBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray: FileMetadata[] = Object.values(filesMetadata).filter(\n (fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n if (locale !== defaultLocale) {\n const localizedFileMetadata = await Promise.all(\n fileMetadataArray.map(\n async (fileMetadata) =>\n await getFileMetadata(files, fileMetadata.docKey, locale)\n )\n );\n\n return localizedFileMetadata;\n }\n\n return fileMetadataArray;\n};\n\nexport const getFileBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray = Object.values(filesMetadata).filter((fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n const fileList = await Promise.all(\n fileMetadataArray.map(async (fileMetadata) => {\n const file = await getFile(files, fileMetadata.docKey, locale);\n return file;\n })\n );\n\n return fileList;\n};\n"],"mappings":";;;;;;;;;AAMA,MAAa,gBAAgBA,wBAAQ;AAErC,MAAa,oBACX;AACF,MAAa,aAAa;AAE1B,MAAa,WAA0C,QACrD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"common.cjs","names":["Locales"],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey]?.[defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n // Normalise author: accept both a plain string handle (new format)\n // and a legacy object `{ github: '...' }` — always reduce to a plain string.\n const rawAuthor = metadata.author as\n | string\n | { name?: string; github?: string }\n | undefined;\n const author: string | undefined =\n typeof rawAuthor === 'string'\n ? rawAuthor || undefined\n : rawAuthor?.github || undefined;\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n author,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n};\n\nexport const getFileMetadataRecord = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<keyof F, FileMetadata>> => {\n const results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\n};\n\nexport const getFileMetadataBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray: FileMetadata[] = Object.values(filesMetadata).filter(\n (fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n if (locale !== defaultLocale) {\n const localizedFileMetadata = await Promise.all(\n fileMetadataArray.map(\n async (fileMetadata) =>\n await getFileMetadata(files, fileMetadata.docKey, locale)\n )\n );\n\n return localizedFileMetadata;\n }\n\n return fileMetadataArray;\n};\n\nexport const getFileBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray = Object.values(filesMetadata).filter((fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n const fileList = await Promise.all(\n fileMetadataArray.map(async (fileMetadata) => {\n const file = await getFile(files, fileMetadata.docKey, locale);\n return file;\n })\n );\n\n return fileList;\n};\n"],"mappings":";;;;;;;;;AAMA,MAAa,gBAAgBA,wBAAQ;AAErC,MAAa,oBACX;AACF,MAAa,aAAa;AAE1B,MAAa,WAA0C,QACrD,OAAO,KAAK,GAAG;AAEjB,MAAa,WAAW,OAGtB,OACA,OAAsB,kBACc;CACpC,MAAM,eAAe,MAAM,QAAQ,IACjC,OAAO,QAAQ,KAAK,CAAC,CAClB,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK,MAAM,KAAsB,CAAC,CAAC,CAC1D,IAAI,OAAO,CAAC,KAAK,WAAW,CAAC,KAAK,MAAM,KAAK,CAAC,CACnD;CAEA,OADoB,OAAO,YAAY,YACtB;AACnB;AAEA,MAAa,UAAU,OAGrB,OACA,QACA,SAAwB,kBACJ;CAGpB,IAAI,CAFe,MAAM,SAGvB,MAAM,IAAI,MAAM,QAAQ,OAAiB,WAAW;CAGtD,MAAM,OAAO,MAAM,MAAM,OAAO,GAAG;CAEnC,IAAI,CAAC,MAAM;EACT,MAAM,cAAc,MAAM,MAAM,OAAO,GAAG;EAE1C,IAAI,CAAC,aACH,MAAM,IAAI,MAAM,QAAQ,OAAiB,WAAW;EAGtD,OAAO;CACT;CAEA,OAAO;AACT;AAwBA,MAAa,kBACX,QACA,MACA,SAAwB,kBACP;CACjB,MAAM,8DAA+B,IAAI;CAEzC,MAAM,SAAS,SAAS,SAAS,CAAC,EAAC,CAAE,IAAI,MAAM;CAC/C,MAAM,YAAY,SAAS,YAAY,CAAC,EAAC,CAAE,IAAI,MAAM;CAErD,MAAM,kCAAmB,KAAK,GAAG,KAAK;CAEtC,MAAM,eAAe,OAAO,MAAM,CAAC;CAInC,MAAM,YAAY,SAAS;CAI3B,MAAM,SACJ,OAAO,cAAc,WACjB,aAAa,SACb,WAAW,UAAU;CAE3B,OAAO;EACL,GAAG;EACH;EACA;EACA;EACA;EACA,WAAW,GAAG,oBAAoB,eAAe,QAC/C,QACA,IAAI,OAAO,EACb;EACA,8DAA6B,aAAa,MAAM;EAChD,0EAA0B,YAAY,WAAW,GAAG,MAAM;CAC5D;AACF;AAEA,MAAa,kBAAkB,OAI7B,OACA,QACA,SAAwB,kBACT;CACf,MAAM,OAAO,MAAM,QAAQ,OAAO,QAAQ,MAAM;CAEhD,OAAO,eAAe,QAAkB,MAAM,MAAM;AACtD;AAEA,MAAa,wBAAwB,OAGnC,OACA,SAAwB,kBACmB;CAO3C,MAAM,gBAAe,MANC,QAAQ,WAC5B,OAAO,QAAQ,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,SAAS;EAEzC,OAAO,CAAC,KAAK,MADU,gBAAgB,OAAO,KAAgB,MAAM,CAC/C;CACvB,CAAC,CACH,EAC4B,CACzB,QACE,MACC,EAAE,WAAW,WACjB,CAAC,CACA,KAAK,MAAM,EAAE,KAAK;CAErB,OADoB,OAAO,YAAY,YACtB;AACnB;AAEA,MAAa,wBAAwB,OAGnC,OACA,OACA,SAAwB,eACxB,SAAS,UACN;CACH,MAAM,aAAa,MAAM,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK;CACxD,MAAM,gBAAgB,MAAM,sBAC1B,OACA,aACF;CAEA,IAAI,oBAAoC,OAAO,OAAO,aAAa,CAAC,CAAC,QAClE,iBACC,WAAW,OAAO,SAAS,aAAa,OAAO,SAAS,IAAI,CAAC,CACjE;CAEA,IAAI,QACF,oBAAoB,kBAAkB,QACnC,iBAAiB,aAAa,MAAM,WAAW,WAAW,MAC7D;CAGF,IAAI,WAAW,eAQb,OAAO,MAP6B,QAAQ,IAC1C,kBAAkB,IAChB,OAAO,iBACL,MAAM,gBAAgB,OAAO,aAAa,QAAQ,MAAM,CAC5D,CACF;CAKF,OAAO;AACT;AAEA,MAAa,gBAAgB,OAG3B,OACA,OACA,SAAwB,eACxB,SAAS,UACN;CACH,MAAM,aAAa,MAAM,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK;CACxD,MAAM,gBAAgB,MAAM,sBAC1B,OACA,aACF;CAEA,IAAI,oBAAoB,OAAO,OAAO,aAAa,CAAC,CAAC,QAAQ,iBAC3D,WAAW,OAAO,SAAS,aAAa,OAAO,SAAS,IAAI,CAAC,CAC/D;CAEA,IAAI,QACF,oBAAoB,kBAAkB,QACnC,iBAAiB,aAAa,MAAM,WAAW,WAAW,MAC7D;CAUF,OAAO,MAPgB,QAAQ,IAC7B,kBAAkB,IAAI,OAAO,iBAAiB;EAE5C,OAAO,MADY,QAAQ,OAAO,aAAa,QAAQ,MAAM;CAE/D,CAAC,CACH;AAGF"}
|
package/dist/cjs/doc.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc.cjs","names":["getKeys","docsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/doc.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { docsEntry } from './generated/docs.entry';\n\nexport type DocKey = keyof typeof docsEntry;\nexport type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;\nexport type DocMetadata = FileMetadata;\n\nexport const getDocsKeys = (): (keyof typeof docsEntry)[] => getKeys(docsEntry);\n\nexport const getDocs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, string>> => await getFiles(docsEntry, locale);\n\nexport const getDoc = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof docsEntry,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(docsEntry, docName, locale);\n\nexport const getDocMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, FileMetadata>> =>\n await getFileMetadataRecord(docsEntry, locale);\n\nexport const getDocMetadata = async <\n D extends DocKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(docsEntry, docName, locale);\n\nexport const getDocMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(docsEntry, slugs, locale, strict);\n\nexport const getDocBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(docsEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,oBAAgDA,uBAAQC,
|
|
1
|
+
{"version":3,"file":"doc.cjs","names":["getKeys","docsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/doc.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { docsEntry } from './generated/docs.entry';\n\nexport type DocKey = keyof typeof docsEntry;\nexport type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;\nexport type DocMetadata = FileMetadata;\n\nexport const getDocsKeys = (): (keyof typeof docsEntry)[] => getKeys(docsEntry);\n\nexport const getDocs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, string>> => await getFiles(docsEntry, locale);\n\nexport const getDoc = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof docsEntry,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(docsEntry, docName, locale);\n\nexport const getDocMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, FileMetadata>> =>\n await getFileMetadataRecord(docsEntry, locale);\n\nexport const getDocMetadata = async <\n D extends DocKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(docsEntry, docName, locale);\n\nexport const getDocMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(docsEntry, slugs, locale, strict);\n\nexport const getDocBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(docsEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,oBAAgDA,uBAAQC,sCAAS;AAE9E,MAAa,UAAU,OACrB,SAAYC,iCACwB,MAAMC,wBAASF,wCAAW,MAAM;AAEtE,MAAa,SAAS,OACpB,SACA,SAAYC,iCACQ,MAAME,uBAAQH,wCAAW,SAAS,MAAM;AAE9D,MAAa,uBAAuB,OAGlC,SAAYC,iCAEZ,MAAMG,qCAAsBJ,wCAAW,MAAM;AAE/C,MAAa,iBAAiB,OAI5B,SACA,SAAYC,iCACc,MAAMI,+BAAgBL,wCAAW,SAAS,MAAM;AAE5E,MAAa,uBAAuB,OAGlC,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMK,qCAAsBN,wCAAW,OAAO,QAAQ,MAAM;AAE9D,MAAa,eAAe,OAC1B,OACA,SAAYC,8BACZ,SAAS,UACa,MAAMM,6BAAcP,wCAAW,OAAO,QAAQ,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frequentQuestions.cjs","names":["getKeys","frequentQuestionsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/frequentQuestions.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { frequentQuestionsEntry } from './generated/frequentQuestions.entry';\n\nexport type FrequentQuestionKey = keyof typeof frequentQuestionsEntry;\nexport type FrequentQuestions = Record<\n FrequentQuestionKey,\n Record<LocalesValues, Promise<string>>\n>;\nexport type FrequentQuestionMetadata = FileMetadata;\n\nexport const getFrequentQuestionsKeys =\n (): (keyof typeof frequentQuestionsEntry)[] =>\n getKeys(frequentQuestionsEntry);\n\nexport const getFrequentQuestions = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, string>> =>\n getFiles(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestion = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: FrequentQuestionKey,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, FileMetadata>> =>\n getFileMetadataRecord(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestionMetadata = async <\n D extends FrequentQuestionKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> =>\n getFileMetadata(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(frequentQuestionsEntry, slugs, locale, strict);\n\nexport const getFrequentQuestionBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> =>\n await getFileBySlug(frequentQuestionsEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAwBA,MAAa,iCAETA,uBAAQC,
|
|
1
|
+
{"version":3,"file":"frequentQuestions.cjs","names":["getKeys","frequentQuestionsEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/frequentQuestions.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { frequentQuestionsEntry } from './generated/frequentQuestions.entry';\n\nexport type FrequentQuestionKey = keyof typeof frequentQuestionsEntry;\nexport type FrequentQuestions = Record<\n FrequentQuestionKey,\n Record<LocalesValues, Promise<string>>\n>;\nexport type FrequentQuestionMetadata = FileMetadata;\n\nexport const getFrequentQuestionsKeys =\n (): (keyof typeof frequentQuestionsEntry)[] =>\n getKeys(frequentQuestionsEntry);\n\nexport const getFrequentQuestions = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, string>> =>\n getFiles(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestion = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: FrequentQuestionKey,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, FileMetadata>> =>\n getFileMetadataRecord(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestionMetadata = async <\n D extends FrequentQuestionKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> =>\n getFileMetadata(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(frequentQuestionsEntry, slugs, locale, strict);\n\nexport const getFrequentQuestionBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> =>\n await getFileBySlug(frequentQuestionsEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAwBA,MAAa,iCAETA,uBAAQC,gEAAsB;AAElC,MAAa,uBAAuB,OAGlC,SAAYC,iCAEZC,wBAASF,kEAAwB,MAAM;AAEzC,MAAa,sBAAsB,OAGjC,SACA,SAAYC,iCACQE,uBAAQH,kEAAwB,SAAS,MAAM;AAErE,MAAa,oCAAoC,OAG/C,SAAYC,iCAEZG,qCAAsBJ,kEAAwB,MAAM;AAEtD,MAAa,8BAA8B,OAIzC,SACA,SAAYC,iCAEZI,+BAAgBL,kEAAwB,SAAS,MAAM;AAEzD,MAAa,oCAAoC,OAG/C,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMK,qCAAsBN,kEAAwB,OAAO,QAAQ,MAAM;AAE3E,MAAa,4BAA4B,OAGvC,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMM,6BAAcP,kEAAwB,OAAO,QAAQ,MAAM"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
2
|
let node_path = require("node:path");
|
|
4
3
|
let node_fs = require("node:fs");
|
|
5
4
|
let node_fs_promises = require("node:fs/promises");
|