@intlayer/docs 7.2.3 → 7.3.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 +9 -9
- 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,163 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: CLI
|
|
5
|
+
description: Discover how to use the Intlayer CLI to manage your multilingual website. Follow the steps in this online documentation to set up your project in a few minutes.
|
|
6
|
+
keywords:
|
|
7
|
+
- CLI
|
|
8
|
+
- Command Line Interface
|
|
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: Add transform command
|
|
23
|
+
- version: 7.1.0
|
|
24
|
+
date: 2025-11-05
|
|
25
|
+
changes: Add skipIfExists option to translate command
|
|
26
|
+
- version: 6.1.4
|
|
27
|
+
date: 2025-01-27
|
|
28
|
+
changes: Add aliases for CLI arguments and commands
|
|
29
|
+
- version: 6.1.3
|
|
30
|
+
date: 2025-10-05
|
|
31
|
+
changes: Add build option to commands
|
|
32
|
+
- version: 6.1.2
|
|
33
|
+
date: 2025-09-26
|
|
34
|
+
changes: Add version command
|
|
35
|
+
- version: 6.1.0
|
|
36
|
+
date: 2025-09-26
|
|
37
|
+
changes: Set verbose option to default to true using CLI
|
|
38
|
+
- version: 6.1.0
|
|
39
|
+
date: 2025-09-23
|
|
40
|
+
changes: Add watch command and with option
|
|
41
|
+
- version: 6.0.1
|
|
42
|
+
date: 2025-09-23
|
|
43
|
+
changes: Add editor command
|
|
44
|
+
- version: 6.0.0
|
|
45
|
+
date: 2025-09-17
|
|
46
|
+
changes: Add content test and list command
|
|
47
|
+
- version: 5.5.11
|
|
48
|
+
date: 2025-07-11
|
|
49
|
+
changes: Update CLI command parameters documentation
|
|
50
|
+
- version: 5.5.10
|
|
51
|
+
date: 2025-06-29
|
|
52
|
+
changes: Init history
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
# Intlayer CLI
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Table of Contents
|
|
60
|
+
|
|
61
|
+
<TOC/>
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Install Package
|
|
66
|
+
|
|
67
|
+
Install the necessary packages using 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
|
+
> If the `intlayer` package is already installed, the CLI is automatically installed. You can skip this step.
|
|
82
|
+
|
|
83
|
+
## intlayer-cli package
|
|
84
|
+
|
|
85
|
+
The `intlayer-cli` package is intended to transpile your [intlayer declarations](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/content_file.md) into dictionaries.
|
|
86
|
+
|
|
87
|
+
This package will transpile all intlayer files, such as `src/**/*.content.{ts|js|mjs|cjs|json}`. [See how to declare your Intlayer declaration files](https://github.com/aymericzip/intlayer/blob/main/packages/intlayer/README.md).
|
|
88
|
+
|
|
89
|
+
To interpret intlayer dictionaries you can use interpreters, such as [react-intlayer](https://www.npmjs.com/package/react-intlayer), or [next-intlayer](https://www.npmjs.com/package/next-intlayer)
|
|
90
|
+
|
|
91
|
+
## Configuration File Support
|
|
92
|
+
|
|
93
|
+
Intlayer accepts multiple configuration file formats:
|
|
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
|
+
To see how to configure available locales, or other parameters, refer to the [configuration documentation here](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md).
|
|
103
|
+
|
|
104
|
+
## Run intlayer commands
|
|
105
|
+
|
|
106
|
+
### Core Commands
|
|
107
|
+
|
|
108
|
+
- **[Build Dictionaries](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/build.md)** - Build your dictionaries from content declaration files
|
|
109
|
+
- **[Watch Dictionaries](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/watch.md)** - Watch for changes and automatically build dictionaries
|
|
110
|
+
- **[Check CLI Version](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/version.md)** - Check the installed Intlayer CLI version
|
|
111
|
+
|
|
112
|
+
### Dictionary Management
|
|
113
|
+
|
|
114
|
+
- **[Push Dictionaries](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/push.md)** - Push dictionaries to the Intlayer editor and CMS
|
|
115
|
+
- **[Pull Dictionaries](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/pull.md)** - Pull dictionaries from the Intlayer editor and CMS
|
|
116
|
+
- **[Fill Dictionaries](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/fill.md)** - Fill, audit, and translate dictionaries using AI
|
|
117
|
+
- **[Test Missing Translations](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/test.md)** - Test and identify missing translations
|
|
118
|
+
- **[List Content Declaration Files](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/list.md)** - List all content declaration files in your project
|
|
119
|
+
|
|
120
|
+
### Component Management
|
|
121
|
+
|
|
122
|
+
- **[Transform Components](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/transform.md)** - Transform existing components to use Intlayer
|
|
123
|
+
|
|
124
|
+
### Configuration
|
|
125
|
+
|
|
126
|
+
- **[Manage Configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/configuration.md)** - Get and push your Intlayer configuration to the CMS
|
|
127
|
+
|
|
128
|
+
### Documentation Management
|
|
129
|
+
|
|
130
|
+
- **[Translate Document](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/doc-translate.md)** - Automatically translate documentation files using AI
|
|
131
|
+
- **[Review Document](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/doc-review.md)** - Review documentation files for quality and consistency
|
|
132
|
+
|
|
133
|
+
### Editor & Live Sync
|
|
134
|
+
|
|
135
|
+
- **[Editor Commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/editor.md)** - Use the Intlayer editor commands
|
|
136
|
+
- **[Live Sync Commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/live.md)** - Use Live Sync to reflect CMS content changes at runtime
|
|
137
|
+
|
|
138
|
+
### Development Tools
|
|
139
|
+
|
|
140
|
+
- **[CLI SDK](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/sdk.md)** - Use the Intlayer CLI SDK in your own code
|
|
141
|
+
- **[Debug Intlayer Command](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/cli/debug.md)** - Debug and troubleshoot Intlayer CLI issues
|
|
142
|
+
|
|
143
|
+
## Use intlayer commands in your `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**: You can also use the shorter aliases:
|
|
161
|
+
>
|
|
162
|
+
> - `npx intlayer list` instead of `npx intlayer content list`
|
|
163
|
+
> - `npx intlayer test` instead of `npx intlayer content test`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: List Content Declaration Files
|
|
5
|
+
description: Learn how to list all content declaration files in your project.
|
|
6
|
+
keywords:
|
|
7
|
+
- List
|
|
8
|
+
- Content Declaration
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
slugs:
|
|
12
|
+
- doc
|
|
13
|
+
- concept
|
|
14
|
+
- cli
|
|
15
|
+
- list
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# List content declaration files
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx intlayer content list
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Aliases:
|
|
25
|
+
|
|
26
|
+
- `npx intlayer list`
|
|
27
|
+
|
|
28
|
+
This command displays all content declaration files in your project, showing their dictionary keys and file paths. It is useful for obtaining an overview of all your content files and verifying that they are properly discovered by Intlayer.
|
|
29
|
+
|
|
30
|
+
## Example:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx intlayer content list
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Example output:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npx intlayer content list
|
|
40
|
+
Content declaration files:
|
|
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
|
+
Total content declaration files: 3
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
This command will output:
|
|
49
|
+
|
|
50
|
+
- A formatted list of all content declaration files with their keys and relative file paths
|
|
51
|
+
- The total count of content declaration files found
|
|
52
|
+
|
|
53
|
+
The output helps you verify that all your content files are properly configured and discoverable by the Intlayer system.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Live Sync Commands
|
|
5
|
+
description: Learn how to use Live Sync to reflect CMS content changes at runtime.
|
|
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
|
+
# Live Sync commands
|
|
20
|
+
|
|
21
|
+
Live Sync allows your app to reflect CMS content changes at runtime. No rebuild or redeploy is required. When enabled, updates are streamed to a Live Sync server that refreshes the dictionaries your application reads. See [Intlayer CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_CMS.md) for more details.
|
|
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
|
+
**Configuration options:**
|
|
32
|
+
|
|
33
|
+
- **`--base-dir`**: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for the `intlayer.config.{ts,js,json,cjs,mjs}` file in the base directory.
|
|
34
|
+
|
|
35
|
+
- **`--no-cache`**: Disable the cache.
|
|
36
|
+
|
|
37
|
+
> Example: `npx intlayer dictionary push --env-file .env.production.local`
|
|
38
|
+
|
|
39
|
+
**Log options:**
|
|
40
|
+
|
|
41
|
+
- **`--verbose`**: Enable verbose logging for debugging. (defaults to true when using the CLI)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Pull Dictionaries
|
|
5
|
+
description: Learn how to pull dictionaries from the Intlayer editor and CMS.
|
|
6
|
+
keywords:
|
|
7
|
+
- Pull
|
|
8
|
+
- Dictionaries
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Editor
|
|
12
|
+
- CMS
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- concept
|
|
16
|
+
- cli
|
|
17
|
+
- pull
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Pull Distant Dictionaries
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx intlayer pull
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
If the [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) is installed, you can also pull dictionaries from the editor. This way, you can overwrite the content of your dictionaries to suit the needs of your application.
|
|
27
|
+
|
|
28
|
+
## Aliases:
|
|
29
|
+
|
|
30
|
+
- `npx intlayer dictionaries pull`
|
|
31
|
+
- `npx intlayer dictionary pull`
|
|
32
|
+
- `npx intlayer dic pull`
|
|
33
|
+
|
|
34
|
+
## Arguments:
|
|
35
|
+
|
|
36
|
+
**Dictionary options:**
|
|
37
|
+
|
|
38
|
+
- **`-d, --dictionaries`**: IDs of the dictionaries to pull. If not specified, all dictionaries will be pulled.
|
|
39
|
+
|
|
40
|
+
> Example: `npx intlayer dictionary pull -d my-dictionary-id my-other-dictionary-id`
|
|
41
|
+
|
|
42
|
+
- **`--dictionary`**: IDs of the dictionaries to pull (alias for --dictionaries).
|
|
43
|
+
|
|
44
|
+
> Example: `npx intlayer dictionary pull --dictionary my-dictionary-id my-other-dictionary-id`
|
|
45
|
+
|
|
46
|
+
**Configuration options:**
|
|
47
|
+
|
|
48
|
+
- **`--base-dir`**: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for the `intlayer.config.{ts,js,json,cjs,mjs}` file in the base directory.
|
|
49
|
+
|
|
50
|
+
> Example: `npx intlayer dictionary push --env-file .env.production.local`
|
|
51
|
+
|
|
52
|
+
- **`--no-cache`**: Disable the cache.
|
|
53
|
+
|
|
54
|
+
> Example: `npx intlayer build --no-cache`
|
|
55
|
+
|
|
56
|
+
**Environment variables options:**
|
|
57
|
+
|
|
58
|
+
- **`--env`**: Specify the environment (e.g., `development`, `production`).
|
|
59
|
+
- **`--env-file`**: Provide a custom environment file to load variables from.
|
|
60
|
+
- **`--base-dir`**: Specify the base directory for the project. To retrieve the intlayer configuration, the command will look for the `intlayer.config.{ts,js,json,cjs,mjs}` file in the base directory.
|
|
61
|
+
|
|
62
|
+
> Example: `npx intlayer dictionary push --env-file .env.production.local`
|
|
63
|
+
|
|
64
|
+
> Example: `npx intlayer dictionary push --env production`
|
|
65
|
+
|
|
66
|
+
**Output options:**
|
|
67
|
+
|
|
68
|
+
- **`--new-dictionaries-path`** : Path to the directory where the new dictionaries will be saved. If not specified, the new dictionaries will be saved in the `./intlayer-dictionaries` directory of the project. If a `filePath` field is specified in your dictionary content, the dictionaries will not consider this argument and will be saved in the specified `filePath` directory.
|
|
69
|
+
|
|
70
|
+
**Log options:**
|
|
71
|
+
|
|
72
|
+
- **`--verbose`**: Enable verbose logging for debugging. (default is true when using the CLI)
|
|
73
|
+
|
|
74
|
+
## Example:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npx intlayer dictionary pull --newDictionariesPath ./my-dictionaries-dir/
|
|
78
|
+
```
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Push Dictionaries
|
|
5
|
+
description: Learn how to push your dictionaries to the Intlayer editor and CMS.
|
|
6
|
+
keywords:
|
|
7
|
+
- Push
|
|
8
|
+
- Dictionaries
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
- Editor
|
|
12
|
+
- CMS
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- concept
|
|
16
|
+
- cli
|
|
17
|
+
- push
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Push Dictionaries
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx intlayer dictionary push
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
If the [intlayer editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) is installed, you can also push dictionaries to the editor. This command will allow you to make the dictionaries available to [the editor](https://intlayer.org/dashboard). In this way, you can share your dictionaries with your team and edit your content without modifying the code of your application.
|
|
27
|
+
|
|
28
|
+
## Aliases:
|
|
29
|
+
|
|
30
|
+
- `npx intlayer dictionaries push`
|
|
31
|
+
- `npx intlayer dictionary push`
|
|
32
|
+
- `npx intlayer dic push`
|
|
33
|
+
|
|
34
|
+
## Arguments:
|
|
35
|
+
|
|
36
|
+
**Dictionary options:**
|
|
37
|
+
|
|
38
|
+
- **`-d`, `--dictionaries`**: IDs of the dictionaries to push. If not specified, all dictionaries will be pushed.
|
|
39
|
+
|
|
40
|
+
> Example: `npx intlayer dictionary push -d my-dictionary-id my-other-dictionary-id`
|
|
41
|
+
|
|
42
|
+
- **`--dictionary`**: IDs of the dictionaries to push (alias for --dictionaries).
|
|
43
|
+
|
|
44
|
+
> Example: `npx intlayer dictionary push --dictionary my-dictionary-id my-other-dictionary-id`
|
|
45
|
+
|
|
46
|
+
**Configuration options:**
|
|
47
|
+
|
|
48
|
+
- **`--base-dir`**: Specify the base directory for the project. To retrieve the Intlayer configuration, the command will look for the `intlayer.config.{ts,js,json,cjs,mjs}` file in the base directory.
|
|
49
|
+
|
|
50
|
+
> Example: `npx intlayer dictionary push --env-file .env.production.local`
|
|
51
|
+
|
|
52
|
+
- **`--no-cache`**: Disable the cache.
|
|
53
|
+
|
|
54
|
+
> Example: `npx intlayer build --no-cache`
|
|
55
|
+
|
|
56
|
+
**Environment variables options:**
|
|
57
|
+
|
|
58
|
+
- **`--env`**: Specify the environment (e.g., `development`, `production`). Useful if you use environment variables in your Intlayer configuration file.
|
|
59
|
+
- **`--env-file`**: Provide a custom environment file to load variables from. Useful if you use environment variables in your Intlayer configuration file.
|
|
60
|
+
|
|
61
|
+
> Example: `npx intlayer dictionary push --env-file .env.production.local`
|
|
62
|
+
|
|
63
|
+
> Example: `npx intlayer dictionary push --env production`
|
|
64
|
+
|
|
65
|
+
**Output options:**
|
|
66
|
+
|
|
67
|
+
- **`-r`, `--delete-locale-dictionary`**: Skip the question asking whether to delete the locales directories once the dictionaries are pushed, and remove them. By default, if the dictionary is defined locally, it will overwrite the content of remote dictionaries.
|
|
68
|
+
|
|
69
|
+
> Example: `npx intlayer dictionary push -r`
|
|
70
|
+
|
|
71
|
+
> Example: `npx intlayer dictionary push --delete-locale-dictionary`
|
|
72
|
+
|
|
73
|
+
- **`-k`, `--keep-locale-dictionary`**: Skip the question asking whether to delete the locales directories once the dictionaries are pushed, and keep them. By default, if the dictionary is defined locally, it will overwrite the content of remote dictionaries.
|
|
74
|
+
|
|
75
|
+
> Example: `npx intlayer dictionary push -k`
|
|
76
|
+
|
|
77
|
+
> Example: `npx intlayer dictionary push --keep-locale-dictionary`
|
|
78
|
+
|
|
79
|
+
**Preparation options:**
|
|
80
|
+
|
|
81
|
+
- **`--build`**: Build the dictionaries before pushing to ensure the content is up to date. True will force the build, false will skip the build, undefined will allow using the cache of the build.
|
|
82
|
+
|
|
83
|
+
**Log options:**
|
|
84
|
+
|
|
85
|
+
- **`--verbose`**: Enable verbose logging for debugging. (defaults to true when using CLI)
|
|
86
|
+
|
|
87
|
+
**Git options:**
|
|
88
|
+
|
|
89
|
+
- **`--git-diff`**: Only run on dictionaries that include changes from the base (default `origin/main`) to the current branch (default: `HEAD`).
|
|
90
|
+
- **`--git-diff-base`**: Specify the base reference for git diff (default `origin/main`).
|
|
91
|
+
- **`--git-diff-current`**: Specify the current reference for git diff (default: `HEAD`).
|
|
92
|
+
- **`--uncommitted`**: Include uncommitted changes.
|
|
93
|
+
- **`--unpushed`**: Include unpushed changes.
|
|
94
|
+
- **`--untracked`**: Include untracked files.
|
|
95
|
+
|
|
96
|
+
> Example: `npx intlayer dictionary push --git-diff --git-diff-base origin/main --git-diff-current HEAD`
|
|
97
|
+
|
|
98
|
+
> Example: `npx intlayer dictionary push --uncommitted --unpushed --untracked`
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: CLI SDK
|
|
5
|
+
description: Learn how to use the Intlayer CLI SDK in your own code.
|
|
6
|
+
keywords:
|
|
7
|
+
- SDK
|
|
8
|
+
- CLI
|
|
9
|
+
- Intlayer
|
|
10
|
+
- Programmatic
|
|
11
|
+
slugs:
|
|
12
|
+
- doc
|
|
13
|
+
- concept
|
|
14
|
+
- cli
|
|
15
|
+
- sdk
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# CLI SDK
|
|
19
|
+
|
|
20
|
+
The CLI SDK is a library that allows you to use the Intlayer CLI in your own code.
|
|
21
|
+
|
|
22
|
+
```bash packageManager="npm"
|
|
23
|
+
npm install @intlayer/cli --save-dev
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```bash packageManager="yarn"
|
|
27
|
+
yarn add @intlayer/cli --save-dev
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```bash packageManager="pnpm"
|
|
31
|
+
pnpm add @intlayer/cli --save-dev
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Example of usage:
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import {
|
|
38
|
+
push,
|
|
39
|
+
pull,
|
|
40
|
+
fill,
|
|
41
|
+
build,
|
|
42
|
+
listContentDeclaration,
|
|
43
|
+
testMissingTranslations,
|
|
44
|
+
docTranslate,
|
|
45
|
+
docReview,
|
|
46
|
+
transform,
|
|
47
|
+
} from "@intlayer/cli";
|
|
48
|
+
|
|
49
|
+
push();
|
|
50
|
+
// ...
|
|
51
|
+
pull();
|
|
52
|
+
// ...
|
|
53
|
+
fill();
|
|
54
|
+
// ...
|
|
55
|
+
build();
|
|
56
|
+
// ...
|
|
57
|
+
listContentDeclaration();
|
|
58
|
+
// ...
|
|
59
|
+
testMissingTranslations();
|
|
60
|
+
// ...
|
|
61
|
+
docTranslate();
|
|
62
|
+
// ...
|
|
63
|
+
docReview();
|
|
64
|
+
// ...
|
|
65
|
+
transform();
|
|
66
|
+
// ...
|
|
67
|
+
```
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Test Missing Translations
|
|
5
|
+
description: Learn how to test and identify missing translations in your dictionaries.
|
|
6
|
+
keywords:
|
|
7
|
+
- Test
|
|
8
|
+
- Missing Translations
|
|
9
|
+
- CLI
|
|
10
|
+
- Intlayer
|
|
11
|
+
slugs:
|
|
12
|
+
- doc
|
|
13
|
+
- concept
|
|
14
|
+
- cli
|
|
15
|
+
- test
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Test missing translations
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx intlayer content test
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Aliases:
|
|
25
|
+
|
|
26
|
+
- `npx intlayer test`
|
|
27
|
+
|
|
28
|
+
This command analyses your content declaration files to identify missing translations across all configured locales. It provides a comprehensive report showing which translation keys are missing for which locales, helping you maintain consistency across your multilingual content.
|
|
29
|
+
|
|
30
|
+
## Example output:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pnpm intlayer content test
|
|
34
|
+
Missing translations:
|
|
35
|
+
- home-page - tr - src/components/HomePage/homePage.content.ts
|
|
36
|
+
- server-component - es, tr - src/components/ServerComponent/serverComponent.content.ts
|
|
37
|
+
- client-component - pl, tr - src/components/ClientComponent/clientComponent.content.ts
|
|
38
|
+
Locales: en, ru, ja, fr, ko, zh, es, de, ar, it, en-GB, pt, hi, tr, pl
|
|
39
|
+
Required locales: en
|
|
40
|
+
Missing locales: pl, tr, es
|
|
41
|
+
Missing required locales: -
|
|
42
|
+
Total missing locales: 3
|
|
43
|
+
Total missing required locales: 0
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Arguments:
|
|
47
|
+
|
|
48
|
+
**Configuration options:**
|
|
49
|
+
|
|
50
|
+
- **`--env`**: Specify the environment (e.g., `development`, `production`).
|
|
51
|
+
- **`--env-file [envFile]`**: Provide a custom environment file to load variables from.
|
|
52
|
+
- **`--base-dir`**: Specify the base directory for the project.
|
|
53
|
+
|
|
54
|
+
> Example: `npx intlayer content test --base-dir ./src --env-file .env.production.local`
|
|
55
|
+
|
|
56
|
+
- **`--no-cache`**: Disable the cache.
|
|
57
|
+
|
|
58
|
+
> Example: `npx intlayer build --no-cache`
|
|
59
|
+
|
|
60
|
+
**Preparation options:**
|
|
61
|
+
|
|
62
|
+
- **`--build`**: Build the dictionaries before pushing to ensure the content is up to date. True will force the build, false will skip the build, undefined will allow using the cache of the build.
|
|
63
|
+
|
|
64
|
+
**Log options:**
|
|
65
|
+
|
|
66
|
+
- **`--verbose`**: Enable verbose logging for debugging. (default to true when using CLI)
|
|
67
|
+
|
|
68
|
+
> Example: `npx intlayer content test --verbose`
|
|
69
|
+
|
|
70
|
+
## Example:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx intlayer content test --verbose
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The output helps you quickly identify which translations need to be completed to ensure your application works correctly across all configured locales.
|
|
77
|
+
|
|
78
|
+
> Example: `npx intlayer content test --base-dir ./src --env-file .env.production.local`
|
|
79
|
+
|
|
80
|
+
- **`--no-cache`**: Disable the cache.
|
|
81
|
+
|
|
82
|
+
> Example: `npx intlayer build --no-cache`
|
|
83
|
+
|
|
84
|
+
**Preparation options:**
|
|
85
|
+
|
|
86
|
+
- **`--build`**: Build the dictionaries before pushing to ensure the content is up to date. True will force the build, false will skip the build, undefined will allow using the cache of the build.
|
|
87
|
+
|
|
88
|
+
**Log options:**
|
|
89
|
+
|
|
90
|
+
- **`--verbose`**: Enable verbose logging for debugging. (default to true using CLI)
|
|
91
|
+
|
|
92
|
+
> Example: `npx intlayer content test --verbose`
|
|
93
|
+
|
|
94
|
+
## Example:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
npx intlayer content test --verbose
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
The output helps you quickly identify which translations need to be completed to ensure your application works properly across all configured locales.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Transform Components
|
|
5
|
+
description: Learn how to transform existing components to use Intlayer.
|
|
6
|
+
keywords:
|
|
7
|
+
- Transform
|
|
8
|
+
- Components
|
|
9
|
+
- Migration
|
|
10
|
+
- CLI
|
|
11
|
+
- Intlayer
|
|
12
|
+
slugs:
|
|
13
|
+
- doc
|
|
14
|
+
- concept
|
|
15
|
+
- cli
|
|
16
|
+
- transform
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Transform components
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx intlayer transform
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This command analyses your code files to help migrate existing components to use Intlayer. It supports interactive file selection or specific file targeting.
|
|
26
|
+
|
|
27
|
+
## Aliases:
|
|
28
|
+
|
|
29
|
+
- `npx intlayer trans`
|
|
30
|
+
|
|
31
|
+
## Arguments:
|
|
32
|
+
|
|
33
|
+
**File selection options:**
|
|
34
|
+
|
|
35
|
+
- **`-f, --file [files...]`**: List of specific files to transform. If not provided, the CLI will scan for matching files (`**/*.{tsx,jsx,vue,svelte,ts,js}`) and prompt you to select which ones to transform.
|
|
36
|
+
|
|
37
|
+
> Example: `npx intlayer transform -f src/components/MyComponent.tsx`
|
|
38
|
+
|
|
39
|
+
**Output options:**
|
|
40
|
+
|
|
41
|
+
- **`-o, --output-content-declarations [outputContentDeclarations]`**: Directory to save the generated content declaration files.
|
|
42
|
+
|
|
43
|
+
> Example: `npx intlayer transform -o src/content`
|
|
44
|
+
|
|
45
|
+
- **`--code-only`**: Only transform the component code (do not write content declaration).
|
|
46
|
+
|
|
47
|
+
> Example: `npx intlayer transform --code-only`
|
|
48
|
+
|
|
49
|
+
- **`--declaration-only`**: Only generate content declaration (do not rewrite component).
|
|
50
|
+
|
|
51
|
+
> Example: `npx intlayer transform --declaration-only`
|
|
52
|
+
|
|
53
|
+
**Configuration options:**
|
|
54
|
+
|
|
55
|
+
- **`--base-dir`**: Specify the base directory for the project.
|
|
56
|
+
- **`--env`**: Specify the environment.
|
|
57
|
+
- **`--env-file`**: Provide a custom environment file.
|
|
58
|
+
- **`--verbose`**: Enable verbose logging.
|
|
59
|
+
|
|
60
|
+
**Required plugins:**
|
|
61
|
+
|
|
62
|
+
The transform command works without additional plugins on TypeScript / JSX files. However, it requires the following plugins to be installed for Vue and Svelte projects:
|
|
63
|
+
|
|
64
|
+
- **`@intlayer/vue-transformer`**: For Vue files.
|
|
65
|
+
- **`@intlayer/svelte-transformer`**: For Svelte files.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2024-08-11
|
|
3
|
+
updatedAt: 2025-11-22
|
|
4
|
+
title: Check CLI Version
|
|
5
|
+
description: Learn how to check the installed Intlayer CLI version.
|
|
6
|
+
keywords:
|
|
7
|
+
- Version
|
|
8
|
+
- CLI
|
|
9
|
+
- Intlayer
|
|
10
|
+
slugs:
|
|
11
|
+
- doc
|
|
12
|
+
- concept
|
|
13
|
+
- cli
|
|
14
|
+
- version
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Check CLI version
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx intlayer --version
|
|
21
|
+
npx intlayer version
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Both commands display the installed Intlayer CLI version.
|