@intlayer/docs 8.1.9 → 8.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/ar/how_works_intlayer.md +1 -1
- package/docs/ar/index.md +1 -1
- package/docs/ar/intlayer_with_astro.md +2 -2
- package/docs/ar/intlayer_with_create_react_app.md +2 -2
- package/docs/ar/intlayer_with_express.md +1 -1
- package/docs/ar/intlayer_with_lynx+react.md +1 -1
- package/docs/ar/intlayer_with_nextjs_14.md +2 -2
- package/docs/ar/intlayer_with_nextjs_15.md +2 -2
- package/docs/ar/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/ar/intlayer_with_react_native+expo.md +1 -1
- package/docs/ar/intlayer_with_react_router_v7.md +3 -3
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/ar/intlayer_with_vite+solid.md +2 -2
- package/docs/ar/intlayer_with_vite+vue.md +2 -2
- package/docs/ar/introduction.md +1 -1
- package/docs/ar/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/ar/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/ar/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/ar/packages/react-intlayer/useI18n.md +1 -1
- package/docs/ar/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/ar/plugins/sync-json.md +10 -6
- package/docs/ar/roadmap.md +1 -1
- package/docs/de/how_works_intlayer.md +1 -1
- package/docs/de/index.md +1 -1
- package/docs/de/intlayer_with_astro.md +2 -2
- package/docs/de/intlayer_with_create_react_app.md +2 -2
- package/docs/de/intlayer_with_express.md +1 -1
- package/docs/de/intlayer_with_lynx+react.md +1 -1
- package/docs/de/intlayer_with_nextjs_14.md +2 -2
- package/docs/de/intlayer_with_nextjs_15.md +2 -2
- package/docs/de/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/de/intlayer_with_react_native+expo.md +1 -1
- package/docs/de/intlayer_with_react_router_v7.md +3 -3
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/de/intlayer_with_vite+preact.md +2 -2
- package/docs/de/intlayer_with_vite+solid.md +2 -2
- package/docs/de/intlayer_with_vite+vue.md +2 -2
- package/docs/de/introduction.md +1 -1
- package/docs/de/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/de/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/de/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/de/packages/react-intlayer/useI18n.md +1 -1
- package/docs/de/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/de/plugins/sync-json.md +10 -6
- package/docs/de/roadmap.md +1 -1
- package/docs/en/configuration.md +26 -10
- package/docs/en-GB/how_works_intlayer.md +1 -1
- package/docs/en-GB/index.md +1 -1
- package/docs/en-GB/intlayer_with_astro.md +2 -2
- package/docs/en-GB/intlayer_with_create_react_app.md +3 -3
- package/docs/en-GB/intlayer_with_express.md +1 -1
- package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_15.md +2 -2
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
- package/docs/en-GB/intlayer_with_react_router_v7.md +3 -3
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/en-GB/intlayer_with_tanstack.md +3 -3
- package/docs/en-GB/intlayer_with_vite+preact.md +2 -2
- package/docs/en-GB/intlayer_with_vite+solid.md +2 -2
- package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
- package/docs/en-GB/introduction.md +1 -1
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/en-GB/packages/react-intlayer/useI18n.md +1 -1
- package/docs/en-GB/plugins/sync-json.md +10 -6
- package/docs/en-GB/roadmap.md +1 -1
- package/docs/es/how_works_intlayer.md +1 -1
- package/docs/es/index.md +1 -1
- package/docs/es/intlayer_with_astro.md +2 -2
- package/docs/es/intlayer_with_create_react_app.md +2 -2
- package/docs/es/intlayer_with_express.md +1 -1
- package/docs/es/intlayer_with_lynx+react.md +1 -1
- package/docs/es/intlayer_with_nextjs_14.md +2 -2
- package/docs/es/intlayer_with_nextjs_15.md +2 -2
- package/docs/es/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/es/intlayer_with_react_native+expo.md +1 -1
- package/docs/es/intlayer_with_react_router_v7.md +3 -3
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/es/intlayer_with_vite+preact.md +2 -2
- package/docs/es/intlayer_with_vite+solid.md +2 -2
- package/docs/es/intlayer_with_vite+vue.md +2 -2
- package/docs/es/introduction.md +1 -1
- package/docs/es/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/es/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/es/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/es/packages/react-intlayer/useI18n.md +1 -1
- package/docs/es/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/es/plugins/sync-json.md +10 -6
- package/docs/es/roadmap.md +1 -1
- package/docs/fr/how_works_intlayer.md +1 -1
- package/docs/fr/index.md +1 -1
- package/docs/fr/intlayer_with_astro.md +2 -2
- package/docs/fr/intlayer_with_create_react_app.md +2 -2
- package/docs/fr/intlayer_with_express.md +1 -1
- package/docs/fr/intlayer_with_lynx+react.md +1 -1
- package/docs/fr/intlayer_with_nextjs_14.md +2 -2
- package/docs/fr/intlayer_with_nextjs_15.md +2 -2
- package/docs/fr/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/fr/intlayer_with_react_native+expo.md +1 -1
- package/docs/fr/intlayer_with_react_router_v7.md +3 -3
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/fr/intlayer_with_vite+preact.md +2 -2
- package/docs/fr/intlayer_with_vite+solid.md +2 -2
- package/docs/fr/intlayer_with_vite+vue.md +2 -2
- package/docs/fr/introduction.md +1 -1
- package/docs/fr/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/fr/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/fr/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/fr/packages/react-intlayer/useI18n.md +1 -1
- package/docs/fr/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/fr/plugins/sync-json.md +10 -6
- package/docs/fr/roadmap.md +1 -1
- package/docs/hi/how_works_intlayer.md +1 -1
- package/docs/hi/index.md +1 -1
- package/docs/hi/intlayer_with_astro.md +2 -2
- package/docs/hi/intlayer_with_create_react_app.md +2 -2
- package/docs/hi/intlayer_with_express.md +1 -1
- package/docs/hi/intlayer_with_lynx+react.md +1 -1
- package/docs/hi/intlayer_with_nextjs_14.md +2 -2
- package/docs/hi/intlayer_with_nextjs_15.md +2 -2
- package/docs/hi/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/hi/intlayer_with_react_native+expo.md +1 -1
- package/docs/hi/intlayer_with_react_router_v7.md +3 -3
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/hi/intlayer_with_vite+preact.md +1 -1
- package/docs/hi/intlayer_with_vite+solid.md +1 -1
- package/docs/hi/intlayer_with_vite+vue.md +2 -2
- package/docs/hi/introduction.md +1 -1
- package/docs/hi/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/hi/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/hi/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/hi/packages/react-intlayer/useI18n.md +1 -1
- package/docs/hi/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/hi/plugins/sync-json.md +10 -6
- package/docs/hi/roadmap.md +1 -1
- package/docs/id/configuration.md +20 -8
- package/docs/id/intlayer_with_vite+preact.md +1 -1
- package/docs/id/plugins/sync-json.md +10 -6
- package/docs/it/how_works_intlayer.md +1 -1
- package/docs/it/index.md +1 -1
- package/docs/it/intlayer_with_astro.md +2 -2
- package/docs/it/intlayer_with_create_react_app.md +2 -2
- package/docs/it/intlayer_with_express.md +1 -1
- package/docs/it/intlayer_with_lynx+react.md +1 -1
- package/docs/it/intlayer_with_nextjs_14.md +2 -2
- package/docs/it/intlayer_with_nextjs_15.md +2 -2
- package/docs/it/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/it/intlayer_with_react_native+expo.md +1 -1
- package/docs/it/intlayer_with_react_router_v7.md +3 -3
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/it/intlayer_with_vite+preact.md +2 -2
- package/docs/it/intlayer_with_vite+solid.md +2 -2
- package/docs/it/intlayer_with_vite+vue.md +2 -2
- package/docs/it/introduction.md +1 -1
- package/docs/it/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/it/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/it/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/it/packages/react-intlayer/useI18n.md +1 -1
- package/docs/it/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/it/plugins/sync-json.md +10 -6
- package/docs/it/roadmap.md +1 -1
- package/docs/ja/how_works_intlayer.md +1 -1
- package/docs/ja/index.md +1 -1
- package/docs/ja/intlayer_with_astro.md +2 -2
- package/docs/ja/intlayer_with_create_react_app.md +2 -2
- package/docs/ja/intlayer_with_express.md +1 -1
- package/docs/ja/intlayer_with_lynx+react.md +1 -1
- package/docs/ja/intlayer_with_nextjs_14.md +2 -2
- package/docs/ja/intlayer_with_nextjs_15.md +2 -2
- package/docs/ja/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/ja/intlayer_with_react_native+expo.md +1 -1
- package/docs/ja/intlayer_with_react_router_v7.md +3 -3
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/ja/intlayer_with_vite+preact.md +2 -2
- package/docs/ja/intlayer_with_vite+solid.md +2 -2
- package/docs/ja/intlayer_with_vite+vue.md +2 -2
- package/docs/ja/introduction.md +1 -1
- package/docs/ja/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/ja/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/ja/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/ja/packages/react-intlayer/useI18n.md +1 -1
- package/docs/ja/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/ja/plugins/sync-json.md +10 -6
- package/docs/ja/roadmap.md +1 -1
- package/docs/ko/how_works_intlayer.md +1 -1
- package/docs/ko/index.md +1 -1
- package/docs/ko/intlayer_with_astro.md +2 -2
- package/docs/ko/intlayer_with_create_react_app.md +2 -2
- package/docs/ko/intlayer_with_express.md +1 -1
- package/docs/ko/intlayer_with_lynx+react.md +1 -1
- package/docs/ko/intlayer_with_nextjs_14.md +2 -2
- package/docs/ko/intlayer_with_nextjs_15.md +3 -3
- package/docs/ko/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/ko/intlayer_with_react_native+expo.md +1 -1
- package/docs/ko/intlayer_with_react_router_v7.md +3 -3
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/ko/intlayer_with_vite+preact.md +1 -1
- package/docs/ko/intlayer_with_vite+solid.md +2 -2
- package/docs/ko/intlayer_with_vite+vue.md +2 -2
- package/docs/ko/introduction.md +1 -1
- package/docs/ko/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/ko/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/ko/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/ko/packages/react-intlayer/useI18n.md +1 -1
- package/docs/ko/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/ko/plugins/sync-json.md +10 -6
- package/docs/ko/roadmap.md +1 -1
- package/docs/pl/configuration.md +20 -17
- package/docs/pl/intlayer_with_tanstack.md +3 -3
- package/docs/pl/plugins/sync-json.md +10 -6
- package/docs/pt/how_works_intlayer.md +1 -1
- package/docs/pt/index.md +1 -1
- package/docs/pt/intlayer_with_astro.md +2 -2
- package/docs/pt/intlayer_with_create_react_app.md +2 -2
- package/docs/pt/intlayer_with_express.md +1 -1
- package/docs/pt/intlayer_with_lynx+react.md +1 -1
- package/docs/pt/intlayer_with_nextjs_14.md +2 -2
- package/docs/pt/intlayer_with_nextjs_15.md +2 -2
- package/docs/pt/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/pt/intlayer_with_react_native+expo.md +1 -1
- package/docs/pt/intlayer_with_react_router_v7.md +3 -3
- package/docs/pt/intlayer_with_tanstack.md +3 -3
- package/docs/pt/intlayer_with_vite+solid.md +2 -2
- package/docs/pt/intlayer_with_vite+vue.md +2 -2
- package/docs/pt/introduction.md +1 -1
- package/docs/pt/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/pt/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/pt/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/pt/packages/react-intlayer/useI18n.md +1 -1
- package/docs/pt/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/pt/plugins/sync-json.md +10 -6
- package/docs/pt/roadmap.md +1 -1
- package/docs/ru/how_works_intlayer.md +1 -1
- package/docs/ru/index.md +1 -1
- package/docs/ru/intlayer_with_astro.md +2 -2
- package/docs/ru/intlayer_with_create_react_app.md +2 -2
- package/docs/ru/intlayer_with_express.md +1 -1
- package/docs/ru/intlayer_with_lynx+react.md +1 -1
- package/docs/ru/intlayer_with_nextjs_14.md +2 -2
- package/docs/ru/intlayer_with_nextjs_15.md +2 -2
- package/docs/ru/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/ru/intlayer_with_react_native+expo.md +1 -1
- package/docs/ru/intlayer_with_react_router_v7.md +3 -3
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/ru/intlayer_with_tanstack.md +3 -3
- package/docs/ru/intlayer_with_vite+solid.md +2 -2
- package/docs/ru/intlayer_with_vite+vue.md +2 -2
- package/docs/ru/introduction.md +1 -1
- package/docs/ru/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/ru/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/ru/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/ru/packages/react-intlayer/useI18n.md +1 -1
- package/docs/ru/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/ru/plugins/sync-json.md +10 -6
- package/docs/ru/roadmap.md +1 -1
- package/docs/tr/intlayer_with_astro.md +2 -2
- package/docs/tr/intlayer_with_react_router_v7.md +3 -3
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/tr/intlayer_with_tanstack.md +3 -3
- package/docs/tr/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/tr/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/tr/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/tr/packages/react-intlayer/useI18n.md +1 -1
- package/docs/tr/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/tr/plugins/sync-json.md +10 -6
- package/docs/uk/configuration.md +20 -17
- package/docs/uk/intlayer_with_tanstack.md +3 -3
- package/docs/vi/configuration.md +20 -17
- package/docs/vi/intlayer_with_tanstack.md +3 -3
- package/docs/vi/intlayer_with_vite+preact.md +1 -1
- package/docs/vi/plugins/sync-json.md +10 -6
- package/docs/zh/how_works_intlayer.md +1 -1
- package/docs/zh/index.md +1 -1
- package/docs/zh/intlayer_with_astro.md +2 -2
- package/docs/zh/intlayer_with_create_react_app.md +2 -2
- package/docs/zh/intlayer_with_express.md +1 -1
- package/docs/zh/intlayer_with_lynx+react.md +1 -1
- package/docs/zh/intlayer_with_nextjs_14.md +2 -2
- package/docs/zh/intlayer_with_nextjs_15.md +2 -2
- package/docs/zh/intlayer_with_nextjs_page_router.md +3 -3
- package/docs/zh/intlayer_with_react_native+expo.md +1 -1
- package/docs/zh/intlayer_with_react_router_v7.md +3 -3
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -3
- package/docs/zh/intlayer_with_tanstack.md +1 -1
- package/docs/zh/intlayer_with_vite+solid.md +2 -2
- package/docs/zh/intlayer_with_vite+vue.md +2 -2
- package/docs/zh/introduction.md +1 -1
- package/docs/zh/packages/next-intlayer/useDictionary.md +1 -1
- package/docs/zh/packages/next-intlayer/useIntlayer.md +1 -1
- package/docs/zh/packages/react-intlayer/useDictionary.md +1 -1
- package/docs/zh/packages/react-intlayer/useI18n.md +1 -1
- package/docs/zh/packages/react-intlayer/useIntlayer.md +1 -1
- package/docs/zh/plugins/sync-json.md +10 -6
- package/docs/zh/roadmap.md +1 -1
- package/package.json +7 -7
|
@@ -95,7 +95,7 @@ bunx intlayer init
|
|
|
95
95
|
|
|
96
96
|
- **intlayer**
|
|
97
97
|
|
|
98
|
-
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
98
|
+
मुख्य पैकेज जो कॉन्फ़िगरेशन प्रबंधन, अनुवाद, [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md), ट्रांसपाइलेशन, और [CLI कमांड्स](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/intlayer_cli.md) के लिए अंतरराष्ट्रीयकरण उपकरण प्रदान करता है।
|
|
99
99
|
|
|
100
100
|
- **vue-intlayer**
|
|
101
101
|
वह पैकेज जो Intlayer को Vue एप्लिकेशन के साथ एकीकृत करता है। यह Vue अंतरराष्ट्रीयकरण के लिए संदर्भ प्रदाता और कॉम्पोज़ेबल्स प्रदान करता है।
|
|
@@ -405,7 +405,7 @@ module.exports = appContent;
|
|
|
405
405
|
|
|
406
406
|
> आपकी सामग्री घोषणाएँ आपके एप्लिकेशन में कहीं भी परिभाषित की जा सकती हैं जब वे `contentDir` निर्देशिका (डिफ़ॉल्ट रूप से, `./src`) में शामिल हो जाती हैं। और सामग्री घोषणा फ़ाइल एक्सटेंशन से मेल खाती हैं (डिफ़ॉल्ट रूप से, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)।
|
|
407
407
|
|
|
408
|
-
> अधिक विवरण के लिए, [सामग्री घोषणा प्रलेखन](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
408
|
+
> अधिक विवरण के लिए, [सामग्री घोषणा प्रलेखन](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md) देखें।
|
|
409
409
|
|
|
410
410
|
### चरण 5: अपने कोड में Intlayer का उपयोग करें
|
|
411
411
|
|
package/docs/hi/introduction.md
CHANGED
|
@@ -161,7 +161,7 @@ Intlayer आधुनिक वेब विकास की आवश्यक
|
|
|
161
161
|
|
|
162
162
|
अपने बहुभाषी सामग्री को अपने कोड के करीब व्यवस्थित करें ताकि सब कुछ सुसंगत और रखरखाव योग्य रहे।
|
|
163
163
|
|
|
164
|
-
- **[शुरू करें](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
164
|
+
- **[शुरू करें](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)**
|
|
165
165
|
Intlayer में अपनी सामग्री घोषित करने के मूल बातें सीखें।
|
|
166
166
|
|
|
167
167
|
- **[अनुवाद](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/translation.md)**
|
|
@@ -69,7 +69,7 @@ history:
|
|
|
69
69
|
|
|
70
70
|
## शब्दकोश
|
|
71
71
|
|
|
72
|
-
सभी शब्दकोश ऑब्जेक्ट्स को संरचित सामग्री फ़ाइलों में घोषित किया जाना चाहिए ताकि टाइप सुरक्षा सुनिश्चित हो सके और रनटाइम त्रुटियों को रोका जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
72
|
+
सभी शब्दकोश ऑब्जेक्ट्स को संरचित सामग्री फ़ाइलों में घोषित किया जाना चाहिए ताकि टाइप सुरक्षा सुनिश्चित हो सके और रनटाइम त्रुटियों को रोका जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)। यहाँ सामग्री घोषणा का एक उदाहरण है:
|
|
73
73
|
|
|
74
74
|
```typescript fileName="component.content.ts" codeFormat="typescript"
|
|
75
75
|
import { t, type Dictionary } from "intlayer";
|
|
@@ -69,7 +69,7 @@ history:
|
|
|
69
69
|
|
|
70
70
|
सभी सामग्री कुंजियाँ कंटेंट घोषणा फ़ाइलों के भीतर परिभाषित होना अत्यंत आवश्यक है ताकि रनटाइम त्रुटियों से बचा जा सके और टाइप सुरक्षा सुनिश्चित की जा सके। यह तरीका कंपाइल-टाइम सत्यापन के लिए TypeScript एकीकरण को भी सुगम बनाता है।
|
|
71
71
|
|
|
72
|
-
कंटेंट घोषणा फ़ाइलों को सेटअप करने के निर्देश [यहाँ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
72
|
+
कंटेंट घोषणा फ़ाइलों को सेटअप करने के निर्देश [यहाँ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md) उपलब्ध हैं।
|
|
73
73
|
|
|
74
74
|
## Next.js में उदाहरण उपयोग
|
|
75
75
|
|
|
@@ -68,7 +68,7 @@ history:
|
|
|
68
68
|
|
|
69
69
|
## शब्दकोश
|
|
70
70
|
|
|
71
|
-
सभी शब्दकोश ऑब्जेक्ट्स को संरचित सामग्री फ़ाइलों में घोषित किया जाना चाहिए ताकि टाइप सुरक्षा सुनिश्चित हो सके और रनटाइम त्रुटियों को रोका जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
71
|
+
सभी शब्दकोश ऑब्जेक्ट्स को संरचित सामग्री फ़ाइलों में घोषित किया जाना चाहिए ताकि टाइप सुरक्षा सुनिश्चित हो सके और रनटाइम त्रुटियों को रोका जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)। यहाँ सामग्री घोषणा का एक उदाहरण है:
|
|
72
72
|
|
|
73
73
|
```typescript fileName="./component.content.ts" contentDeclarationFormat="typescript"
|
|
74
74
|
import { t, type Dictionary } from "intlayer";
|
|
@@ -66,7 +66,7 @@ slugs:
|
|
|
66
66
|
|
|
67
67
|
## शब्दकोश
|
|
68
68
|
|
|
69
|
-
सभी शब्दकोश कुंजियाँ सामग्री घोषणा फ़ाइलों के भीतर घोषित की जानी चाहिए ताकि प्रकार सुरक्षा बढ़े और त्रुटियों से बचा जा सके। [कॉन्फ़िगरेशन निर्देश यहाँ पाए जा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
69
|
+
सभी शब्दकोश कुंजियाँ सामग्री घोषणा फ़ाइलों के भीतर घोषित की जानी चाहिए ताकि प्रकार सुरक्षा बढ़े और त्रुटियों से बचा जा सके। [कॉन्फ़िगरेशन निर्देश यहाँ पाए जा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)।
|
|
70
70
|
|
|
71
71
|
## React में उपयोग के उदाहरण
|
|
72
72
|
|
|
@@ -69,7 +69,7 @@ history:
|
|
|
69
69
|
|
|
70
70
|
## शब्दकोश
|
|
71
71
|
|
|
72
|
-
सभी शब्दकोश कुंजियाँ सामग्री घोषणा फ़ाइलों में घोषित होनी चाहिए ताकि टाइप सुरक्षा बढ़े और त्रुटियों से बचा जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
72
|
+
सभी शब्दकोश कुंजियाँ सामग्री घोषणा फ़ाइलों में घोषित होनी चाहिए ताकि टाइप सुरक्षा बढ़े और त्रुटियों से बचा जा सके। आप [सेटअप निर्देश यहाँ पा सकते हैं](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)।
|
|
73
73
|
|
|
74
74
|
## React में उदाहरण उपयोग
|
|
75
75
|
|
|
@@ -66,10 +66,10 @@ npm i -D @intlayer/sync-json-plugin
|
|
|
66
66
|
अपने `intlayer.config.ts` में प्लगइन जोड़ें और इसे अपनी मौजूदा JSON संरचना की ओर इंगित करें।
|
|
67
67
|
|
|
68
68
|
```ts fileName="intlayer.config.ts"
|
|
69
|
-
import {
|
|
69
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
70
70
|
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
const config: IntlayerConfig = {
|
|
73
73
|
internationalization: {
|
|
74
74
|
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
75
75
|
defaultLocale: Locales.ENGLISH,
|
|
@@ -82,7 +82,9 @@ export default defineConfig({
|
|
|
82
82
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
83
83
|
}),
|
|
84
84
|
],
|
|
85
|
-
}
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export default config;
|
|
86
88
|
```
|
|
87
89
|
|
|
88
90
|
वैकल्पिक: प्रति-लोकल एकल फ़ाइल (i18next/react-intl सेटअप में सामान्य):
|
|
@@ -147,10 +149,10 @@ syncJSON({
|
|
|
147
149
|
- समान प्राथमिकता वाले प्लगइन्स को कॉन्फ़िगरेशन में उनके प्रकट होने के क्रम में संसाधित किया जाता है
|
|
148
150
|
|
|
149
151
|
```ts fileName="intlayer.config.ts"
|
|
150
|
-
import {
|
|
152
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
151
153
|
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
const config: IntlayerConfig = {
|
|
154
156
|
internationalization: {
|
|
155
157
|
locales: [Locales.ENGLISH, Locales.FRENCH],
|
|
156
158
|
defaultLocale: Locales.ENGLISH,
|
|
@@ -181,7 +183,9 @@ export default defineConfig({
|
|
|
181
183
|
priority: 1,
|
|
182
184
|
}),
|
|
183
185
|
],
|
|
184
|
-
}
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export default config;
|
|
185
189
|
```
|
|
186
190
|
|
|
187
191
|
### संघर्ष समाधान
|
package/docs/hi/roadmap.md
CHANGED
|
@@ -39,7 +39,7 @@ Intlayer एक सामग्री प्रबंधन और अंतर
|
|
|
39
39
|
|
|
40
40
|
> संसाधन:
|
|
41
41
|
>
|
|
42
|
-
> - [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/
|
|
42
|
+
> - [सामग्री घोषणा](https://github.com/aymericzip/intlayer/blob/main/docs/docs/hi/dictionary/content_file.md)
|
|
43
43
|
|
|
44
44
|
### 2. अंतरराष्ट्रीयकरण
|
|
45
45
|
|
package/docs/id/configuration.md
CHANGED
|
@@ -735,8 +735,9 @@ Berikut beberapa contoh konfigurasi umum untuk struktur routing v7 yang baru:
|
|
|
735
735
|
**Konfigurasi Dasar (Default)**:
|
|
736
736
|
|
|
737
737
|
```typescript
|
|
738
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
738
739
|
// intlayer.config.ts
|
|
739
|
-
|
|
740
|
+
const config: IntlayerConfig = {
|
|
740
741
|
internationalization: {
|
|
741
742
|
locales: ["en", "fr", "es"],
|
|
742
743
|
defaultLocale: "en",
|
|
@@ -747,14 +748,17 @@ export default defineConfig({
|
|
|
747
748
|
headerName: "x-intlayer-locale",
|
|
748
749
|
basePath: "",
|
|
749
750
|
},
|
|
750
|
-
}
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
export default config;
|
|
751
754
|
```
|
|
752
755
|
|
|
753
756
|
**Konfigurasi Sesuai GDPR**:
|
|
754
757
|
|
|
755
758
|
```typescript
|
|
759
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
756
760
|
// intlayer.config.ts
|
|
757
|
-
|
|
761
|
+
const config: IntlayerConfig = {
|
|
758
762
|
internationalization: {
|
|
759
763
|
locales: ["en", "fr", "es"],
|
|
760
764
|
defaultLocale: "en",
|
|
@@ -777,14 +781,17 @@ export default defineConfig({
|
|
|
777
781
|
headerName: "x-intlayer-locale",
|
|
778
782
|
basePath: "",
|
|
779
783
|
},
|
|
780
|
-
}
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
export default config;
|
|
781
787
|
```
|
|
782
788
|
|
|
783
789
|
**Mode Parameter Pencarian**:
|
|
784
790
|
|
|
785
791
|
```typescript
|
|
792
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
786
793
|
// intlayer.config.ts
|
|
787
|
-
|
|
794
|
+
const config: IntlayerConfig = {
|
|
788
795
|
internationalization: {
|
|
789
796
|
locales: ["en", "fr", "es"],
|
|
790
797
|
defaultLocale: "en",
|
|
@@ -795,14 +802,17 @@ export default defineConfig({
|
|
|
795
802
|
headerName: "x-intlayer-locale",
|
|
796
803
|
basePath: "",
|
|
797
804
|
},
|
|
798
|
-
}
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
export default config;
|
|
799
808
|
```
|
|
800
809
|
|
|
801
810
|
**Mode Tanpa Prefix dengan Penyimpanan Kustom**:
|
|
802
811
|
|
|
803
812
|
```typescript
|
|
813
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
804
814
|
// intlayer.config.ts
|
|
805
|
-
|
|
815
|
+
const config: IntlayerConfig = {
|
|
806
816
|
internationalization: {
|
|
807
817
|
locales: ["en", "fr", "es"],
|
|
808
818
|
defaultLocale: "en",
|
|
@@ -816,7 +826,9 @@ export default defineConfig({
|
|
|
816
826
|
headerName: "x-custom-locale",
|
|
817
827
|
basePath: "/my-app",
|
|
818
828
|
},
|
|
819
|
-
}
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
export default config;
|
|
820
832
|
```
|
|
821
833
|
|
|
822
834
|
---
|
|
@@ -428,7 +428,7 @@ module.exports = appContent;
|
|
|
428
428
|
|
|
429
429
|
> Deklarasi konten Anda dapat didefinisikan di mana saja dalam aplikasi Anda selama sudah dimasukkan ke trong direktori `contentDir` (secara default, `./src`). Dan sesuai dengan ekstensi file deklarasi konten (secara default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
430
430
|
|
|
431
|
-
> Untuk detail lebih lanjut, lihat [dokumentasi deklarasi konten](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/dictionary/
|
|
431
|
+
> Untuk detail lebih lanjut, lihat [dokumentasi deklarasi konten](https://github.com/aymericzip/intlayer/blob/main/docs/docs/id/dictionary/content_file.md).
|
|
432
432
|
|
|
433
433
|
> Jika file konten Anda menyertakan kode TSX, Anda mungkin perlu mengimpor `import { h } from "preact";` hoặc đảm bảo pragma JSX Anda sudah diatur dengan benar untuk Preact.
|
|
434
434
|
|
|
@@ -66,10 +66,10 @@ npm i -D @intlayer/sync-json-plugin
|
|
|
66
66
|
Tambahkan plugin ke `intlayer.config.ts` Anda dan arahkan ke struktur JSON yang sudah ada.
|
|
67
67
|
|
|
68
68
|
```ts fileName="intlayer.config.ts"
|
|
69
|
-
import {
|
|
69
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
70
70
|
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
const config: IntlayerConfig = {
|
|
73
73
|
internationalization: {
|
|
74
74
|
locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
|
|
75
75
|
defaultLocale: Locales.ENGLISH,
|
|
@@ -82,7 +82,9 @@ export default defineConfig({
|
|
|
82
82
|
source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
|
|
83
83
|
}),
|
|
84
84
|
],
|
|
85
|
-
}
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export default config;
|
|
86
88
|
```
|
|
87
89
|
|
|
88
90
|
Alternatif: satu file per locale (umum dengan pengaturan i18next/react-intl):
|
|
@@ -147,10 +149,10 @@ Ketika beberapa plugin menargetkan kunci kamus yang sama, parameter `priority` m
|
|
|
147
149
|
- Plugin dengan prioritas yang sama diproses sesuai urutan kemunculannya dalam konfigurasi
|
|
148
150
|
|
|
149
151
|
```ts fileName="intlayer.config.ts"
|
|
150
|
-
import {
|
|
152
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
151
153
|
import { syncJSON } from "@intlayer/sync-json-plugin";
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
const config: IntlayerConfig = {
|
|
154
156
|
internationalization: {
|
|
155
157
|
locales: [Locales.ENGLISH, Locales.FRENCH],
|
|
156
158
|
defaultLocale: Locales.ENGLISH,
|
|
@@ -181,7 +183,9 @@ export default defineConfig({
|
|
|
181
183
|
priority: 1,
|
|
182
184
|
}),
|
|
183
185
|
],
|
|
184
|
-
}
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export default config;
|
|
185
189
|
```
|
|
186
190
|
|
|
187
191
|
### Penyelesaian konflik
|
|
@@ -77,7 +77,7 @@ const MyComponent = () => {
|
|
|
77
77
|
|
|
78
78
|
Questo hook gestirà per te il rilevamento della lingua e restituirà il contenuto per la lingua corrente. Utilizzando questo hook, sarai anche in grado di interpretare markdown, gestire la pluralizzazione e altro.
|
|
79
79
|
|
|
80
|
-
> Per vedere tutte le funzionalità di Intlayer, puoi leggere la [documentazione sui dizionari](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
80
|
+
> Per vedere tutte le funzionalità di Intlayer, puoi leggere la [documentazione sui dizionari](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
81
81
|
|
|
82
82
|
## Contenuto remoto
|
|
83
83
|
|
package/docs/it/index.md
CHANGED
|
@@ -56,7 +56,7 @@ Gestisci contenuti e traduzioni utilizzando il nostro strumento da linea di coma
|
|
|
56
56
|
|
|
57
57
|
Organizza i tuoi contenuti multilingue vicino al codice per mantenere tutto coerente e facilmente gestibile.
|
|
58
58
|
|
|
59
|
-
- **[Inizia](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
59
|
+
- **[Inizia](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)**
|
|
60
60
|
Impara le basi per dichiarare i tuoi contenuti in Intlayer.
|
|
61
61
|
|
|
62
62
|
- **[Traduzione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/translation.md)**
|
|
@@ -67,7 +67,7 @@ yarn add react react-dom react-intlayer @astrojs/react
|
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
- **intlayer**
|
|
70
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
70
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
71
71
|
|
|
72
72
|
- **astro-intlayer**
|
|
73
73
|
Include il plugin di integrazione Astro per integrare Intlayer con il [bundler Vite](https://vite.dev/guide/why.html#why-bundle-for-production), oltre a middleware per rilevare la lingua preferita dall'utente, gestire i cookie e gestire il reindirizzamento degli URL.
|
|
@@ -138,7 +138,7 @@ export default appContent;
|
|
|
138
138
|
|
|
139
139
|
> Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
140
140
|
|
|
141
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
141
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
142
142
|
|
|
143
143
|
### Passo 5: Usa il tuo contenuto in Astro
|
|
144
144
|
|
|
@@ -68,7 +68,7 @@ bunx intlayer init
|
|
|
68
68
|
|
|
69
69
|
- **intlayer**
|
|
70
70
|
|
|
71
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione delle configurazioni, traduzioni, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
71
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione delle configurazioni, traduzioni, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), transpilation e [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
72
72
|
|
|
73
73
|
- **react-intlayer**
|
|
74
74
|
|
|
@@ -283,7 +283,7 @@ module.exports = appContent;
|
|
|
283
283
|
|
|
284
284
|
> Le dichiarazioni dei tuoi contenuti possono essere definite ovunque nella tua applicazione purché siano incluse nella directory `contentDir` (di default, `./src`). E corrispondano all'estensione del file di dichiarazione dei contenuti (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
285
285
|
|
|
286
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
286
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
287
287
|
|
|
288
288
|
> Se il tuo file di contenuti include codice TSX, considera di importare `import React from "react";` nel tuo file di contenuti.
|
|
289
289
|
|
|
@@ -224,7 +224,7 @@ module.exports = indexContent;
|
|
|
224
224
|
|
|
225
225
|
> Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione purché siano incluse nella directory `contentDir` (di default, `./src`). E corrispondano all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
226
226
|
|
|
227
|
-
> Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
227
|
+
> Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
228
228
|
|
|
229
229
|
### Configurazione dell'applicazione Express
|
|
230
230
|
|
|
@@ -370,7 +370,7 @@ module.exports = appContent;
|
|
|
370
370
|
}
|
|
371
371
|
```
|
|
372
372
|
|
|
373
|
-
> Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione sui contenuti di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
373
|
+
> Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione sui contenuti di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
374
374
|
|
|
375
375
|
---
|
|
376
376
|
|
|
@@ -66,7 +66,7 @@ bunx intlayer init
|
|
|
66
66
|
|
|
67
67
|
- **intlayer**
|
|
68
68
|
|
|
69
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, traduzione, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
69
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, traduzione, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), transpilation e [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
70
70
|
|
|
71
71
|
- **next-intlayer**
|
|
72
72
|
|
|
@@ -438,7 +438,7 @@ module.exports = pageContent;
|
|
|
438
438
|
|
|
439
439
|
> Le dichiarazioni dei tuoi contenuti possono essere definite ovunque nella tua applicazione purché siano incluse nella directory `contentDir` (di default, `./src`). E corrispondano all'estensione del file di dichiarazione dei contenuti (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
440
440
|
|
|
441
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
441
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
442
442
|
|
|
443
443
|
### Passo 7: Utilizza i contenuti nel tuo codice
|
|
444
444
|
|
|
@@ -76,7 +76,7 @@ bunx intlayer init
|
|
|
76
76
|
|
|
77
77
|
- **intlayer**
|
|
78
78
|
|
|
79
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
79
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
80
80
|
|
|
81
81
|
- **next-intlayer**
|
|
82
82
|
|
|
@@ -429,7 +429,7 @@ module.exports = pageContent;
|
|
|
429
429
|
|
|
430
430
|
> Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
431
431
|
|
|
432
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
432
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
433
433
|
|
|
434
434
|
### Passo 6: Utilizza il Contenuto nel Tuo Codice
|
|
435
435
|
|
|
@@ -72,7 +72,7 @@ bunx intlayer init
|
|
|
72
72
|
|
|
73
73
|
- **intlayer**
|
|
74
74
|
|
|
75
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
75
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
76
76
|
|
|
77
77
|
- **next-intlayer**
|
|
78
78
|
|
|
@@ -443,7 +443,7 @@ module.exports = homeContent;
|
|
|
443
443
|
}
|
|
444
444
|
```
|
|
445
445
|
|
|
446
|
-
Per maggiori informazioni sulla dichiarazione dei contenuti, consulta la [guida alla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
446
|
+
Per maggiori informazioni sulla dichiarazione dei contenuti, consulta la [guida alla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
447
447
|
|
|
448
448
|
### Passo 7: Utilizza i Contenuti nel Tuo Codice
|
|
449
449
|
|
|
@@ -1494,7 +1494,7 @@ Per maggiori dettagli su come utilizzare l'estensione, consulta la [documentazio
|
|
|
1494
1494
|
## Risorse Aggiuntive
|
|
1495
1495
|
|
|
1496
1496
|
- **Documentazione Intlayer:** [Repository GitHub](https://github.com/aymericzip/intlayer)
|
|
1497
|
-
- **Guida al Dizionario:** [Dizionario](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
1497
|
+
- **Guida al Dizionario:** [Dizionario](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
|
|
1498
1498
|
- **Documentazione di Configurazione:** [Guida alla Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
|
|
1499
1499
|
|
|
1500
1500
|
Seguendo questa guida, puoi integrare efficacemente Intlayer nella tua applicazione Next.js utilizzando il Page Router, abilitando un supporto per l'internazionalizzazione robusto e scalabile per i tuoi progetti web.
|
|
@@ -326,7 +326,7 @@ module.exports = appContent;
|
|
|
326
326
|
}
|
|
327
327
|
```
|
|
328
328
|
|
|
329
|
-
> Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
329
|
+
> Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
330
330
|
|
|
331
331
|
---
|
|
332
332
|
|
|
@@ -88,7 +88,7 @@ bunx intlayer init
|
|
|
88
88
|
|
|
89
89
|
- **intlayer**
|
|
90
90
|
|
|
91
|
-
- **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
91
|
+
- **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
92
92
|
|
|
93
93
|
- **react-intlayer**
|
|
94
94
|
Il pacchetto che integra Intlayer con l'applicazione React. Fornisce provider di contesto e hook per l'internazionalizzazione in React.
|
|
@@ -290,7 +290,7 @@ export default pageContent;
|
|
|
290
290
|
|
|
291
291
|
> Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (per default, `./app`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
292
292
|
|
|
293
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
293
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
294
294
|
|
|
295
295
|
### Passo 7: Crea Componenti Consapevoli della Locale
|
|
296
296
|
|
|
@@ -587,7 +587,7 @@ Per andare oltre, puoi implementare l’[editor visuale](https://github.com/ayme
|
|
|
587
587
|
- [Documentazione React Router v7](https://reactrouter.com/)
|
|
588
588
|
- [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useIntlayer.md)
|
|
589
589
|
- [Hook useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useLocale.md)
|
|
590
|
-
- [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
590
|
+
- [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
|
|
591
591
|
- [Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
|
|
592
592
|
|
|
593
593
|
Questa guida completa fornisce tutto il necessario per integrare Intlayer con React Router v7 per un'applicazione completamente internazionalizzata con routing consapevole della localizzazione e supporto TypeScript.
|
|
@@ -103,7 +103,7 @@ bunx intlayer init
|
|
|
103
103
|
|
|
104
104
|
- **intlayer**
|
|
105
105
|
|
|
106
|
-
- **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
106
|
+
- **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
107
107
|
|
|
108
108
|
- **react-intlayer**
|
|
109
109
|
Il pacchetto che integra Intlayer con l'applicazione React. Fornisce provider di contesto e hook per l'internazionalizzazione in React.
|
|
@@ -428,7 +428,7 @@ export default aboutContent;
|
|
|
428
428
|
|
|
429
429
|
> Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (per default, `./app`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
430
430
|
|
|
431
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
431
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
432
432
|
|
|
433
433
|
### Passo 7: Crea Componenti Consapevoli della Locale
|
|
434
434
|
|
|
@@ -655,7 +655,7 @@ Per andare oltre, puoi implementare l’[editor visuale](https://github.com/ayme
|
|
|
655
655
|
- [Documentazione React Router fs-routes](https://reactrouter.com/how-to/file-route-conventions)
|
|
656
656
|
- [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useIntlayer.md)
|
|
657
657
|
- [Hook useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useLocale.md)
|
|
658
|
-
- [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
658
|
+
- [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
|
|
659
659
|
- [Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
|
|
660
660
|
|
|
661
661
|
Questa guida completa fornisce tutto il necessario per integrare Intlayer con React Router v7 usando routing basato sul file system per un'applicazione completamente internazionalizzata con routing consapevole della localizzazione e supporto TypeScript.
|
|
@@ -94,7 +94,7 @@ bunx intlayer init
|
|
|
94
94
|
|
|
95
95
|
- **intlayer**
|
|
96
96
|
|
|
97
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
97
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
98
98
|
|
|
99
99
|
- **preact-intlayer**
|
|
100
100
|
Il pacchetto che integra Intlayer con l'applicazione Preact. Fornisce provider di contesto e hook per l'internazionalizzazione in Preact.
|
|
@@ -421,7 +421,7 @@ module.exports = appContent;
|
|
|
421
421
|
|
|
422
422
|
> Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (per impostazione predefinita, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per impostazione predefinita, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
423
423
|
|
|
424
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
424
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
425
425
|
|
|
426
426
|
> Se il tuo file di contenuto include codice TSX, potresti dover importare `import { h } from "preact";` o assicurarti che il pragma JSX sia correttamente impostato per Preact.
|
|
427
427
|
|
|
@@ -104,7 +104,7 @@ bunx intlayer init
|
|
|
104
104
|
|
|
105
105
|
- **intlayer**
|
|
106
106
|
|
|
107
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
107
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
108
108
|
|
|
109
109
|
- **solid-intlayer**
|
|
110
110
|
|
|
@@ -266,7 +266,7 @@ module.exports = appContent;
|
|
|
266
266
|
|
|
267
267
|
> Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
268
268
|
|
|
269
|
-
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
269
|
+
> Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
270
270
|
|
|
271
271
|
### Passo 5: Utilizzare Intlayer nel tuo codice
|
|
272
272
|
|
|
@@ -93,7 +93,7 @@ bunx intlayer init
|
|
|
93
93
|
|
|
94
94
|
- **intlayer**
|
|
95
95
|
|
|
96
|
-
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
96
|
+
Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
|
|
97
97
|
|
|
98
98
|
- **vue-intlayer**
|
|
99
99
|
Il pacchetto che integra Intlayer con l'applicazione Vue. Fornisce provider di contesto e composables per l'internazionalizzazione in Vue.
|
|
@@ -439,7 +439,7 @@ module.exports = appContent;
|
|
|
439
439
|
|
|
440
440
|
> Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
|
|
441
441
|
|
|
442
|
-
> Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
442
|
+
> Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
443
443
|
|
|
444
444
|
### Passo 5: Utilizzare Intlayer nel tuo Codice
|
|
445
445
|
|
package/docs/it/introduction.md
CHANGED
|
@@ -158,7 +158,7 @@ Intlayer offre una varietà di funzionalità progettate per soddisfare le esigen
|
|
|
158
158
|
|
|
159
159
|
Organizza i tuoi contenuti multilingue vicino al codice per mantenere tutto coerente e facilmente gestibile.
|
|
160
160
|
|
|
161
|
-
- **[Inizia Qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
161
|
+
- **[Inizia Qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)**
|
|
162
162
|
Impara le basi per dichiarare i tuoi contenuti in Intlayer.
|
|
163
163
|
|
|
164
164
|
- **[Traduzione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/translation.md)**
|
|
@@ -69,7 +69,7 @@ L'hook accetta due parametri:
|
|
|
69
69
|
|
|
70
70
|
## Dizionario
|
|
71
71
|
|
|
72
|
-
Tutti gli oggetti dizionario devono essere dichiarati in file di contenuto strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
72
|
+
Tutti gli oggetti dizionario devono essere dichiarati in file di contenuto strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md). Ecco un esempio di dichiarazione del contenuto:
|
|
73
73
|
|
|
74
74
|
```typescript fileName="component.content.ts" codeFormat="typescript"
|
|
75
75
|
import { t, type Dictionary } from "intlayer";
|
|
@@ -69,7 +69,7 @@ A seconda che tu stia lavorando su componenti client-side o server-side in un'ap
|
|
|
69
69
|
|
|
70
70
|
È fondamentale che tutte le chiavi di contenuto siano definite all'interno dei file di dichiarazione del contenuto per evitare errori di runtime e garantire la sicurezza dei tipi. Questo approccio facilita anche l'integrazione con TypeScript per la validazione a tempo di compilazione.
|
|
71
71
|
|
|
72
|
-
Le istruzioni per configurare i file di dichiarazione del contenuto sono disponibili [qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
72
|
+
Le istruzioni per configurare i file di dichiarazione del contenuto sono disponibili [qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
|
|
73
73
|
|
|
74
74
|
## Esempio di utilizzo in Next.js
|
|
75
75
|
|
|
@@ -68,7 +68,7 @@ Il hook accetta due parametri:
|
|
|
68
68
|
|
|
69
69
|
## Dizionario
|
|
70
70
|
|
|
71
|
-
Tutti gli oggetti dizionario devono essere dichiarati in file di contenuti strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/
|
|
71
|
+
Tutti gli oggetti dizionario devono essere dichiarati in file di contenuti strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md). Ecco un esempio di dichiarazione del contenuto:
|
|
72
72
|
|
|
73
73
|
```typescript fileName="./component.content.ts" contentDeclarationFormat="typescript"
|
|
74
74
|
import { t, type Dictionary } from "intlayer";
|