@intlayer/docs 7.2.3 → 7.3.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/blog/ar/compiler_vs_declarative_i18n.md +138 -0
- package/blog/ar/intlayer_with_next-i18next.md +0 -1
- package/blog/ar/intlayer_with_vue-i18n.md +0 -1
- package/blog/de/compiler_vs_declarative_i18n.md +138 -0
- package/blog/de/intlayer_with_next-i18next.md +0 -1
- package/blog/de/intlayer_with_vue-i18n.md +0 -1
- package/blog/en/compiler_vs_declarative_i18n.md +138 -0
- package/blog/en/i18n_using_next-i18next.md +1 -1
- package/blog/en/i18n_using_next-intl.md +1 -1
- package/blog/en/intlayer_with_i18next.md +1 -1
- package/blog/en/intlayer_with_next-i18next.md +1 -2
- package/blog/en/intlayer_with_next-intl.md +1 -1
- package/blog/en/intlayer_with_react-i18next.md +1 -1
- package/blog/en/intlayer_with_react-intl.md +1 -1
- package/blog/en/intlayer_with_vue-i18n.md +1 -2
- package/blog/en-GB/compiler_vs_declarative_i18n.md +138 -0
- package/blog/en-GB/intlayer_with_next-i18next.md +0 -1
- package/blog/en-GB/intlayer_with_vue-i18n.md +0 -1
- package/blog/es/compiler_vs_declarative_i18n.md +138 -0
- package/blog/es/intlayer_with_next-i18next.md +0 -1
- package/blog/es/intlayer_with_vue-i18n.md +0 -1
- package/blog/fr/compiler_vs_declarative_i18n.md +138 -0
- package/blog/fr/intlayer_with_next-i18next.md +0 -1
- package/blog/fr/intlayer_with_vue-i18n.md +0 -1
- package/blog/hi/compiler_vs_declarative_i18n.md +138 -0
- package/blog/hi/intlayer_with_next-i18next.md +0 -1
- package/blog/hi/intlayer_with_vue-i18n.md +0 -1
- package/blog/id/compiler_vs_declarative_i18n.md +138 -0
- package/blog/id/intlayer_with_next-i18next.md +0 -1
- package/blog/id/intlayer_with_vue-i18n.md +0 -1
- package/blog/it/compiler_vs_declarative_i18n.md +138 -0
- package/blog/it/intlayer_with_next-i18next.md +0 -1
- package/blog/it/intlayer_with_vue-i18n.md +0 -1
- package/blog/ja/compiler_vs_declarative_i18n.md +138 -0
- package/blog/ja/intlayer_with_next-i18next.md +0 -1
- package/blog/ja/intlayer_with_vue-i18n.md +0 -1
- package/blog/ko/compiler_vs_declarative_i18n.md +138 -0
- package/blog/ko/intlayer_with_next-i18next.md +0 -1
- package/blog/ko/intlayer_with_vue-i18n.md +0 -1
- package/blog/pl/compiler_vs_declarative_i18n.md +138 -0
- package/blog/pl/intlayer_with_next-i18next.md +0 -1
- package/blog/pl/intlayer_with_vue-i18n.md +0 -1
- package/blog/pt/compiler_vs_declarative_i18n.md +138 -0
- package/blog/pt/intlayer_with_next-i18next.md +0 -1
- package/blog/pt/intlayer_with_vue-i18n.md +0 -1
- package/blog/ru/compiler_vs_declarative_i18n.md +138 -0
- package/blog/ru/intlayer_with_next-i18next.md +0 -1
- package/blog/ru/intlayer_with_vue-i18n.md +0 -1
- package/blog/tr/compiler_vs_declarative_i18n.md +138 -0
- package/blog/tr/intlayer_with_next-i18next.md +0 -1
- package/blog/tr/intlayer_with_vue-i18n.md +0 -1
- package/blog/vi/compiler_vs_declarative_i18n.md +138 -0
- package/blog/vi/intlayer_with_next-i18next.md +0 -1
- package/blog/vi/intlayer_with_vue-i18n.md +0 -1
- package/blog/zh/compiler_vs_declarative_i18n.md +138 -0
- package/blog/zh/intlayer_with_next-i18next.md +0 -1
- package/blog/zh/intlayer_with_vue-i18n.md +0 -1
- package/dist/cjs/generated/blog.entry.cjs +19 -0
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +323 -19
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs +19 -0
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +323 -19
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +1 -0
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +17 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/cli/build.md +64 -0
- package/docs/ar/cli/configuration.md +63 -0
- package/docs/ar/cli/debug.md +46 -0
- package/docs/ar/cli/doc-review.md +43 -0
- package/docs/ar/cli/doc-translate.md +132 -0
- package/docs/ar/cli/editor.md +28 -0
- package/docs/ar/cli/fill.md +130 -0
- package/docs/ar/cli/index.md +163 -0
- package/docs/ar/cli/list.md +53 -0
- package/docs/ar/cli/live.md +41 -0
- package/docs/ar/cli/pull.md +78 -0
- package/docs/ar/cli/push.md +98 -0
- package/docs/ar/cli/sdk.md +67 -0
- package/docs/ar/cli/test.md +76 -0
- package/docs/ar/cli/transform.md +65 -0
- package/docs/ar/cli/version.md +24 -0
- package/docs/ar/cli/watch.md +37 -0
- package/docs/ar/packages/intlayer/getPrefix.md +210 -0
- package/docs/de/cli/build.md +64 -0
- package/docs/de/cli/configuration.md +63 -0
- package/docs/de/cli/debug.md +46 -0
- package/docs/de/cli/doc-review.md +43 -0
- package/docs/de/cli/doc-translate.md +132 -0
- package/docs/de/cli/editor.md +28 -0
- package/docs/de/cli/fill.md +130 -0
- package/docs/de/cli/index.md +163 -0
- package/docs/de/cli/list.md +53 -0
- package/docs/de/cli/live.md +41 -0
- package/docs/de/cli/pull.md +78 -0
- package/docs/de/cli/push.md +98 -0
- package/docs/de/cli/sdk.md +67 -0
- package/docs/de/cli/test.md +76 -0
- package/docs/de/cli/transform.md +65 -0
- package/docs/de/cli/version.md +24 -0
- package/docs/de/cli/watch.md +37 -0
- package/docs/de/packages/intlayer/getPrefix.md +213 -0
- package/docs/en/CI_CD.md +2 -2
- package/docs/en/autoFill.md +24 -2
- package/docs/en/cli/build.md +64 -0
- package/docs/en/cli/configuration.md +63 -0
- package/docs/en/cli/debug.md +46 -0
- package/docs/en/cli/doc-review.md +43 -0
- package/docs/en/cli/doc-translate.md +132 -0
- package/docs/en/cli/editor.md +28 -0
- package/docs/en/cli/fill.md +130 -0
- package/docs/en/cli/index.md +163 -0
- package/docs/en/cli/list.md +53 -0
- package/docs/en/cli/live.md +41 -0
- package/docs/en/cli/pull.md +78 -0
- package/docs/en/cli/push.md +98 -0
- package/docs/en/cli/sdk.md +67 -0
- package/docs/en/cli/test.md +76 -0
- package/docs/en/cli/transform.md +65 -0
- package/docs/en/cli/version.md +24 -0
- package/docs/en/cli/watch.md +37 -0
- package/docs/en/dictionary/condition.md +1 -1
- package/docs/en/dictionary/enumeration.md +1 -1
- package/docs/en/dictionary/file.md +1 -1
- package/docs/en/dictionary/gender.md +1 -1
- package/docs/en/dictionary/insertion.md +1 -1
- package/docs/en/dictionary/markdown.md +1 -1
- package/docs/en/dictionary/nesting.md +1 -1
- package/docs/en/index.md +1 -1
- package/docs/en/intlayer_with_angular.md +1 -1
- package/docs/en/intlayer_with_astro.md +1 -1
- package/docs/en/intlayer_with_create_react_app.md +1 -1
- package/docs/en/intlayer_with_lynx+react.md +1 -1
- 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 +1 -1
- package/docs/en/intlayer_with_nextjs_15.md +1 -1
- package/docs/en/intlayer_with_nextjs_16.md +1 -1
- package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/en/intlayer_with_nuxt.md +1 -1
- package/docs/en/intlayer_with_react_native+expo.md +1 -1
- package/docs/en/intlayer_with_react_router_v7.md +1 -1
- package/docs/en/intlayer_with_tanstack.md +1 -1
- package/docs/en/intlayer_with_vite+preact.md +1 -1
- package/docs/en/intlayer_with_vite+react.md +1 -1
- package/docs/en/intlayer_with_vite+solid.md +1 -1
- package/docs/en/intlayer_with_vite+svelte.md +1 -1
- package/docs/en/intlayer_with_vite+vue.md +1 -1
- package/docs/en/introduction.md +1 -1
- package/docs/en/mcp_server.md +1 -2
- package/docs/en/per_locale_file.md +1 -1
- package/docs/en/plugins/sync-json.md +1 -1
- package/docs/en/releases/v6.md +2 -2
- package/docs/en/roadmap.md +1 -1
- package/docs/en-GB/cli/build.md +64 -0
- package/docs/en-GB/cli/configuration.md +63 -0
- package/docs/en-GB/cli/debug.md +46 -0
- package/docs/en-GB/cli/doc-review.md +43 -0
- package/docs/en-GB/cli/doc-translate.md +132 -0
- package/docs/en-GB/cli/editor.md +28 -0
- package/docs/en-GB/cli/fill.md +130 -0
- package/docs/en-GB/cli/index.md +163 -0
- package/docs/en-GB/cli/list.md +53 -0
- package/docs/en-GB/cli/live.md +41 -0
- package/docs/en-GB/cli/pull.md +78 -0
- package/docs/en-GB/cli/push.md +98 -0
- package/docs/en-GB/cli/sdk.md +67 -0
- package/docs/en-GB/cli/test.md +100 -0
- package/docs/en-GB/cli/transform.md +65 -0
- package/docs/en-GB/cli/version.md +24 -0
- package/docs/en-GB/cli/watch.md +37 -0
- package/docs/en-GB/dictionary/condition.md +1 -1
- package/docs/en-GB/dictionary/markdown.md +1 -1
- package/docs/en-GB/dictionary/nesting.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
- package/docs/en-GB/packages/intlayer/getPrefix.md +213 -0
- package/docs/es/cli/build.md +64 -0
- package/docs/es/cli/configuration.md +63 -0
- package/docs/es/cli/debug.md +46 -0
- package/docs/es/cli/doc-review.md +43 -0
- package/docs/es/cli/doc-translate.md +132 -0
- package/docs/es/cli/editor.md +28 -0
- package/docs/es/cli/fill.md +130 -0
- package/docs/es/cli/index.md +163 -0
- package/docs/es/cli/list.md +53 -0
- package/docs/es/cli/live.md +41 -0
- package/docs/es/cli/pull.md +78 -0
- package/docs/es/cli/push.md +98 -0
- package/docs/es/cli/sdk.md +67 -0
- package/docs/es/cli/test.md +76 -0
- package/docs/es/cli/transform.md +65 -0
- package/docs/es/cli/version.md +24 -0
- package/docs/es/cli/watch.md +37 -0
- package/docs/es/packages/intlayer/getPrefix.md +213 -0
- package/docs/fr/cli/build.md +64 -0
- package/docs/fr/cli/configuration.md +63 -0
- package/docs/fr/cli/debug.md +46 -0
- package/docs/fr/cli/doc-review.md +43 -0
- package/docs/fr/cli/doc-translate.md +132 -0
- package/docs/fr/cli/editor.md +28 -0
- package/docs/fr/cli/fill.md +130 -0
- package/docs/fr/cli/index.md +163 -0
- package/docs/fr/cli/list.md +53 -0
- package/docs/fr/cli/live.md +41 -0
- package/docs/fr/cli/pull.md +78 -0
- package/docs/fr/cli/push.md +98 -0
- package/docs/fr/cli/sdk.md +67 -0
- package/docs/fr/cli/test.md +76 -0
- package/docs/fr/cli/transform.md +65 -0
- package/docs/fr/cli/version.md +24 -0
- package/docs/fr/cli/watch.md +37 -0
- package/docs/fr/packages/intlayer/getPrefix.md +213 -0
- package/docs/hi/cli/build.md +64 -0
- package/docs/hi/cli/configuration.md +63 -0
- package/docs/hi/cli/debug.md +46 -0
- package/docs/hi/cli/doc-review.md +43 -0
- package/docs/hi/cli/doc-translate.md +132 -0
- package/docs/hi/cli/editor.md +28 -0
- package/docs/hi/cli/fill.md +130 -0
- package/docs/hi/cli/index.md +163 -0
- package/docs/hi/cli/list.md +53 -0
- package/docs/hi/cli/live.md +41 -0
- package/docs/hi/cli/pull.md +78 -0
- package/docs/hi/cli/push.md +98 -0
- package/docs/hi/cli/sdk.md +67 -0
- package/docs/hi/cli/test.md +76 -0
- package/docs/hi/cli/transform.md +65 -0
- package/docs/hi/cli/version.md +24 -0
- package/docs/hi/cli/watch.md +37 -0
- package/docs/hi/intlayer_with_tanstack.md +1 -1
- package/docs/hi/intlayer_with_vite+solid.md +1 -1
- package/docs/hi/packages/intlayer/getPrefix.md +217 -0
- package/docs/id/cli/build.md +64 -0
- package/docs/id/cli/configuration.md +62 -0
- package/docs/id/cli/debug.md +46 -0
- package/docs/id/cli/doc-review.md +43 -0
- package/docs/id/cli/doc-translate.md +132 -0
- package/docs/id/cli/editor.md +28 -0
- package/docs/id/cli/fill.md +130 -0
- package/docs/id/cli/index.md +163 -0
- package/docs/id/cli/list.md +53 -0
- package/docs/id/cli/live.md +41 -0
- package/docs/id/cli/pull.md +78 -0
- package/docs/id/cli/push.md +98 -0
- package/docs/id/cli/sdk.md +67 -0
- package/docs/id/cli/test.md +76 -0
- package/docs/id/cli/transform.md +65 -0
- package/docs/id/cli/version.md +24 -0
- package/docs/id/cli/watch.md +37 -0
- package/docs/id/packages/intlayer/getPrefix.md +210 -0
- package/docs/it/cli/build.md +64 -0
- package/docs/it/cli/configuration.md +63 -0
- package/docs/it/cli/debug.md +46 -0
- package/docs/it/cli/doc-review.md +43 -0
- package/docs/it/cli/doc-translate.md +132 -0
- package/docs/it/cli/editor.md +28 -0
- package/docs/it/cli/fill.md +130 -0
- package/docs/it/cli/index.md +158 -0
- package/docs/it/cli/list.md +53 -0
- package/docs/it/cli/live.md +41 -0
- package/docs/it/cli/pull.md +78 -0
- package/docs/it/cli/push.md +98 -0
- package/docs/it/cli/sdk.md +67 -0
- package/docs/it/cli/test.md +76 -0
- package/docs/it/cli/transform.md +65 -0
- package/docs/it/cli/version.md +24 -0
- package/docs/it/cli/watch.md +39 -0
- package/docs/it/packages/intlayer/getPrefix.md +211 -0
- package/docs/ja/cli/build.md +78 -0
- package/docs/ja/cli/configuration.md +63 -0
- package/docs/ja/cli/debug.md +46 -0
- package/docs/ja/cli/doc-review.md +43 -0
- package/docs/ja/cli/doc-translate.md +132 -0
- package/docs/ja/cli/editor.md +28 -0
- package/docs/ja/cli/fill.md +130 -0
- package/docs/ja/cli/index.md +163 -0
- package/docs/ja/cli/list.md +53 -0
- package/docs/ja/cli/live.md +41 -0
- package/docs/ja/cli/pull.md +78 -0
- package/docs/ja/cli/push.md +113 -0
- package/docs/ja/cli/sdk.md +67 -0
- package/docs/ja/cli/test.md +76 -0
- package/docs/ja/cli/transform.md +65 -0
- package/docs/ja/cli/version.md +24 -0
- package/docs/ja/cli/watch.md +37 -0
- package/docs/ja/packages/intlayer/getPrefix.md +212 -0
- package/docs/ko/cli/build.md +64 -0
- package/docs/ko/cli/configuration.md +63 -0
- package/docs/ko/cli/debug.md +46 -0
- package/docs/ko/cli/doc-review.md +43 -0
- package/docs/ko/cli/doc-translate.md +132 -0
- package/docs/ko/cli/editor.md +28 -0
- package/docs/ko/cli/fill.md +130 -0
- package/docs/ko/cli/index.md +163 -0
- package/docs/ko/cli/list.md +53 -0
- package/docs/ko/cli/live.md +41 -0
- package/docs/ko/cli/pull.md +78 -0
- package/docs/ko/cli/push.md +113 -0
- package/docs/ko/cli/sdk.md +67 -0
- package/docs/ko/cli/test.md +76 -0
- package/docs/ko/cli/transform.md +65 -0
- package/docs/ko/cli/version.md +24 -0
- package/docs/ko/cli/watch.md +37 -0
- package/docs/ko/packages/intlayer/getPrefix.md +213 -0
- package/docs/pl/cli/build.md +64 -0
- package/docs/pl/cli/configuration.md +63 -0
- package/docs/pl/cli/debug.md +46 -0
- package/docs/pl/cli/doc-review.md +43 -0
- package/docs/pl/cli/doc-translate.md +132 -0
- package/docs/pl/cli/editor.md +28 -0
- package/docs/pl/cli/fill.md +130 -0
- package/docs/pl/cli/index.md +163 -0
- package/docs/pl/cli/list.md +53 -0
- package/docs/pl/cli/live.md +41 -0
- package/docs/pl/cli/pull.md +78 -0
- package/docs/pl/cli/push.md +98 -0
- package/docs/pl/cli/sdk.md +67 -0
- package/docs/pl/cli/test.md +76 -0
- package/docs/pl/cli/transform.md +65 -0
- package/docs/pl/cli/version.md +24 -0
- package/docs/pl/cli/watch.md +39 -0
- package/docs/pl/packages/intlayer/getPrefix.md +217 -0
- package/docs/pt/cli/build.md +64 -0
- package/docs/pt/cli/configuration.md +63 -0
- package/docs/pt/cli/debug.md +46 -0
- package/docs/pt/cli/doc-review.md +43 -0
- package/docs/pt/cli/doc-translate.md +132 -0
- package/docs/pt/cli/editor.md +28 -0
- package/docs/pt/cli/fill.md +130 -0
- package/docs/pt/cli/index.md +163 -0
- package/docs/pt/cli/list.md +53 -0
- package/docs/pt/cli/live.md +41 -0
- package/docs/pt/cli/pull.md +78 -0
- package/docs/pt/cli/push.md +98 -0
- package/docs/pt/cli/sdk.md +67 -0
- package/docs/pt/cli/test.md +76 -0
- package/docs/pt/cli/transform.md +65 -0
- package/docs/pt/cli/version.md +24 -0
- package/docs/pt/cli/watch.md +39 -0
- package/docs/pt/packages/intlayer/getPrefix.md +217 -0
- package/docs/ru/cli/build.md +64 -0
- package/docs/ru/cli/configuration.md +63 -0
- package/docs/ru/cli/debug.md +46 -0
- package/docs/ru/cli/doc-review.md +43 -0
- package/docs/ru/cli/doc-translate.md +132 -0
- package/docs/ru/cli/editor.md +28 -0
- package/docs/ru/cli/fill.md +130 -0
- package/docs/ru/cli/index.md +163 -0
- package/docs/ru/cli/list.md +53 -0
- package/docs/ru/cli/live.md +41 -0
- package/docs/ru/cli/pull.md +78 -0
- package/docs/ru/cli/push.md +98 -0
- package/docs/ru/cli/sdk.md +67 -0
- package/docs/ru/cli/test.md +76 -0
- package/docs/ru/cli/transform.md +65 -0
- package/docs/ru/cli/version.md +24 -0
- package/docs/ru/cli/watch.md +39 -0
- package/docs/ru/packages/intlayer/getPrefix.md +213 -0
- package/docs/tr/CI_CD.md +2 -2
- package/docs/tr/cli/build.md +64 -0
- package/docs/tr/cli/configuration.md +63 -0
- package/docs/tr/cli/debug.md +46 -0
- package/docs/tr/cli/doc-review.md +43 -0
- package/docs/tr/cli/doc-translate.md +132 -0
- package/docs/tr/cli/editor.md +28 -0
- package/docs/tr/cli/fill.md +130 -0
- package/docs/tr/cli/index.md +163 -0
- package/docs/tr/cli/list.md +53 -0
- package/docs/tr/cli/live.md +41 -0
- package/docs/tr/cli/pull.md +78 -0
- package/docs/tr/cli/push.md +98 -0
- package/docs/tr/cli/sdk.md +67 -0
- package/docs/tr/cli/test.md +76 -0
- package/docs/tr/cli/transform.md +65 -0
- package/docs/tr/cli/version.md +24 -0
- package/docs/tr/cli/watch.md +39 -0
- package/docs/tr/dictionary/condition.md +1 -1
- package/docs/tr/dictionary/enumeration.md +1 -1
- package/docs/tr/dictionary/file.md +1 -1
- package/docs/tr/dictionary/gender.md +1 -1
- package/docs/tr/dictionary/insertion.md +1 -1
- package/docs/tr/dictionary/markdown.md +1 -1
- package/docs/tr/dictionary/nesting.md +1 -1
- package/docs/tr/index.md +1 -1
- package/docs/tr/intlayer_with_angular.md +1 -1
- package/docs/tr/intlayer_with_create_react_app.md +1 -1
- package/docs/tr/intlayer_with_lynx+react.md +1 -1
- package/docs/tr/intlayer_with_nextjs_15.md +1 -1
- package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
- package/docs/tr/intlayer_with_nuxt.md +1 -1
- package/docs/tr/intlayer_with_react_native+expo.md +1 -1
- package/docs/tr/intlayer_with_vite+preact.md +1 -1
- package/docs/tr/intlayer_with_vite+react.md +1 -1
- package/docs/tr/intlayer_with_vite+solid.md +1 -1
- package/docs/tr/intlayer_with_vite+vue.md +1 -1
- package/docs/tr/introduction.md +1 -1
- package/docs/tr/mcp_server.md +1 -1
- package/docs/tr/packages/intlayer/getPrefix.md +213 -0
- package/docs/tr/per_locale_file.md +1 -1
- package/docs/tr/roadmap.md +1 -1
- package/docs/vi/cli/build.md +64 -0
- package/docs/vi/cli/configuration.md +63 -0
- package/docs/vi/cli/debug.md +46 -0
- package/docs/vi/cli/doc-review.md +43 -0
- package/docs/vi/cli/doc-translate.md +132 -0
- package/docs/vi/cli/editor.md +28 -0
- package/docs/vi/cli/fill.md +130 -0
- package/docs/vi/cli/index.md +163 -0
- package/docs/vi/cli/list.md +53 -0
- package/docs/vi/cli/live.md +41 -0
- package/docs/vi/cli/pull.md +78 -0
- package/docs/vi/cli/push.md +98 -0
- package/docs/vi/cli/sdk.md +67 -0
- package/docs/vi/cli/test.md +76 -0
- package/docs/vi/cli/transform.md +65 -0
- package/docs/vi/cli/version.md +24 -0
- package/docs/vi/cli/watch.md +37 -0
- package/docs/vi/packages/intlayer/getPrefix.md +213 -0
- package/docs/zh/cli/build.md +64 -0
- package/docs/zh/cli/configuration.md +63 -0
- package/docs/zh/cli/debug.md +46 -0
- package/docs/zh/cli/doc-review.md +43 -0
- package/docs/zh/cli/doc-translate.md +132 -0
- package/docs/zh/cli/editor.md +28 -0
- package/docs/zh/cli/fill.md +130 -0
- package/docs/zh/cli/index.md +168 -0
- package/docs/zh/cli/list.md +53 -0
- package/docs/zh/cli/live.md +41 -0
- package/docs/zh/cli/pull.md +78 -0
- package/docs/zh/cli/push.md +113 -0
- package/docs/zh/cli/sdk.md +67 -0
- package/docs/zh/cli/test.md +76 -0
- package/docs/zh/cli/transform.md +65 -0
- package/docs/zh/cli/version.md +24 -0
- package/docs/zh/cli/watch.md +37 -0
- package/docs/zh/packages/intlayer/getPrefix.md +213 -0
- package/package.json +7 -7
- package/src/generated/blog.entry.ts +19 -0
- package/src/generated/docs.entry.ts +323 -19
- package/docs/ar/intlayer_cli.md +0 -614
- package/docs/de/intlayer_cli.md +0 -615
- package/docs/en/intlayer_cli.md +0 -897
- package/docs/en-GB/intlayer_cli.md +0 -615
- package/docs/es/intlayer_cli.md +0 -614
- package/docs/fr/intlayer_cli.md +0 -614
- package/docs/hi/intlayer_cli.md +0 -616
- package/docs/id/intlayer_cli.md +0 -886
- package/docs/it/intlayer_cli.md +0 -610
- package/docs/ja/intlayer_cli.md +0 -616
- package/docs/ko/intlayer_cli.md +0 -614
- package/docs/pl/intlayer_cli.md +0 -893
- package/docs/pt/intlayer_cli.md +0 -615
- package/docs/ru/intlayer_cli.md +0 -885
- package/docs/tr/intlayer_cli.md +0 -614
- package/docs/vi/intlayer_cli.md +0 -886
- package/docs/zh/intlayer_cli.md +0 -613
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Traduire un document
|
|
5
|
+
description: Apprenez à traduire automatiquement des fichiers de documentation en utilisant des services de traduction IA.
|
|
6
|
+
keywords:
|
|
7
|
+
- Traduire
|
|
8
|
+
- Document
|
|
9
|
+
- Documentation
|
|
10
|
+
- IA
|
|
11
|
+
- CLI
|
|
12
|
+
- Intlayer
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- concept
|
|
16
|
+
- cli
|
|
17
|
+
- doc-translate
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Traduire un document
|
|
21
|
+
|
|
22
|
+
La commande `doc translate` traduit automatiquement les fichiers de documentation d'une locale de base vers des locales cibles en utilisant des services de traduction IA.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx intlayer doc translate
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Arguments :
|
|
29
|
+
|
|
30
|
+
**Options de liste de fichiers :**
|
|
31
|
+
|
|
32
|
+
- **`--doc-pattern [docPattern...]`** : Motifs glob pour sélectionner les fichiers de documentation à traduire.
|
|
33
|
+
|
|
34
|
+
> Exemple : `npx intlayer doc translate --doc-pattern "docs/**/*.md" "src/**/*.mdx"`
|
|
35
|
+
|
|
36
|
+
- **`--excluded-glob-pattern [excludedGlobPattern...]`** : Motifs glob à exclure de la traduction.
|
|
37
|
+
|
|
38
|
+
> Exemple : `npx intlayer doc translate --excluded-glob-pattern "docs/internal/**"`
|
|
39
|
+
|
|
40
|
+
- **`--skip-if-modified-before [skipIfModifiedBefore]`** : Ignorer le fichier s'il a été modifié avant l'heure donnée.
|
|
41
|
+
- Peut être une heure absolue comme "2025-12-05" (string ou Date)
|
|
42
|
+
- Peut être un temps relatif en ms `1 * 60 * 60 * 1000` (1 heure)
|
|
43
|
+
- Cette option vérifie la date de mise à jour du fichier en utilisant la méthode `fs.stat`. Elle peut donc être impactée par Git ou d'autres outils qui modifient le fichier.
|
|
44
|
+
|
|
45
|
+
> Exemple : `npx intlayer doc translate --skip-if-modified-before "2025-12-05"`
|
|
46
|
+
|
|
47
|
+
- **`--skip-if-modified-after [skipIfModifiedAfter]`** : Ignorer le fichier s'il a été modifié dans le délai donné.
|
|
48
|
+
- Peut être une heure absolue comme "2025-12-05" (string ou Date)
|
|
49
|
+
- Peut être un temps relatif en ms `1 * 60 * 60 * 1000` (1 heure)
|
|
50
|
+
- Cette option vérifie la date de mise à jour du fichier en utilisant la méthode `fs.stat`. Elle peut donc être impactée par Git ou d'autres outils qui modifient le fichier.
|
|
51
|
+
|
|
52
|
+
> Exemple : `npx intlayer doc translate --skip-if-modified-after "2025-12-05"`
|
|
53
|
+
|
|
54
|
+
- **`--skip-if-exists`** : Ignorer le fichier s'il existe déjà.
|
|
55
|
+
|
|
56
|
+
> Exemple : `npx intlayer doc translate --skip-if-exists`
|
|
57
|
+
|
|
58
|
+
**Options de sortie des entrées :**
|
|
59
|
+
|
|
60
|
+
- **`--locales [locales...]`** : Locales cibles vers lesquelles traduire la documentation.
|
|
61
|
+
|
|
62
|
+
> Exemple : `npx intlayer doc translate --locales fr es de`
|
|
63
|
+
|
|
64
|
+
- **`--base-locale [baseLocale]`** : Locale source depuis laquelle traduire.
|
|
65
|
+
|
|
66
|
+
> Exemple : `npx intlayer doc translate --base-locale en`
|
|
67
|
+
|
|
68
|
+
**Options de traitement des fichiers :**
|
|
69
|
+
|
|
70
|
+
- **`--nb-simultaneous-file-processed [nbSimultaneousFileProcessed]`** : Nombre de fichiers à traiter simultanément pour la traduction.
|
|
71
|
+
|
|
72
|
+
> Exemple : `npx intlayer doc translate --nb-simultaneous-file-processed 5`
|
|
73
|
+
|
|
74
|
+
**Options AI :**
|
|
75
|
+
|
|
76
|
+
- **`--model [model]`** : Modèle d'IA à utiliser pour la traduction (par exemple, `gpt-3.5-turbo`).
|
|
77
|
+
- **`--provider [provider]`** : Fournisseur d'IA à utiliser pour la traduction.
|
|
78
|
+
- **`--temperature [temperature]`** : Paramètre de température pour le modèle d'IA.
|
|
79
|
+
- **`--api-key [apiKey]`** : Fournir votre propre clé API pour le service d'IA.
|
|
80
|
+
- **`--application-context [applicationContext]`** : Fournir un contexte supplémentaire pour la traduction par IA.
|
|
81
|
+
- **`--custom-prompt [prompt]`** : Personnalisez le prompt de base utilisé pour la traduction. (Remarque : Pour la plupart des cas d'utilisation, l'option `--custom-instructions` est recommandée car elle offre un meilleur contrôle sur le comportement de la traduction.)
|
|
82
|
+
|
|
83
|
+
> Exemple : `npx intlayer doc translate --model deepseek-chat --provider deepseek --temperature 0.5 --api-key sk-1234567890 --application-context "Mon application est une boutique de chats"`
|
|
84
|
+
|
|
85
|
+
**Options des variables d'environnement :**
|
|
86
|
+
|
|
87
|
+
- **`--env`** : Spécifiez l'environnement (par exemple, `development`, `production`).
|
|
88
|
+
- **`--env-file [envFile]`** : Fournissez un fichier d'environnement personnalisé pour charger les variables.
|
|
89
|
+
- **`--base-dir`** : Spécifiez le répertoire de base du projet.
|
|
90
|
+
- **`--no-cache`** : Désactive le cache.
|
|
91
|
+
|
|
92
|
+
> Exemple : `npx intlayer doc translate --base-dir ./docs --env-file .env.production.local`
|
|
93
|
+
|
|
94
|
+
**Options de journalisation :**
|
|
95
|
+
|
|
96
|
+
- **`--verbose`** : Active la journalisation détaillée pour le débogage. (par défaut à true en utilisant la CLI)
|
|
97
|
+
|
|
98
|
+
> Exemple : `npx intlayer doc translate --verbose`
|
|
99
|
+
|
|
100
|
+
**Options d'instructions personnalisées :**
|
|
101
|
+
|
|
102
|
+
- **`--custom-instructions [customInstructions]`** : Instructions personnalisées ajoutées au prompt. Utile pour appliquer des règles spécifiques concernant le formatage, la traduction des URLs, etc.
|
|
103
|
+
- Peut être une date absolue comme "2025-12-05" (string ou Date)
|
|
104
|
+
- Peut être un temps relatif en ms `1 * 60 * 60 * 1000` (1 heure)
|
|
105
|
+
- Cette option vérifie la date de mise à jour du fichier en utilisant la méthode `fs.stat`. Elle peut donc être impactée par Git ou d'autres outils qui modifient le fichier.
|
|
106
|
+
|
|
107
|
+
> Exemple : `npx intlayer doc translate --custom-instructions "Évitez de traduire les URLs et conservez le format markdown"`
|
|
108
|
+
|
|
109
|
+
> Exemple : `npx intlayer doc translate --custom-instructions "$(cat ./instructions.md)"`
|
|
110
|
+
|
|
111
|
+
**Options Git :**
|
|
112
|
+
|
|
113
|
+
- **`--git-diff`** : Ne s'exécute que sur les dictionnaires qui incluent des modifications depuis la base (par défaut `origin/main`) vers la branche courante (par défaut : `HEAD`).
|
|
114
|
+
- **`--git-diff-base`** : Spécifie la référence de base pour le git diff (par défaut `origin/main`).
|
|
115
|
+
- **`--git-diff-current`** : Spécifie la référence courante pour le git diff (par défaut : `HEAD`).
|
|
116
|
+
- **`--uncommitted`** : Inclut les modifications non commises.
|
|
117
|
+
- **`--unpushed`** : Inclut les modifications non poussées.
|
|
118
|
+
- **`--untracked`** : Inclut les fichiers non suivis.
|
|
119
|
+
|
|
120
|
+
> Exemple : `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
|
|
121
|
+
|
|
122
|
+
> Exemple : `npx intlayer doc translate --uncommitted --unpushed --untracked`
|
|
123
|
+
|
|
124
|
+
> Notez que le chemin du fichier de sortie sera déterminé en remplaçant les motifs suivants
|
|
125
|
+
>
|
|
126
|
+
> - `/{{baseLocale}}/` par `/{{locale}}/` (Unix)
|
|
127
|
+
> - `\{{baseLocale}}\` par `\{{locale}}\` (Windows)
|
|
128
|
+
> - `_{{baseLocale}}.` par `_{{locale}}.`
|
|
129
|
+
> - `{{baseLocale}}_` par `{{locale}}_`
|
|
130
|
+
> - `.{{baseLocaleName}}.` par `.{{localeName}}.`
|
|
131
|
+
>
|
|
132
|
+
> Si le motif n'est pas trouvé, le fichier de sortie ajoutera `.{{locale}}` à l'extension du fichier. Par exemple, `./my/file.md` sera traduit en `./my/file.fr.md` pour la locale française.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Commandes de l'éditeur
|
|
5
|
+
description: Apprenez à utiliser les commandes de l'éditeur Intlayer.
|
|
6
|
+
keywords:
|
|
7
|
+
- Éditeur
|
|
8
|
+
- Éditeur Visuel
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
slugs:
|
|
12
|
+
- doc
|
|
13
|
+
- concept
|
|
14
|
+
- cli
|
|
15
|
+
- editor
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Commandes de l'éditeur
|
|
19
|
+
|
|
20
|
+
La commande `editor` encapsule à nouveau les commandes `intlayer-editor`.
|
|
21
|
+
|
|
22
|
+
> Pour pouvoir utiliser la commande `editor`, le package `intlayer-editor` doit être installé. (Voir [Éditeur Visuel Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/intlayer_visual_editor.md))
|
|
23
|
+
|
|
24
|
+
```json fileName="package.json"
|
|
25
|
+
"scripts": {
|
|
26
|
+
"intlayer:editor:start": "npx intlayer editor start --with 'next dev --turbopack'"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Remplir les dictionnaires
|
|
5
|
+
description: Apprenez à remplir, auditer et traduire vos dictionnaires en utilisant l'IA.
|
|
6
|
+
keywords:
|
|
7
|
+
- Remplir
|
|
8
|
+
- Auditer
|
|
9
|
+
- Traduire
|
|
10
|
+
- Dictionnaires
|
|
11
|
+
- CLI
|
|
12
|
+
- Intlayer
|
|
13
|
+
- IA
|
|
14
|
+
slugs:
|
|
15
|
+
- doc
|
|
16
|
+
- concept
|
|
17
|
+
- cli
|
|
18
|
+
- fill
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Remplir / auditer / traduire les dictionnaires
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx intlayer fill
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Cette commande analyse vos fichiers de déclaration de contenu pour détecter d’éventuels problèmes tels que des traductions manquantes, des incohérences structurelles ou des incompatibilités de types. Si elle trouve des problèmes, **intlayer fill** proposera ou appliquera des mises à jour pour garder vos dictionnaires cohérents et complets.
|
|
28
|
+
|
|
29
|
+
## Alias :
|
|
30
|
+
|
|
31
|
+
- `npx intlayer dictionaries fill`
|
|
32
|
+
- `npx intlayer dictionary fill`
|
|
33
|
+
- `npx intlayer dic fill`
|
|
34
|
+
|
|
35
|
+
## Arguments :
|
|
36
|
+
|
|
37
|
+
**Options de liste de fichiers :**
|
|
38
|
+
|
|
39
|
+
- **`-f, --file [files...]`** : Une liste de fichiers spécifiques de déclaration de contenu à auditer. Si non fourni, tous les fichiers `*.content.{ts,js,mjs,cjs,tsx,jsx,json}` découverts en fonction de la configuration seront audités.
|
|
40
|
+
|
|
41
|
+
> Exemple : `npx intlayer dictionary fill -f src/home/app.content.ts`
|
|
42
|
+
|
|
43
|
+
- **`-k, --keys [keys...]`** : Filtrer les dictionnaires en fonction des clés. Si non fourni, tous les dictionnaires seront audités.
|
|
44
|
+
|
|
45
|
+
> Exemple : `npx intlayer dictionary fill -k key1 key2`
|
|
46
|
+
|
|
47
|
+
- **`--key [keys...]`** : Filtrer les dictionnaires en fonction des clés (alias de --keys).
|
|
48
|
+
|
|
49
|
+
> Exemple : `npx intlayer dictionary fill --key key1 key2`
|
|
50
|
+
|
|
51
|
+
- **`--excluded-keys [excludedKeys...]`** : Exclure des dictionnaires en fonction des clés. Si non fourni, tous les dictionnaires seront audités.
|
|
52
|
+
|
|
53
|
+
> Exemple : `npx intlayer dictionary fill --excluded-keys key1 key2`
|
|
54
|
+
|
|
55
|
+
- **`--excluded-key [excludedKeys...]`** : Exclure des dictionnaires en fonction des clés (alias de --excluded-keys).
|
|
56
|
+
|
|
57
|
+
> Exemple : `npx intlayer dictionary fill --excluded-key key1 key2`
|
|
58
|
+
|
|
59
|
+
- **`--path-filter [pathFilters...]`** : Filtrer les dictionnaires en fonction d’un motif glob pour les chemins de fichiers.
|
|
60
|
+
|
|
61
|
+
> Exemple : `npx intlayer dictionary fill --path-filter "src/home/**"`
|
|
62
|
+
|
|
63
|
+
**Options de sortie des entrées :**
|
|
64
|
+
|
|
65
|
+
- **`--source-locale [sourceLocale]`** : La locale source à partir de laquelle traduire. Si non spécifiée, la locale par défaut de votre configuration sera utilisée.
|
|
66
|
+
|
|
67
|
+
- **`--output-locales [outputLocales...]`** : Locales cibles vers lesquelles traduire. Si non spécifié, toutes les locales de votre configuration seront utilisées sauf la locale source.
|
|
68
|
+
|
|
69
|
+
- **`--mode [mode]`** : Mode de traduction : `complete`, `review`. Par défaut, c’est `complete`. `complete` remplira tout le contenu manquant, `review` remplira le contenu manquant et révisera les clés existantes.
|
|
70
|
+
|
|
71
|
+
**Options Git :**
|
|
72
|
+
|
|
73
|
+
- **`--git-diff`** : Ne s’exécute que sur les dictionnaires qui incluent des modifications depuis la base (par défaut `origin/main`) vers la branche courante (par défaut : `HEAD`).
|
|
74
|
+
- **`--git-diff-base`** : Spécifie la référence de base pour le git diff (par défaut `origin/main`).
|
|
75
|
+
- **`--git-diff-current`** : Spécifie la référence courante pour le git diff (par défaut `HEAD`).
|
|
76
|
+
- **`--uncommitted`** : Inclut les modifications non commises.
|
|
77
|
+
- **`--unpushed`** : Inclut les modifications non poussées.
|
|
78
|
+
- **`--untracked`** : Inclut les fichiers non suivis.
|
|
79
|
+
|
|
80
|
+
> Exemple : `npx intlayer doc translate --git-diff --git-diff-base origin/main --git-diff-current HEAD`
|
|
81
|
+
|
|
82
|
+
> Exemple : `npx intlayer doc translate --uncommitted --unpushed --untracked`
|
|
83
|
+
|
|
84
|
+
**Options IA :**
|
|
85
|
+
|
|
86
|
+
- **`--model [model]`** : Le modèle d’IA à utiliser pour la traduction (par exemple, `gpt-3.5-turbo`).
|
|
87
|
+
- **`--provider [provider]`** : Le fournisseur d’IA à utiliser pour la traduction.
|
|
88
|
+
- **`--temperature [temperature]`** : Réglage de la température pour le modèle d’IA.
|
|
89
|
+
- **`--api-key [apiKey]`** : Fournir votre propre clé API pour le service d’IA.
|
|
90
|
+
- **`--custom-prompt [prompt]`** : Fournir une invite personnalisée pour vos instructions de traduction.
|
|
91
|
+
- **`--application-context [applicationContext]`** : Fournir un contexte supplémentaire pour la traduction par IA.
|
|
92
|
+
|
|
93
|
+
> Exemple : `npx intlayer fill --model gpt-3.5-turbo --provider openai --temperature 0.5 --api-key sk-1234567890 --application-context "Mon application est une boutique de chats"`
|
|
94
|
+
|
|
95
|
+
**Options des variables d’environnement :**
|
|
96
|
+
|
|
97
|
+
- **`--env`** : Spécifier l’environnement (par exemple, `development`, `production`).
|
|
98
|
+
- **`--env-file [envFile]`** : Fournir un fichier d’environnement personnalisé pour charger les variables.
|
|
99
|
+
|
|
100
|
+
> Exemple : `npx intlayer fill --env-file .env.production.local`
|
|
101
|
+
|
|
102
|
+
> Exemple : `npx intlayer fill --env production`
|
|
103
|
+
|
|
104
|
+
**Options de configuration :**
|
|
105
|
+
|
|
106
|
+
- **`--base-dir`** : Spécifier le répertoire de base pour le projet.
|
|
107
|
+
|
|
108
|
+
> Exemple : `npx intlayer fill --base-dir ./src`
|
|
109
|
+
|
|
110
|
+
- **`--no-cache`** : Désactiver le cache.
|
|
111
|
+
|
|
112
|
+
> Exemple : `npx intlayer build --no-cache`
|
|
113
|
+
|
|
114
|
+
**Options de préparation :**
|
|
115
|
+
|
|
116
|
+
- **`--build`** : Construire les dictionnaires avant de pousser pour s’assurer que le contenu est à jour. True forcera la construction, false sautera la construction, undefined permettra d’utiliser le cache de la construction.
|
|
117
|
+
|
|
118
|
+
- **`--skip-metadata`** : Ignorer le remplissage des métadonnées manquantes (description, titre, tags) pour les dictionnaires.
|
|
119
|
+
|
|
120
|
+
**Options de journalisation :**
|
|
121
|
+
|
|
122
|
+
- **`--verbose`** : Activer la journalisation détaillée pour le débogage. (par défaut à true en utilisant la CLI)
|
|
123
|
+
|
|
124
|
+
## Exemple :
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
npx intlayer fill --file src/home/*.content.ts --source-locale en --output-locales fr es --model gpt-3.5-turbo
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Cette commande traduira le contenu de l’anglais vers le français et l’espagnol pour tous les fichiers de déclaration de contenu dans le répertoire `src/home/` en utilisant le modèle GPT-3.5 Turbo.
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: CLI
|
|
5
|
+
description: Découvrez comment utiliser le CLI Intlayer pour gérer votre site web multilingue. Suivez les étapes de cette documentation en ligne pour configurer votre projet en quelques minutes.
|
|
6
|
+
keywords:
|
|
7
|
+
- CLI
|
|
8
|
+
- Interface en ligne de commande
|
|
9
|
+
- Internationalisation
|
|
10
|
+
- Documentation
|
|
11
|
+
- Intlayer
|
|
12
|
+
- Next.js
|
|
13
|
+
- JavaScript
|
|
14
|
+
- React
|
|
15
|
+
slugs:
|
|
16
|
+
- doc
|
|
17
|
+
- concept
|
|
18
|
+
- cli
|
|
19
|
+
history:
|
|
20
|
+
- version: 7.2.3
|
|
21
|
+
date: 2025-11-22
|
|
22
|
+
changes: Ajout de la commande transform
|
|
23
|
+
- version: 7.1.0
|
|
24
|
+
date: 2025-11-05
|
|
25
|
+
changes: Ajout de l'option skipIfExists à la commande translate
|
|
26
|
+
- version: 6.1.4
|
|
27
|
+
date: 2025-01-27
|
|
28
|
+
changes: Ajout d'alias pour les arguments et commandes CLI
|
|
29
|
+
- version: 6.1.3
|
|
30
|
+
date: 2025-10-05
|
|
31
|
+
changes: Ajout de l'option build aux commandes
|
|
32
|
+
- version: 6.1.2
|
|
33
|
+
date: 2025-09-26
|
|
34
|
+
changes: Ajout de la commande version
|
|
35
|
+
- version: 6.1.0
|
|
36
|
+
date: 2025-09-26
|
|
37
|
+
changes: Définir l'option verbose par défaut à true via le CLI
|
|
38
|
+
- version: 6.1.0
|
|
39
|
+
date: 2025-09-23
|
|
40
|
+
changes: Ajout de la commande watch et de l'option with
|
|
41
|
+
- version: 6.0.1
|
|
42
|
+
date: 2025-09-23
|
|
43
|
+
changes: Ajout de la commande editor
|
|
44
|
+
- version: 6.0.0
|
|
45
|
+
date: 2025-09-17
|
|
46
|
+
changes: Ajout des commandes content test et list
|
|
47
|
+
- version: 5.5.11
|
|
48
|
+
date: 2025-07-11
|
|
49
|
+
changes: Mise à jour de la documentation des paramètres des commandes CLI
|
|
50
|
+
- version: 5.5.10
|
|
51
|
+
date: 2025-06-29
|
|
52
|
+
changes: Initialisation de l'historique
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
# CLI Intlayer
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Table des matières
|
|
60
|
+
|
|
61
|
+
<TOC/>
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Installer le package
|
|
66
|
+
|
|
67
|
+
Installez les packages nécessaires en utilisant npm :
|
|
68
|
+
|
|
69
|
+
```bash packageManager="npm"
|
|
70
|
+
npm install intlayer-cli -g
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```bash packageManager="yarn"
|
|
74
|
+
yarn add intlayer-cli -g
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
```bash packageManager="pnpm"
|
|
78
|
+
pnpm add intlayer-cli -g
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
> Si le package `intlayer` est déjà installé, le CLI est automatiquement installé. Vous pouvez passer cette étape.
|
|
82
|
+
|
|
83
|
+
## Package intlayer-cli
|
|
84
|
+
|
|
85
|
+
Le package `intlayer-cli` a pour but de transpiler vos [déclarations intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/dictionary/content_file.md) en dictionnaires.
|
|
86
|
+
|
|
87
|
+
Ce package va transpiler tous les fichiers intlayer, tels que `src/**/*.content.{ts|js|mjs|cjs|json}`. [Voir comment déclarer vos fichiers de déclaration Intlayer](https://github.com/aymericzip/intlayer/blob/main/packages/intlayer/README.md).
|
|
88
|
+
|
|
89
|
+
Pour interpréter les dictionnaires intlayer, vous pouvez utiliser des interpréteurs, tels que [react-intlayer](https://www.npmjs.com/package/react-intlayer), ou [next-intlayer](https://www.npmjs.com/package/next-intlayer).
|
|
90
|
+
|
|
91
|
+
## Support des fichiers de configuration
|
|
92
|
+
|
|
93
|
+
Intlayer accepte plusieurs formats de fichiers de configuration :
|
|
94
|
+
|
|
95
|
+
- `intlayer.config.ts`
|
|
96
|
+
- `intlayer.config.js`
|
|
97
|
+
- `intlayer.config.json`
|
|
98
|
+
- `intlayer.config.cjs`
|
|
99
|
+
- `intlayer.config.mjs`
|
|
100
|
+
- `.intlayerrc`
|
|
101
|
+
|
|
102
|
+
Pour voir comment configurer les locales disponibles, ou d'autres paramètres, référez-vous à la [documentation de configuration ici](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/configuration.md).
|
|
103
|
+
|
|
104
|
+
## Exécuter les commandes intlayer
|
|
105
|
+
|
|
106
|
+
### Commandes principales
|
|
107
|
+
|
|
108
|
+
- **[Construire les dictionnaires](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/build.md)** - Construisez vos dictionnaires à partir des fichiers de déclaration de contenu
|
|
109
|
+
- **[Surveiller les dictionnaires](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/watch.md)** - Surveillez les changements et construisez automatiquement les dictionnaires
|
|
110
|
+
- **[Vérifier la version CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/version.md)** - Vérifiez la version installée de la CLI Intlayer
|
|
111
|
+
|
|
112
|
+
### Gestion des dictionnaires
|
|
113
|
+
|
|
114
|
+
- **[Pousser les dictionnaires](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/push.md)** - Poussez les dictionnaires vers l'éditeur Intlayer et le CMS
|
|
115
|
+
- **[Récupérer les dictionnaires](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/pull.md)** - Récupérez les dictionnaires depuis l'éditeur et le CMS Intlayer
|
|
116
|
+
- **[Remplir les dictionnaires](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/fill.md)** - Remplissez, auditez et traduisez les dictionnaires à l'aide de l'IA
|
|
117
|
+
- **[Tester les traductions manquantes](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/test.md)** - Testez et identifiez les traductions manquantes
|
|
118
|
+
- **[Lister les fichiers de déclaration de contenu](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/list.md)** - Listez tous les fichiers de déclaration de contenu dans votre projet
|
|
119
|
+
|
|
120
|
+
### Gestion des composants
|
|
121
|
+
|
|
122
|
+
- **[Transformer les composants](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/transform.md)** - Transformer les composants existants pour utiliser Intlayer
|
|
123
|
+
|
|
124
|
+
### Configuration
|
|
125
|
+
|
|
126
|
+
- **[Gérer la configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/configuration.md)** - Récupérer et pousser votre configuration Intlayer vers le CMS
|
|
127
|
+
|
|
128
|
+
### Gestion de la documentation
|
|
129
|
+
|
|
130
|
+
- **[Traduire un document](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/doc-translate.md)** - Traduire automatiquement les fichiers de documentation avec l'IA
|
|
131
|
+
- **[Relire un document](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/doc-review.md)** - Relire les fichiers de documentation pour la qualité et la cohérence
|
|
132
|
+
|
|
133
|
+
### Éditeur & Synchronisation en direct
|
|
134
|
+
|
|
135
|
+
- **[Commandes de l’éditeur](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/editor.md)** - Utilisez les commandes de l’éditeur Intlayer
|
|
136
|
+
- **[Commandes Live Sync](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/live.md)** - Utilisez Live Sync pour refléter les changements de contenu du CMS en temps réel
|
|
137
|
+
|
|
138
|
+
### Outils de développement
|
|
139
|
+
|
|
140
|
+
- **[SDK CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/sdk.md)** - Utilisez le SDK CLI Intlayer dans votre propre code
|
|
141
|
+
- **[Commande Debug Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/cli/debug.md)** - Déboguez et résolvez les problèmes du CLI Intlayer
|
|
142
|
+
|
|
143
|
+
## Utilisez les commandes intlayer dans votre `package.json`
|
|
144
|
+
|
|
145
|
+
```json fileName="package.json"
|
|
146
|
+
"scripts": {
|
|
147
|
+
"intlayer:build": "npx intlayer build",
|
|
148
|
+
"intlayer:watch": "npx intlayer build --watch",
|
|
149
|
+
"intlayer:push": "npx intlayer push",
|
|
150
|
+
"intlayer:pull": "npx intlayer pull",
|
|
151
|
+
"intlayer:fill": "npx intlayer fill",
|
|
152
|
+
"intlayer:list": "npx intlayer content list",
|
|
153
|
+
"intlayer:test": "npx intlayer content test",
|
|
154
|
+
"intlayer:transform": "npx intlayer transform",
|
|
155
|
+
"intlayer:doc:translate": "npx intlayer doc translate",
|
|
156
|
+
"intlayer:doc:review": "npx intlayer doc review"
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
> **Note** : Vous pouvez également utiliser les alias plus courts :
|
|
161
|
+
>
|
|
162
|
+
> - `npx intlayer list` au lieu de `npx intlayer content list`
|
|
163
|
+
> - `npx intlayer test` au lieu de `npx intlayer content test`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Lister les fichiers de déclaration de contenu
|
|
5
|
+
description: Apprenez à lister tous les fichiers de déclaration de contenu dans votre projet.
|
|
6
|
+
keywords:
|
|
7
|
+
- Liste
|
|
8
|
+
- Déclaration de contenu
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
slugs:
|
|
12
|
+
- doc
|
|
13
|
+
- concept
|
|
14
|
+
- cli
|
|
15
|
+
- list
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Lister les fichiers de déclaration de contenu
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx intlayer content list
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Alias :
|
|
25
|
+
|
|
26
|
+
- `npx intlayer list`
|
|
27
|
+
|
|
28
|
+
Cette commande affiche tous les fichiers de déclaration de contenu dans votre projet, en montrant leurs clés de dictionnaire et leurs chemins de fichiers. Elle est utile pour obtenir une vue d'ensemble de tous vos fichiers de contenu et vérifier qu'ils sont correctement découverts par Intlayer.
|
|
29
|
+
|
|
30
|
+
## Exemple :
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx intlayer content list
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Exemple de sortie :
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npx intlayer content list
|
|
40
|
+
Fichiers de déclaration de contenu :
|
|
41
|
+
- home-page - src/components/HomePage/homePage.content.ts
|
|
42
|
+
- server-component - src/components/ServerComponent/serverComponent.content.ts
|
|
43
|
+
- client-component - src/components/ClientComponent/clientComponent.content.ts
|
|
44
|
+
|
|
45
|
+
Nombre total de fichiers de déclaration de contenu : 3
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Cette commande affichera :
|
|
49
|
+
|
|
50
|
+
- Une liste formatée de tous les fichiers de déclaration de contenu avec leurs clés et chemins de fichiers relatifs
|
|
51
|
+
- Le nombre total de fichiers de déclaration de contenu trouvés
|
|
52
|
+
|
|
53
|
+
La sortie vous aide à vérifier que tous vos fichiers de contenu sont correctement configurés et détectables par le système Intlayer.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Commandes Live Sync
|
|
5
|
+
description: Apprenez à utiliser Live Sync pour refléter les modifications de contenu CMS en temps réel.
|
|
6
|
+
keywords:
|
|
7
|
+
- Live Sync
|
|
8
|
+
- CMS
|
|
9
|
+
- Runtime
|
|
10
|
+
- CLI
|
|
11
|
+
- Intlayer
|
|
12
|
+
slugs:
|
|
13
|
+
- doc
|
|
14
|
+
- concept
|
|
15
|
+
- cli
|
|
16
|
+
- live
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Commandes Live Sync
|
|
20
|
+
|
|
21
|
+
Live Sync permet à votre application de refléter les modifications de contenu CMS en temps réel. Aucune reconstruction ou redéploiement n'est nécessaire. Lorsqu'il est activé, les mises à jour sont transmises à un serveur Live Sync qui actualise les dictionnaires que votre application lit. Voir [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/intlayer_CMS.md) pour plus de détails.
|
|
22
|
+
|
|
23
|
+
```json fileName="package.json"
|
|
24
|
+
"scripts": {
|
|
25
|
+
"intlayer:live:start": "npx intlayer live start --with 'next dev --turbopack'"
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Arguments :
|
|
30
|
+
|
|
31
|
+
**Options de configuration :**
|
|
32
|
+
|
|
33
|
+
- **`--base-dir`** : Spécifie le répertoire de base pour le projet. Pour récupérer la configuration intlayer, la commande recherchera le fichier `intlayer.config.{ts,js,json,cjs,mjs}` dans le répertoire de base.
|
|
34
|
+
|
|
35
|
+
- **`--no-cache`** : Désactive le cache.
|
|
36
|
+
|
|
37
|
+
> Exemple : `npx intlayer dictionary push --env-file .env.production.local`
|
|
38
|
+
|
|
39
|
+
**Options de journalisation :**
|
|
40
|
+
|
|
41
|
+
- **`--verbose`** : Active la journalisation détaillée pour le débogage. (activé par défaut via la CLI)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Récupérer des Dictionnaires
|
|
5
|
+
description: Apprenez comment récupérer des dictionnaires depuis l'éditeur Intlayer et le CMS.
|
|
6
|
+
keywords:
|
|
7
|
+
- Récupérer
|
|
8
|
+
- Dictionnaires
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Éditeur
|
|
12
|
+
- CMS
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- concept
|
|
16
|
+
- cli
|
|
17
|
+
- pull
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Récupérer des Dictionnaires Distants
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx intlayer pull
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Si l'[éditeur intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/fr/intlayer_visual_editor.md) est installé, vous pouvez également récupérer des dictionnaires depuis l'éditeur. De cette manière, vous pouvez écraser le contenu de vos dictionnaires selon les besoins de votre application.
|
|
27
|
+
|
|
28
|
+
## Alias :
|
|
29
|
+
|
|
30
|
+
- `npx intlayer dictionaries pull`
|
|
31
|
+
- `npx intlayer dictionary pull`
|
|
32
|
+
- `npx intlayer dic pull`
|
|
33
|
+
|
|
34
|
+
## Arguments :
|
|
35
|
+
|
|
36
|
+
**Options du dictionnaire :**
|
|
37
|
+
|
|
38
|
+
- **`-d, --dictionaries`** : Identifiants des dictionnaires à récupérer. Si non spécifié, tous les dictionnaires seront récupérés.
|
|
39
|
+
|
|
40
|
+
> Exemple : `npx intlayer dictionary pull -d my-dictionary-id my-other-dictionary-id`
|
|
41
|
+
|
|
42
|
+
- **`--dictionary`** : Identifiants des dictionnaires à récupérer (alias de --dictionaries).
|
|
43
|
+
|
|
44
|
+
> Exemple : `npx intlayer dictionary pull --dictionary my-dictionary-id my-other-dictionary-id`
|
|
45
|
+
|
|
46
|
+
**Options de configuration :**
|
|
47
|
+
|
|
48
|
+
- **`--base-dir`** : Spécifie le répertoire de base du projet. Pour récupérer la configuration intlayer, la commande cherchera le fichier `intlayer.config.{ts,js,json,cjs,mjs}` dans le répertoire de base.
|
|
49
|
+
|
|
50
|
+
> Exemple : `npx intlayer dictionary push --env-file .env.production.local`
|
|
51
|
+
|
|
52
|
+
- **`--no-cache`** : Désactive le cache.
|
|
53
|
+
|
|
54
|
+
> Exemple : `npx intlayer build --no-cache`
|
|
55
|
+
|
|
56
|
+
**Options des variables d'environnement :**
|
|
57
|
+
|
|
58
|
+
- **`--env`** : Spécifie l'environnement (par exemple, `development`, `production`).
|
|
59
|
+
- **`--env-file`** : Fournit un fichier d'environnement personnalisé pour charger les variables.
|
|
60
|
+
- **`--base-dir`** : Spécifie le répertoire de base du projet. Pour récupérer la configuration intlayer, la commande cherchera le fichier `intlayer.config.{ts,js,json,cjs,mjs}` dans le répertoire de base.
|
|
61
|
+
|
|
62
|
+
> Exemple : `npx intlayer dictionary push --env-file .env.production.local`
|
|
63
|
+
|
|
64
|
+
> Exemple : `npx intlayer dictionary push --env production`
|
|
65
|
+
|
|
66
|
+
**Options de sortie :**
|
|
67
|
+
|
|
68
|
+
- **`--new-dictionaries-path`** : Chemin vers le répertoire où les nouveaux dictionnaires seront enregistrés. Si non spécifié, les nouveaux dictionnaires seront enregistrés dans le répertoire `./intlayer-dictionaries` du projet. Si un champ `filePath` est spécifié dans le contenu de votre dictionnaire, les dictionnaires ne prendront pas en compte cet argument et seront enregistrés dans le répertoire `filePath` spécifié.
|
|
69
|
+
|
|
70
|
+
**Options de journalisation :**
|
|
71
|
+
|
|
72
|
+
- **`--verbose`** : Active la journalisation détaillée pour le débogage. (activé par défaut via la CLI)
|
|
73
|
+
|
|
74
|
+
## Exemple :
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npx intlayer dictionary pull --newDictionariesPath ./my-dictionaries-dir/
|
|
78
|
+
```
|