@intlayer/docs 6.1.6 → 7.0.0-canary.1
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/next-i18next_vs_next-intl_vs_intlayer.md +14 -0
- package/blog/en/{intlayer_with_next-i18next.mdx → _intlayer_with_next-i18next.md} +69 -72
- package/blog/en/{intlayer_with_next-intl.mdx → _intlayer_with_next-intl.md} +52 -56
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +14 -0
- package/dist/cjs/_virtual/rolldown_runtime.cjs +25 -0
- package/dist/cjs/blog.cjs +20 -45
- package/dist/cjs/blog.cjs.map +1 -1
- package/dist/cjs/common.cjs +60 -136
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/doc.cjs +20 -45
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/frequentQuestions.cjs +20 -45
- package/dist/cjs/frequentQuestions.cjs.map +1 -1
- package/dist/cjs/generated/blog.entry.cjs +438 -407
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +1407 -1134
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs +286 -254
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/cjs/generated/legal.entry.cjs +58 -78
- package/dist/cjs/generated/legal.entry.cjs.map +1 -1
- package/dist/cjs/index.cjs +33 -29
- package/dist/cjs/legal.cjs +20 -45
- package/dist/cjs/legal.cjs.map +1 -1
- package/dist/esm/blog.mjs +7 -17
- package/dist/esm/blog.mjs.map +1 -1
- package/dist/esm/common.mjs +45 -102
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/doc.mjs +7 -17
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/frequentQuestions.mjs +7 -17
- package/dist/esm/frequentQuestions.mjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs +433 -382
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +1402 -1109
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs +281 -229
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/esm/generated/legal.entry.mjs +53 -53
- package/dist/esm/generated/legal.entry.mjs.map +1 -1
- package/dist/esm/index.mjs +6 -5
- package/dist/esm/legal.mjs +7 -17
- package/dist/esm/legal.mjs.map +1 -1
- package/dist/types/blog.d.ts +17 -12
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/common.d.ts +30 -25
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/doc.d.ts +17 -12
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/frequentQuestions.d.ts +17 -12
- package/dist/types/frequentQuestions.d.ts.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +28 -24
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +79 -70
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +20 -15
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/dist/types/generated/legal.entry.d.ts +8 -4
- package/dist/types/generated/legal.entry.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/legal.d.ts +17 -12
- package/dist/types/legal.d.ts.map +1 -1
- package/docs/ar/CI_CD.md +4 -6
- package/docs/ar/autoFill.md +10 -8
- package/docs/ar/configuration.md +16 -10
- package/docs/ar/dictionary/content_file.md +7 -7
- package/docs/ar/dictionary/enumeration.md +4 -4
- package/docs/ar/dictionary/file.md +4 -4
- package/docs/ar/dictionary/function_fetching.md +4 -4
- package/docs/ar/dictionary/gender.md +4 -6
- package/docs/ar/dictionary/insertion.md +4 -4
- package/docs/ar/dictionary/translation.md +4 -4
- package/docs/ar/formatters.md +19 -33
- package/docs/ar/how_works_intlayer.md +5 -5
- package/docs/ar/index.md +4 -4
- package/docs/ar/interest_of_intlayer.md +7 -7
- package/docs/ar/intlayer_CMS.md +10 -8
- package/docs/ar/intlayer_cli.md +7 -7
- package/docs/ar/intlayer_visual_editor.md +5 -5
- package/docs/ar/intlayer_with_angular.md +6 -6
- package/docs/ar/intlayer_with_astro.md +6 -8
- package/docs/ar/intlayer_with_create_react_app.md +6 -6
- package/docs/ar/intlayer_with_express.md +6 -6
- package/docs/ar/intlayer_with_lynx+react.md +6 -6
- package/docs/ar/intlayer_with_nestjs.md +6 -8
- package/docs/ar/intlayer_with_nextjs_14.md +2 -2
- package/docs/ar/intlayer_with_nextjs_15.md +7 -6
- package/docs/ar/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ar/intlayer_with_nuxt.md +6 -6
- package/docs/ar/intlayer_with_react_native+expo.md +6 -6
- package/docs/ar/intlayer_with_react_router_v7.md +9 -9
- package/docs/ar/intlayer_with_tanstack.md +6 -8
- package/docs/ar/intlayer_with_vite+preact.md +6 -6
- package/docs/ar/intlayer_with_vite+react.md +7 -7
- package/docs/ar/intlayer_with_vite+solid.md +6 -6
- package/docs/ar/intlayer_with_vite+svelte.md +6 -6
- package/docs/ar/intlayer_with_vite+vue.md +6 -6
- package/docs/ar/introduction.md +4 -4
- package/docs/ar/locale_mapper.md +4 -6
- package/docs/ar/mcp_server.md +13 -9
- package/docs/ar/packages/express-intlayer/t.md +4 -4
- package/docs/ar/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ar/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ar/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ar/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ar/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ar/packages/intlayer/getTranslation.md +4 -4
- package/docs/ar/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ar/packages/next-intlayer/t.md +4 -4
- package/docs/ar/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ar/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ar/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ar/packages/react-intlayer/t.md +4 -4
- package/docs/ar/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ar/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ar/per_locale_file.md +4 -4
- package/docs/ar/roadmap.md +7 -5
- package/docs/ar/testing.md +4 -7
- package/docs/ar/vs_code_extension.md +13 -9
- package/docs/de/CI_CD.md +4 -6
- package/docs/de/autoFill.md +10 -8
- package/docs/de/configuration.md +16 -10
- package/docs/de/dictionary/content_file.md +7 -7
- package/docs/de/dictionary/enumeration.md +4 -4
- package/docs/de/dictionary/file.md +4 -4
- package/docs/de/dictionary/function_fetching.md +4 -4
- package/docs/de/dictionary/gender.md +4 -6
- package/docs/de/dictionary/insertion.md +4 -4
- package/docs/de/dictionary/translation.md +4 -4
- package/docs/de/formatters.md +25 -57
- package/docs/de/how_works_intlayer.md +5 -7
- package/docs/de/index.md +4 -4
- package/docs/de/interest_of_intlayer.md +7 -7
- package/docs/de/intlayer_CMS.md +10 -8
- package/docs/de/intlayer_cli.md +7 -7
- package/docs/de/intlayer_visual_editor.md +5 -6
- package/docs/de/intlayer_with_angular.md +6 -6
- package/docs/de/intlayer_with_astro.md +6 -8
- package/docs/de/intlayer_with_create_react_app.md +2 -2
- package/docs/de/intlayer_with_express.md +6 -6
- package/docs/de/intlayer_with_lynx+react.md +6 -6
- package/docs/de/intlayer_with_nestjs.md +6 -8
- package/docs/de/intlayer_with_nextjs_14.md +2 -2
- package/docs/de/intlayer_with_nextjs_15.md +7 -6
- package/docs/de/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/de/intlayer_with_nuxt.md +6 -6
- package/docs/de/intlayer_with_react_native+expo.md +6 -6
- package/docs/de/intlayer_with_react_router_v7.md +9 -9
- package/docs/de/intlayer_with_tanstack.md +6 -8
- package/docs/de/intlayer_with_vite+preact.md +6 -6
- package/docs/de/intlayer_with_vite+react.md +7 -6
- package/docs/de/intlayer_with_vite+solid.md +6 -6
- package/docs/de/intlayer_with_vite+svelte.md +6 -6
- package/docs/de/intlayer_with_vite+vue.md +6 -6
- package/docs/de/introduction.md +4 -4
- package/docs/de/locale_mapper.md +4 -6
- package/docs/de/mcp_server.md +13 -9
- package/docs/de/packages/express-intlayer/t.md +4 -4
- package/docs/de/packages/intlayer/getConfiguration.md +4 -4
- package/docs/de/packages/intlayer/getEnumeration.md +4 -4
- package/docs/de/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/de/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/de/packages/intlayer/getLocaleName.md +4 -4
- package/docs/de/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/de/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/de/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/de/packages/intlayer/getTranslation.md +4 -4
- package/docs/de/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/de/packages/next-intlayer/t.md +4 -4
- package/docs/de/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/de/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/de/packages/next-intlayer/useLocale.md +4 -4
- package/docs/de/packages/react-intlayer/t.md +4 -4
- package/docs/de/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/de/packages/react-intlayer/useI18n.md +4 -4
- package/docs/de/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/de/packages/react-intlayer/useLocale.md +4 -4
- package/docs/de/per_locale_file.md +4 -4
- package/docs/de/roadmap.md +7 -5
- package/docs/de/testing.md +4 -7
- package/docs/de/vs_code_extension.md +13 -9
- package/docs/en/CI_CD.md +4 -6
- package/docs/en/autoFill.md +75 -28
- package/docs/en/configuration.md +214 -56
- package/docs/en/dictionary/condition.md +4 -6
- package/docs/en/dictionary/content_file.md +25 -17
- package/docs/en/dictionary/enumeration.md +4 -6
- package/docs/en/dictionary/file.md +16 -8
- package/docs/en/dictionary/function_fetching.md +4 -6
- package/docs/en/dictionary/gender.md +4 -6
- package/docs/en/dictionary/insertion.md +4 -6
- package/docs/en/dictionary/markdown.md +4 -6
- package/docs/en/dictionary/nesting.md +4 -6
- package/docs/en/dictionary/translation.md +4 -6
- package/docs/en/formatters.md +23 -50
- package/docs/en/how_works_intlayer.md +5 -7
- package/docs/en/index.md +4 -6
- package/docs/en/interest_of_intlayer.md +7 -7
- package/docs/en/intlayer_CMS.md +12 -12
- package/docs/en/intlayer_cli.md +96 -13
- package/docs/en/intlayer_visual_editor.md +14 -10
- package/docs/en/intlayer_with_angular.md +6 -8
- package/docs/en/intlayer_with_astro.md +6 -8
- package/docs/en/intlayer_with_create_react_app.md +6 -8
- package/docs/en/intlayer_with_express.md +6 -8
- package/docs/en/intlayer_with_lynx+react.md +6 -8
- package/docs/en/intlayer_with_nestjs.md +6 -8
- package/docs/en/intlayer_with_next-i18next.md +627 -0
- package/docs/en/intlayer_with_next-intl.md +446 -0
- package/docs/en/intlayer_with_nextjs_14.md +53 -27
- package/docs/en/intlayer_with_nextjs_15.md +68 -31
- package/docs/en/intlayer_with_nextjs_16.md +1586 -0
- package/docs/en/intlayer_with_nextjs_page_router.md +18 -10
- package/docs/en/intlayer_with_nuxt.md +6 -8
- package/docs/en/intlayer_with_react_native+expo.md +9 -9
- package/docs/en/intlayer_with_react_router_v7.md +9 -9
- package/docs/en/intlayer_with_tanstack.md +9 -9
- package/docs/en/intlayer_with_vite+preact.md +6 -8
- package/docs/en/intlayer_with_vite+react.md +56 -305
- package/docs/en/intlayer_with_vite+solid.md +6 -8
- package/docs/en/intlayer_with_vite+svelte.md +6 -8
- package/docs/en/intlayer_with_vite+vue.md +6 -8
- package/docs/en/introduction.md +4 -6
- package/docs/en/locale_mapper.md +4 -6
- package/docs/en/mcp_server.md +13 -9
- package/docs/en/packages/express-intlayer/t.md +4 -6
- package/docs/en/packages/intlayer/getConfiguration.md +4 -6
- package/docs/en/packages/intlayer/getEnumeration.md +4 -6
- package/docs/en/packages/intlayer/getHTMLTextDir.md +4 -6
- package/docs/en/packages/intlayer/getLocaleLang.md +4 -6
- package/docs/en/packages/intlayer/getLocaleName.md +4 -6
- package/docs/en/packages/intlayer/getLocalizedUrl.md +4 -6
- package/docs/en/packages/intlayer/getMultilingualUrls.md +4 -6
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +4 -6
- package/docs/en/packages/intlayer/getTranslation.md +4 -6
- package/docs/en/packages/intlayer/getTranslationContent.md +4 -6
- package/docs/en/packages/next-intlayer/t.md +4 -6
- package/docs/en/packages/next-intlayer/useDictionary.md +4 -6
- package/docs/en/packages/next-intlayer/useIntlayer.md +4 -6
- package/docs/en/packages/next-intlayer/useLocale.md +41 -8
- package/docs/en/packages/react-intlayer/t.md +4 -6
- package/docs/en/packages/react-intlayer/useDictionary.md +4 -6
- package/docs/en/packages/react-intlayer/useI18n.md +4 -4
- package/docs/en/packages/react-intlayer/useIntlayer.md +4 -6
- package/docs/en/packages/react-intlayer/useLocale.md +4 -6
- package/docs/en/per_locale_file.md +4 -6
- package/docs/en/plugins/sync-json.md +244 -0
- package/docs/en/releases/v6.md +6 -0
- package/docs/en/releases/v7.md +486 -0
- package/docs/en/roadmap.md +10 -8
- package/docs/en/testing.md +13 -11
- package/docs/en/vs_code_extension.md +13 -9
- package/docs/en-GB/CI_CD.md +4 -6
- package/docs/en-GB/autoFill.md +10 -8
- package/docs/en-GB/configuration.md +16 -10
- package/docs/en-GB/dictionary/condition.md +4 -4
- package/docs/en-GB/dictionary/content_file.md +7 -7
- package/docs/en-GB/dictionary/enumeration.md +4 -4
- package/docs/en-GB/dictionary/file.md +4 -4
- package/docs/en-GB/dictionary/gender.md +4 -6
- package/docs/en-GB/dictionary/insertion.md +4 -4
- package/docs/en-GB/dictionary/markdown.md +4 -4
- package/docs/en-GB/dictionary/nesting.md +4 -4
- package/docs/en-GB/dictionary/translation.md +4 -4
- package/docs/en-GB/formatters.md +19 -33
- package/docs/en-GB/how_works_intlayer.md +5 -5
- package/docs/en-GB/index.md +4 -4
- package/docs/en-GB/interest_of_intlayer.md +7 -7
- package/docs/en-GB/intlayer_CMS.md +15 -13
- package/docs/en-GB/intlayer_cli.md +7 -7
- package/docs/en-GB/intlayer_visual_editor.md +5 -6
- package/docs/en-GB/intlayer_with_angular.md +5 -5
- package/docs/en-GB/intlayer_with_astro.md +5 -7
- package/docs/en-GB/intlayer_with_create_react_app.md +6 -6
- package/docs/en-GB/intlayer_with_express.md +6 -6
- package/docs/en-GB/intlayer_with_lynx+react.md +5 -5
- package/docs/en-GB/intlayer_with_nestjs.md +5 -7
- package/docs/en-GB/intlayer_with_nextjs_14.md +6 -6
- package/docs/en-GB/intlayer_with_nextjs_15.md +6 -5
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -5
- package/docs/en-GB/intlayer_with_nuxt.md +5 -5
- package/docs/en-GB/intlayer_with_react_native+expo.md +5 -5
- package/docs/en-GB/intlayer_with_react_router_v7.md +8 -8
- package/docs/en-GB/intlayer_with_tanstack.md +8 -8
- package/docs/en-GB/intlayer_with_vite+preact.md +5 -5
- package/docs/en-GB/intlayer_with_vite+react.md +6 -5
- package/docs/en-GB/intlayer_with_vite+solid.md +5 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +5 -5
- package/docs/en-GB/intlayer_with_vite+vue.md +5 -5
- package/docs/en-GB/introduction.md +4 -4
- package/docs/en-GB/locale_mapper.md +4 -6
- package/docs/en-GB/mcp_server.md +13 -9
- package/docs/en-GB/packages/express-intlayer/t.md +4 -4
- package/docs/en-GB/packages/intlayer/getConfiguration.md +4 -4
- package/docs/en-GB/packages/intlayer/getEnumeration.md +4 -4
- package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocaleName.md +4 -4
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/en-GB/packages/intlayer/getTranslation.md +4 -4
- package/docs/en-GB/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/en-GB/packages/next-intlayer/t.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/en-GB/packages/next-intlayer/useLocale.md +4 -4
- package/docs/en-GB/packages/react-intlayer/t.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useI18n.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/en-GB/packages/react-intlayer/useLocale.md +4 -4
- package/docs/en-GB/per_locale_file.md +4 -4
- package/docs/en-GB/roadmap.md +7 -5
- package/docs/en-GB/testing.md +4 -7
- package/docs/en-GB/vs_code_extension.md +13 -9
- package/docs/es/CI_CD.md +4 -6
- package/docs/es/autoFill.md +10 -8
- package/docs/es/configuration.md +16 -10
- package/docs/es/dictionary/content_file.md +7 -7
- package/docs/es/dictionary/enumeration.md +4 -4
- package/docs/es/dictionary/file.md +4 -4
- package/docs/es/dictionary/function_fetching.md +4 -4
- package/docs/es/dictionary/gender.md +4 -6
- package/docs/es/dictionary/insertion.md +4 -4
- package/docs/es/dictionary/translation.md +4 -4
- package/docs/es/formatters.md +25 -57
- package/docs/es/how_works_intlayer.md +5 -5
- package/docs/es/index.md +4 -4
- package/docs/es/interest_of_intlayer.md +7 -7
- package/docs/es/intlayer_CMS.md +10 -8
- package/docs/es/intlayer_cli.md +7 -7
- package/docs/es/intlayer_visual_editor.md +5 -7
- package/docs/es/intlayer_with_angular.md +6 -6
- package/docs/es/intlayer_with_astro.md +6 -8
- package/docs/es/intlayer_with_create_react_app.md +6 -6
- package/docs/es/intlayer_with_express.md +6 -6
- package/docs/es/intlayer_with_lynx+react.md +6 -6
- package/docs/es/intlayer_with_nestjs.md +6 -8
- package/docs/es/intlayer_with_nextjs_14.md +6 -6
- package/docs/es/intlayer_with_nextjs_15.md +7 -6
- package/docs/es/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/es/intlayer_with_nuxt.md +6 -6
- package/docs/es/intlayer_with_react_native+expo.md +6 -6
- package/docs/es/intlayer_with_react_router_v7.md +9 -9
- package/docs/es/intlayer_with_tanstack.md +6 -8
- package/docs/es/intlayer_with_vite+preact.md +6 -6
- package/docs/es/intlayer_with_vite+react.md +7 -6
- package/docs/es/intlayer_with_vite+solid.md +6 -6
- package/docs/es/intlayer_with_vite+svelte.md +6 -6
- package/docs/es/intlayer_with_vite+vue.md +6 -6
- package/docs/es/introduction.md +4 -4
- package/docs/es/locale_mapper.md +4 -6
- package/docs/es/mcp_server.md +13 -9
- package/docs/es/packages/express-intlayer/t.md +4 -4
- package/docs/es/packages/intlayer/getConfiguration.md +4 -4
- package/docs/es/packages/intlayer/getEnumeration.md +4 -4
- package/docs/es/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/es/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/es/packages/intlayer/getLocaleName.md +4 -4
- package/docs/es/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/es/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/es/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/es/packages/intlayer/getTranslation.md +4 -4
- package/docs/es/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/es/packages/next-intlayer/index.md +4 -4
- package/docs/es/packages/next-intlayer/t.md +4 -4
- package/docs/es/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/es/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/es/packages/next-intlayer/useLocale.md +4 -4
- package/docs/es/packages/react-intlayer/index.md +4 -4
- package/docs/es/packages/react-intlayer/t.md +4 -4
- package/docs/es/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/es/packages/react-intlayer/useI18n.md +4 -4
- package/docs/es/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/es/packages/react-intlayer/useLocale.md +4 -4
- package/docs/es/per_locale_file.md +4 -4
- package/docs/es/roadmap.md +7 -5
- package/docs/es/testing.md +4 -7
- package/docs/es/vs_code_extension.md +13 -9
- package/docs/fr/CI_CD.md +4 -4
- package/docs/fr/autoFill.md +10 -8
- package/docs/fr/configuration.md +19 -22
- package/docs/fr/dictionary/content_file.md +7 -7
- package/docs/fr/dictionary/enumeration.md +4 -4
- package/docs/fr/dictionary/file.md +4 -4
- package/docs/fr/dictionary/function_fetching.md +4 -4
- package/docs/fr/dictionary/gender.md +4 -6
- package/docs/fr/dictionary/insertion.md +4 -4
- package/docs/fr/dictionary/translation.md +4 -4
- package/docs/fr/formatters.md +25 -57
- package/docs/fr/how_works_intlayer.md +5 -5
- package/docs/fr/index.md +4 -4
- package/docs/fr/interest_of_intlayer.md +7 -7
- package/docs/fr/intlayer_CMS.md +10 -8
- package/docs/fr/intlayer_cli.md +7 -7
- package/docs/fr/intlayer_visual_editor.md +5 -6
- package/docs/fr/intlayer_with_angular.md +6 -6
- package/docs/fr/intlayer_with_astro.md +6 -8
- package/docs/fr/intlayer_with_create_react_app.md +6 -6
- package/docs/fr/intlayer_with_express.md +6 -6
- package/docs/fr/intlayer_with_lynx+react.md +6 -6
- package/docs/fr/intlayer_with_nestjs.md +6 -8
- package/docs/fr/intlayer_with_nextjs_14.md +2 -2
- package/docs/fr/intlayer_with_nextjs_15.md +7 -6
- package/docs/fr/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/fr/intlayer_with_nuxt.md +6 -6
- package/docs/fr/intlayer_with_react_native+expo.md +6 -6
- package/docs/fr/intlayer_with_react_router_v7.md +9 -9
- package/docs/fr/intlayer_with_tanstack.md +6 -8
- package/docs/fr/intlayer_with_vite+preact.md +6 -6
- package/docs/fr/intlayer_with_vite+react.md +6 -6
- package/docs/fr/intlayer_with_vite+solid.md +6 -6
- package/docs/fr/intlayer_with_vite+svelte.md +6 -6
- package/docs/fr/intlayer_with_vite+vue.md +6 -6
- package/docs/fr/introduction.md +4 -4
- package/docs/fr/locale_mapper.md +4 -6
- package/docs/fr/mcp_server.md +13 -9
- package/docs/fr/packages/express-intlayer/t.md +4 -4
- package/docs/fr/packages/intlayer/getConfiguration.md +4 -4
- package/docs/fr/packages/intlayer/getEnumeration.md +4 -4
- package/docs/fr/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/fr/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/fr/packages/intlayer/getLocaleName.md +4 -4
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/fr/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/fr/packages/intlayer/getTranslation.md +4 -4
- package/docs/fr/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/fr/packages/next-intlayer/t.md +4 -4
- package/docs/fr/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/fr/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/fr/packages/next-intlayer/useLocale.md +4 -4
- package/docs/fr/packages/react-intlayer/index.md +4 -4
- package/docs/fr/packages/react-intlayer/t.md +4 -4
- package/docs/fr/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/fr/packages/react-intlayer/useI18n.md +4 -4
- package/docs/fr/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/fr/packages/react-intlayer/useLocale.md +4 -4
- package/docs/fr/per_locale_file.md +4 -4
- package/docs/fr/roadmap.md +7 -5
- package/docs/fr/testing.md +4 -7
- package/docs/fr/vs_code_extension.md +13 -9
- package/docs/hi/CI_CD.md +4 -6
- package/docs/hi/autoFill.md +10 -8
- package/docs/hi/configuration.md +16 -10
- package/docs/hi/dictionary/content_file.md +7 -7
- package/docs/hi/dictionary/enumeration.md +4 -4
- package/docs/hi/dictionary/file.md +4 -4
- package/docs/hi/dictionary/function_fetching.md +4 -4
- package/docs/hi/dictionary/gender.md +4 -6
- package/docs/hi/dictionary/insertion.md +4 -4
- package/docs/hi/dictionary/translation.md +4 -4
- package/docs/hi/formatters.md +19 -33
- package/docs/hi/how_works_intlayer.md +5 -5
- package/docs/hi/index.md +4 -4
- package/docs/hi/interest_of_intlayer.md +7 -7
- package/docs/hi/intlayer_CMS.md +10 -8
- package/docs/hi/intlayer_cli.md +7 -7
- package/docs/hi/intlayer_visual_editor.md +5 -6
- package/docs/hi/intlayer_with_angular.md +6 -6
- package/docs/hi/intlayer_with_astro.md +6 -8
- package/docs/hi/intlayer_with_create_react_app.md +2 -2
- package/docs/hi/intlayer_with_express.md +6 -6
- package/docs/hi/intlayer_with_lynx+react.md +6 -6
- package/docs/hi/intlayer_with_nestjs.md +6 -8
- package/docs/hi/intlayer_with_nextjs_14.md +2 -2
- package/docs/hi/intlayer_with_nextjs_15.md +7 -6
- package/docs/hi/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/hi/intlayer_with_nuxt.md +6 -6
- package/docs/hi/intlayer_with_react_native+expo.md +6 -6
- package/docs/hi/intlayer_with_react_router_v7.md +9 -9
- package/docs/hi/intlayer_with_tanstack.md +9 -9
- package/docs/hi/intlayer_with_vite+preact.md +6 -6
- package/docs/hi/intlayer_with_vite+react.md +7 -6
- package/docs/hi/intlayer_with_vite+solid.md +6 -6
- package/docs/hi/intlayer_with_vite+svelte.md +6 -6
- package/docs/hi/intlayer_with_vite+vue.md +6 -6
- package/docs/hi/introduction.md +4 -4
- package/docs/hi/locale_mapper.md +4 -6
- package/docs/hi/mcp_server.md +13 -9
- package/docs/hi/packages/express-intlayer/t.md +4 -4
- package/docs/hi/packages/intlayer/getConfiguration.md +4 -4
- package/docs/hi/packages/intlayer/getEnumeration.md +4 -4
- package/docs/hi/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/hi/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/hi/packages/intlayer/getLocaleName.md +4 -4
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/hi/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/hi/packages/intlayer/getTranslation.md +4 -4
- package/docs/hi/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/hi/packages/intlayer/index.md +4 -4
- package/docs/hi/packages/next-intlayer/t.md +4 -4
- package/docs/hi/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/hi/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/hi/packages/next-intlayer/useLocale.md +4 -4
- package/docs/hi/packages/react-intlayer/t.md +4 -4
- package/docs/hi/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/hi/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/hi/packages/react-intlayer/useLocale.md +4 -4
- package/docs/hi/per_locale_file.md +4 -4
- package/docs/hi/roadmap.md +7 -5
- package/docs/hi/testing.md +4 -7
- package/docs/hi/vs_code_extension.md +13 -9
- package/docs/it/CI_CD.md +4 -6
- package/docs/it/autoFill.md +10 -8
- package/docs/it/configuration.md +16 -10
- package/docs/it/dictionary/content_file.md +7 -7
- package/docs/it/dictionary/enumeration.md +4 -4
- package/docs/it/dictionary/file.md +4 -4
- package/docs/it/dictionary/function_fetching.md +4 -4
- package/docs/it/dictionary/gender.md +4 -6
- package/docs/it/dictionary/insertion.md +4 -4
- package/docs/it/dictionary/translation.md +4 -4
- package/docs/it/formatters.md +19 -55
- package/docs/it/how_works_intlayer.md +5 -5
- package/docs/it/index.md +4 -4
- package/docs/it/interest_of_intlayer.md +7 -7
- package/docs/it/intlayer_CMS.md +10 -8
- package/docs/it/intlayer_cli.md +7 -7
- package/docs/it/intlayer_visual_editor.md +5 -6
- package/docs/it/intlayer_with_angular.md +6 -6
- package/docs/it/intlayer_with_astro.md +6 -8
- package/docs/it/intlayer_with_create_react_app.md +6 -6
- package/docs/it/intlayer_with_express.md +6 -6
- package/docs/it/intlayer_with_lynx+react.md +6 -6
- package/docs/it/intlayer_with_nestjs.md +6 -8
- package/docs/it/intlayer_with_nextjs_14.md +2 -2
- package/docs/it/intlayer_with_nextjs_15.md +7 -6
- package/docs/it/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/it/intlayer_with_nuxt.md +6 -6
- package/docs/it/intlayer_with_react_native+expo.md +6 -6
- package/docs/it/intlayer_with_react_router_v7.md +9 -9
- package/docs/it/intlayer_with_tanstack.md +9 -9
- package/docs/it/intlayer_with_vite+preact.md +6 -6
- package/docs/it/intlayer_with_vite+react.md +7 -6
- package/docs/it/intlayer_with_vite+solid.md +6 -6
- package/docs/it/intlayer_with_vite+svelte.md +6 -6
- package/docs/it/intlayer_with_vite+vue.md +6 -6
- package/docs/it/introduction.md +4 -4
- package/docs/it/locale_mapper.md +4 -6
- package/docs/it/mcp_server.md +13 -9
- package/docs/it/packages/express-intlayer/t.md +4 -4
- package/docs/it/packages/intlayer/getConfiguration.md +4 -4
- package/docs/it/packages/intlayer/getEnumeration.md +4 -4
- package/docs/it/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/it/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/it/packages/intlayer/getLocaleName.md +4 -4
- package/docs/it/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/it/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/it/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/it/packages/intlayer/getTranslation.md +4 -4
- package/docs/it/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/it/packages/next-intlayer/t.md +4 -4
- package/docs/it/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/it/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/it/packages/next-intlayer/useLocale.md +4 -4
- package/docs/it/packages/react-intlayer/t.md +4 -4
- package/docs/it/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/it/packages/react-intlayer/useI18n.md +4 -4
- package/docs/it/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/it/packages/react-intlayer/useLocale.md +4 -4
- package/docs/it/per_locale_file.md +4 -4
- package/docs/it/roadmap.md +7 -5
- package/docs/it/testing.md +4 -7
- package/docs/it/vs_code_extension.md +13 -9
- package/docs/ja/CI_CD.md +4 -6
- package/docs/ja/autoFill.md +10 -8
- package/docs/ja/configuration.md +19 -22
- package/docs/ja/dictionary/content_file.md +7 -7
- package/docs/ja/dictionary/enumeration.md +4 -4
- package/docs/ja/dictionary/file.md +5 -5
- package/docs/ja/dictionary/function_fetching.md +4 -4
- package/docs/ja/dictionary/gender.md +4 -6
- package/docs/ja/dictionary/insertion.md +4 -4
- package/docs/ja/dictionary/translation.md +4 -4
- package/docs/ja/formatters.md +25 -57
- package/docs/ja/how_works_intlayer.md +5 -5
- package/docs/ja/index.md +4 -4
- package/docs/ja/interest_of_intlayer.md +7 -7
- package/docs/ja/intlayer_CMS.md +10 -9
- package/docs/ja/intlayer_cli.md +7 -7
- package/docs/ja/intlayer_visual_editor.md +5 -6
- package/docs/ja/intlayer_with_angular.md +6 -6
- package/docs/ja/intlayer_with_astro.md +6 -8
- package/docs/ja/intlayer_with_create_react_app.md +6 -6
- package/docs/ja/intlayer_with_express.md +6 -6
- package/docs/ja/intlayer_with_lynx+react.md +6 -6
- package/docs/ja/intlayer_with_nestjs.md +6 -8
- package/docs/ja/intlayer_with_nextjs_14.md +6 -6
- package/docs/ja/intlayer_with_nextjs_15.md +7 -6
- package/docs/ja/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ja/intlayer_with_nuxt.md +6 -6
- package/docs/ja/intlayer_with_react_native+expo.md +6 -6
- package/docs/ja/intlayer_with_react_router_v7.md +9 -9
- package/docs/ja/intlayer_with_tanstack.md +6 -8
- package/docs/ja/intlayer_with_vite+preact.md +6 -6
- package/docs/ja/intlayer_with_vite+react.md +7 -6
- package/docs/ja/intlayer_with_vite+solid.md +6 -6
- package/docs/ja/intlayer_with_vite+svelte.md +6 -6
- package/docs/ja/intlayer_with_vite+vue.md +6 -6
- package/docs/ja/introduction.md +4 -4
- package/docs/ja/locale_mapper.md +4 -6
- package/docs/ja/mcp_server.md +13 -9
- package/docs/ja/packages/express-intlayer/t.md +4 -4
- package/docs/ja/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ja/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ja/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ja/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ja/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ja/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ja/packages/intlayer/getTranslation.md +4 -4
- package/docs/ja/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ja/packages/next-intlayer/t.md +4 -4
- package/docs/ja/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ja/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ja/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ja/packages/react-intlayer/t.md +4 -4
- package/docs/ja/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ja/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ja/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ja/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ja/per_locale_file.md +4 -4
- package/docs/ja/roadmap.md +7 -5
- package/docs/ja/testing.md +4 -7
- package/docs/ja/vs_code_extension.md +13 -9
- package/docs/ko/CI_CD.md +4 -6
- package/docs/ko/autoFill.md +10 -8
- package/docs/ko/configuration.md +19 -22
- package/docs/ko/dictionary/content_file.md +7 -7
- package/docs/ko/dictionary/enumeration.md +4 -4
- package/docs/ko/dictionary/file.md +4 -4
- package/docs/ko/dictionary/function_fetching.md +4 -4
- package/docs/ko/dictionary/gender.md +4 -6
- package/docs/ko/dictionary/insertion.md +4 -4
- package/docs/ko/dictionary/translation.md +4 -4
- package/docs/ko/formatters.md +19 -33
- package/docs/ko/how_works_intlayer.md +5 -5
- package/docs/ko/index.md +4 -4
- package/docs/ko/interest_of_intlayer.md +7 -7
- package/docs/ko/intlayer_CMS.md +10 -8
- package/docs/ko/intlayer_cli.md +7 -7
- package/docs/ko/intlayer_visual_editor.md +5 -6
- package/docs/ko/intlayer_with_angular.md +6 -6
- package/docs/ko/intlayer_with_astro.md +6 -8
- package/docs/ko/intlayer_with_create_react_app.md +6 -6
- package/docs/ko/intlayer_with_express.md +6 -6
- package/docs/ko/intlayer_with_lynx+react.md +6 -10
- package/docs/ko/intlayer_with_nestjs.md +6 -8
- package/docs/ko/intlayer_with_nextjs_14.md +6 -6
- package/docs/ko/intlayer_with_nextjs_15.md +7 -6
- package/docs/ko/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ko/intlayer_with_nuxt.md +6 -6
- package/docs/ko/intlayer_with_react_native+expo.md +6 -6
- package/docs/ko/intlayer_with_react_router_v7.md +9 -9
- package/docs/ko/intlayer_with_tanstack.md +6 -8
- package/docs/ko/intlayer_with_vite+preact.md +6 -6
- package/docs/ko/intlayer_with_vite+react.md +8 -7
- package/docs/ko/intlayer_with_vite+solid.md +6 -6
- package/docs/ko/intlayer_with_vite+svelte.md +6 -6
- package/docs/ko/intlayer_with_vite+vue.md +6 -6
- package/docs/ko/introduction.md +4 -4
- package/docs/ko/locale_mapper.md +4 -6
- package/docs/ko/mcp_server.md +13 -9
- package/docs/ko/packages/express-intlayer/t.md +4 -4
- package/docs/ko/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ko/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ko/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ko/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ko/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +7 -16
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ko/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ko/packages/intlayer/getTranslation.md +4 -4
- package/docs/ko/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ko/packages/next-intlayer/t.md +4 -4
- package/docs/ko/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ko/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ko/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ko/packages/react-intlayer/t.md +4 -4
- package/docs/ko/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ko/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ko/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ko/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ko/per_locale_file.md +4 -4
- package/docs/ko/roadmap.md +7 -5
- package/docs/ko/testing.md +4 -7
- package/docs/ko/vs_code_extension.md +13 -9
- package/docs/pt/CI_CD.md +4 -6
- package/docs/pt/autoFill.md +10 -8
- package/docs/pt/configuration.md +16 -22
- package/docs/pt/dictionary/content_file.md +7 -7
- package/docs/pt/dictionary/enumeration.md +4 -4
- package/docs/pt/dictionary/file.md +4 -4
- package/docs/pt/dictionary/function_fetching.md +4 -4
- package/docs/pt/dictionary/gender.md +4 -6
- package/docs/pt/dictionary/insertion.md +4 -4
- package/docs/pt/dictionary/translation.md +4 -4
- package/docs/pt/formatters.md +19 -33
- package/docs/pt/how_works_intlayer.md +5 -5
- package/docs/pt/index.md +4 -4
- package/docs/pt/interest_of_intlayer.md +7 -7
- package/docs/pt/intlayer_CMS.md +10 -8
- package/docs/pt/intlayer_cli.md +7 -7
- package/docs/pt/intlayer_visual_editor.md +5 -6
- package/docs/pt/intlayer_with_angular.md +6 -6
- package/docs/pt/intlayer_with_astro.md +6 -8
- package/docs/pt/intlayer_with_create_react_app.md +6 -6
- package/docs/pt/intlayer_with_express.md +6 -6
- package/docs/pt/intlayer_with_lynx+react.md +6 -6
- package/docs/pt/intlayer_with_nestjs.md +6 -8
- package/docs/pt/intlayer_with_nextjs_14.md +2 -2
- package/docs/pt/intlayer_with_nextjs_15.md +7 -6
- package/docs/pt/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/pt/intlayer_with_nuxt.md +6 -6
- package/docs/pt/intlayer_with_react_native+expo.md +6 -6
- package/docs/pt/intlayer_with_react_router_v7.md +6 -8
- package/docs/pt/intlayer_with_tanstack.md +6 -8
- package/docs/pt/intlayer_with_vite+preact.md +6 -6
- package/docs/pt/intlayer_with_vite+react.md +7 -6
- package/docs/pt/intlayer_with_vite+solid.md +6 -6
- package/docs/pt/intlayer_with_vite+svelte.md +6 -6
- package/docs/pt/intlayer_with_vite+vue.md +6 -6
- package/docs/pt/introduction.md +4 -5
- package/docs/pt/locale_mapper.md +4 -6
- package/docs/pt/mcp_server.md +13 -9
- package/docs/pt/packages/express-intlayer/t.md +4 -4
- package/docs/pt/packages/intlayer/getConfiguration.md +4 -4
- package/docs/pt/packages/intlayer/getEnumeration.md +4 -4
- package/docs/pt/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/pt/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/pt/packages/intlayer/getLocaleName.md +4 -4
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/pt/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/pt/packages/intlayer/getTranslation.md +4 -4
- package/docs/pt/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/pt/packages/next-intlayer/t.md +4 -4
- package/docs/pt/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/pt/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/pt/packages/next-intlayer/useLocale.md +4 -4
- package/docs/pt/packages/react-intlayer/t.md +4 -4
- package/docs/pt/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/pt/packages/react-intlayer/useI18n.md +4 -4
- package/docs/pt/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/pt/packages/react-intlayer/useLocale.md +4 -4
- package/docs/pt/per_locale_file.md +4 -4
- package/docs/pt/roadmap.md +7 -5
- package/docs/pt/testing.md +4 -7
- package/docs/pt/vs_code_extension.md +13 -9
- package/docs/ru/CI_CD.md +4 -6
- package/docs/ru/autoFill.md +10 -8
- package/docs/ru/configuration.md +16 -10
- package/docs/ru/dictionary/content_file.md +7 -7
- package/docs/ru/dictionary/enumeration.md +4 -4
- package/docs/ru/dictionary/file.md +4 -4
- package/docs/ru/dictionary/function_fetching.md +4 -4
- package/docs/ru/dictionary/gender.md +4 -6
- package/docs/ru/dictionary/insertion.md +4 -4
- package/docs/ru/dictionary/translation.md +4 -4
- package/docs/ru/formatters.md +20 -77
- package/docs/ru/how_works_intlayer.md +5 -5
- package/docs/ru/index.md +4 -4
- package/docs/ru/interest_of_intlayer.md +7 -7
- package/docs/ru/intlayer_CMS.md +10 -8
- package/docs/ru/intlayer_cli.md +7 -7
- package/docs/ru/intlayer_visual_editor.md +5 -5
- package/docs/ru/intlayer_with_angular.md +6 -6
- package/docs/ru/intlayer_with_astro.md +6 -8
- package/docs/ru/intlayer_with_create_react_app.md +6 -6
- package/docs/ru/intlayer_with_express.md +6 -6
- package/docs/ru/intlayer_with_lynx+react.md +6 -6
- package/docs/ru/intlayer_with_nestjs.md +6 -8
- package/docs/ru/intlayer_with_nextjs_14.md +2 -2
- package/docs/ru/intlayer_with_nextjs_15.md +7 -6
- package/docs/ru/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/ru/intlayer_with_nuxt.md +6 -6
- package/docs/ru/intlayer_with_react_native+expo.md +6 -6
- package/docs/ru/intlayer_with_react_router_v7.md +9 -9
- package/docs/ru/intlayer_with_tanstack.md +6 -8
- package/docs/ru/intlayer_with_vite+preact.md +6 -6
- package/docs/ru/intlayer_with_vite+react.md +7 -6
- package/docs/ru/intlayer_with_vite+solid.md +6 -6
- package/docs/ru/intlayer_with_vite+svelte.md +6 -6
- package/docs/ru/intlayer_with_vite+vue.md +6 -6
- package/docs/ru/introduction.md +4 -4
- package/docs/ru/locale_mapper.md +4 -6
- package/docs/ru/mcp_server.md +13 -9
- package/docs/ru/packages/express-intlayer/t.md +4 -4
- package/docs/ru/packages/intlayer/getConfiguration.md +4 -4
- package/docs/ru/packages/intlayer/getEnumeration.md +4 -4
- package/docs/ru/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/ru/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/ru/packages/intlayer/getLocaleName.md +4 -4
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +4 -4
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/ru/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/ru/packages/intlayer/getTranslation.md +4 -4
- package/docs/ru/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/ru/packages/next-intlayer/t.md +4 -4
- package/docs/ru/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/ru/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/ru/packages/next-intlayer/useLocale.md +4 -4
- package/docs/ru/packages/react-intlayer/t.md +4 -4
- package/docs/ru/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/ru/packages/react-intlayer/useI18n.md +4 -4
- package/docs/ru/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/ru/packages/react-intlayer/useLocale.md +4 -4
- package/docs/ru/per_locale_file.md +4 -4
- package/docs/ru/roadmap.md +7 -5
- package/docs/ru/testing.md +4 -7
- package/docs/ru/vs_code_extension.md +13 -9
- package/docs/tr/CI_CD.md +4 -6
- package/docs/tr/autoFill.md +10 -8
- package/docs/tr/configuration.md +19 -22
- package/docs/tr/dictionary/condition.md +4 -10
- package/docs/tr/dictionary/content_file.md +7 -7
- package/docs/tr/dictionary/enumeration.md +4 -10
- package/docs/tr/dictionary/file.md +4 -10
- package/docs/tr/dictionary/function_fetching.md +4 -10
- package/docs/tr/dictionary/gender.md +4 -10
- package/docs/tr/dictionary/insertion.md +4 -10
- package/docs/tr/dictionary/markdown.md +4 -10
- package/docs/tr/dictionary/nesting.md +4 -10
- package/docs/tr/dictionary/translation.md +4 -10
- package/docs/tr/formatters.md +19 -33
- package/docs/tr/how_works_intlayer.md +5 -7
- package/docs/tr/index.md +4 -6
- package/docs/tr/interest_of_intlayer.md +7 -7
- package/docs/tr/intlayer_CMS.md +10 -8
- package/docs/tr/intlayer_cli.md +7 -7
- package/docs/tr/intlayer_visual_editor.md +5 -7
- package/docs/tr/intlayer_with_angular.md +6 -8
- package/docs/tr/intlayer_with_astro.md +6 -8
- package/docs/tr/intlayer_with_create_react_app.md +6 -8
- package/docs/tr/intlayer_with_express.md +6 -8
- package/docs/tr/intlayer_with_lynx+react.md +6 -8
- package/docs/tr/intlayer_with_nestjs.md +6 -8
- package/docs/tr/intlayer_with_nextjs_14.md +9 -9
- package/docs/tr/intlayer_with_nextjs_15.md +10 -9
- package/docs/tr/intlayer_with_nextjs_page_router.md +9 -9
- package/docs/tr/intlayer_with_nuxt.md +6 -8
- package/docs/tr/intlayer_with_react_native+expo.md +6 -8
- package/docs/tr/intlayer_with_react_router_v7.md +9 -9
- package/docs/tr/intlayer_with_tanstack.md +9 -9
- package/docs/tr/intlayer_with_vite+preact.md +6 -12
- package/docs/tr/intlayer_with_vite+react.md +6 -12
- package/docs/tr/intlayer_with_vite+solid.md +6 -12
- package/docs/tr/intlayer_with_vite+svelte.md +6 -12
- package/docs/tr/intlayer_with_vite+vue.md +6 -12
- package/docs/tr/introduction.md +4 -6
- package/docs/tr/locale_mapper.md +4 -6
- package/docs/tr/mcp_server.md +13 -9
- package/docs/tr/packages/express-intlayer/t.md +4 -6
- package/docs/tr/packages/intlayer/getConfiguration.md +4 -10
- package/docs/tr/packages/intlayer/getEnumeration.md +4 -10
- package/docs/tr/packages/intlayer/getHTMLTextDir.md +4 -10
- package/docs/tr/packages/intlayer/getLocaleLang.md +4 -10
- package/docs/tr/packages/intlayer/getLocaleName.md +4 -10
- package/docs/tr/packages/intlayer/getLocalizedUrl.md +4 -10
- package/docs/tr/packages/intlayer/getMultilingualUrls.md +4 -10
- package/docs/tr/packages/intlayer/getPathWithoutLocale.md +4 -10
- package/docs/tr/packages/intlayer/getTranslation.md +4 -10
- package/docs/tr/packages/intlayer/getTranslationContent.md +4 -10
- package/docs/tr/packages/next-intlayer/t.md +4 -6
- package/docs/tr/packages/next-intlayer/useDictionary.md +4 -6
- package/docs/tr/packages/next-intlayer/useIntlayer.md +4 -6
- package/docs/tr/packages/next-intlayer/useLocale.md +4 -6
- package/docs/tr/packages/react-intlayer/t.md +4 -6
- package/docs/tr/packages/react-intlayer/useDictionary.md +10 -273
- package/docs/tr/packages/react-intlayer/useI18n.md +4 -4
- package/docs/tr/packages/react-intlayer/useIntlayer.md +4 -6
- package/docs/tr/packages/react-intlayer/useLocale.md +4 -6
- package/docs/tr/per_locale_file.md +4 -6
- package/docs/tr/roadmap.md +10 -8
- package/docs/tr/testing.md +4 -7
- package/docs/tr/vs_code_extension.md +13 -9
- package/docs/zh/CI_CD.md +4 -6
- package/docs/zh/autoFill.md +10 -8
- package/docs/zh/configuration.md +19 -22
- package/docs/zh/dictionary/content_file.md +7 -7
- package/docs/zh/dictionary/enumeration.md +4 -4
- package/docs/zh/dictionary/file.md +4 -4
- package/docs/zh/dictionary/function_fetching.md +4 -4
- package/docs/zh/dictionary/gender.md +4 -6
- package/docs/zh/dictionary/insertion.md +4 -4
- package/docs/zh/dictionary/translation.md +4 -4
- package/docs/zh/formatters.md +19 -55
- package/docs/zh/how_works_intlayer.md +5 -5
- package/docs/zh/index.md +4 -4
- package/docs/zh/interest_of_intlayer.md +7 -7
- package/docs/zh/intlayer_CMS.md +10 -9
- package/docs/zh/intlayer_cli.md +7 -7
- package/docs/zh/intlayer_visual_editor.md +5 -6
- package/docs/zh/intlayer_with_angular.md +6 -6
- package/docs/zh/intlayer_with_astro.md +6 -8
- package/docs/zh/intlayer_with_create_react_app.md +6 -6
- package/docs/zh/intlayer_with_express.md +6 -6
- package/docs/zh/intlayer_with_lynx+react.md +6 -6
- package/docs/zh/intlayer_with_nestjs.md +6 -8
- package/docs/zh/intlayer_with_nextjs_14.md +6 -6
- package/docs/zh/intlayer_with_nextjs_15.md +7 -6
- package/docs/zh/intlayer_with_nextjs_page_router.md +6 -6
- package/docs/zh/intlayer_with_nuxt.md +6 -6
- package/docs/zh/intlayer_with_react_native+expo.md +6 -6
- package/docs/zh/intlayer_with_react_router_v7.md +9 -9
- package/docs/zh/intlayer_with_tanstack.md +6 -8
- package/docs/zh/intlayer_with_vite+preact.md +6 -6
- package/docs/zh/intlayer_with_vite+react.md +7 -6
- package/docs/zh/intlayer_with_vite+solid.md +6 -6
- package/docs/zh/intlayer_with_vite+svelte.md +6 -6
- package/docs/zh/intlayer_with_vite+vue.md +6 -6
- package/docs/zh/introduction.md +4 -4
- package/docs/zh/locale_mapper.md +4 -6
- package/docs/zh/mcp_server.md +13 -9
- package/docs/zh/packages/express-intlayer/t.md +4 -4
- package/docs/zh/packages/intlayer/getConfiguration.md +4 -4
- package/docs/zh/packages/intlayer/getEnumeration.md +4 -4
- package/docs/zh/packages/intlayer/getHTMLTextDir.md +4 -4
- package/docs/zh/packages/intlayer/getLocaleLang.md +4 -4
- package/docs/zh/packages/intlayer/getLocaleName.md +4 -4
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +7 -16
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +4 -4
- package/docs/zh/packages/intlayer/getPathWithoutLocale.md +4 -4
- package/docs/zh/packages/intlayer/getTranslation.md +4 -4
- package/docs/zh/packages/intlayer/getTranslationContent.md +4 -4
- package/docs/zh/packages/next-intlayer/t.md +4 -4
- package/docs/zh/packages/next-intlayer/useDictionary.md +4 -4
- package/docs/zh/packages/next-intlayer/useIntlayer.md +4 -4
- package/docs/zh/packages/next-intlayer/useLocale.md +4 -4
- package/docs/zh/packages/react-intlayer/t.md +4 -4
- package/docs/zh/packages/react-intlayer/useDictionary.md +4 -4
- package/docs/zh/packages/react-intlayer/useI18n.md +4 -4
- package/docs/zh/packages/react-intlayer/useIntlayer.md +4 -4
- package/docs/zh/packages/react-intlayer/useLocale.md +4 -4
- package/docs/zh/per_locale_file.md +4 -4
- package/docs/zh/roadmap.md +7 -5
- package/docs/zh/testing.md +4 -7
- package/docs/zh/vs_code_extension.md +13 -9
- package/frequent_questions/ar/bun_set_up.md +54 -0
- package/frequent_questions/de/bun_set_up.md +54 -0
- package/frequent_questions/en/bun_set_up.md +54 -0
- package/frequent_questions/en-GB/bun_set_up.md +54 -0
- package/frequent_questions/es/bun_set_up.md +54 -0
- package/frequent_questions/fr/bun_set_up.md +54 -0
- package/frequent_questions/hi/bun_set_up.md +55 -0
- package/frequent_questions/it/bun_set_up.md +55 -0
- package/frequent_questions/ja/bun_set_up.md +54 -0
- package/frequent_questions/ko/bun_set_up.md +54 -0
- package/frequent_questions/pt/bun_set_up.md +55 -0
- package/frequent_questions/ru/bun_set_up.md +55 -0
- package/frequent_questions/tr/bun_set_up.md +55 -0
- package/frequent_questions/zh/bun_set_up.md +54 -0
- package/package.json +42 -47
- package/src/blog.ts +16 -8
- package/src/common.ts +7 -8
- package/src/doc.ts +18 -8
- package/src/frequentQuestions.ts +23 -8
- package/src/generated/blog.entry.ts +152 -84
- package/src/generated/docs.entry.ts +523 -222
- package/src/generated/frequentQuestions.entry.ts +122 -56
- package/src/generated/legal.entry.ts +32 -24
- package/src/legal.ts +16 -8
- package/LICENSE +0 -202
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/docs/de/packages/@intlayer/api/index.md +0 -56
- package/docs/de/packages/@intlayer/chokidar/index.md +0 -56
- package/docs/de/packages/@intlayer/cli/index.md +0 -45
- package/docs/de/packages/@intlayer/config/index.md +0 -140
- package/docs/de/packages/@intlayer/core/index.md +0 -49
- package/docs/de/packages/@intlayer/design-system/index.md +0 -45
- package/docs/de/packages/@intlayer/dictionary-entry/index.md +0 -45
- package/docs/de/packages/@intlayer/editor/index.md +0 -45
- package/docs/de/packages/@intlayer/editor-react/index.md +0 -45
- package/docs/de/packages/@intlayer/webpack/index.md +0 -59
- package/docs/de/packages/angular-intlayer/index.md +0 -53
- package/docs/de/packages/express-intlayer/index.md +0 -284
- package/docs/de/packages/intlayer/index.md +0 -500
- package/docs/de/packages/intlayer-cli/index.md +0 -65
- package/docs/de/packages/intlayer-editor/index.md +0 -137
- package/docs/de/packages/lynx-intlayer/index.md +0 -83
- package/docs/de/packages/next-intlayer/index.md +0 -285
- package/docs/de/packages/nuxt-intlayer/index.md +0 -53
- package/docs/de/packages/preact-intlayer/index.md +0 -53
- package/docs/de/packages/react-intlayer/index.md +0 -280
- package/docs/de/packages/react-native-intlayer/index.md +0 -83
- package/docs/de/packages/react-scripts-intlayer/index.md +0 -80
- package/docs/de/packages/solid-intlayer/index.md +0 -54
- package/docs/de/packages/svelte-intlayer/index.md +0 -53
- package/docs/de/packages/vite-intlayer/index.md +0 -76
- package/docs/de/packages/vue-intlayer/index.md +0 -53
- package/docs/es/packages/angular-intlayer/index.md +0 -53
|
@@ -1,239 +1,305 @@
|
|
|
1
1
|
/* AUTO-GENERATED – DO NOT EDIT */
|
|
2
2
|
/* REGENERATE USING `pnpm prepare` */
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { existsSync } from 'node:fs';
|
|
4
|
+
import { readFile } from 'node:fs/promises';
|
|
5
|
+
import { join } from 'node:path';
|
|
6
|
+
import { ESMxCJSRequire, getPackageJsonPath } from '@intlayer/config';
|
|
7
|
+
import type { LocalesValues } from '@intlayer/types';
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const docEntryPath = ESMxCJSRequire.resolve('@intlayer/docs');
|
|
10
|
+
const { baseDir } = getPackageJsonPath(docEntryPath);
|
|
11
11
|
|
|
12
12
|
const readLocale = (
|
|
13
13
|
relativeAfterLocale: string,
|
|
14
14
|
locale: LocalesValues
|
|
15
15
|
): Promise<string> => {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
const target1 = join(
|
|
17
|
+
baseDir,
|
|
18
|
+
`./frequent_questions/${locale}/${relativeAfterLocale}`
|
|
19
19
|
);
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
return readFile(
|
|
23
|
-
join(dir, '../../../frequent_questions/en/' + relativeAfterLocale),
|
|
24
|
-
'utf8'
|
|
25
|
-
);
|
|
20
|
+
if (existsSync(target1)) {
|
|
21
|
+
return readFile(target1, 'utf8');
|
|
26
22
|
}
|
|
27
|
-
|
|
23
|
+
const target2 = join(
|
|
24
|
+
baseDir,
|
|
25
|
+
`./frequent_questions/en/${relativeAfterLocale}`
|
|
26
|
+
);
|
|
27
|
+
if (existsSync(target2)) {
|
|
28
|
+
return readFile(target2, 'utf8');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return Promise.reject(
|
|
32
|
+
new Error(
|
|
33
|
+
`[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`
|
|
34
|
+
)
|
|
35
|
+
);
|
|
28
36
|
};
|
|
29
37
|
|
|
30
38
|
export const frequentQuestionsEntry = {
|
|
31
39
|
'./frequent_questions/en/SSR_Next_no_[locale].md': {
|
|
32
40
|
en: readLocale('SSR_Next_no_[locale].md', 'en'),
|
|
33
|
-
fr: readLocale('SSR_Next_no_[locale].md', 'fr'),
|
|
34
41
|
ru: readLocale('SSR_Next_no_[locale].md', 'ru'),
|
|
35
42
|
ja: readLocale('SSR_Next_no_[locale].md', 'ja'),
|
|
43
|
+
fr: readLocale('SSR_Next_no_[locale].md', 'fr'),
|
|
36
44
|
ko: readLocale('SSR_Next_no_[locale].md', 'ko'),
|
|
37
45
|
zh: readLocale('SSR_Next_no_[locale].md', 'zh'),
|
|
38
46
|
es: readLocale('SSR_Next_no_[locale].md', 'es'),
|
|
39
47
|
de: readLocale('SSR_Next_no_[locale].md', 'de'),
|
|
40
48
|
ar: readLocale('SSR_Next_no_[locale].md', 'ar'),
|
|
41
|
-
pt: readLocale('SSR_Next_no_[locale].md', 'pt'),
|
|
42
|
-
'en-GB': readLocale('SSR_Next_no_[locale].md', 'en-GB'),
|
|
43
49
|
it: readLocale('SSR_Next_no_[locale].md', 'it'),
|
|
50
|
+
'en-GB': readLocale('SSR_Next_no_[locale].md', 'en-GB'),
|
|
51
|
+
pt: readLocale('SSR_Next_no_[locale].md', 'pt'),
|
|
44
52
|
hi: readLocale('SSR_Next_no_[locale].md', 'hi'),
|
|
45
53
|
tr: readLocale('SSR_Next_no_[locale].md', 'tr'),
|
|
54
|
+
pl: readLocale('SSR_Next_no_[locale].md', 'pl'),
|
|
55
|
+
id: readLocale('SSR_Next_no_[locale].md', 'id'),
|
|
56
|
+
vi: readLocale('SSR_Next_no_[locale].md', 'vi'),
|
|
46
57
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
47
58
|
'./frequent_questions/en/array_as_content_declaration.md': {
|
|
48
59
|
en: readLocale('array_as_content_declaration.md', 'en'),
|
|
49
|
-
fr: readLocale('array_as_content_declaration.md', 'fr'),
|
|
50
60
|
ru: readLocale('array_as_content_declaration.md', 'ru'),
|
|
51
61
|
ja: readLocale('array_as_content_declaration.md', 'ja'),
|
|
62
|
+
fr: readLocale('array_as_content_declaration.md', 'fr'),
|
|
52
63
|
ko: readLocale('array_as_content_declaration.md', 'ko'),
|
|
53
64
|
zh: readLocale('array_as_content_declaration.md', 'zh'),
|
|
54
65
|
es: readLocale('array_as_content_declaration.md', 'es'),
|
|
55
66
|
de: readLocale('array_as_content_declaration.md', 'de'),
|
|
56
67
|
ar: readLocale('array_as_content_declaration.md', 'ar'),
|
|
57
|
-
pt: readLocale('array_as_content_declaration.md', 'pt'),
|
|
58
|
-
'en-GB': readLocale('array_as_content_declaration.md', 'en-GB'),
|
|
59
68
|
it: readLocale('array_as_content_declaration.md', 'it'),
|
|
69
|
+
'en-GB': readLocale('array_as_content_declaration.md', 'en-GB'),
|
|
70
|
+
pt: readLocale('array_as_content_declaration.md', 'pt'),
|
|
60
71
|
hi: readLocale('array_as_content_declaration.md', 'hi'),
|
|
61
72
|
tr: readLocale('array_as_content_declaration.md', 'tr'),
|
|
73
|
+
pl: readLocale('array_as_content_declaration.md', 'pl'),
|
|
74
|
+
id: readLocale('array_as_content_declaration.md', 'id'),
|
|
75
|
+
vi: readLocale('array_as_content_declaration.md', 'vi'),
|
|
62
76
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
63
77
|
'./frequent_questions/en/build_dictionaries.md': {
|
|
64
78
|
en: readLocale('build_dictionaries.md', 'en'),
|
|
65
|
-
fr: readLocale('build_dictionaries.md', 'fr'),
|
|
66
79
|
ru: readLocale('build_dictionaries.md', 'ru'),
|
|
67
80
|
ja: readLocale('build_dictionaries.md', 'ja'),
|
|
81
|
+
fr: readLocale('build_dictionaries.md', 'fr'),
|
|
68
82
|
ko: readLocale('build_dictionaries.md', 'ko'),
|
|
69
83
|
zh: readLocale('build_dictionaries.md', 'zh'),
|
|
70
84
|
es: readLocale('build_dictionaries.md', 'es'),
|
|
71
85
|
de: readLocale('build_dictionaries.md', 'de'),
|
|
72
86
|
ar: readLocale('build_dictionaries.md', 'ar'),
|
|
73
|
-
pt: readLocale('build_dictionaries.md', 'pt'),
|
|
74
|
-
'en-GB': readLocale('build_dictionaries.md', 'en-GB'),
|
|
75
87
|
it: readLocale('build_dictionaries.md', 'it'),
|
|
88
|
+
'en-GB': readLocale('build_dictionaries.md', 'en-GB'),
|
|
89
|
+
pt: readLocale('build_dictionaries.md', 'pt'),
|
|
76
90
|
hi: readLocale('build_dictionaries.md', 'hi'),
|
|
77
91
|
tr: readLocale('build_dictionaries.md', 'tr'),
|
|
92
|
+
pl: readLocale('build_dictionaries.md', 'pl'),
|
|
93
|
+
id: readLocale('build_dictionaries.md', 'id'),
|
|
94
|
+
vi: readLocale('build_dictionaries.md', 'vi'),
|
|
78
95
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
79
96
|
'./frequent_questions/en/build_error_CI_CD.md': {
|
|
80
97
|
en: readLocale('build_error_CI_CD.md', 'en'),
|
|
81
|
-
fr: readLocale('build_error_CI_CD.md', 'fr'),
|
|
82
98
|
ru: readLocale('build_error_CI_CD.md', 'ru'),
|
|
83
99
|
ja: readLocale('build_error_CI_CD.md', 'ja'),
|
|
100
|
+
fr: readLocale('build_error_CI_CD.md', 'fr'),
|
|
84
101
|
ko: readLocale('build_error_CI_CD.md', 'ko'),
|
|
85
102
|
zh: readLocale('build_error_CI_CD.md', 'zh'),
|
|
86
103
|
es: readLocale('build_error_CI_CD.md', 'es'),
|
|
87
104
|
de: readLocale('build_error_CI_CD.md', 'de'),
|
|
88
105
|
ar: readLocale('build_error_CI_CD.md', 'ar'),
|
|
89
|
-
pt: readLocale('build_error_CI_CD.md', 'pt'),
|
|
90
|
-
'en-GB': readLocale('build_error_CI_CD.md', 'en-GB'),
|
|
91
106
|
it: readLocale('build_error_CI_CD.md', 'it'),
|
|
107
|
+
'en-GB': readLocale('build_error_CI_CD.md', 'en-GB'),
|
|
108
|
+
pt: readLocale('build_error_CI_CD.md', 'pt'),
|
|
92
109
|
hi: readLocale('build_error_CI_CD.md', 'hi'),
|
|
93
110
|
tr: readLocale('build_error_CI_CD.md', 'tr'),
|
|
111
|
+
pl: readLocale('build_error_CI_CD.md', 'pl'),
|
|
112
|
+
id: readLocale('build_error_CI_CD.md', 'id'),
|
|
113
|
+
vi: readLocale('build_error_CI_CD.md', 'vi'),
|
|
114
|
+
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
115
|
+
'./frequent_questions/en/bun_set_up.md': {
|
|
116
|
+
en: readLocale('bun_set_up.md', 'en'),
|
|
117
|
+
ru: readLocale('bun_set_up.md', 'ru'),
|
|
118
|
+
ja: readLocale('bun_set_up.md', 'ja'),
|
|
119
|
+
fr: readLocale('bun_set_up.md', 'fr'),
|
|
120
|
+
ko: readLocale('bun_set_up.md', 'ko'),
|
|
121
|
+
zh: readLocale('bun_set_up.md', 'zh'),
|
|
122
|
+
es: readLocale('bun_set_up.md', 'es'),
|
|
123
|
+
de: readLocale('bun_set_up.md', 'de'),
|
|
124
|
+
ar: readLocale('bun_set_up.md', 'ar'),
|
|
125
|
+
it: readLocale('bun_set_up.md', 'it'),
|
|
126
|
+
'en-GB': readLocale('bun_set_up.md', 'en-GB'),
|
|
127
|
+
pt: readLocale('bun_set_up.md', 'pt'),
|
|
128
|
+
hi: readLocale('bun_set_up.md', 'hi'),
|
|
129
|
+
tr: readLocale('bun_set_up.md', 'tr'),
|
|
130
|
+
pl: readLocale('bun_set_up.md', 'pl'),
|
|
131
|
+
id: readLocale('bun_set_up.md', 'id'),
|
|
132
|
+
vi: readLocale('bun_set_up.md', 'vi'),
|
|
94
133
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
95
134
|
'./frequent_questions/en/customized_locale_list.md': {
|
|
96
135
|
en: readLocale('customized_locale_list.md', 'en'),
|
|
97
|
-
fr: readLocale('customized_locale_list.md', 'fr'),
|
|
98
136
|
ru: readLocale('customized_locale_list.md', 'ru'),
|
|
99
137
|
ja: readLocale('customized_locale_list.md', 'ja'),
|
|
138
|
+
fr: readLocale('customized_locale_list.md', 'fr'),
|
|
100
139
|
ko: readLocale('customized_locale_list.md', 'ko'),
|
|
101
140
|
zh: readLocale('customized_locale_list.md', 'zh'),
|
|
102
141
|
es: readLocale('customized_locale_list.md', 'es'),
|
|
103
142
|
de: readLocale('customized_locale_list.md', 'de'),
|
|
104
143
|
ar: readLocale('customized_locale_list.md', 'ar'),
|
|
105
|
-
pt: readLocale('customized_locale_list.md', 'pt'),
|
|
106
|
-
'en-GB': readLocale('customized_locale_list.md', 'en-GB'),
|
|
107
144
|
it: readLocale('customized_locale_list.md', 'it'),
|
|
145
|
+
'en-GB': readLocale('customized_locale_list.md', 'en-GB'),
|
|
146
|
+
pt: readLocale('customized_locale_list.md', 'pt'),
|
|
108
147
|
hi: readLocale('customized_locale_list.md', 'hi'),
|
|
109
148
|
tr: readLocale('customized_locale_list.md', 'tr'),
|
|
149
|
+
pl: readLocale('customized_locale_list.md', 'pl'),
|
|
150
|
+
id: readLocale('customized_locale_list.md', 'id'),
|
|
151
|
+
vi: readLocale('customized_locale_list.md', 'vi'),
|
|
110
152
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
111
153
|
'./frequent_questions/en/domain_routing.md': {
|
|
112
154
|
en: readLocale('domain_routing.md', 'en'),
|
|
113
|
-
fr: readLocale('domain_routing.md', 'fr'),
|
|
114
155
|
ru: readLocale('domain_routing.md', 'ru'),
|
|
115
156
|
ja: readLocale('domain_routing.md', 'ja'),
|
|
157
|
+
fr: readLocale('domain_routing.md', 'fr'),
|
|
116
158
|
ko: readLocale('domain_routing.md', 'ko'),
|
|
117
159
|
zh: readLocale('domain_routing.md', 'zh'),
|
|
118
160
|
es: readLocale('domain_routing.md', 'es'),
|
|
119
161
|
de: readLocale('domain_routing.md', 'de'),
|
|
120
162
|
ar: readLocale('domain_routing.md', 'ar'),
|
|
121
|
-
pt: readLocale('domain_routing.md', 'pt'),
|
|
122
|
-
'en-GB': readLocale('domain_routing.md', 'en-GB'),
|
|
123
163
|
it: readLocale('domain_routing.md', 'it'),
|
|
164
|
+
'en-GB': readLocale('domain_routing.md', 'en-GB'),
|
|
165
|
+
pt: readLocale('domain_routing.md', 'pt'),
|
|
124
166
|
hi: readLocale('domain_routing.md', 'hi'),
|
|
125
167
|
tr: readLocale('domain_routing.md', 'tr'),
|
|
168
|
+
pl: readLocale('domain_routing.md', 'pl'),
|
|
169
|
+
id: readLocale('domain_routing.md', 'id'),
|
|
170
|
+
vi: readLocale('domain_routing.md', 'vi'),
|
|
126
171
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
127
172
|
'./frequent_questions/en/esbuild_error.md': {
|
|
128
173
|
en: readLocale('esbuild_error.md', 'en'),
|
|
129
|
-
fr: readLocale('esbuild_error.md', 'fr'),
|
|
130
174
|
ru: readLocale('esbuild_error.md', 'ru'),
|
|
131
175
|
ja: readLocale('esbuild_error.md', 'ja'),
|
|
176
|
+
fr: readLocale('esbuild_error.md', 'fr'),
|
|
132
177
|
ko: readLocale('esbuild_error.md', 'ko'),
|
|
133
178
|
zh: readLocale('esbuild_error.md', 'zh'),
|
|
134
179
|
es: readLocale('esbuild_error.md', 'es'),
|
|
135
180
|
de: readLocale('esbuild_error.md', 'de'),
|
|
136
181
|
ar: readLocale('esbuild_error.md', 'ar'),
|
|
137
|
-
pt: readLocale('esbuild_error.md', 'pt'),
|
|
138
|
-
'en-GB': readLocale('esbuild_error.md', 'en-GB'),
|
|
139
182
|
it: readLocale('esbuild_error.md', 'it'),
|
|
183
|
+
'en-GB': readLocale('esbuild_error.md', 'en-GB'),
|
|
184
|
+
pt: readLocale('esbuild_error.md', 'pt'),
|
|
140
185
|
hi: readLocale('esbuild_error.md', 'hi'),
|
|
141
186
|
tr: readLocale('esbuild_error.md', 'tr'),
|
|
187
|
+
pl: readLocale('esbuild_error.md', 'pl'),
|
|
188
|
+
id: readLocale('esbuild_error.md', 'id'),
|
|
189
|
+
vi: readLocale('esbuild_error.md', 'vi'),
|
|
142
190
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
143
191
|
'./frequent_questions/en/get_locale_cookie.md': {
|
|
144
192
|
en: readLocale('get_locale_cookie.md', 'en'),
|
|
145
|
-
fr: readLocale('get_locale_cookie.md', 'fr'),
|
|
146
193
|
ru: readLocale('get_locale_cookie.md', 'ru'),
|
|
147
194
|
ja: readLocale('get_locale_cookie.md', 'ja'),
|
|
195
|
+
fr: readLocale('get_locale_cookie.md', 'fr'),
|
|
148
196
|
ko: readLocale('get_locale_cookie.md', 'ko'),
|
|
149
197
|
zh: readLocale('get_locale_cookie.md', 'zh'),
|
|
150
198
|
es: readLocale('get_locale_cookie.md', 'es'),
|
|
151
199
|
de: readLocale('get_locale_cookie.md', 'de'),
|
|
152
200
|
ar: readLocale('get_locale_cookie.md', 'ar'),
|
|
153
|
-
pt: readLocale('get_locale_cookie.md', 'pt'),
|
|
154
|
-
'en-GB': readLocale('get_locale_cookie.md', 'en-GB'),
|
|
155
201
|
it: readLocale('get_locale_cookie.md', 'it'),
|
|
202
|
+
'en-GB': readLocale('get_locale_cookie.md', 'en-GB'),
|
|
203
|
+
pt: readLocale('get_locale_cookie.md', 'pt'),
|
|
156
204
|
hi: readLocale('get_locale_cookie.md', 'hi'),
|
|
157
205
|
tr: readLocale('get_locale_cookie.md', 'tr'),
|
|
206
|
+
pl: readLocale('get_locale_cookie.md', 'pl'),
|
|
207
|
+
id: readLocale('get_locale_cookie.md', 'id'),
|
|
208
|
+
vi: readLocale('get_locale_cookie.md', 'vi'),
|
|
158
209
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
159
210
|
'./frequent_questions/en/intlayer_command_undefined.md': {
|
|
160
211
|
en: readLocale('intlayer_command_undefined.md', 'en'),
|
|
161
|
-
fr: readLocale('intlayer_command_undefined.md', 'fr'),
|
|
162
212
|
ru: readLocale('intlayer_command_undefined.md', 'ru'),
|
|
163
213
|
ja: readLocale('intlayer_command_undefined.md', 'ja'),
|
|
214
|
+
fr: readLocale('intlayer_command_undefined.md', 'fr'),
|
|
164
215
|
ko: readLocale('intlayer_command_undefined.md', 'ko'),
|
|
165
216
|
zh: readLocale('intlayer_command_undefined.md', 'zh'),
|
|
166
217
|
es: readLocale('intlayer_command_undefined.md', 'es'),
|
|
167
218
|
de: readLocale('intlayer_command_undefined.md', 'de'),
|
|
168
219
|
ar: readLocale('intlayer_command_undefined.md', 'ar'),
|
|
169
|
-
pt: readLocale('intlayer_command_undefined.md', 'pt'),
|
|
170
|
-
'en-GB': readLocale('intlayer_command_undefined.md', 'en-GB'),
|
|
171
220
|
it: readLocale('intlayer_command_undefined.md', 'it'),
|
|
221
|
+
'en-GB': readLocale('intlayer_command_undefined.md', 'en-GB'),
|
|
222
|
+
pt: readLocale('intlayer_command_undefined.md', 'pt'),
|
|
172
223
|
hi: readLocale('intlayer_command_undefined.md', 'hi'),
|
|
173
224
|
tr: readLocale('intlayer_command_undefined.md', 'tr'),
|
|
225
|
+
pl: readLocale('intlayer_command_undefined.md', 'pl'),
|
|
226
|
+
id: readLocale('intlayer_command_undefined.md', 'id'),
|
|
227
|
+
vi: readLocale('intlayer_command_undefined.md', 'vi'),
|
|
174
228
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
175
229
|
'./frequent_questions/en/locale_incorect_in_url.md': {
|
|
176
230
|
en: readLocale('locale_incorect_in_url.md', 'en'),
|
|
177
|
-
fr: readLocale('locale_incorect_in_url.md', 'fr'),
|
|
178
231
|
ru: readLocale('locale_incorect_in_url.md', 'ru'),
|
|
179
232
|
ja: readLocale('locale_incorect_in_url.md', 'ja'),
|
|
233
|
+
fr: readLocale('locale_incorect_in_url.md', 'fr'),
|
|
180
234
|
ko: readLocale('locale_incorect_in_url.md', 'ko'),
|
|
181
235
|
zh: readLocale('locale_incorect_in_url.md', 'zh'),
|
|
182
236
|
es: readLocale('locale_incorect_in_url.md', 'es'),
|
|
183
237
|
de: readLocale('locale_incorect_in_url.md', 'de'),
|
|
184
238
|
ar: readLocale('locale_incorect_in_url.md', 'ar'),
|
|
185
|
-
pt: readLocale('locale_incorect_in_url.md', 'pt'),
|
|
186
|
-
'en-GB': readLocale('locale_incorect_in_url.md', 'en-GB'),
|
|
187
239
|
it: readLocale('locale_incorect_in_url.md', 'it'),
|
|
240
|
+
'en-GB': readLocale('locale_incorect_in_url.md', 'en-GB'),
|
|
241
|
+
pt: readLocale('locale_incorect_in_url.md', 'pt'),
|
|
188
242
|
hi: readLocale('locale_incorect_in_url.md', 'hi'),
|
|
189
243
|
tr: readLocale('locale_incorect_in_url.md', 'tr'),
|
|
244
|
+
pl: readLocale('locale_incorect_in_url.md', 'pl'),
|
|
245
|
+
id: readLocale('locale_incorect_in_url.md', 'id'),
|
|
246
|
+
vi: readLocale('locale_incorect_in_url.md', 'vi'),
|
|
190
247
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
191
248
|
'./frequent_questions/en/static_rendering.md': {
|
|
192
249
|
en: readLocale('static_rendering.md', 'en'),
|
|
193
|
-
fr: readLocale('static_rendering.md', 'fr'),
|
|
194
250
|
ru: readLocale('static_rendering.md', 'ru'),
|
|
195
251
|
ja: readLocale('static_rendering.md', 'ja'),
|
|
252
|
+
fr: readLocale('static_rendering.md', 'fr'),
|
|
196
253
|
ko: readLocale('static_rendering.md', 'ko'),
|
|
197
254
|
zh: readLocale('static_rendering.md', 'zh'),
|
|
198
255
|
es: readLocale('static_rendering.md', 'es'),
|
|
199
256
|
de: readLocale('static_rendering.md', 'de'),
|
|
200
257
|
ar: readLocale('static_rendering.md', 'ar'),
|
|
201
|
-
pt: readLocale('static_rendering.md', 'pt'),
|
|
202
|
-
'en-GB': readLocale('static_rendering.md', 'en-GB'),
|
|
203
258
|
it: readLocale('static_rendering.md', 'it'),
|
|
259
|
+
'en-GB': readLocale('static_rendering.md', 'en-GB'),
|
|
260
|
+
pt: readLocale('static_rendering.md', 'pt'),
|
|
204
261
|
hi: readLocale('static_rendering.md', 'hi'),
|
|
205
262
|
tr: readLocale('static_rendering.md', 'tr'),
|
|
263
|
+
pl: readLocale('static_rendering.md', 'pl'),
|
|
264
|
+
id: readLocale('static_rendering.md', 'id'),
|
|
265
|
+
vi: readLocale('static_rendering.md', 'vi'),
|
|
206
266
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
207
267
|
'./frequent_questions/en/translated_path_url.md': {
|
|
208
268
|
en: readLocale('translated_path_url.md', 'en'),
|
|
209
|
-
fr: readLocale('translated_path_url.md', 'fr'),
|
|
210
269
|
ru: readLocale('translated_path_url.md', 'ru'),
|
|
211
270
|
ja: readLocale('translated_path_url.md', 'ja'),
|
|
271
|
+
fr: readLocale('translated_path_url.md', 'fr'),
|
|
212
272
|
ko: readLocale('translated_path_url.md', 'ko'),
|
|
213
273
|
zh: readLocale('translated_path_url.md', 'zh'),
|
|
214
274
|
es: readLocale('translated_path_url.md', 'es'),
|
|
215
275
|
de: readLocale('translated_path_url.md', 'de'),
|
|
216
276
|
ar: readLocale('translated_path_url.md', 'ar'),
|
|
217
|
-
pt: readLocale('translated_path_url.md', 'pt'),
|
|
218
|
-
'en-GB': readLocale('translated_path_url.md', 'en-GB'),
|
|
219
277
|
it: readLocale('translated_path_url.md', 'it'),
|
|
278
|
+
'en-GB': readLocale('translated_path_url.md', 'en-GB'),
|
|
279
|
+
pt: readLocale('translated_path_url.md', 'pt'),
|
|
220
280
|
hi: readLocale('translated_path_url.md', 'hi'),
|
|
221
281
|
tr: readLocale('translated_path_url.md', 'tr'),
|
|
282
|
+
pl: readLocale('translated_path_url.md', 'pl'),
|
|
283
|
+
id: readLocale('translated_path_url.md', 'id'),
|
|
284
|
+
vi: readLocale('translated_path_url.md', 'vi'),
|
|
222
285
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
223
286
|
'./frequent_questions/en/unknown_command.md': {
|
|
224
287
|
en: readLocale('unknown_command.md', 'en'),
|
|
225
|
-
fr: readLocale('unknown_command.md', 'fr'),
|
|
226
288
|
ru: readLocale('unknown_command.md', 'ru'),
|
|
227
289
|
ja: readLocale('unknown_command.md', 'ja'),
|
|
290
|
+
fr: readLocale('unknown_command.md', 'fr'),
|
|
228
291
|
ko: readLocale('unknown_command.md', 'ko'),
|
|
229
292
|
zh: readLocale('unknown_command.md', 'zh'),
|
|
230
293
|
es: readLocale('unknown_command.md', 'es'),
|
|
231
294
|
de: readLocale('unknown_command.md', 'de'),
|
|
232
295
|
ar: readLocale('unknown_command.md', 'ar'),
|
|
233
|
-
pt: readLocale('unknown_command.md', 'pt'),
|
|
234
|
-
'en-GB': readLocale('unknown_command.md', 'en-GB'),
|
|
235
296
|
it: readLocale('unknown_command.md', 'it'),
|
|
297
|
+
'en-GB': readLocale('unknown_command.md', 'en-GB'),
|
|
298
|
+
pt: readLocale('unknown_command.md', 'pt'),
|
|
236
299
|
hi: readLocale('unknown_command.md', 'hi'),
|
|
237
300
|
tr: readLocale('unknown_command.md', 'tr'),
|
|
301
|
+
pl: readLocale('unknown_command.md', 'pl'),
|
|
302
|
+
id: readLocale('unknown_command.md', 'id'),
|
|
303
|
+
vi: readLocale('unknown_command.md', 'vi'),
|
|
238
304
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
239
305
|
} as const;
|
|
@@ -1,63 +1,71 @@
|
|
|
1
1
|
/* AUTO-GENERATED – DO NOT EDIT */
|
|
2
2
|
/* REGENERATE USING `pnpm prepare` */
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { existsSync } from 'node:fs';
|
|
4
|
+
import { readFile } from 'node:fs/promises';
|
|
5
|
+
import { join } from 'node:path';
|
|
6
|
+
import { ESMxCJSRequire, getPackageJsonPath } from '@intlayer/config';
|
|
7
|
+
import type { LocalesValues } from '@intlayer/types';
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const docEntryPath = ESMxCJSRequire.resolve('@intlayer/docs');
|
|
10
|
+
const { baseDir } = getPackageJsonPath(docEntryPath);
|
|
11
11
|
|
|
12
12
|
const readLocale = (
|
|
13
13
|
relativeAfterLocale: string,
|
|
14
14
|
locale: LocalesValues
|
|
15
15
|
): Promise<string> => {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return readFile(
|
|
23
|
-
join(dir, '../../../legal/en/' + relativeAfterLocale),
|
|
24
|
-
'utf8'
|
|
25
|
-
);
|
|
16
|
+
const target1 = join(baseDir, `./legal/${locale}/${relativeAfterLocale}`);
|
|
17
|
+
if (existsSync(target1)) {
|
|
18
|
+
return readFile(target1, 'utf8');
|
|
19
|
+
}
|
|
20
|
+
const target2 = join(baseDir, `./legal/en/${relativeAfterLocale}`);
|
|
21
|
+
if (existsSync(target2)) {
|
|
22
|
+
return readFile(target2, 'utf8');
|
|
26
23
|
}
|
|
27
|
-
|
|
24
|
+
|
|
25
|
+
return Promise.reject(
|
|
26
|
+
new Error(
|
|
27
|
+
`[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`
|
|
28
|
+
)
|
|
29
|
+
);
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
export const legalEntry = {
|
|
31
33
|
'./legal/en/privacy_notice.md': {
|
|
32
34
|
en: readLocale('privacy_notice.md', 'en'),
|
|
33
|
-
fr: readLocale('privacy_notice.md', 'fr'),
|
|
34
35
|
ru: readLocale('privacy_notice.md', 'ru'),
|
|
35
36
|
ja: readLocale('privacy_notice.md', 'ja'),
|
|
37
|
+
fr: readLocale('privacy_notice.md', 'fr'),
|
|
36
38
|
ko: readLocale('privacy_notice.md', 'ko'),
|
|
37
39
|
zh: readLocale('privacy_notice.md', 'zh'),
|
|
38
40
|
es: readLocale('privacy_notice.md', 'es'),
|
|
39
41
|
de: readLocale('privacy_notice.md', 'de'),
|
|
40
42
|
ar: readLocale('privacy_notice.md', 'ar'),
|
|
41
|
-
pt: readLocale('privacy_notice.md', 'pt'),
|
|
42
|
-
'en-GB': readLocale('privacy_notice.md', 'en-GB'),
|
|
43
43
|
it: readLocale('privacy_notice.md', 'it'),
|
|
44
|
+
'en-GB': readLocale('privacy_notice.md', 'en-GB'),
|
|
45
|
+
pt: readLocale('privacy_notice.md', 'pt'),
|
|
44
46
|
hi: readLocale('privacy_notice.md', 'hi'),
|
|
45
47
|
tr: readLocale('privacy_notice.md', 'tr'),
|
|
48
|
+
pl: readLocale('privacy_notice.md', 'pl'),
|
|
49
|
+
id: readLocale('privacy_notice.md', 'id'),
|
|
50
|
+
vi: readLocale('privacy_notice.md', 'vi'),
|
|
46
51
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
47
52
|
'./legal/en/terms_of_service.md': {
|
|
48
53
|
en: readLocale('terms_of_service.md', 'en'),
|
|
49
|
-
fr: readLocale('terms_of_service.md', 'fr'),
|
|
50
54
|
ru: readLocale('terms_of_service.md', 'ru'),
|
|
51
55
|
ja: readLocale('terms_of_service.md', 'ja'),
|
|
56
|
+
fr: readLocale('terms_of_service.md', 'fr'),
|
|
52
57
|
ko: readLocale('terms_of_service.md', 'ko'),
|
|
53
58
|
zh: readLocale('terms_of_service.md', 'zh'),
|
|
54
59
|
es: readLocale('terms_of_service.md', 'es'),
|
|
55
60
|
de: readLocale('terms_of_service.md', 'de'),
|
|
56
61
|
ar: readLocale('terms_of_service.md', 'ar'),
|
|
57
|
-
pt: readLocale('terms_of_service.md', 'pt'),
|
|
58
|
-
'en-GB': readLocale('terms_of_service.md', 'en-GB'),
|
|
59
62
|
it: readLocale('terms_of_service.md', 'it'),
|
|
63
|
+
'en-GB': readLocale('terms_of_service.md', 'en-GB'),
|
|
64
|
+
pt: readLocale('terms_of_service.md', 'pt'),
|
|
60
65
|
hi: readLocale('terms_of_service.md', 'hi'),
|
|
61
66
|
tr: readLocale('terms_of_service.md', 'tr'),
|
|
67
|
+
pl: readLocale('terms_of_service.md', 'pl'),
|
|
68
|
+
id: readLocale('terms_of_service.md', 'id'),
|
|
69
|
+
vi: readLocale('terms_of_service.md', 'vi'),
|
|
62
70
|
} as unknown as Record<LocalesValues, Promise<string>>,
|
|
63
71
|
} as const;
|
package/src/legal.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { LocalesValues } from '@intlayer/
|
|
1
|
+
import type { DeclaredLocales, LocalesValues } from '@intlayer/types';
|
|
2
2
|
import {
|
|
3
3
|
defaultLocale,
|
|
4
|
-
FileMetadata,
|
|
4
|
+
type FileMetadata,
|
|
5
5
|
getFile,
|
|
6
6
|
getFileBySlug,
|
|
7
7
|
getFileMetadata,
|
|
8
8
|
getFileMetadataBySlug,
|
|
9
9
|
getFileMetadataRecord,
|
|
10
10
|
getFiles,
|
|
11
|
+
getKeys,
|
|
11
12
|
} from './common';
|
|
12
13
|
import { legalEntry } from './generated/legal.entry';
|
|
13
14
|
|
|
@@ -15,36 +16,43 @@ export type LegalKey = keyof typeof legalEntry;
|
|
|
15
16
|
export type Legals = Record<LegalKey, Record<LocalesValues, Promise<string>>>;
|
|
16
17
|
export type LegalMetadata = FileMetadata;
|
|
17
18
|
|
|
18
|
-
export const
|
|
19
|
+
export const getLegalsKeys = (): (keyof typeof legalEntry)[] =>
|
|
20
|
+
getKeys(legalEntry);
|
|
21
|
+
|
|
22
|
+
export const getLegals = async <L extends LocalesValues = DeclaredLocales>(
|
|
19
23
|
locale: L = defaultLocale as L
|
|
20
24
|
): Promise<Record<LegalKey, string>> => getFiles(legalEntry, locale);
|
|
21
25
|
|
|
22
|
-
export const getLegal = async <L extends LocalesValues>(
|
|
26
|
+
export const getLegal = async <L extends LocalesValues = DeclaredLocales>(
|
|
23
27
|
docName: keyof typeof legalEntry,
|
|
24
28
|
locale: L = defaultLocale as L
|
|
25
29
|
): Promise<string> => getFile(legalEntry, docName, locale);
|
|
26
30
|
|
|
27
|
-
export const getLegalMetadataRecord = async <
|
|
31
|
+
export const getLegalMetadataRecord = async <
|
|
32
|
+
L extends LocalesValues = DeclaredLocales,
|
|
33
|
+
>(
|
|
28
34
|
locale: L = defaultLocale as L
|
|
29
35
|
): Promise<Record<LegalKey, FileMetadata>> =>
|
|
30
36
|
getFileMetadataRecord(legalEntry, locale);
|
|
31
37
|
|
|
32
38
|
export const getLegalMetadata = async <
|
|
33
39
|
D extends LegalKey,
|
|
34
|
-
L extends LocalesValues,
|
|
40
|
+
L extends LocalesValues = DeclaredLocales,
|
|
35
41
|
>(
|
|
36
42
|
docName: D,
|
|
37
43
|
locale: L = defaultLocale as L
|
|
38
44
|
): Promise<FileMetadata> => getFileMetadata(legalEntry, docName, locale);
|
|
39
45
|
|
|
40
|
-
export const getLegalMetadataBySlug = async <
|
|
46
|
+
export const getLegalMetadataBySlug = async <
|
|
47
|
+
L extends LocalesValues = DeclaredLocales,
|
|
48
|
+
>(
|
|
41
49
|
slugs: string | string[],
|
|
42
50
|
locale: L = defaultLocale as L,
|
|
43
51
|
strict = false
|
|
44
52
|
): Promise<FileMetadata[]> =>
|
|
45
53
|
await getFileMetadataBySlug(legalEntry, slugs, locale, strict);
|
|
46
54
|
|
|
47
|
-
export const getLegalBySlug = async <L extends LocalesValues>(
|
|
55
|
+
export const getLegalBySlug = async <L extends LocalesValues = DeclaredLocales>(
|
|
48
56
|
slugs: string | string[],
|
|
49
57
|
locale: L = defaultLocale as L,
|
|
50
58
|
strict = false
|