@intlayer/docs 7.5.8 → 7.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/cjs/generated/docs.entry.cjs +38 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +38 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +2 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/cli/index.md +6 -1
- package/docs/ar/cli/init.md +84 -0
- package/docs/ar/cli/push.md +1 -1
- package/docs/ar/configuration.md +3 -3
- package/docs/ar/interest_of_intlayer.md +1 -1
- package/docs/ar/intlayer_CMS.md +5 -5
- package/docs/ar/intlayer_with_angular.md +5 -2
- package/docs/ar/intlayer_with_astro.md +5 -2
- package/docs/ar/intlayer_with_create_react_app.md +5 -2
- package/docs/ar/intlayer_with_express.md +6 -2
- package/docs/ar/intlayer_with_fastify.md +516 -0
- package/docs/ar/intlayer_with_lynx+react.md +5 -2
- package/docs/ar/intlayer_with_nestjs.md +5 -2
- package/docs/ar/intlayer_with_next-i18next.md +1 -1
- package/docs/ar/intlayer_with_next-intl.md +1 -1
- package/docs/ar/intlayer_with_nextjs_14.md +1 -1
- package/docs/ar/intlayer_with_nextjs_15.md +5 -2
- package/docs/ar/intlayer_with_nextjs_16.md +5 -2
- package/docs/ar/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/ar/intlayer_with_nuxt.md +1 -1
- package/docs/ar/intlayer_with_react_native+expo.md +5 -2
- package/docs/ar/intlayer_with_react_router_v7.md +5 -2
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/ar/intlayer_with_svelte_kit.md +5 -2
- package/docs/ar/intlayer_with_tanstack.md +5 -2
- package/docs/ar/intlayer_with_vite+preact.md +5 -2
- package/docs/ar/intlayer_with_vite+react.md +5 -2
- package/docs/ar/intlayer_with_vite+solid.md +5 -2
- package/docs/ar/intlayer_with_vite+svelte.md +5 -2
- package/docs/ar/intlayer_with_vite+vue.md +5 -2
- package/docs/ar/readme.md +1 -1
- package/docs/de/cli/index.md +6 -1
- package/docs/de/cli/init.md +92 -0
- package/docs/de/cli/push.md +1 -1
- package/docs/de/configuration.md +3 -3
- package/docs/de/interest_of_intlayer.md +1 -1
- package/docs/de/intlayer_CMS.md +5 -5
- package/docs/de/intlayer_with_angular.md +5 -2
- package/docs/de/intlayer_with_astro.md +5 -2
- package/docs/de/intlayer_with_create_react_app.md +1 -1
- package/docs/de/intlayer_with_express.md +6 -2
- package/docs/de/intlayer_with_fastify.md +449 -0
- package/docs/de/intlayer_with_lynx+react.md +5 -2
- package/docs/de/intlayer_with_nestjs.md +5 -2
- package/docs/de/intlayer_with_next-i18next.md +1 -1
- package/docs/de/intlayer_with_next-intl.md +1 -1
- package/docs/de/intlayer_with_nextjs_14.md +1 -1
- package/docs/de/intlayer_with_nextjs_15.md +5 -2
- package/docs/de/intlayer_with_nextjs_16.md +5 -2
- package/docs/de/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/de/intlayer_with_nuxt.md +1 -1
- package/docs/de/intlayer_with_react_native+expo.md +5 -2
- package/docs/de/intlayer_with_react_router_v7.md +5 -2
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/de/intlayer_with_svelte_kit.md +5 -2
- package/docs/de/intlayer_with_tanstack.md +5 -2
- package/docs/de/intlayer_with_vite+preact.md +5 -2
- package/docs/de/intlayer_with_vite+react.md +5 -2
- package/docs/de/intlayer_with_vite+solid.md +5 -2
- package/docs/de/intlayer_with_vite+svelte.md +5 -2
- package/docs/de/intlayer_with_vite+vue.md +5 -2
- package/docs/de/readme.md +1 -1
- package/docs/en/cli/index.md +6 -1
- package/docs/en/cli/init.md +84 -0
- package/docs/en/cli/push.md +1 -1
- package/docs/en/configuration.md +3 -3
- package/docs/en/interest_of_intlayer.md +1 -1
- package/docs/en/intlayer_CMS.md +5 -5
- package/docs/en/intlayer_with_angular.md +5 -2
- package/docs/en/intlayer_with_astro.md +5 -2
- package/docs/en/intlayer_with_create_react_app.md +5 -2
- package/docs/en/intlayer_with_express.md +6 -2
- package/docs/en/intlayer_with_fastify.md +439 -0
- package/docs/en/intlayer_with_lynx+react.md +5 -2
- package/docs/en/intlayer_with_nestjs.md +5 -2
- package/docs/en/intlayer_with_next-i18next.md +1 -1
- package/docs/en/intlayer_with_next-intl.md +1 -1
- package/docs/en/intlayer_with_nextjs_14.md +5 -2
- package/docs/en/intlayer_with_nextjs_15.md +5 -2
- package/docs/en/intlayer_with_nextjs_16.md +5 -2
- package/docs/en/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/en/intlayer_with_nuxt.md +5 -2
- package/docs/en/intlayer_with_react_native+expo.md +5 -2
- package/docs/en/intlayer_with_react_router_v7.md +5 -2
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/en/intlayer_with_svelte_kit.md +5 -2
- package/docs/en/intlayer_with_tanstack.md +5 -2
- package/docs/en/intlayer_with_vite+preact.md +5 -2
- package/docs/en/intlayer_with_vite+react.md +5 -2
- package/docs/en/intlayer_with_vite+solid.md +5 -2
- package/docs/en/intlayer_with_vite+svelte.md +5 -2
- package/docs/en/intlayer_with_vite+vue.md +5 -2
- package/docs/en/readme.md +3 -1
- package/docs/en-GB/cli/index.md +6 -1
- package/docs/en-GB/cli/init.md +89 -0
- package/docs/en-GB/cli/push.md +1 -1
- package/docs/en-GB/configuration.md +3 -3
- package/docs/en-GB/interest_of_intlayer.md +1 -1
- package/docs/en-GB/intlayer_CMS.md +5 -5
- package/docs/en-GB/intlayer_with_angular.md +5 -2
- package/docs/en-GB/intlayer_with_astro.md +5 -2
- package/docs/en-GB/intlayer_with_create_react_app.md +5 -2
- package/docs/en-GB/intlayer_with_express.md +6 -2
- package/docs/en-GB/intlayer_with_fastify.md +445 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +5 -2
- package/docs/en-GB/intlayer_with_nestjs.md +5 -2
- package/docs/en-GB/intlayer_with_next-i18next.md +1 -1
- package/docs/en-GB/intlayer_with_next-intl.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_14.md +5 -2
- package/docs/en-GB/intlayer_with_nextjs_15.md +5 -2
- package/docs/en-GB/intlayer_with_nextjs_16.md +5 -2
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/en-GB/intlayer_with_nuxt.md +1 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +5 -2
- package/docs/en-GB/intlayer_with_react_router_v7.md +5 -2
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/en-GB/intlayer_with_svelte_kit.md +5 -2
- package/docs/en-GB/intlayer_with_tanstack.md +5 -2
- package/docs/en-GB/intlayer_with_vite+preact.md +5 -2
- package/docs/en-GB/intlayer_with_vite+react.md +5 -2
- package/docs/en-GB/intlayer_with_vite+solid.md +5 -2
- package/docs/en-GB/intlayer_with_vite+svelte.md +5 -2
- package/docs/en-GB/intlayer_with_vite+vue.md +5 -2
- package/docs/en-GB/readme.md +3 -1
- package/docs/es/cli/index.md +6 -1
- package/docs/es/cli/init.md +84 -0
- package/docs/es/cli/push.md +1 -1
- package/docs/es/configuration.md +3 -3
- package/docs/es/interest_of_intlayer.md +1 -1
- package/docs/es/intlayer_CMS.md +5 -5
- package/docs/es/intlayer_with_angular.md +5 -2
- package/docs/es/intlayer_with_astro.md +5 -2
- package/docs/es/intlayer_with_create_react_app.md +5 -2
- package/docs/es/intlayer_with_express.md +6 -2
- package/docs/es/intlayer_with_fastify.md +480 -0
- package/docs/es/intlayer_with_lynx+react.md +5 -2
- package/docs/es/intlayer_with_nestjs.md +5 -2
- package/docs/es/intlayer_with_next-i18next.md +1 -1
- package/docs/es/intlayer_with_next-intl.md +1 -1
- package/docs/es/intlayer_with_nextjs_14.md +5 -2
- package/docs/es/intlayer_with_nextjs_15.md +5 -2
- package/docs/es/intlayer_with_nextjs_16.md +5 -2
- package/docs/es/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/es/intlayer_with_nuxt.md +1 -1
- package/docs/es/intlayer_with_react_native+expo.md +5 -2
- package/docs/es/intlayer_with_react_router_v7.md +5 -2
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/es/intlayer_with_svelte_kit.md +5 -2
- package/docs/es/intlayer_with_tanstack.md +5 -2
- package/docs/es/intlayer_with_vite+preact.md +5 -2
- package/docs/es/intlayer_with_vite+react.md +5 -2
- package/docs/es/intlayer_with_vite+solid.md +5 -2
- package/docs/es/intlayer_with_vite+svelte.md +5 -2
- package/docs/es/intlayer_with_vite+vue.md +5 -2
- package/docs/es/readme.md +1 -1
- package/docs/fr/cli/index.md +6 -1
- package/docs/fr/cli/init.md +84 -0
- package/docs/fr/cli/push.md +1 -1
- package/docs/fr/configuration.md +3 -3
- package/docs/fr/interest_of_intlayer.md +1 -1
- package/docs/fr/intlayer_CMS.md +5 -5
- package/docs/fr/intlayer_with_angular.md +5 -2
- package/docs/fr/intlayer_with_astro.md +5 -2
- package/docs/fr/intlayer_with_create_react_app.md +5 -2
- package/docs/fr/intlayer_with_express.md +6 -2
- package/docs/fr/intlayer_with_fastify.md +439 -0
- package/docs/fr/intlayer_with_lynx+react.md +5 -2
- package/docs/fr/intlayer_with_nestjs.md +5 -2
- package/docs/fr/intlayer_with_next-i18next.md +1 -1
- package/docs/fr/intlayer_with_next-intl.md +1 -1
- package/docs/fr/intlayer_with_nextjs_14.md +1 -1
- package/docs/fr/intlayer_with_nextjs_15.md +5 -2
- package/docs/fr/intlayer_with_nextjs_16.md +5 -2
- package/docs/fr/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/fr/intlayer_with_nuxt.md +1 -1
- package/docs/fr/intlayer_with_react_native+expo.md +5 -2
- package/docs/fr/intlayer_with_react_router_v7.md +5 -2
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/fr/intlayer_with_svelte_kit.md +5 -2
- package/docs/fr/intlayer_with_tanstack.md +5 -2
- package/docs/fr/intlayer_with_vite+preact.md +5 -2
- package/docs/fr/intlayer_with_vite+react.md +5 -2
- package/docs/fr/intlayer_with_vite+solid.md +5 -2
- package/docs/fr/intlayer_with_vite+svelte.md +5 -2
- package/docs/fr/intlayer_with_vite+vue.md +5 -2
- package/docs/fr/readme.md +1 -1
- package/docs/hi/cli/index.md +6 -1
- package/docs/hi/cli/init.md +92 -0
- package/docs/hi/cli/push.md +1 -1
- package/docs/hi/configuration.md +3 -3
- package/docs/hi/interest_of_intlayer.md +1 -1
- package/docs/hi/intlayer_CMS.md +5 -5
- package/docs/hi/intlayer_with_angular.md +5 -2
- package/docs/hi/intlayer_with_astro.md +5 -2
- package/docs/hi/intlayer_with_create_react_app.md +1 -1
- package/docs/hi/intlayer_with_express.md +6 -2
- package/docs/hi/intlayer_with_fastify.md +540 -0
- package/docs/hi/intlayer_with_lynx+react.md +5 -2
- package/docs/hi/intlayer_with_nestjs.md +5 -2
- package/docs/hi/intlayer_with_next-i18next.md +1 -1
- package/docs/hi/intlayer_with_next-intl.md +1 -1
- package/docs/hi/intlayer_with_nextjs_14.md +1 -1
- package/docs/hi/intlayer_with_nextjs_15.md +5 -2
- package/docs/hi/intlayer_with_nextjs_16.md +5 -2
- package/docs/hi/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/hi/intlayer_with_nuxt.md +1 -1
- package/docs/hi/intlayer_with_react_native+expo.md +5 -2
- package/docs/hi/intlayer_with_react_router_v7.md +5 -2
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/hi/intlayer_with_svelte_kit.md +5 -2
- package/docs/hi/intlayer_with_tanstack.md +5 -2
- package/docs/hi/intlayer_with_vite+preact.md +5 -2
- package/docs/hi/intlayer_with_vite+react.md +5 -2
- package/docs/hi/intlayer_with_vite+solid.md +5 -2
- package/docs/hi/intlayer_with_vite+svelte.md +5 -2
- package/docs/hi/intlayer_with_vite+vue.md +5 -2
- package/docs/hi/readme.md +1 -1
- package/docs/id/cli/index.md +6 -1
- package/docs/id/cli/init.md +89 -0
- package/docs/id/cli/push.md +1 -1
- package/docs/id/configuration.md +3 -3
- package/docs/id/interest_of_intlayer.md +1 -1
- package/docs/id/intlayer_CMS.md +5 -5
- package/docs/id/intlayer_with_angular.md +5 -2
- package/docs/id/intlayer_with_astro.md +5 -2
- package/docs/id/intlayer_with_create_react_app.md +5 -2
- package/docs/id/intlayer_with_express.md +6 -2
- package/docs/id/intlayer_with_fastify.md +470 -0
- package/docs/id/intlayer_with_lynx+react.md +5 -2
- package/docs/id/intlayer_with_nestjs.md +5 -2
- package/docs/id/intlayer_with_next-i18next.md +1 -1
- package/docs/id/intlayer_with_next-intl.md +1 -1
- package/docs/id/intlayer_with_nextjs_14.md +5 -2
- package/docs/id/intlayer_with_nextjs_15.md +5 -2
- package/docs/id/intlayer_with_nextjs_16.md +5 -2
- package/docs/id/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/id/intlayer_with_nuxt.md +1 -1
- package/docs/id/intlayer_with_react_native+expo.md +5 -2
- package/docs/id/intlayer_with_react_router_v7.md +5 -2
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/id/intlayer_with_svelte_kit.md +5 -2
- package/docs/id/intlayer_with_tanstack.md +5 -2
- package/docs/id/intlayer_with_vite+preact.md +5 -2
- package/docs/id/intlayer_with_vite+react.md +5 -2
- package/docs/id/intlayer_with_vite+solid.md +5 -2
- package/docs/id/intlayer_with_vite+svelte.md +5 -2
- package/docs/id/intlayer_with_vite+vue.md +5 -2
- package/docs/id/readme.md +1 -1
- package/docs/it/cli/index.md +6 -1
- package/docs/it/cli/init.md +97 -0
- package/docs/it/cli/push.md +1 -1
- package/docs/it/configuration.md +3 -3
- package/docs/it/interest_of_intlayer.md +1 -1
- package/docs/it/intlayer_CMS.md +5 -5
- package/docs/it/intlayer_with_angular.md +5 -2
- package/docs/it/intlayer_with_astro.md +5 -2
- package/docs/it/intlayer_with_create_react_app.md +5 -2
- package/docs/it/intlayer_with_express.md +6 -2
- package/docs/it/intlayer_with_fastify.md +445 -0
- package/docs/it/intlayer_with_lynx+react.md +5 -2
- package/docs/it/intlayer_with_nestjs.md +5 -2
- package/docs/it/intlayer_with_next-i18next.md +1 -1
- package/docs/it/intlayer_with_next-intl.md +1 -1
- package/docs/it/intlayer_with_nextjs_14.md +1 -1
- package/docs/it/intlayer_with_nextjs_15.md +5 -2
- package/docs/it/intlayer_with_nextjs_16.md +5 -2
- package/docs/it/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/it/intlayer_with_nuxt.md +1 -1
- package/docs/it/intlayer_with_react_native+expo.md +5 -2
- package/docs/it/intlayer_with_react_router_v7.md +5 -2
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/it/intlayer_with_svelte_kit.md +5 -2
- package/docs/it/intlayer_with_tanstack.md +5 -2
- package/docs/it/intlayer_with_vite+preact.md +5 -2
- package/docs/it/intlayer_with_vite+react.md +5 -2
- package/docs/it/intlayer_with_vite+solid.md +5 -2
- package/docs/it/intlayer_with_vite+svelte.md +5 -2
- package/docs/it/intlayer_with_vite+vue.md +5 -2
- package/docs/it/readme.md +1 -1
- package/docs/ja/cli/index.md +6 -1
- package/docs/ja/cli/init.md +84 -0
- package/docs/ja/cli/push.md +1 -1
- package/docs/ja/configuration.md +3 -3
- package/docs/ja/interest_of_intlayer.md +1 -1
- package/docs/ja/intlayer_CMS.md +5 -5
- package/docs/ja/intlayer_with_angular.md +5 -2
- package/docs/ja/intlayer_with_astro.md +5 -2
- package/docs/ja/intlayer_with_create_react_app.md +5 -2
- package/docs/ja/intlayer_with_express.md +6 -2
- package/docs/ja/intlayer_with_fastify.md +516 -0
- package/docs/ja/intlayer_with_lynx+react.md +5 -2
- package/docs/ja/intlayer_with_nestjs.md +5 -2
- package/docs/ja/intlayer_with_nextjs_14.md +5 -2
- package/docs/ja/intlayer_with_nextjs_15.md +5 -2
- package/docs/ja/intlayer_with_nextjs_16.md +4 -1
- package/docs/ja/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/ja/intlayer_with_nuxt.md +1 -1
- package/docs/ja/intlayer_with_react_native+expo.md +5 -2
- package/docs/ja/intlayer_with_react_router_v7.md +5 -2
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/ja/intlayer_with_svelte_kit.md +5 -2
- package/docs/ja/intlayer_with_tanstack.md +5 -2
- package/docs/ja/intlayer_with_vite+preact.md +5 -2
- package/docs/ja/intlayer_with_vite+react.md +5 -2
- package/docs/ja/intlayer_with_vite+solid.md +5 -2
- package/docs/ja/intlayer_with_vite+svelte.md +5 -2
- package/docs/ja/intlayer_with_vite+vue.md +5 -2
- package/docs/ja/readme.md +1 -1
- package/docs/ko/cli/index.md +6 -1
- package/docs/ko/cli/init.md +92 -0
- package/docs/ko/cli/push.md +1 -1
- package/docs/ko/configuration.md +3 -3
- package/docs/ko/interest_of_intlayer.md +1 -1
- package/docs/ko/intlayer_CMS.md +5 -5
- package/docs/ko/intlayer_with_angular.md +5 -2
- package/docs/ko/intlayer_with_astro.md +5 -2
- package/docs/ko/intlayer_with_create_react_app.md +5 -2
- package/docs/ko/intlayer_with_express.md +6 -2
- package/docs/ko/intlayer_with_fastify.md +463 -0
- package/docs/ko/intlayer_with_lynx+react.md +5 -2
- package/docs/ko/intlayer_with_nestjs.md +5 -2
- package/docs/ko/intlayer_with_nextjs_14.md +5 -2
- package/docs/ko/intlayer_with_nextjs_15.md +5 -2
- package/docs/ko/intlayer_with_nextjs_16.md +4 -1
- package/docs/ko/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/ko/intlayer_with_nuxt.md +1 -1
- package/docs/ko/intlayer_with_react_native+expo.md +5 -2
- package/docs/ko/intlayer_with_react_router_v7.md +5 -2
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/ko/intlayer_with_svelte_kit.md +5 -2
- package/docs/ko/intlayer_with_tanstack.md +5 -2
- package/docs/ko/intlayer_with_vite+preact.md +5 -2
- package/docs/ko/intlayer_with_vite+react.md +5 -2
- package/docs/ko/intlayer_with_vite+solid.md +5 -2
- package/docs/ko/intlayer_with_vite+svelte.md +4 -1
- package/docs/ko/intlayer_with_vite+vue.md +5 -2
- package/docs/ko/readme.md +1 -1
- package/docs/pl/cli/index.md +6 -1
- package/docs/pl/cli/init.md +92 -0
- package/docs/pl/cli/push.md +1 -1
- package/docs/pl/configuration.md +3 -3
- package/docs/pl/interest_of_intlayer.md +1 -1
- package/docs/pl/intlayer_CMS.md +5 -5
- package/docs/pl/intlayer_with_angular.md +5 -2
- package/docs/pl/intlayer_with_astro.md +6 -3
- package/docs/pl/intlayer_with_create_react_app.md +5 -2
- package/docs/pl/intlayer_with_express.md +6 -2
- package/docs/pl/intlayer_with_fastify.md +457 -0
- package/docs/pl/intlayer_with_lynx+react.md +5 -2
- package/docs/pl/intlayer_with_nestjs.md +5 -2
- package/docs/pl/intlayer_with_next-i18next.md +1 -1
- package/docs/pl/intlayer_with_next-intl.md +1 -1
- package/docs/pl/intlayer_with_nextjs_14.md +5 -2
- package/docs/pl/intlayer_with_nextjs_15.md +5 -2
- package/docs/pl/intlayer_with_nextjs_16.md +5 -2
- package/docs/pl/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/pl/intlayer_with_nuxt.md +1 -1
- package/docs/pl/intlayer_with_react_native+expo.md +5 -2
- package/docs/pl/intlayer_with_react_router_v7.md +5 -2
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/pl/intlayer_with_svelte_kit.md +5 -2
- package/docs/pl/intlayer_with_tanstack.md +5 -2
- package/docs/pl/intlayer_with_vite+preact.md +5 -2
- package/docs/pl/intlayer_with_vite+react.md +5 -2
- package/docs/pl/intlayer_with_vite+solid.md +5 -2
- package/docs/pl/intlayer_with_vite+svelte.md +5 -2
- package/docs/pl/intlayer_with_vite+vue.md +5 -2
- package/docs/pl/readme.md +1 -1
- package/docs/pt/cli/index.md +6 -1
- package/docs/pt/cli/init.md +92 -0
- package/docs/pt/cli/push.md +1 -1
- package/docs/pt/configuration.md +3 -3
- package/docs/pt/interest_of_intlayer.md +1 -1
- package/docs/pt/intlayer_CMS.md +5 -5
- package/docs/pt/intlayer_with_angular.md +5 -2
- package/docs/pt/intlayer_with_astro.md +5 -2
- package/docs/pt/intlayer_with_create_react_app.md +5 -2
- package/docs/pt/intlayer_with_express.md +6 -2
- package/docs/pt/intlayer_with_fastify.md +502 -0
- package/docs/pt/intlayer_with_lynx+react.md +5 -2
- package/docs/pt/intlayer_with_nestjs.md +5 -2
- package/docs/pt/intlayer_with_next-i18next.md +1 -1
- package/docs/pt/intlayer_with_next-intl.md +1 -1
- package/docs/pt/intlayer_with_nextjs_14.md +1 -1
- package/docs/pt/intlayer_with_nextjs_15.md +5 -2
- package/docs/pt/intlayer_with_nextjs_16.md +5 -2
- package/docs/pt/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/pt/intlayer_with_nuxt.md +1 -1
- package/docs/pt/intlayer_with_react_native+expo.md +5 -2
- package/docs/pt/intlayer_with_react_router_v7.md +5 -2
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/pt/intlayer_with_svelte_kit.md +5 -2
- package/docs/pt/intlayer_with_tanstack.md +5 -2
- package/docs/pt/intlayer_with_vite+preact.md +5 -2
- package/docs/pt/intlayer_with_vite+react.md +5 -2
- package/docs/pt/intlayer_with_vite+solid.md +5 -2
- package/docs/pt/intlayer_with_vite+svelte.md +5 -2
- package/docs/pt/intlayer_with_vite+vue.md +5 -2
- package/docs/pt/readme.md +1 -1
- package/docs/ru/cli/index.md +6 -1
- package/docs/ru/cli/init.md +92 -0
- package/docs/ru/cli/push.md +1 -1
- package/docs/ru/configuration.md +3 -3
- package/docs/ru/interest_of_intlayer.md +1 -1
- package/docs/ru/intlayer_CMS.md +5 -5
- package/docs/ru/intlayer_with_angular.md +5 -2
- package/docs/ru/intlayer_with_astro.md +5 -2
- package/docs/ru/intlayer_with_create_react_app.md +5 -2
- package/docs/ru/intlayer_with_express.md +6 -2
- package/docs/ru/intlayer_with_fastify.md +468 -0
- package/docs/ru/intlayer_with_lynx+react.md +5 -2
- package/docs/ru/intlayer_with_nestjs.md +5 -2
- package/docs/ru/intlayer_with_next-i18next.md +1 -1
- package/docs/ru/intlayer_with_next-intl.md +1 -1
- package/docs/ru/intlayer_with_nextjs_14.md +1 -1
- package/docs/ru/intlayer_with_nextjs_15.md +5 -2
- package/docs/ru/intlayer_with_nextjs_16.md +5 -2
- package/docs/ru/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/ru/intlayer_with_nuxt.md +1 -1
- package/docs/ru/intlayer_with_react_native+expo.md +5 -2
- package/docs/ru/intlayer_with_react_router_v7.md +5 -2
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/ru/intlayer_with_svelte_kit.md +5 -2
- package/docs/ru/intlayer_with_tanstack.md +5 -2
- package/docs/ru/intlayer_with_vite+preact.md +5 -2
- package/docs/ru/intlayer_with_vite+react.md +5 -2
- package/docs/ru/intlayer_with_vite+solid.md +5 -2
- package/docs/ru/intlayer_with_vite+svelte.md +5 -2
- package/docs/ru/intlayer_with_vite+vue.md +5 -2
- package/docs/ru/readme.md +1 -1
- package/docs/tr/cli/index.md +6 -1
- package/docs/tr/cli/init.md +89 -0
- package/docs/tr/cli/push.md +1 -1
- package/docs/tr/configuration.md +3 -3
- package/docs/tr/interest_of_intlayer.md +1 -1
- package/docs/tr/intlayer_CMS.md +5 -5
- package/docs/tr/intlayer_with_angular.md +5 -2
- package/docs/tr/intlayer_with_astro.md +5 -2
- package/docs/tr/intlayer_with_create_react_app.md +5 -2
- package/docs/tr/intlayer_with_express.md +6 -2
- package/docs/tr/intlayer_with_fastify.md +471 -0
- package/docs/tr/intlayer_with_lynx+react.md +5 -2
- package/docs/tr/intlayer_with_nestjs.md +5 -2
- package/docs/tr/intlayer_with_next-i18next.md +1 -1
- package/docs/tr/intlayer_with_next-intl.md +1 -1
- package/docs/tr/intlayer_with_nextjs_14.md +5 -2
- package/docs/tr/intlayer_with_nextjs_15.md +5 -2
- package/docs/tr/intlayer_with_nextjs_16.md +5 -2
- package/docs/tr/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/tr/intlayer_with_nuxt.md +1 -1
- package/docs/tr/intlayer_with_react_native+expo.md +5 -2
- package/docs/tr/intlayer_with_react_router_v7.md +5 -2
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/tr/intlayer_with_svelte_kit.md +5 -2
- package/docs/tr/intlayer_with_tanstack.md +5 -2
- package/docs/tr/intlayer_with_vite+preact.md +5 -2
- package/docs/tr/intlayer_with_vite+react.md +5 -2
- package/docs/tr/intlayer_with_vite+solid.md +5 -2
- package/docs/tr/intlayer_with_vite+svelte.md +5 -2
- package/docs/tr/intlayer_with_vite+vue.md +5 -2
- package/docs/tr/readme.md +1 -1
- package/docs/vi/cli/index.md +6 -1
- package/docs/vi/cli/init.md +84 -0
- package/docs/vi/cli/push.md +1 -1
- package/docs/vi/configuration.md +3 -3
- package/docs/vi/interest_of_intlayer.md +1 -1
- package/docs/vi/intlayer_CMS.md +5 -5
- package/docs/vi/intlayer_with_angular.md +5 -2
- package/docs/vi/intlayer_with_astro.md +5 -2
- package/docs/vi/intlayer_with_create_react_app.md +5 -2
- package/docs/vi/intlayer_with_express.md +6 -2
- package/docs/vi/intlayer_with_fastify.md +490 -0
- package/docs/vi/intlayer_with_lynx+react.md +5 -2
- package/docs/vi/intlayer_with_nestjs.md +5 -2
- package/docs/vi/intlayer_with_next-i18next.md +1 -1
- package/docs/vi/intlayer_with_next-intl.md +1 -1
- package/docs/vi/intlayer_with_nextjs_14.md +5 -2
- package/docs/vi/intlayer_with_nextjs_15.md +5 -2
- package/docs/vi/intlayer_with_nextjs_16.md +5 -2
- package/docs/vi/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/vi/intlayer_with_nuxt.md +1 -1
- package/docs/vi/intlayer_with_react_native+expo.md +5 -2
- package/docs/vi/intlayer_with_react_router_v7.md +5 -2
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/vi/intlayer_with_svelte_kit.md +5 -2
- package/docs/vi/intlayer_with_tanstack.md +5 -2
- package/docs/vi/intlayer_with_vite+preact.md +5 -2
- package/docs/vi/intlayer_with_vite+react.md +5 -2
- package/docs/vi/intlayer_with_vite+solid.md +5 -2
- package/docs/vi/intlayer_with_vite+svelte.md +5 -2
- package/docs/vi/intlayer_with_vite+vue.md +5 -2
- package/docs/vi/readme.md +1 -1
- package/docs/zh/cli/index.md +6 -1
- package/docs/zh/cli/init.md +84 -0
- package/docs/zh/cli/push.md +1 -1
- package/docs/zh/configuration.md +3 -3
- package/docs/zh/interest_of_intlayer.md +1 -1
- package/docs/zh/intlayer_CMS.md +5 -5
- package/docs/zh/intlayer_with_angular.md +5 -2
- package/docs/zh/intlayer_with_astro.md +5 -2
- package/docs/zh/intlayer_with_create_react_app.md +5 -2
- package/docs/zh/intlayer_with_express.md +6 -2
- package/docs/zh/intlayer_with_fastify.md +451 -0
- package/docs/zh/intlayer_with_lynx+react.md +5 -2
- package/docs/zh/intlayer_with_nestjs.md +5 -2
- package/docs/zh/intlayer_with_nextjs_14.md +5 -2
- package/docs/zh/intlayer_with_nextjs_15.md +5 -2
- package/docs/zh/intlayer_with_nextjs_16.md +4 -1
- package/docs/zh/intlayer_with_nextjs_page_router.md +5 -2
- package/docs/zh/intlayer_with_react_native+expo.md +5 -2
- package/docs/zh/intlayer_with_react_router_v7.md +5 -2
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +5 -2
- package/docs/zh/intlayer_with_svelte_kit.md +4 -1
- package/docs/zh/intlayer_with_tanstack.md +5 -2
- package/docs/zh/intlayer_with_vite+preact.md +5 -2
- package/docs/zh/intlayer_with_vite+react.md +4 -1
- package/docs/zh/intlayer_with_vite+solid.md +5 -2
- package/docs/zh/intlayer_with_vite+svelte.md +4 -1
- package/docs/zh/intlayer_with_vite+vue.md +5 -2
- package/docs/zh/readme.md +1 -1
- package/package.json +6 -6
- package/src/generated/docs.entry.ts +38 -0
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-12-30
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu backend con Fastify – guía i18n 2026
|
|
5
|
+
description: Descubre cómo hacer tu backend con Fastify multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
|
+
keywords:
|
|
7
|
+
- Internacionalización
|
|
8
|
+
- Documentación
|
|
9
|
+
- Intlayer
|
|
10
|
+
- Fastify
|
|
11
|
+
- JavaScript
|
|
12
|
+
- Backend
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- environment
|
|
16
|
+
- fastify
|
|
17
|
+
applicationTemplate: https://github.com/aymericzip/intlayer-fastify-template
|
|
18
|
+
history:
|
|
19
|
+
- version: 7.6.0
|
|
20
|
+
date: 2025-12-31
|
|
21
|
+
changes: Agregar comando init
|
|
22
|
+
- version: 7.6.0
|
|
23
|
+
date: 2025-12-31
|
|
24
|
+
changes: Historial inicial
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# Traduce tu backend de Fastify usando Intlayer | Internacionalización (i18n)
|
|
28
|
+
|
|
29
|
+
`fastify-intlayer` es un potente plugin de internacionalización (i18n) para aplicaciones Fastify, diseñado para hacer que tus servicios backend sean accesibles globalmente proporcionando respuestas localizadas basadas en las preferencias del cliente.
|
|
30
|
+
|
|
31
|
+
### Casos de uso prácticos
|
|
32
|
+
|
|
33
|
+
- **Mostrar errores del backend en el idioma del usuario**: Cuando ocurre un error, mostrar mensajes en la lengua nativa del usuario mejora la comprensión y reduce la frustración. Esto es especialmente útil para mensajes de error dinámicos que podrían mostrarse en componentes frontend como toasts o modales.
|
|
34
|
+
|
|
35
|
+
`fastify-intlayer` es un potente plugin de internacionalización (i18n) para aplicaciones Fastify, diseñado para hacer que tus servicios backend sean accesibles globalmente proporcionando respuestas localizadas según las preferencias del cliente.
|
|
36
|
+
|
|
37
|
+
### Casos de uso prácticos
|
|
38
|
+
|
|
39
|
+
- **Mostrar errores del backend en el idioma del usuario**: Cuando ocurre un error, mostrar mensajes en la lengua nativa del usuario mejora la comprensión y reduce la frustración. Esto es especialmente útil para mensajes de error dinámicos que podrían mostrarse en componentes front-end como toasts o modals.
|
|
40
|
+
- **Recuperar contenido multilingüe**: Para aplicaciones que obtienen contenido de una base de datos, la internacionalización garantiza que puedas servir ese contenido en varios idiomas. Esto es crucial para plataformas como sitios de comercio electrónico o sistemas de gestión de contenido que necesitan mostrar descripciones de productos, artículos y otros contenidos en el idioma preferido por el usuario.
|
|
41
|
+
- **Enviar correos electrónicos multilingües**: Ya sean correos transaccionales, campañas de marketing o notificaciones, enviar correos en el idioma del destinatario puede aumentar significativamente el compromiso y la efectividad.
|
|
42
|
+
- **Notificaciones push multilingües**: Para aplicaciones móviles, enviar notificaciones push en el idioma preferido del usuario puede mejorar la interacción y la retención. Este toque personal puede hacer que las notificaciones se sientan más relevantes y accionables.
|
|
43
|
+
- **Otras comunicaciones**: Cualquier forma de comunicación desde el backend, como mensajes SMS, alertas del sistema o actualizaciones de la interfaz de usuario, se beneficia de estar en el idioma del usuario, garantizando claridad y mejorando la experiencia de usuario en general.
|
|
44
|
+
|
|
45
|
+
Al internacionalizar el backend, tu aplicación no solo respeta las diferencias culturales, sino que también se alinea mejor con las necesidades del mercado global, convirtiéndolo en un paso clave para escalar tus servicios a nivel mundial.
|
|
46
|
+
|
|
47
|
+
## Primeros pasos
|
|
48
|
+
|
|
49
|
+
### Instalación
|
|
50
|
+
|
|
51
|
+
Para comenzar a usar `fastify-intlayer`, instala el paquete usando npm:
|
|
52
|
+
|
|
53
|
+
```bash packageManager="npm"
|
|
54
|
+
npm install intlayer fastify-intlayer
|
|
55
|
+
npx intlayer init
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```bash packageManager="pnpm"
|
|
60
|
+
pnpm add intlayer fastify-intlayer
|
|
61
|
+
pnpm intlayer init
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
```bash packageManager="yarn"
|
|
66
|
+
yarn add intlayer fastify-intlayer
|
|
67
|
+
yarn intlayer init
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
```bash packageManager="bun"
|
|
72
|
+
bun add intlayer fastify-intlayer
|
|
73
|
+
bunx intlayer init
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Configuración
|
|
78
|
+
|
|
79
|
+
Configura los ajustes de internacionalización creando un archivo `intlayer.config.ts` en la raíz de tu proyecto:
|
|
80
|
+
|
|
81
|
+
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
82
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
83
|
+
|
|
84
|
+
const config: IntlayerConfig = {
|
|
85
|
+
internationalization: {
|
|
86
|
+
locales: [
|
|
87
|
+
Locales.ENGLISH,
|
|
88
|
+
Locales.FRENCH,
|
|
89
|
+
Locales.SPANISH_MEXICO,
|
|
90
|
+
Locales.SPANISH_SPAIN,
|
|
91
|
+
],
|
|
92
|
+
defaultLocale: Locales.ENGLISH,
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export default config;
|
|
97
|
+
defaultLocale: Locales.ENGLISH,
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default config;
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```javascript fileName="intlayer.config.mjs" codeFormat="esm"
|
|
105
|
+
import { Locales } from "intlayer";
|
|
106
|
+
|
|
107
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
108
|
+
const config = {
|
|
109
|
+
internationalization: {
|
|
110
|
+
locales: [
|
|
111
|
+
Locales.ENGLISH,
|
|
112
|
+
Locales.FRENCH,
|
|
113
|
+
Locales.SPANISH_MEXICO,
|
|
114
|
+
Locales.SPANISH_SPAIN,
|
|
115
|
+
],
|
|
116
|
+
defaultLocale: Locales.ENGLISH,
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export default config;
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
|
|
124
|
+
const { Locales } = require("intlayer");
|
|
125
|
+
|
|
126
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
127
|
+
const config = {
|
|
128
|
+
internationalization: {
|
|
129
|
+
locales: [
|
|
130
|
+
Locales.ENGLISH,
|
|
131
|
+
Locales.FRENCH,
|
|
132
|
+
Locales.SPANISH_MEXICO,
|
|
133
|
+
Locales.SPANISH_SPAIN,
|
|
134
|
+
],
|
|
135
|
+
defaultLocale: Locales.ENGLISH,
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
module.exports = config;
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Declara tu contenido
|
|
143
|
+
|
|
144
|
+
Crea y gestiona tus declaraciones de contenido para almacenar traducciones:
|
|
145
|
+
|
|
146
|
+
```typescript fileName="src/index.content.ts" contentDeclarationFormat="typescript"
|
|
147
|
+
import { t, type Dictionary } from "intlayer";
|
|
148
|
+
|
|
149
|
+
const indexContent = {
|
|
150
|
+
key: "index",
|
|
151
|
+
content: {
|
|
152
|
+
exampleOfContent: t({
|
|
153
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
154
|
+
en: "Example of returned content in English",
|
|
155
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
156
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
157
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
158
|
+
}),
|
|
159
|
+
},
|
|
160
|
+
} satisfies Dictionary;
|
|
161
|
+
|
|
162
|
+
export default indexContent;
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
```javascript fileName="src/index.content.mjs" contentDeclarationFormat="esm"
|
|
166
|
+
import { t } from "intlayer";
|
|
167
|
+
|
|
168
|
+
/** @type {import('intlayer').Dictionary} */
|
|
169
|
+
const indexContent = {
|
|
170
|
+
key: "index",
|
|
171
|
+
content: {
|
|
172
|
+
exampleOfContent: t({
|
|
173
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
174
|
+
en: "Example of returned content in English",
|
|
175
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
176
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
177
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
178
|
+
}),
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export default indexContent;
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
```javascript fileName="src/index.content.cjs" contentDeclarationFormat="commonjs"
|
|
186
|
+
const { t } = require("intlayer");
|
|
187
|
+
|
|
188
|
+
/** @type {import('intlayer').Dictionary} */
|
|
189
|
+
const indexContent = {
|
|
190
|
+
key: "index",
|
|
191
|
+
content: {
|
|
192
|
+
exampleOfContent: t({
|
|
193
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
194
|
+
en: "Example of returned content in English",
|
|
195
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
196
|
+
"es": "Ejemplo de contenido devuelto en español",
|
|
197
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
198
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
199
|
+
}),
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
module.exports = indexContent;
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
```json fileName="src/index.content.json" contentDeclarationFormat="json"
|
|
207
|
+
{
|
|
208
|
+
"$schema": "https://intlayer.org/schema.json",
|
|
209
|
+
"key": "index",
|
|
210
|
+
"content": {
|
|
211
|
+
"exampleOfContent": {
|
|
212
|
+
"nodeType": "translation",
|
|
213
|
+
"translation": {
|
|
214
|
+
"es": "Ejemplo de contenido devuelto en español",
|
|
215
|
+
"en": "Example of returned content in English",
|
|
216
|
+
"fr": "Exemple de contenu renvoyé en français",
|
|
217
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
218
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
> Tus declaraciones de contenido pueden definirse en cualquier parte de tu aplicación siempre que se incluyan en el directorio `contentDir` (por defecto, `./src`). Y que coincidan con la extensión de archivo de declaración de contenido (por defecto, `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`).
|
|
226
|
+
|
|
227
|
+
> Para más detalles, consulta la [documentación de declaración de contenido](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/dictionary/content_file.md).
|
|
228
|
+
|
|
229
|
+
### Configuración de la aplicación Fastify
|
|
230
|
+
|
|
231
|
+
Configura tu aplicación Fastify para usar `fastify-intlayer`:
|
|
232
|
+
|
|
233
|
+
```typescript fileName="src/index.ts" codeFormat="typescript"
|
|
234
|
+
import Fastify from "fastify";
|
|
235
|
+
import { intlayer, t, getDictionary, getIntlayer } from "fastify-intlayer";
|
|
236
|
+
import dictionaryExample from "./index.content";
|
|
237
|
+
|
|
238
|
+
const fastify = Fastify({ logger: true });
|
|
239
|
+
|
|
240
|
+
// Cargar el plugin de internacionalización
|
|
241
|
+
await fastify.register(intlayer);
|
|
242
|
+
|
|
243
|
+
// Rutas
|
|
244
|
+
fastify.get("/t_example", async (_req, reply) => {
|
|
245
|
+
return t({
|
|
246
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
247
|
+
en: "Example of returned content in English",
|
|
248
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
249
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
250
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
fastify.get("/getIntlayer_example", async (_req, reply) => {
|
|
255
|
+
return getIntlayer("index").exampleOfContent;
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
fastify.get("/getDictionary_example", async (_req, reply) => {
|
|
259
|
+
return getDictionary(dictionaryExample).exampleOfContent;
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
// Iniciar servidor
|
|
263
|
+
const start = async () => {
|
|
264
|
+
try {
|
|
265
|
+
await fastify.listen({ port: 3000 });
|
|
266
|
+
} catch (err) {
|
|
267
|
+
fastify.log.error(err);
|
|
268
|
+
process.exit(1);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
start();
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
```javascript fileName="src/index.mjs" codeFormat="esm"
|
|
276
|
+
import Fastify from "fastify";
|
|
277
|
+
import { intlayer, t, getDictionary, getIntlayer } from "fastify-intlayer";
|
|
278
|
+
import dictionaryExample from "./index.content";
|
|
279
|
+
|
|
280
|
+
const fastify = Fastify({ logger: true });
|
|
281
|
+
|
|
282
|
+
// Cargar plugin de internacionalización
|
|
283
|
+
await fastify.register(intlayer);
|
|
284
|
+
|
|
285
|
+
// Rutas
|
|
286
|
+
fastify.get("/t_example", async (_req, reply) => {
|
|
287
|
+
return t({
|
|
288
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
289
|
+
en: "Example of returned content in English",
|
|
290
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
291
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
292
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
293
|
+
});
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
fastify.get("/getIntlayer_example", async (_req, reply) => {
|
|
297
|
+
return getIntlayer("index").exampleOfContent;
|
|
298
|
+
});
|
|
299
|
+
|
|
300
|
+
fastify.get("/getDictionary_example", async (_req, reply) => {
|
|
301
|
+
return getDictionary(dictionaryExample).exampleOfContent;
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
// Iniciar servidor
|
|
305
|
+
const start = async () => {
|
|
306
|
+
try {
|
|
307
|
+
await fastify.listen({ port: 3000 });
|
|
308
|
+
} catch (err) {
|
|
309
|
+
fastify.log.error(err);
|
|
310
|
+
process.exit(1);
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
start();
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
```javascript fileName="src/index.cjs" codeFormat="commonjs"
|
|
318
|
+
const Fastify = require("fastify");
|
|
319
|
+
const { intlayer, t, getDictionary, getIntlayer } = require("fastify-intlayer");
|
|
320
|
+
const dictionaryExample = require("./index.content");
|
|
321
|
+
|
|
322
|
+
const fastify = Fastify({ logger: true });
|
|
323
|
+
|
|
324
|
+
// Envoltorio para iniciar el servidor con async/await
|
|
325
|
+
const start = async () => {
|
|
326
|
+
try {
|
|
327
|
+
// Cargar el plugin de internacionalización
|
|
328
|
+
await fastify.register(intlayer);
|
|
329
|
+
|
|
330
|
+
// Rutas
|
|
331
|
+
fastify.get("/t_example", async (_req, reply) => {
|
|
332
|
+
return t({
|
|
333
|
+
es: "Ejemplo de contenido devuelto en español",
|
|
334
|
+
en: "Example of returned content in English",
|
|
335
|
+
fr: "Exemple de contenu renvoyé en français",
|
|
336
|
+
"es-ES": "Ejemplo de contenido devuelto en español (España)",
|
|
337
|
+
"es-MX": "Ejemplo de contenido devuelto en español (México)",
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
fastify.get("/getIntlayer_example", async (_req, reply) => {
|
|
342
|
+
return getIntlayer("index").exampleOfContent;
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
fastify.get("/getDictionary_example", async (_req, reply) => {
|
|
346
|
+
return getDictionary(dictionaryExample).exampleOfContent;
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
await fastify.listen({ port: 3000 });
|
|
350
|
+
} catch (err) {
|
|
351
|
+
fastify.log.error(err);
|
|
352
|
+
process.exit(1);
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
start();
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### Compatibilidad
|
|
360
|
+
|
|
361
|
+
`fastify-intlayer` es completamente compatible con:
|
|
362
|
+
|
|
363
|
+
- [`react-intlayer`](<https://www.google.com/search?q=%5Bhttps://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/index.md%5D(https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/index.md)>) para aplicaciones React
|
|
364
|
+
- [`next-intlayer`](<https://www.google.com/search?q=%5Bhttps://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/next-intlayer/index.md%5D(https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/next-intlayer/index.md)>) para aplicaciones Next.js
|
|
365
|
+
|
|
366
|
+
- [`react-intlayer`](<https://www.google.com/search?q=%5Bhttps://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/index.md%5D(https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/index.md)>) para aplicaciones React
|
|
367
|
+
- [`next-intlayer`](<https://www.google.com/search?q=%5Bhttps://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/next-intlayer/index.md%5D(https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/next-intlayer/index.md)>) para aplicaciones Next.js
|
|
368
|
+
- [`vite-intlayer`](<https://www.google.com/search?q=%5Bhttps://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/vite-intlayer/index.md%5D(https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/vite-intlayer/index.md)>) para aplicaciones Vite
|
|
369
|
+
|
|
370
|
+
También funciona sin problemas con cualquier solución de internacionalización en diversos entornos, incluidos navegadores y solicitudes API. Puedes personalizar el middleware para detectar la locale a través de headers o cookies:
|
|
371
|
+
|
|
372
|
+
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
373
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
374
|
+
|
|
375
|
+
const config: IntlayerConfig = {
|
|
376
|
+
// ... Otras opciones de configuración
|
|
377
|
+
middleware: {
|
|
378
|
+
headerName: "my-locale-header",
|
|
379
|
+
cookieName: "my-locale-cookie",
|
|
380
|
+
},
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
export default config;
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
```javascript fileName="intlayer.config.mjs" codeFormat="esm"
|
|
387
|
+
import { Locales } from "intlayer";
|
|
388
|
+
|
|
389
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
390
|
+
const config = {
|
|
391
|
+
// ... Otras opciones de configuración
|
|
392
|
+
middleware: {
|
|
393
|
+
headerName: "my-locale-header",
|
|
394
|
+
cookieName: "my-locale-cookie",
|
|
395
|
+
},
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
export default config;
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
|
|
402
|
+
const { Locales } = require("intlayer");
|
|
403
|
+
|
|
404
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
405
|
+
const config = {
|
|
406
|
+
// ... Otras opciones de configuración
|
|
407
|
+
middleware: {
|
|
408
|
+
headerName: "my-locale-header",
|
|
409
|
+
cookieName: "my-locale-cookie",
|
|
410
|
+
},
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
module.exports = config;
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
Por defecto, `fastify-intlayer` interpretará la cabecera `Accept-Language` para determinar el idioma preferido del cliente.
|
|
417
|
+
|
|
418
|
+
> Para más información sobre la configuración y temas avanzados, visita nuestra [documentación](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/configuration.md).
|
|
419
|
+
|
|
420
|
+
### Configurar TypeScript
|
|
421
|
+
|
|
422
|
+
`fastify-intlayer` aprovecha las robustas capacidades de TypeScript para mejorar el proceso de internacionalización. El tipado estático de TypeScript garantiza que cada clave de traducción esté incluida, reduciendo el riesgo de traducciones faltantes y mejorando la mantenibilidad.
|
|
423
|
+
|
|
424
|
+
Asegúrate de que los tipos autogenerados (por defecto en ./types/intlayer.d.ts) estén incluidos en tu archivo tsconfig.json.
|
|
425
|
+
|
|
426
|
+
```json5 fileName="tsconfig.json"
|
|
427
|
+
{
|
|
428
|
+
// ... Tus configuraciones existentes de TypeScript
|
|
429
|
+
"include": [
|
|
430
|
+
// ... Tus configuraciones existentes de TypeScript
|
|
431
|
+
".intlayer/**/*.ts", // Incluir los tipos autogenerados
|
|
432
|
+
],
|
|
433
|
+
}
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
### Extensión de VS Code
|
|
437
|
+
|
|
438
|
+
Para mejorar tu experiencia de desarrollo con Intlayer, puedes instalar la extensión oficial **Intlayer VS Code Extension**.
|
|
439
|
+
|
|
440
|
+
[Instalar desde el Marketplace de VS Code](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
441
|
+
|
|
442
|
+
Esta extensión proporciona:
|
|
443
|
+
|
|
444
|
+
- **Autocompletion** para las claves de traducción.
|
|
445
|
+
- **Detección de errores en tiempo real** para traducciones faltantes.
|
|
446
|
+
- **Vistas previas en línea** del contenido traducido.
|
|
447
|
+
- **Acciones rápidas** para crear y actualizar traducciones fácilmente.
|
|
448
|
+
|
|
449
|
+
Para más detalles sobre cómo usar la extensión, consulta la [documentación de la Extensión de VS Code de Intlayer](https://intlayer.org/doc/vs-code-extension).
|
|
450
|
+
|
|
451
|
+
### Configuración de Git
|
|
452
|
+
|
|
453
|
+
Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evitar comprometerlos en tu repositorio Git.
|
|
454
|
+
|
|
455
|
+
### Extensión de VS Code
|
|
456
|
+
|
|
457
|
+
Para mejorar tu experiencia de desarrollo con Intlayer, puedes instalar la **Extensión oficial de Intlayer para VS Code**.
|
|
458
|
+
|
|
459
|
+
[Instalar desde el Marketplace de VS Code](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
460
|
+
|
|
461
|
+
Esta extensión proporciona:
|
|
462
|
+
|
|
463
|
+
- **Autocompletado** para claves de traducción.
|
|
464
|
+
- **Detección de errores en tiempo real** para traducciones faltantes.
|
|
465
|
+
- **Previsualizaciones en línea** del contenido traducido.
|
|
466
|
+
- **Acciones rápidas** para crear y actualizar traducciones fácilmente.
|
|
467
|
+
|
|
468
|
+
Para más detalles sobre cómo usar la extensión, consulta la [documentación de la Extensión Intlayer para VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
469
|
+
|
|
470
|
+
### Configuración de Git
|
|
471
|
+
|
|
472
|
+
Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evitar confirmarlos en tu repositorio Git.
|
|
473
|
+
|
|
474
|
+
Para ello, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
|
|
475
|
+
|
|
476
|
+
```plaintext fileName=".gitignore"
|
|
477
|
+
# Ignorar los archivos generados por Intlayer
|
|
478
|
+
.intlayer
|
|
479
|
+
|
|
480
|
+
```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-03-09
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu Lynx and React mobile app – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu Lynx and React mobile app – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer que tu aplicación móvil Lynx y React sea multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirla.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
- lynx-and-react
|
|
18
18
|
applicationTemplate: https://github.com/aymericzip/intlayer-lynx-template
|
|
19
19
|
history:
|
|
20
|
+
- version: 7.5.9
|
|
21
|
+
date: 2025-12-30
|
|
22
|
+
changes: Agregar comando init
|
|
20
23
|
- version: 5.5.10
|
|
21
24
|
date: 2025-06-29
|
|
22
25
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-09-09
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu Nest backend – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu Nest backend – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer que tu backend NestJS sea multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
applicationTemplate: https://github.com/AydinTheFirst/nestjs-intlayer
|
|
18
18
|
author: AydinTheFirst
|
|
19
19
|
history:
|
|
20
|
+
- version: 7.5.9
|
|
21
|
+
date: 2025-12-30
|
|
22
|
+
changes: Agregar comando init
|
|
20
23
|
- version: 5.8.0
|
|
21
24
|
date: 2025-09-09
|
|
22
25
|
changes: Documento inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-10-05
|
|
3
3
|
updatedAt: 2025-10-05
|
|
4
|
-
title: Cómo traducir tu Next.js 15 usando next-i18next – guía i18n
|
|
4
|
+
title: Cómo traducir tu Next.js 15 usando next-i18next – guía i18n 2026
|
|
5
5
|
description: Una guía práctica y lista para producción para internacionalizar una app Next.js 15 App Router con i18next/next-i18next y mejorarla con Intlayer.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-10-05
|
|
3
3
|
updatedAt: 2025-10-05
|
|
4
|
-
title: Cómo traducir tu Next.js 15 usando next-intl – guía i18n
|
|
4
|
+
title: Cómo traducir tu Next.js 15 usando next-intl – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer tu sitio web Next.js 15 App Router multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-12-06
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu Next.js 14 and App Router – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu Next.js 14 and App Router – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer tu sitio web Next.js 14 App Router multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
- 14
|
|
18
18
|
applicationTemplate: https://github.com/aymericzip/intlayer-next-14-template
|
|
19
19
|
history:
|
|
20
|
+
- version: 7.5.9
|
|
21
|
+
date: 2025-12-30
|
|
22
|
+
changes: Agregar comando init
|
|
20
23
|
- version: 5.5.10
|
|
21
24
|
date: 2025-06-29
|
|
22
25
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-12-06
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu Next.js 15 – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu Next.js 15 – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer tu sitio web Next.js 15 multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -18,6 +18,9 @@ slugs:
|
|
|
18
18
|
applicationTemplate: https://github.com/aymericzip/intlayer-next-15-template
|
|
19
19
|
youtubeVideo: https://www.youtube.com/watch?v=e_PPG7PTqGU
|
|
20
20
|
history:
|
|
21
|
+
- version: 7.5.9
|
|
22
|
+
date: 2025-12-30
|
|
23
|
+
changes: Agregar comando init
|
|
21
24
|
- version: 5.5.10
|
|
22
25
|
date: 2025-06-29
|
|
23
26
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-12-06
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu aplicación Next.js 16 – Guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu aplicación Next.js 16 – Guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer que tu sitio web Next.js 16 sea multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
applicationTemplate: https://github.com/aymericzip/intlayer-next-16-template
|
|
18
18
|
youtubeVideo: https://www.youtube.com/watch?v=e_PPG7PTqGU
|
|
19
19
|
history:
|
|
20
|
+
- version: 7.5.9
|
|
21
|
+
date: 2025-12-30
|
|
22
|
+
changes: Agregar comando init
|
|
20
23
|
- version: 7.0.0
|
|
21
24
|
date: 2025-06-29
|
|
22
25
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-12-07
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu Next.js and Page Router – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu Next.js and Page Router – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer que tu sitio web Next.js usando Page Router sea multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -17,6 +17,9 @@ slugs:
|
|
|
17
17
|
- nextjs
|
|
18
18
|
- next-with-page-router
|
|
19
19
|
history:
|
|
20
|
+
- version: 7.5.9
|
|
21
|
+
date: 2025-12-30
|
|
22
|
+
changes: Agregar comando init
|
|
20
23
|
- version: 5.5.10
|
|
21
24
|
date: 2025-06-29
|
|
22
25
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-06-18
|
|
3
3
|
updatedAt: 2025-12-07
|
|
4
|
-
title: Cómo traducir tu aplicación Nuxt y Vue – Guía i18n
|
|
4
|
+
title: Cómo traducir tu aplicación Nuxt y Vue – Guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer tu sitio web Nuxt y Vue multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-06-18
|
|
3
|
-
updatedAt: 2025-
|
|
4
|
-
title: Cómo traducir tu React Native and Expo – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu React Native and Expo – guía i18n 2026
|
|
5
5
|
description: Descubre cómo hacer que tu sitio web React Native y Expo sea multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -16,6 +16,9 @@ slugs:
|
|
|
16
16
|
- react-native-and-expo
|
|
17
17
|
applicationTemplate: https://github.com/aymericzip/intlayer-react-native-template
|
|
18
18
|
history:
|
|
19
|
+
- version: 7.5.9
|
|
20
|
+
date: 2025-12-30
|
|
21
|
+
changes: Agregar comando init
|
|
19
22
|
- version: 5.5.10
|
|
20
23
|
date: 2025-06-29
|
|
21
24
|
changes: Historial inicial
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-09-04
|
|
3
|
-
updatedAt: 2025-12-
|
|
4
|
-
title: Cómo traducir tu React Router v7 – guía i18n
|
|
3
|
+
updatedAt: 2025-12-30
|
|
4
|
+
title: Cómo traducir tu React Router v7 – guía i18n 2026
|
|
5
5
|
description: Aprende cómo agregar internacionalización (i18n) a tu aplicación React Router v7 usando Intlayer. Sigue esta guía completa para hacer tu aplicación multilingüe con enrutamiento consciente del locale.
|
|
6
6
|
keywords:
|
|
7
7
|
- Internacionalización
|
|
@@ -20,6 +20,9 @@ slugs:
|
|
|
20
20
|
applicationTemplate: https://github.com/aymericzip/intlayer-react-router-v7-template
|
|
21
21
|
youtubeVideo: https://www.youtube.com/watch?v=dS9L7uJeak4
|
|
22
22
|
history:
|
|
23
|
+
- version: 7.5.9
|
|
24
|
+
date: 2025-12-30
|
|
25
|
+
changes: Agregar comando init
|
|
23
26
|
- version: 7.5.6
|
|
24
27
|
date: 2025-12-27
|
|
25
28
|
changes: Actualizar Layout y manejar 404
|