@intlayer/docs 5.5.9 → 5.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/index.md +69 -0
- package/blog/ar/internationalization_and_SEO.md +314 -0
- package/blog/ar/intlayer_with_i18next.md +162 -0
- package/blog/ar/intlayer_with_next-i18next.md +368 -0
- package/blog/ar/intlayer_with_next-intl.md +394 -0
- package/blog/ar/intlayer_with_react-i18next.md +346 -0
- package/blog/ar/intlayer_with_react-intl.md +325 -0
- package/blog/ar/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ar/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ar/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ar/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ar/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ar/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ar/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/ar/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ar/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ar/what_is_internationalization.md +165 -0
- package/blog/de/index.md +69 -0
- package/blog/de/internationalization_and_SEO.md +277 -0
- package/blog/de/intlayer_with_i18next.md +162 -0
- package/blog/de/intlayer_with_next-i18next.md +368 -0
- package/blog/de/intlayer_with_next-intl.md +394 -0
- package/blog/de/intlayer_with_react-i18next.md +346 -0
- package/blog/de/intlayer_with_react-intl.md +325 -0
- package/blog/de/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/de/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/de/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/de/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/de/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/de/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/de/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/de/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/de/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/de/what_is_internationalization.md +165 -0
- package/blog/en/index.md +69 -0
- package/blog/en/internationalization_and_SEO.md +275 -0
- package/blog/en/intlayer_with_i18next.md +162 -0
- package/blog/en/intlayer_with_next-i18next.md +368 -0
- package/blog/en/intlayer_with_next-intl.md +394 -0
- package/blog/en/intlayer_with_react-i18next.md +346 -0
- package/blog/en/intlayer_with_react-intl.md +345 -0
- package/blog/en/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/en/list_i18n_technologies/frameworks/flutter.md +150 -0
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +293 -0
- package/blog/en/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en/what_is_internationalization.md +166 -0
- package/blog/en-GB/index.md +69 -0
- package/blog/en-GB/internationalization_and_SEO.md +275 -0
- package/blog/en-GB/intlayer_with_i18next.md +162 -0
- package/blog/en-GB/intlayer_with_next-i18next.md +364 -0
- package/blog/en-GB/intlayer_with_next-intl.md +394 -0
- package/blog/en-GB/intlayer_with_react-i18next.md +346 -0
- package/blog/en-GB/intlayer_with_react-intl.md +325 -0
- package/blog/en-GB/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en-GB/what_is_internationalization.md +165 -0
- package/blog/es/index.md +69 -0
- package/blog/es/internationalization_and_SEO.md +298 -0
- package/blog/es/intlayer_with_i18next.md +162 -0
- package/blog/es/intlayer_with_next-i18next.md +368 -0
- package/blog/es/intlayer_with_next-intl.md +394 -0
- package/blog/es/intlayer_with_react-i18next.md +346 -0
- package/blog/es/intlayer_with_react-intl.md +325 -0
- package/blog/es/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/es/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/es/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/es/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/es/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/es/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/es/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/es/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/es/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/es/what_is_internationalization.md +165 -0
- package/blog/fr/index.md +69 -0
- package/blog/fr/internationalization_and_SEO.md +277 -0
- package/blog/fr/intlayer_with_i18next.md +162 -0
- package/blog/fr/intlayer_with_next-i18next.md +368 -0
- package/blog/fr/intlayer_with_next-intl.md +394 -0
- package/blog/fr/intlayer_with_react-i18next.md +346 -0
- package/blog/fr/intlayer_with_react-intl.md +325 -0
- package/blog/fr/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/fr/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/fr/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/fr/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/fr/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/fr/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/fr/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/fr/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/fr/what_is_internationalization.md +165 -0
- package/blog/hi/index.md +69 -0
- package/blog/hi/internationalization_and_SEO.md +296 -0
- package/blog/hi/intlayer_with_i18next.md +162 -0
- package/blog/hi/intlayer_with_next-i18next.md +368 -0
- package/blog/hi/intlayer_with_next-intl.md +294 -0
- package/blog/hi/intlayer_with_react-i18next.md +346 -0
- package/blog/hi/intlayer_with_react-intl.md +325 -0
- package/blog/hi/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/hi/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/hi/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/hi/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/hi/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/hi/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/hi/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/hi/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/hi/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/hi/what_is_internationalization.md +165 -0
- package/blog/it/index.md +69 -0
- package/blog/it/internationalization_and_SEO.md +296 -0
- package/blog/it/intlayer_with_i18next.md +162 -0
- package/blog/it/intlayer_with_next-i18next.md +368 -0
- package/blog/it/intlayer_with_next-intl.md +394 -0
- package/blog/it/intlayer_with_react-i18next.md +346 -0
- package/blog/it/intlayer_with_react-intl.md +325 -0
- package/blog/it/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/it/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/it/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/it/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/it/list_i18n_technologies/frameworks/flutter.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/it/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/it/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/it/what_is_internationalization.md +165 -0
- package/blog/ja/index.md +69 -0
- package/blog/ja/internationalization_and_SEO.md +277 -0
- package/blog/ja/intlayer_with_i18next.md +162 -0
- package/blog/ja/intlayer_with_next-i18next.md +364 -0
- package/blog/ja/intlayer_with_next-intl.md +394 -0
- package/blog/ja/intlayer_with_react-i18next.md +346 -0
- package/blog/ja/intlayer_with_react-intl.md +325 -0
- package/blog/ja/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ja/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ja/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ja/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ja/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/ja/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ja/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ja/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/ja/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ja/what_is_internationalization.md +165 -0
- package/blog/ko/index.md +69 -0
- package/blog/ko/internationalization_and_SEO.md +277 -0
- package/blog/ko/intlayer_with_i18next.md +162 -0
- package/blog/ko/intlayer_with_next-i18next.md +368 -0
- package/blog/ko/intlayer_with_next-intl.md +394 -0
- package/blog/ko/intlayer_with_react-i18next.md +346 -0
- package/blog/ko/intlayer_with_react-intl.md +325 -0
- package/blog/ko/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ko/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ko/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ko/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ko/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ko/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ko/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ko/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ko/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +284 -0
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ko/what_is_internationalization.md +167 -0
- package/blog/pt/index.md +69 -0
- package/blog/pt/internationalization_and_SEO.md +317 -0
- package/blog/pt/intlayer_with_i18next.md +162 -0
- package/blog/pt/intlayer_with_next-i18next.md +364 -0
- package/blog/pt/intlayer_with_next-intl.md +312 -0
- package/blog/pt/intlayer_with_react-i18next.md +98 -0
- package/blog/pt/intlayer_with_react-intl.md +327 -0
- package/blog/pt/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/pt/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/pt/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/pt/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/pt/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/pt/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/pt/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/pt/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/pt/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/pt/what_is_internationalization.md +165 -0
- package/blog/ru/index.md +69 -0
- package/blog/ru/internationalization_and_SEO.md +298 -0
- package/blog/ru/intlayer_with_i18next.md +162 -0
- package/blog/ru/intlayer_with_next-i18next.md +368 -0
- package/blog/ru/intlayer_with_next-intl.md +394 -0
- package/blog/ru/intlayer_with_react-i18next.md +346 -0
- package/blog/ru/intlayer_with_react-intl.md +325 -0
- package/blog/ru/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ru/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ru/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ru/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ru/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ru/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ru/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ru/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ru/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ru/what_is_internationalization.md +165 -0
- package/blog/zh/index.md +69 -0
- package/blog/zh/internationalization_and_SEO.md +298 -0
- package/blog/zh/intlayer_with_i18next.md +162 -0
- package/blog/zh/intlayer_with_next-i18next.md +368 -0
- package/blog/zh/intlayer_with_next-intl.md +394 -0
- package/blog/zh/intlayer_with_react-i18next.md +346 -0
- package/blog/zh/intlayer_with_react-intl.md +166 -0
- package/blog/zh/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/zh/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/zh/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/zh/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/zh/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/zh/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/zh/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/zh/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/zh/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/zh/what_is_internationalization.md +165 -0
- package/dist/cjs/blog.cjs +46 -0
- package/dist/cjs/blog.cjs.map +1 -0
- package/dist/cjs/common.cjs +142 -0
- package/dist/cjs/common.cjs.map +1 -0
- package/dist/cjs/doc.cjs +46 -0
- package/dist/cjs/doc.cjs.map +1 -0
- package/dist/cjs/frequentQuestions.cjs +46 -0
- package/dist/cjs/frequentQuestions.cjs.map +1 -0
- package/dist/cjs/generated/blog.entry.cjs +788 -0
- package/dist/cjs/generated/blog.entry.cjs.map +1 -0
- package/dist/cjs/generated/docs.entry.cjs +3300 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs +527 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -0
- package/dist/cjs/generated/legal.entry.cjs +117 -0
- package/dist/cjs/generated/legal.entry.cjs.map +1 -0
- package/dist/cjs/index.cjs +29 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/legal.cjs +46 -0
- package/dist/cjs/legal.cjs.map +1 -0
- package/dist/esm/blog.mjs +25 -0
- package/dist/esm/blog.mjs.map +1 -0
- package/dist/esm/common.mjs +113 -0
- package/dist/esm/common.mjs.map +1 -0
- package/dist/esm/doc.mjs +25 -0
- package/dist/esm/doc.mjs.map +1 -0
- package/dist/esm/frequentQuestions.mjs +25 -0
- package/dist/esm/frequentQuestions.mjs.map +1 -0
- package/dist/esm/generated/blog.entry.mjs +764 -0
- package/dist/esm/generated/blog.entry.mjs.map +1 -0
- package/dist/esm/generated/docs.entry.mjs +3276 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs +503 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -0
- package/dist/esm/generated/legal.entry.mjs +93 -0
- package/dist/esm/generated/legal.entry.mjs.map +1 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/legal.mjs +25 -0
- package/dist/esm/legal.mjs.map +1 -0
- package/dist/types/blog.d.ts +13 -0
- package/dist/types/blog.d.ts.map +1 -0
- package/dist/types/common.d.ts +24 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/doc.d.ts +13 -0
- package/dist/types/doc.d.ts.map +1 -0
- package/dist/types/frequentQuestions.d.ts +13 -0
- package/dist/types/frequentQuestions.d.ts.map +1 -0
- package/dist/types/generated/blog.entry.d.ts +23 -0
- package/dist/types/generated/blog.entry.d.ts.map +1 -0
- package/dist/types/generated/docs.entry.d.ts +89 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts +16 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -0
- package/dist/types/generated/legal.entry.d.ts +6 -0
- package/dist/types/generated/legal.entry.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/legal.d.ts +13 -0
- package/dist/types/legal.d.ts.map +1 -0
- package/docs/ar/CI_CD.md +173 -0
- package/docs/ar/autoFill.md +200 -0
- package/docs/ar/configuration.md +529 -0
- package/docs/ar/dictionary/condition.md +233 -0
- package/docs/ar/dictionary/content_extention_customization.md +100 -0
- package/docs/ar/dictionary/enumeration.md +246 -0
- package/docs/ar/dictionary/file.md +226 -0
- package/docs/ar/dictionary/function_fetching.md +216 -0
- package/docs/ar/dictionary/get_started.md +527 -0
- package/docs/ar/dictionary/insertion.md +185 -0
- package/docs/ar/dictionary/markdown.md +357 -0
- package/docs/ar/dictionary/nesting.md +269 -0
- package/docs/ar/dictionary/translation.md +318 -0
- package/docs/ar/how_works_intlayer.md +251 -0
- package/docs/ar/index.md +164 -0
- package/docs/ar/interest_of_intlayer.md +157 -0
- package/docs/ar/intlayer_CMS.md +355 -0
- package/docs/ar/intlayer_cli.md +458 -0
- package/docs/ar/intlayer_visual_editor.md +267 -0
- package/docs/ar/intlayer_with_angular.md +686 -0
- package/docs/ar/intlayer_with_create_react_app.md +1080 -0
- package/docs/ar/intlayer_with_express.md +427 -0
- package/docs/ar/intlayer_with_lynx+react.md +521 -0
- package/docs/ar/intlayer_with_nextjs_14.md +1269 -0
- package/docs/ar/intlayer_with_nextjs_15.md +1510 -0
- package/docs/ar/intlayer_with_nextjs_page_router.md +1496 -0
- package/docs/ar/intlayer_with_nuxt.md +822 -0
- package/docs/ar/intlayer_with_react_native+expo.md +657 -0
- package/docs/ar/intlayer_with_vite+preact.md +1691 -0
- package/docs/ar/intlayer_with_vite+react.md +1633 -0
- package/docs/ar/intlayer_with_vite+solid.md +284 -0
- package/docs/ar/intlayer_with_vite+svelte.md +282 -0
- package/docs/ar/intlayer_with_vite+vue.md +1073 -0
- package/docs/ar/introduction.md +207 -0
- package/docs/ar/mcp_server.md +174 -0
- package/docs/ar/packages/@intlayer/api/index.md +56 -0
- package/docs/ar/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ar/packages/@intlayer/cli/index.md +45 -0
- package/docs/ar/packages/@intlayer/config/index.md +140 -0
- package/docs/ar/packages/@intlayer/core/index.md +49 -0
- package/docs/ar/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ar/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ar/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ar/packages/angular-intlayer/index.md +53 -0
- package/docs/ar/packages/express-intlayer/index.md +252 -0
- package/docs/ar/packages/express-intlayer/t.md +457 -0
- package/docs/ar/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ar/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ar/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ar/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ar/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ar/packages/intlayer/getTranslation.md +192 -0
- package/docs/ar/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ar/packages/intlayer/index.md +499 -0
- package/docs/ar/packages/intlayer-cli/index.md +65 -0
- package/docs/ar/packages/intlayer-editor/index.md +137 -0
- package/docs/ar/packages/lynx-intlayer/index.md +83 -0
- package/docs/ar/packages/next-intlayer/index.md +287 -0
- package/docs/ar/packages/next-intlayer/t.md +352 -0
- package/docs/ar/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ar/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ar/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ar/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ar/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ar/packages/preact-intlayer/index.md +53 -0
- package/docs/ar/packages/react-intlayer/index.md +280 -0
- package/docs/ar/packages/react-intlayer/t.md +311 -0
- package/docs/ar/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ar/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ar/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ar/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ar/packages/react-native-intlayer/index.md +83 -0
- package/docs/ar/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ar/packages/solid-intlayer/index.md +54 -0
- package/docs/ar/packages/svelte-intlayer/index.md +53 -0
- package/docs/ar/packages/vite-intlayer/index.md +76 -0
- package/docs/ar/packages/vue-intlayer/index.md +53 -0
- package/docs/ar/per_locale_file.md +325 -0
- package/docs/ar/roadmap.md +336 -0
- package/docs/ar/vs_code_extension.md +152 -0
- package/docs/de/CI_CD.md +173 -0
- package/docs/de/autoFill.md +178 -0
- package/docs/de/configuration.md +525 -0
- package/docs/de/dictionary/condition.md +233 -0
- package/docs/de/dictionary/content_extention_customization.md +100 -0
- package/docs/de/dictionary/enumeration.md +245 -0
- package/docs/de/dictionary/file.md +222 -0
- package/docs/de/dictionary/function_fetching.md +214 -0
- package/docs/de/dictionary/get_started.md +531 -0
- package/docs/de/dictionary/insertion.md +196 -0
- package/docs/de/dictionary/markdown.md +357 -0
- package/docs/de/dictionary/nesting.md +272 -0
- package/docs/de/dictionary/translation.md +309 -0
- package/docs/de/how_works_intlayer.md +251 -0
- package/docs/de/index.md +166 -0
- package/docs/de/interest_of_intlayer.md +156 -0
- package/docs/de/intlayer_CMS.md +354 -0
- package/docs/de/intlayer_cli.md +454 -0
- package/docs/de/intlayer_visual_editor.md +267 -0
- package/docs/de/intlayer_with_angular.md +730 -0
- package/docs/de/intlayer_with_create_react_app.md +1206 -0
- package/docs/de/intlayer_with_express.md +436 -0
- package/docs/de/intlayer_with_lynx+react.md +502 -0
- package/docs/de/intlayer_with_nextjs_14.md +1266 -0
- package/docs/de/intlayer_with_nextjs_15.md +1513 -0
- package/docs/de/intlayer_with_nextjs_page_router.md +1494 -0
- package/docs/de/intlayer_with_nuxt.md +803 -0
- package/docs/de/intlayer_with_react_native+expo.md +661 -0
- package/docs/de/intlayer_with_vite+preact.md +1689 -0
- package/docs/de/intlayer_with_vite+react.md +1688 -0
- package/docs/de/intlayer_with_vite+solid.md +289 -0
- package/docs/de/intlayer_with_vite+svelte.md +285 -0
- package/docs/de/intlayer_with_vite+vue.md +1096 -0
- package/docs/de/introduction.md +211 -0
- package/docs/de/mcp_server.md +203 -0
- package/docs/de/packages/@intlayer/api/index.md +56 -0
- package/docs/de/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/de/packages/@intlayer/cli/index.md +45 -0
- package/docs/de/packages/@intlayer/config/index.md +140 -0
- package/docs/de/packages/@intlayer/core/index.md +49 -0
- package/docs/de/packages/@intlayer/design-system/index.md +45 -0
- package/docs/de/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/de/packages/@intlayer/editor/index.md +45 -0
- package/docs/de/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/de/packages/@intlayer/webpack/index.md +59 -0
- package/docs/de/packages/angular-intlayer/index.md +53 -0
- package/docs/de/packages/express-intlayer/index.md +284 -0
- package/docs/de/packages/express-intlayer/t.md +458 -0
- package/docs/de/packages/intlayer/getConfiguration.md +146 -0
- package/docs/de/packages/intlayer/getEnumeration.md +164 -0
- package/docs/de/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/de/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/de/packages/intlayer/getLocaleName.md +119 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/de/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/de/packages/intlayer/getTranslation.md +191 -0
- package/docs/de/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/de/packages/intlayer/index.md +500 -0
- package/docs/de/packages/intlayer-cli/index.md +65 -0
- package/docs/de/packages/intlayer-editor/index.md +137 -0
- package/docs/de/packages/lynx-intlayer/index.md +83 -0
- package/docs/de/packages/next-intlayer/index.md +286 -0
- package/docs/de/packages/next-intlayer/t.md +352 -0
- package/docs/de/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayerAsync.md +262 -0
- package/docs/de/packages/next-intlayer/useLocale.md +131 -0
- package/docs/de/packages/nuxt-intlayer/index.md +53 -0
- package/docs/de/packages/preact-intlayer/index.md +53 -0
- package/docs/de/packages/react-intlayer/index.md +281 -0
- package/docs/de/packages/react-intlayer/t.md +302 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +301 -0
- package/docs/de/packages/react-intlayer/useIntlayer.md +267 -0
- package/docs/de/packages/react-intlayer/useIntlayerAsync.md +256 -0
- package/docs/de/packages/react-intlayer/useLocale.md +210 -0
- package/docs/de/packages/react-native-intlayer/index.md +83 -0
- package/docs/de/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/de/packages/solid-intlayer/index.md +54 -0
- package/docs/de/packages/svelte-intlayer/index.md +53 -0
- package/docs/de/packages/vite-intlayer/index.md +76 -0
- package/docs/de/packages/vue-intlayer/index.md +53 -0
- package/docs/de/per_locale_file.md +323 -0
- package/docs/de/roadmap.md +353 -0
- package/docs/de/vs_code_extension.md +152 -0
- package/docs/en/CI_CD.md +172 -0
- package/docs/en/autoFill.md +179 -0
- package/docs/en/configuration.md +527 -0
- package/docs/en/dictionary/condition.md +237 -0
- package/docs/en/dictionary/content_extention_customization.md +100 -0
- package/docs/en/dictionary/enumeration.md +245 -0
- package/docs/en/dictionary/file.md +222 -0
- package/docs/en/dictionary/function_fetching.md +214 -0
- package/docs/en/dictionary/get_started.md +527 -0
- package/docs/en/dictionary/insertion.md +191 -0
- package/docs/en/dictionary/markdown.md +379 -0
- package/docs/en/dictionary/nesting.md +273 -0
- package/docs/en/dictionary/translation.md +309 -0
- package/docs/en/how_works_intlayer.md +254 -0
- package/docs/en/index.md +163 -0
- package/docs/en/interest_of_intlayer.md +154 -0
- package/docs/en/intlayer_CMS.md +358 -0
- package/docs/en/intlayer_cli.md +463 -0
- package/docs/en/intlayer_visual_editor.md +267 -0
- package/docs/en/intlayer_with_angular.md +691 -0
- package/docs/en/intlayer_with_create_react_app.md +1219 -0
- package/docs/en/intlayer_with_express.md +413 -0
- package/docs/en/intlayer_with_lynx+react.md +508 -0
- package/docs/en/intlayer_with_nextjs_14.md +1457 -0
- package/docs/en/intlayer_with_nextjs_15.md +1502 -0
- package/docs/en/intlayer_with_nextjs_page_router.md +1485 -0
- package/docs/en/intlayer_with_nuxt.md +770 -0
- package/docs/en/intlayer_with_react_native+expo.md +657 -0
- package/docs/en/intlayer_with_vite+preact.md +1664 -0
- package/docs/en/intlayer_with_vite+react.md +1620 -0
- package/docs/en/intlayer_with_vite+solid.md +281 -0
- package/docs/en/intlayer_with_vite+svelte.md +281 -0
- package/docs/en/intlayer_with_vite+vue.md +1035 -0
- package/docs/en/introduction.md +207 -0
- package/docs/en/mcp_server.md +174 -0
- package/docs/en/packages/@intlayer/api/index.md +56 -0
- package/docs/en/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/en/packages/@intlayer/cli/index.md +45 -0
- package/docs/en/packages/@intlayer/config/index.md +140 -0
- package/docs/en/packages/@intlayer/core/index.md +49 -0
- package/docs/en/packages/@intlayer/design-system/index.md +45 -0
- package/docs/en/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/en/packages/@intlayer/editor/index.md +45 -0
- package/docs/en/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/en/packages/@intlayer/webpack/index.md +59 -0
- package/docs/en/packages/angular-intlayer/index.md +53 -0
- package/docs/en/packages/express-intlayer/index.md +252 -0
- package/docs/en/packages/express-intlayer/t.md +457 -0
- package/docs/en/packages/intlayer/getConfiguration.md +146 -0
- package/docs/en/packages/intlayer/getEnumeration.md +164 -0
- package/docs/en/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/en/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/en/packages/intlayer/getLocaleName.md +119 -0
- package/docs/en/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/en/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/en/packages/intlayer/getTranslation.md +192 -0
- package/docs/en/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/en/packages/intlayer/index.md +499 -0
- package/docs/en/packages/intlayer-cli/index.md +65 -0
- package/docs/en/packages/intlayer-editor/index.md +137 -0
- package/docs/en/packages/lynx-intlayer/index.md +83 -0
- package/docs/en/packages/next-intlayer/index.md +286 -0
- package/docs/en/packages/next-intlayer/t.md +352 -0
- package/docs/en/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/en/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/en/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/en/packages/next-intlayer/useLocale.md +131 -0
- package/docs/en/packages/nuxt-intlayer/index.md +53 -0
- package/docs/en/packages/preact-intlayer/index.md +53 -0
- package/docs/en/packages/react-intlayer/index.md +280 -0
- package/docs/en/packages/react-intlayer/t.md +302 -0
- package/docs/en/packages/react-intlayer/useDictionary.md +285 -0
- package/docs/en/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/en/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/en/packages/react-intlayer/useLocale.md +210 -0
- package/docs/en/packages/react-native-intlayer/index.md +83 -0
- package/docs/en/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/en/packages/solid-intlayer/index.md +54 -0
- package/docs/en/packages/svelte-intlayer/index.md +53 -0
- package/docs/en/packages/vite-intlayer/index.md +76 -0
- package/docs/en/packages/vue-intlayer/index.md +53 -0
- package/docs/en/per_locale_file.md +319 -0
- package/docs/en/roadmap.md +337 -0
- package/docs/en/vs_code_extension.md +152 -0
- package/docs/en-GB/CI_CD.md +172 -0
- package/docs/en-GB/autoFill.md +178 -0
- package/docs/en-GB/configuration.md +525 -0
- package/docs/en-GB/dictionary/condition.md +237 -0
- package/docs/en-GB/dictionary/content_extention_customization.md +100 -0
- package/docs/en-GB/dictionary/enumeration.md +245 -0
- package/docs/en-GB/dictionary/file.md +222 -0
- package/docs/en-GB/dictionary/function_fetching.md +214 -0
- package/docs/en-GB/dictionary/get_started.md +591 -0
- package/docs/en-GB/dictionary/insertion.md +219 -0
- package/docs/en-GB/dictionary/markdown.md +379 -0
- package/docs/en-GB/dictionary/nesting.md +273 -0
- package/docs/en-GB/dictionary/translation.md +309 -0
- package/docs/en-GB/how_works_intlayer.md +267 -0
- package/docs/en-GB/index.md +163 -0
- package/docs/en-GB/interest_of_intlayer.md +163 -0
- package/docs/en-GB/intlayer_CMS.md +366 -0
- package/docs/en-GB/intlayer_cli.md +455 -0
- package/docs/en-GB/intlayer_visual_editor.md +267 -0
- package/docs/en-GB/intlayer_with_angular.md +744 -0
- package/docs/en-GB/intlayer_with_create_react_app.md +1371 -0
- package/docs/en-GB/intlayer_with_express.md +435 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +551 -0
- package/docs/en-GB/intlayer_with_nextjs_14.md +1457 -0
- package/docs/en-GB/intlayer_with_nextjs_15.md +1531 -0
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +1493 -0
- package/docs/en-GB/intlayer_with_nuxt.md +807 -0
- package/docs/en-GB/intlayer_with_react_native+expo.md +659 -0
- package/docs/en-GB/intlayer_with_vite+preact.md +1676 -0
- package/docs/en-GB/intlayer_with_vite+react.md +1703 -0
- package/docs/en-GB/intlayer_with_vite+solid.md +283 -0
- package/docs/en-GB/intlayer_with_vite+svelte.md +281 -0
- package/docs/en-GB/intlayer_with_vite+vue.md +1139 -0
- package/docs/en-GB/introduction.md +207 -0
- package/docs/en-GB/mcp_server.md +174 -0
- package/docs/en-GB/packages/@intlayer/api/index.md +56 -0
- package/docs/en-GB/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/en-GB/packages/@intlayer/cli/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/config/index.md +140 -0
- package/docs/en-GB/packages/@intlayer/core/index.md +49 -0
- package/docs/en-GB/packages/@intlayer/design-system/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/webpack/index.md +60 -0
- package/docs/en-GB/packages/angular-intlayer/index.md +53 -0
- package/docs/en-GB/packages/express-intlayer/index.md +264 -0
- package/docs/en-GB/packages/express-intlayer/t.md +457 -0
- package/docs/en-GB/packages/intlayer/getConfiguration.md +146 -0
- package/docs/en-GB/packages/intlayer/getEnumeration.md +164 -0
- package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/en-GB/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/en-GB/packages/intlayer/getLocaleName.md +119 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +275 -0
- package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +229 -0
- package/docs/en-GB/packages/intlayer/getTranslationContent.md +204 -0
- package/docs/en-GB/packages/intlayer/index.md +533 -0
- package/docs/en-GB/packages/intlayer-cli/index.md +65 -0
- package/docs/en-GB/packages/intlayer-editor/index.md +137 -0
- package/docs/en-GB/packages/lynx-intlayer/index.md +89 -0
- package/docs/en-GB/packages/next-intlayer/index.md +315 -0
- package/docs/en-GB/packages/next-intlayer/t.md +360 -0
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +274 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +269 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/en-GB/packages/next-intlayer/useLocale.md +131 -0
- package/docs/en-GB/packages/nuxt-intlayer/index.md +53 -0
- package/docs/en-GB/packages/preact-intlayer/index.md +53 -0
- package/docs/en-GB/packages/react-intlayer/index.md +280 -0
- package/docs/en-GB/packages/react-intlayer/t.md +303 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +293 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/en-GB/packages/react-intlayer/useLocale.md +209 -0
- package/docs/en-GB/packages/react-native-intlayer/index.md +83 -0
- package/docs/en-GB/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/en-GB/packages/solid-intlayer/index.md +54 -0
- package/docs/en-GB/packages/svelte-intlayer/index.md +53 -0
- package/docs/en-GB/packages/vite-intlayer/index.md +76 -0
- package/docs/en-GB/packages/vue-intlayer/index.md +53 -0
- package/docs/en-GB/per_locale_file.md +319 -0
- package/docs/en-GB/roadmap.md +337 -0
- package/docs/en-GB/vs_code_extension.md +152 -0
- package/docs/es/CI_CD.md +172 -0
- package/docs/es/autoFill.md +179 -0
- package/docs/es/configuration.md +524 -0
- package/docs/es/dictionary/condition.md +233 -0
- package/docs/es/dictionary/content_extention_customization.md +100 -0
- package/docs/es/dictionary/enumeration.md +246 -0
- package/docs/es/dictionary/file.md +222 -0
- package/docs/es/dictionary/function_fetching.md +214 -0
- package/docs/es/dictionary/get_started.md +527 -0
- package/docs/es/dictionary/insertion.md +185 -0
- package/docs/es/dictionary/markdown.md +358 -0
- package/docs/es/dictionary/nesting.md +269 -0
- package/docs/es/dictionary/translation.md +309 -0
- package/docs/es/how_works_intlayer.md +256 -0
- package/docs/es/index.md +165 -0
- package/docs/es/interest_of_intlayer.md +157 -0
- package/docs/es/intlayer_CMS.md +354 -0
- package/docs/es/intlayer_cli.md +454 -0
- package/docs/es/intlayer_visual_editor.md +291 -0
- package/docs/es/intlayer_with_angular.md +695 -0
- package/docs/es/intlayer_with_create_react_app.md +1207 -0
- package/docs/es/intlayer_with_express.md +440 -0
- package/docs/es/intlayer_with_lynx+react.md +506 -0
- package/docs/es/intlayer_with_nextjs_14.md +1501 -0
- package/docs/es/intlayer_with_nextjs_15.md +1505 -0
- package/docs/es/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/es/intlayer_with_nuxt.md +794 -0
- package/docs/es/intlayer_with_react_native+expo.md +658 -0
- package/docs/es/intlayer_with_vite+preact.md +1693 -0
- package/docs/es/intlayer_with_vite+react.md +1623 -0
- package/docs/es/intlayer_with_vite+solid.md +288 -0
- package/docs/es/intlayer_with_vite+svelte.md +285 -0
- package/docs/es/intlayer_with_vite+vue.md +1121 -0
- package/docs/es/introduction.md +209 -0
- package/docs/es/mcp_server.md +174 -0
- package/docs/es/packages/@intlayer/api/index.md +56 -0
- package/docs/es/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/es/packages/@intlayer/cli/index.md +45 -0
- package/docs/es/packages/@intlayer/config/index.md +140 -0
- package/docs/es/packages/@intlayer/core/index.md +49 -0
- package/docs/es/packages/@intlayer/design-system/index.md +45 -0
- package/docs/es/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/es/packages/@intlayer/editor/index.md +45 -0
- package/docs/es/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/es/packages/@intlayer/webpack/index.md +59 -0
- package/docs/es/packages/angular-intlayer/index.md +53 -0
- package/docs/es/packages/express-intlayer/index.md +252 -0
- package/docs/es/packages/express-intlayer/t.md +468 -0
- package/docs/es/packages/intlayer/getConfiguration.md +146 -0
- package/docs/es/packages/intlayer/getEnumeration.md +164 -0
- package/docs/es/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/es/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/es/packages/intlayer/getLocaleName.md +119 -0
- package/docs/es/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/es/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/es/packages/intlayer/getTranslation.md +192 -0
- package/docs/es/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/es/packages/intlayer/index.md +507 -0
- package/docs/es/packages/intlayer-cli/index.md +65 -0
- package/docs/es/packages/intlayer-editor/index.md +139 -0
- package/docs/es/packages/lynx-intlayer/index.md +83 -0
- package/docs/es/packages/next-intlayer/index.md +286 -0
- package/docs/es/packages/next-intlayer/t.md +352 -0
- package/docs/es/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/es/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/es/packages/next-intlayer/useIntlayerAsync.md +240 -0
- package/docs/es/packages/next-intlayer/useLocale.md +131 -0
- package/docs/es/packages/nuxt-intlayer/index.md +53 -0
- package/docs/es/packages/preact-intlayer/index.md +53 -0
- package/docs/es/packages/react-intlayer/index.md +280 -0
- package/docs/es/packages/react-intlayer/t.md +303 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +285 -0
- package/docs/es/packages/react-intlayer/useIntlayer.md +253 -0
- package/docs/es/packages/react-intlayer/useIntlayerAsync.md +276 -0
- package/docs/es/packages/react-intlayer/useLocale.md +210 -0
- package/docs/es/packages/react-native-intlayer/index.md +83 -0
- package/docs/es/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/es/packages/solid-intlayer/index.md +54 -0
- package/docs/es/packages/svelte-intlayer/index.md +53 -0
- package/docs/es/packages/vite-intlayer/index.md +76 -0
- package/docs/es/packages/vue-intlayer/index.md +53 -0
- package/docs/es/per_locale_file.md +321 -0
- package/docs/es/roadmap.md +337 -0
- package/docs/es/vs_code_extension.md +152 -0
- package/docs/fr/CI_CD.md +172 -0
- package/docs/fr/autoFill.md +178 -0
- package/docs/fr/configuration.md +525 -0
- package/docs/fr/dictionary/condition.md +233 -0
- package/docs/fr/dictionary/content_extention_customization.md +100 -0
- package/docs/fr/dictionary/enumeration.md +245 -0
- package/docs/fr/dictionary/file.md +222 -0
- package/docs/fr/dictionary/function_fetching.md +214 -0
- package/docs/fr/dictionary/get_started.md +527 -0
- package/docs/fr/dictionary/insertion.md +185 -0
- package/docs/fr/dictionary/markdown.md +350 -0
- package/docs/fr/dictionary/nesting.md +269 -0
- package/docs/fr/dictionary/translation.md +309 -0
- package/docs/fr/how_works_intlayer.md +253 -0
- package/docs/fr/index.md +163 -0
- package/docs/fr/interest_of_intlayer.md +156 -0
- package/docs/fr/intlayer_CMS.md +355 -0
- package/docs/fr/intlayer_cli.md +477 -0
- package/docs/fr/intlayer_visual_editor.md +267 -0
- package/docs/fr/intlayer_with_angular.md +701 -0
- package/docs/fr/intlayer_with_create_react_app.md +1214 -0
- package/docs/fr/intlayer_with_express.md +408 -0
- package/docs/fr/intlayer_with_lynx+react.md +507 -0
- package/docs/fr/intlayer_with_nextjs_14.md +1266 -0
- package/docs/fr/intlayer_with_nextjs_15.md +1553 -0
- package/docs/fr/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/fr/intlayer_with_nuxt.md +803 -0
- package/docs/fr/intlayer_with_react_native+expo.md +659 -0
- package/docs/fr/intlayer_with_vite+preact.md +1669 -0
- package/docs/fr/intlayer_with_vite+react.md +1637 -0
- package/docs/fr/intlayer_with_vite+solid.md +288 -0
- package/docs/fr/intlayer_with_vite+svelte.md +284 -0
- package/docs/fr/intlayer_with_vite+vue.md +1068 -0
- package/docs/fr/introduction.md +209 -0
- package/docs/fr/mcp_server.md +174 -0
- package/docs/fr/packages/@intlayer/api/index.md +56 -0
- package/docs/fr/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/fr/packages/@intlayer/cli/index.md +45 -0
- package/docs/fr/packages/@intlayer/config/index.md +140 -0
- package/docs/fr/packages/@intlayer/core/index.md +49 -0
- package/docs/fr/packages/@intlayer/design-system/index.md +45 -0
- package/docs/fr/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/fr/packages/@intlayer/webpack/index.md +59 -0
- package/docs/fr/packages/angular-intlayer/index.md +53 -0
- package/docs/fr/packages/express-intlayer/index.md +284 -0
- package/docs/fr/packages/express-intlayer/t.md +469 -0
- package/docs/fr/packages/intlayer/getConfiguration.md +146 -0
- package/docs/fr/packages/intlayer/getEnumeration.md +164 -0
- package/docs/fr/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/fr/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/fr/packages/intlayer/getLocaleName.md +119 -0
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/fr/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/fr/packages/intlayer/getTranslation.md +192 -0
- package/docs/fr/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/fr/packages/intlayer/index.md +500 -0
- package/docs/fr/packages/intlayer-cli/index.md +65 -0
- package/docs/fr/packages/intlayer-editor/index.md +139 -0
- package/docs/fr/packages/lynx-intlayer/index.md +83 -0
- package/docs/fr/packages/next-intlayer/index.md +286 -0
- package/docs/fr/packages/next-intlayer/t.md +352 -0
- package/docs/fr/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/fr/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/fr/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/fr/packages/next-intlayer/useLocale.md +131 -0
- package/docs/fr/packages/nuxt-intlayer/index.md +53 -0
- package/docs/fr/packages/preact-intlayer/index.md +53 -0
- package/docs/fr/packages/react-intlayer/index.md +280 -0
- package/docs/fr/packages/react-intlayer/t.md +302 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +286 -0
- package/docs/fr/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/fr/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/fr/packages/react-intlayer/useLocale.md +210 -0
- package/docs/fr/packages/react-native-intlayer/index.md +83 -0
- package/docs/fr/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/fr/packages/solid-intlayer/index.md +54 -0
- package/docs/fr/packages/svelte-intlayer/index.md +53 -0
- package/docs/fr/packages/vite-intlayer/index.md +76 -0
- package/docs/fr/packages/vue-intlayer/index.md +53 -0
- package/docs/fr/per_locale_file.md +325 -0
- package/docs/fr/roadmap.md +337 -0
- package/docs/fr/vs_code_extension.md +152 -0
- package/docs/hi/CI_CD.md +173 -0
- package/docs/hi/autoFill.md +179 -0
- package/docs/hi/configuration.md +527 -0
- package/docs/hi/dictionary/condition.md +233 -0
- package/docs/hi/dictionary/content_extention_customization.md +100 -0
- package/docs/hi/dictionary/enumeration.md +247 -0
- package/docs/hi/dictionary/file.md +222 -0
- package/docs/hi/dictionary/function_fetching.md +214 -0
- package/docs/hi/dictionary/get_started.md +527 -0
- package/docs/hi/dictionary/insertion.md +192 -0
- package/docs/hi/dictionary/markdown.md +358 -0
- package/docs/hi/dictionary/nesting.md +269 -0
- package/docs/hi/dictionary/translation.md +316 -0
- package/docs/hi/how_works_intlayer.md +251 -0
- package/docs/hi/index.md +166 -0
- package/docs/hi/interest_of_intlayer.md +154 -0
- package/docs/hi/intlayer_CMS.md +354 -0
- package/docs/hi/intlayer_cli.md +454 -0
- package/docs/hi/intlayer_visual_editor.md +267 -0
- package/docs/hi/intlayer_with_angular.md +676 -0
- package/docs/hi/intlayer_with_create_react_app.md +1401 -0
- package/docs/hi/intlayer_with_express.md +461 -0
- package/docs/hi/intlayer_with_lynx+react.md +542 -0
- package/docs/hi/intlayer_with_nextjs_14.md +1291 -0
- package/docs/hi/intlayer_with_nextjs_15.md +1513 -0
- package/docs/hi/intlayer_with_nextjs_page_router.md +1487 -0
- package/docs/hi/intlayer_with_nuxt.md +825 -0
- package/docs/hi/intlayer_with_react_native+expo.md +659 -0
- package/docs/hi/intlayer_with_vite+preact.md +1709 -0
- package/docs/hi/intlayer_with_vite+react.md +1626 -0
- package/docs/hi/intlayer_with_vite+solid.md +287 -0
- package/docs/hi/intlayer_with_vite+svelte.md +276 -0
- package/docs/hi/intlayer_with_vite+vue.md +1053 -0
- package/docs/hi/introduction.md +212 -0
- package/docs/hi/mcp_server.md +174 -0
- package/docs/hi/packages/@intlayer/api/index.md +56 -0
- package/docs/hi/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/hi/packages/@intlayer/cli/index.md +45 -0
- package/docs/hi/packages/@intlayer/config/index.md +140 -0
- package/docs/hi/packages/@intlayer/core/index.md +49 -0
- package/docs/hi/packages/@intlayer/design-system/index.md +45 -0
- package/docs/hi/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/hi/packages/@intlayer/webpack/index.md +59 -0
- package/docs/hi/packages/angular-intlayer/index.md +53 -0
- package/docs/hi/packages/express-intlayer/index.md +252 -0
- package/docs/hi/packages/express-intlayer/t.md +457 -0
- package/docs/hi/packages/intlayer/getConfiguration.md +146 -0
- package/docs/hi/packages/intlayer/getEnumeration.md +164 -0
- package/docs/hi/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/hi/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/hi/packages/intlayer/getLocaleName.md +119 -0
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/hi/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/hi/packages/intlayer/getTranslation.md +192 -0
- package/docs/hi/packages/intlayer/getTranslationContent.md +190 -0
- package/docs/hi/packages/intlayer/index.md +499 -0
- package/docs/hi/packages/intlayer-cli/index.md +65 -0
- package/docs/hi/packages/intlayer-editor/index.md +137 -0
- package/docs/hi/packages/lynx-intlayer/index.md +83 -0
- package/docs/hi/packages/next-intlayer/index.md +287 -0
- package/docs/hi/packages/next-intlayer/t.md +353 -0
- package/docs/hi/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/hi/packages/next-intlayer/useLocale.md +131 -0
- package/docs/hi/packages/nuxt-intlayer/index.md +53 -0
- package/docs/hi/packages/preact-intlayer/index.md +53 -0
- package/docs/hi/packages/react-intlayer/index.md +280 -0
- package/docs/hi/packages/react-intlayer/t.md +297 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/hi/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/hi/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/hi/packages/react-intlayer/useLocale.md +210 -0
- package/docs/hi/packages/react-native-intlayer/index.md +83 -0
- package/docs/hi/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/hi/packages/solid-intlayer/index.md +54 -0
- package/docs/hi/packages/svelte-intlayer/index.md +53 -0
- package/docs/hi/packages/vite-intlayer/index.md +76 -0
- package/docs/hi/packages/vue-intlayer/index.md +53 -0
- package/docs/hi/per_locale_file.md +323 -0
- package/docs/hi/roadmap.md +337 -0
- package/docs/hi/vs_code_extension.md +152 -0
- package/docs/it/CI_CD.md +172 -0
- package/docs/it/autoFill.md +179 -0
- package/docs/it/configuration.md +524 -0
- package/docs/it/dictionary/condition.md +233 -0
- package/docs/it/dictionary/content_extention_customization.md +113 -0
- package/docs/it/dictionary/enumeration.md +252 -0
- package/docs/it/dictionary/file.md +222 -0
- package/docs/it/dictionary/function_fetching.md +214 -0
- package/docs/it/dictionary/get_started.md +573 -0
- package/docs/it/dictionary/insertion.md +185 -0
- package/docs/it/dictionary/markdown.md +357 -0
- package/docs/it/dictionary/nesting.md +269 -0
- package/docs/it/dictionary/translation.md +309 -0
- package/docs/it/how_works_intlayer.md +255 -0
- package/docs/it/index.md +166 -0
- package/docs/it/interest_of_intlayer.md +156 -0
- package/docs/it/intlayer_CMS.md +352 -0
- package/docs/it/intlayer_cli.md +454 -0
- package/docs/it/intlayer_visual_editor.md +267 -0
- package/docs/it/intlayer_with_angular.md +742 -0
- package/docs/it/intlayer_with_create_react_app.md +1156 -0
- package/docs/it/intlayer_with_express.md +415 -0
- package/docs/it/intlayer_with_lynx+react.md +520 -0
- package/docs/it/intlayer_with_nextjs_14.md +1277 -0
- package/docs/it/intlayer_with_nextjs_15.md +1528 -0
- package/docs/it/intlayer_with_nextjs_page_router.md +1492 -0
- package/docs/it/intlayer_with_nuxt.md +809 -0
- package/docs/it/intlayer_with_react_native+expo.md +661 -0
- package/docs/it/intlayer_with_vite+preact.md +1698 -0
- package/docs/it/intlayer_with_vite+react.md +1623 -0
- package/docs/it/intlayer_with_vite+solid.md +287 -0
- package/docs/it/intlayer_with_vite+svelte.md +284 -0
- package/docs/it/intlayer_with_vite+vue.md +1112 -0
- package/docs/it/introduction.md +209 -0
- package/docs/it/mcp_server.md +174 -0
- package/docs/it/packages/@intlayer/api/index.md +56 -0
- package/docs/it/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/it/packages/@intlayer/cli/index.md +45 -0
- package/docs/it/packages/@intlayer/config/index.md +140 -0
- package/docs/it/packages/@intlayer/core/index.md +49 -0
- package/docs/it/packages/@intlayer/design-system/index.md +45 -0
- package/docs/it/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/it/packages/@intlayer/editor/index.md +45 -0
- package/docs/it/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/it/packages/@intlayer/webpack/index.md +59 -0
- package/docs/it/packages/angular-intlayer/index.md +53 -0
- package/docs/it/packages/express-intlayer/index.md +228 -0
- package/docs/it/packages/express-intlayer/t.md +457 -0
- package/docs/it/packages/intlayer/getConfiguration.md +146 -0
- package/docs/it/packages/intlayer/getEnumeration.md +164 -0
- package/docs/it/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/it/packages/intlayer/getLocaleLang.md +84 -0
- package/docs/it/packages/intlayer/getLocaleName.md +119 -0
- package/docs/it/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/it/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/it/packages/intlayer/getTranslation.md +191 -0
- package/docs/it/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/it/packages/intlayer/index.md +500 -0
- package/docs/it/packages/intlayer-cli/index.md +65 -0
- package/docs/it/packages/intlayer-editor/index.md +139 -0
- package/docs/it/packages/lynx-intlayer/index.md +83 -0
- package/docs/it/packages/next-intlayer/index.md +286 -0
- package/docs/it/packages/next-intlayer/t.md +356 -0
- package/docs/it/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/it/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/it/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/it/packages/next-intlayer/useLocale.md +131 -0
- package/docs/it/packages/nuxt-intlayer/index.md +53 -0
- package/docs/it/packages/preact-intlayer/index.md +53 -0
- package/docs/it/packages/react-intlayer/index.md +281 -0
- package/docs/it/packages/react-intlayer/t.md +302 -0
- package/docs/it/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/it/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/it/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/it/packages/react-intlayer/useLocale.md +210 -0
- package/docs/it/packages/react-native-intlayer/index.md +83 -0
- package/docs/it/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/it/packages/solid-intlayer/index.md +54 -0
- package/docs/it/packages/svelte-intlayer/index.md +53 -0
- package/docs/it/packages/vite-intlayer/index.md +76 -0
- package/docs/it/packages/vue-intlayer/index.md +53 -0
- package/docs/it/per_locale_file.md +325 -0
- package/docs/it/roadmap.md +337 -0
- package/docs/it/vs_code_extension.md +153 -0
- package/docs/ja/CI_CD.md +172 -0
- package/docs/ja/autoFill.md +179 -0
- package/docs/ja/configuration.md +525 -0
- package/docs/ja/dictionary/condition.md +233 -0
- package/docs/ja/dictionary/content_extention_customization.md +113 -0
- package/docs/ja/dictionary/enumeration.md +247 -0
- package/docs/ja/dictionary/file.md +232 -0
- package/docs/ja/dictionary/function_fetching.md +241 -0
- package/docs/ja/dictionary/get_started.md +576 -0
- package/docs/ja/dictionary/insertion.md +191 -0
- package/docs/ja/dictionary/markdown.md +357 -0
- package/docs/ja/dictionary/nesting.md +269 -0
- package/docs/ja/dictionary/translation.md +372 -0
- package/docs/ja/how_works_intlayer.md +254 -0
- package/docs/ja/index.md +164 -0
- package/docs/ja/interest_of_intlayer.md +160 -0
- package/docs/ja/intlayer_CMS.md +355 -0
- package/docs/ja/intlayer_cli.md +458 -0
- package/docs/ja/intlayer_visual_editor.md +272 -0
- package/docs/ja/intlayer_with_angular.md +671 -0
- package/docs/ja/intlayer_with_create_react_app.md +1236 -0
- package/docs/ja/intlayer_with_express.md +414 -0
- package/docs/ja/intlayer_with_lynx+react.md +521 -0
- package/docs/ja/intlayer_with_nextjs_14.md +1495 -0
- package/docs/ja/intlayer_with_nextjs_15.md +1532 -0
- package/docs/ja/intlayer_with_nextjs_page_router.md +1490 -0
- package/docs/ja/intlayer_with_nuxt.md +803 -0
- package/docs/ja/intlayer_with_react_native+expo.md +700 -0
- package/docs/ja/intlayer_with_vite+preact.md +1684 -0
- package/docs/ja/intlayer_with_vite+react.md +1736 -0
- package/docs/ja/intlayer_with_vite+solid.md +310 -0
- package/docs/ja/intlayer_with_vite+svelte.md +286 -0
- package/docs/ja/intlayer_with_vite+vue.md +1078 -0
- package/docs/ja/introduction.md +208 -0
- package/docs/ja/mcp_server.md +174 -0
- package/docs/ja/packages/@intlayer/api/index.md +56 -0
- package/docs/ja/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ja/packages/@intlayer/cli/index.md +45 -0
- package/docs/ja/packages/@intlayer/config/index.md +140 -0
- package/docs/ja/packages/@intlayer/core/index.md +49 -0
- package/docs/ja/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ja/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ja/packages/@intlayer/webpack/index.md +60 -0
- package/docs/ja/packages/angular-intlayer/index.md +53 -0
- package/docs/ja/packages/express-intlayer/index.md +284 -0
- package/docs/ja/packages/express-intlayer/t.md +473 -0
- package/docs/ja/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ja/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ja/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/ja/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ja/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +274 -0
- package/docs/ja/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ja/packages/intlayer/getTranslation.md +192 -0
- package/docs/ja/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ja/packages/intlayer/index.md +503 -0
- package/docs/ja/packages/intlayer-cli/index.md +65 -0
- package/docs/ja/packages/intlayer-editor/index.md +137 -0
- package/docs/ja/packages/lynx-intlayer/index.md +83 -0
- package/docs/ja/packages/next-intlayer/index.md +286 -0
- package/docs/ja/packages/next-intlayer/t.md +353 -0
- package/docs/ja/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ja/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ja/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ja/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ja/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ja/packages/preact-intlayer/index.md +53 -0
- package/docs/ja/packages/react-intlayer/index.md +287 -0
- package/docs/ja/packages/react-intlayer/t.md +302 -0
- package/docs/ja/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ja/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/ja/packages/react-intlayer/useIntlayerAsync.md +268 -0
- package/docs/ja/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ja/packages/react-native-intlayer/index.md +83 -0
- package/docs/ja/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ja/packages/solid-intlayer/index.md +54 -0
- package/docs/ja/packages/svelte-intlayer/index.md +53 -0
- package/docs/ja/packages/vite-intlayer/index.md +76 -0
- package/docs/ja/packages/vue-intlayer/index.md +53 -0
- package/docs/ja/per_locale_file.md +321 -0
- package/docs/ja/roadmap.md +337 -0
- package/docs/ja/vs_code_extension.md +152 -0
- package/docs/ko/CI_CD.md +172 -0
- package/docs/ko/autoFill.md +178 -0
- package/docs/ko/configuration.md +524 -0
- package/docs/ko/dictionary/condition.md +233 -0
- package/docs/ko/dictionary/content_extention_customization.md +100 -0
- package/docs/ko/dictionary/enumeration.md +247 -0
- package/docs/ko/dictionary/file.md +232 -0
- package/docs/ko/dictionary/function_fetching.md +212 -0
- package/docs/ko/dictionary/get_started.md +530 -0
- package/docs/ko/dictionary/insertion.md +197 -0
- package/docs/ko/dictionary/markdown.md +357 -0
- package/docs/ko/dictionary/nesting.md +269 -0
- package/docs/ko/dictionary/translation.md +339 -0
- package/docs/ko/how_works_intlayer.md +251 -0
- package/docs/ko/index.md +164 -0
- package/docs/ko/interest_of_intlayer.md +159 -0
- package/docs/ko/intlayer_CMS.md +356 -0
- package/docs/ko/intlayer_cli.md +457 -0
- package/docs/ko/intlayer_visual_editor.md +269 -0
- package/docs/ko/intlayer_with_angular.md +687 -0
- package/docs/ko/intlayer_with_create_react_app.md +1234 -0
- package/docs/ko/intlayer_with_express.md +434 -0
- package/docs/ko/intlayer_with_lynx+react.md +525 -0
- package/docs/ko/intlayer_with_nextjs_14.md +1481 -0
- package/docs/ko/intlayer_with_nextjs_15.md +1551 -0
- package/docs/ko/intlayer_with_nextjs_page_router.md +1514 -0
- package/docs/ko/intlayer_with_nuxt.md +807 -0
- package/docs/ko/intlayer_with_react_native+expo.md +703 -0
- package/docs/ko/intlayer_with_vite+preact.md +1733 -0
- package/docs/ko/intlayer_with_vite+react.md +1655 -0
- package/docs/ko/intlayer_with_vite+solid.md +285 -0
- package/docs/ko/intlayer_with_vite+svelte.md +373 -0
- package/docs/ko/intlayer_with_vite+vue.md +1082 -0
- package/docs/ko/introduction.md +209 -0
- package/docs/ko/mcp_server.md +174 -0
- package/docs/ko/packages/@intlayer/api/index.md +56 -0
- package/docs/ko/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ko/packages/@intlayer/cli/index.md +45 -0
- package/docs/ko/packages/@intlayer/config/index.md +140 -0
- package/docs/ko/packages/@intlayer/core/index.md +49 -0
- package/docs/ko/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ko/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ko/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ko/packages/angular-intlayer/index.md +53 -0
- package/docs/ko/packages/express-intlayer/index.md +285 -0
- package/docs/ko/packages/express-intlayer/t.md +509 -0
- package/docs/ko/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ko/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ko/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ko/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ko/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +281 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +261 -0
- package/docs/ko/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ko/packages/intlayer/getTranslation.md +192 -0
- package/docs/ko/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ko/packages/intlayer/index.md +499 -0
- package/docs/ko/packages/intlayer-cli/index.md +65 -0
- package/docs/ko/packages/intlayer-editor/index.md +137 -0
- package/docs/ko/packages/lynx-intlayer/index.md +83 -0
- package/docs/ko/packages/next-intlayer/index.md +287 -0
- package/docs/ko/packages/next-intlayer/t.md +354 -0
- package/docs/ko/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ko/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ko/packages/next-intlayer/useIntlayerAsync.md +260 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +136 -0
- package/docs/ko/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ko/packages/preact-intlayer/index.md +53 -0
- package/docs/ko/packages/react-intlayer/index.md +287 -0
- package/docs/ko/packages/react-intlayer/t.md +345 -0
- package/docs/ko/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/ko/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ko/packages/react-intlayer/useIntlayerAsync.md +271 -0
- package/docs/ko/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ko/packages/react-native-intlayer/index.md +83 -0
- package/docs/ko/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ko/packages/solid-intlayer/index.md +54 -0
- package/docs/ko/packages/svelte-intlayer/index.md +53 -0
- package/docs/ko/packages/vite-intlayer/index.md +76 -0
- package/docs/ko/packages/vue-intlayer/index.md +53 -0
- package/docs/ko/per_locale_file.md +321 -0
- package/docs/ko/roadmap.md +337 -0
- package/docs/ko/vs_code_extension.md +152 -0
- package/docs/pt/CI_CD.md +172 -0
- package/docs/pt/autoFill.md +178 -0
- package/docs/pt/configuration.md +526 -0
- package/docs/pt/dictionary/condition.md +233 -0
- package/docs/pt/dictionary/content_extention_customization.md +100 -0
- package/docs/pt/dictionary/enumeration.md +245 -0
- package/docs/pt/dictionary/file.md +224 -0
- package/docs/pt/dictionary/function_fetching.md +214 -0
- package/docs/pt/dictionary/get_started.md +532 -0
- package/docs/pt/dictionary/insertion.md +195 -0
- package/docs/pt/dictionary/markdown.md +359 -0
- package/docs/pt/dictionary/nesting.md +269 -0
- package/docs/pt/dictionary/translation.md +309 -0
- package/docs/pt/how_works_intlayer.md +252 -0
- package/docs/pt/index.md +166 -0
- package/docs/pt/interest_of_intlayer.md +156 -0
- package/docs/pt/intlayer_CMS.md +352 -0
- package/docs/pt/intlayer_cli.md +454 -0
- package/docs/pt/intlayer_visual_editor.md +269 -0
- package/docs/pt/intlayer_with_angular.md +715 -0
- package/docs/pt/intlayer_with_create_react_app.md +1209 -0
- package/docs/pt/intlayer_with_express.md +434 -0
- package/docs/pt/intlayer_with_lynx+react.md +520 -0
- package/docs/pt/intlayer_with_nextjs_14.md +1277 -0
- package/docs/pt/intlayer_with_nextjs_15.md +1512 -0
- package/docs/pt/intlayer_with_nextjs_page_router.md +1525 -0
- package/docs/pt/intlayer_with_nuxt.md +818 -0
- package/docs/pt/intlayer_with_react_native+expo.md +657 -0
- package/docs/pt/intlayer_with_vite+preact.md +1693 -0
- package/docs/pt/intlayer_with_vite+react.md +1657 -0
- package/docs/pt/intlayer_with_vite+solid.md +285 -0
- package/docs/pt/intlayer_with_vite+svelte.md +284 -0
- package/docs/pt/intlayer_with_vite+vue.md +1073 -0
- package/docs/pt/introduction.md +222 -0
- package/docs/pt/mcp_server.md +174 -0
- package/docs/pt/packages/@intlayer/api/index.md +56 -0
- package/docs/pt/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/pt/packages/@intlayer/cli/index.md +45 -0
- package/docs/pt/packages/@intlayer/config/index.md +140 -0
- package/docs/pt/packages/@intlayer/core/index.md +49 -0
- package/docs/pt/packages/@intlayer/design-system/index.md +45 -0
- package/docs/pt/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/pt/packages/@intlayer/webpack/index.md +60 -0
- package/docs/pt/packages/angular-intlayer/index.md +53 -0
- package/docs/pt/packages/express-intlayer/index.md +255 -0
- package/docs/pt/packages/express-intlayer/t.md +457 -0
- package/docs/pt/packages/intlayer/getConfiguration.md +146 -0
- package/docs/pt/packages/intlayer/getEnumeration.md +164 -0
- package/docs/pt/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/pt/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/pt/packages/intlayer/getLocaleName.md +119 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/pt/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/pt/packages/intlayer/getTranslation.md +192 -0
- package/docs/pt/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/pt/packages/intlayer/index.md +500 -0
- package/docs/pt/packages/intlayer-cli/index.md +65 -0
- package/docs/pt/packages/intlayer-editor/index.md +139 -0
- package/docs/pt/packages/lynx-intlayer/index.md +83 -0
- package/docs/pt/packages/next-intlayer/index.md +286 -0
- package/docs/pt/packages/next-intlayer/t.md +352 -0
- package/docs/pt/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/pt/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/pt/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/pt/packages/next-intlayer/useLocale.md +131 -0
- package/docs/pt/packages/nuxt-intlayer/index.md +53 -0
- package/docs/pt/packages/preact-intlayer/index.md +53 -0
- package/docs/pt/packages/react-intlayer/index.md +280 -0
- package/docs/pt/packages/react-intlayer/t.md +302 -0
- package/docs/pt/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/pt/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/pt/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/pt/packages/react-intlayer/useLocale.md +210 -0
- package/docs/pt/packages/react-native-intlayer/index.md +83 -0
- package/docs/pt/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/pt/packages/solid-intlayer/index.md +54 -0
- package/docs/pt/packages/svelte-intlayer/index.md +53 -0
- package/docs/pt/packages/vite-intlayer/index.md +76 -0
- package/docs/pt/packages/vue-intlayer/index.md +53 -0
- package/docs/pt/per_locale_file.md +323 -0
- package/docs/pt/roadmap.md +337 -0
- package/docs/pt/vs_code_extension.md +152 -0
- package/docs/ru/CI_CD.md +172 -0
- package/docs/ru/autoFill.md +179 -0
- package/docs/ru/configuration.md +524 -0
- package/docs/ru/dictionary/condition.md +233 -0
- package/docs/ru/dictionary/content_extention_customization.md +100 -0
- package/docs/ru/dictionary/enumeration.md +247 -0
- package/docs/ru/dictionary/file.md +225 -0
- package/docs/ru/dictionary/function_fetching.md +212 -0
- package/docs/ru/dictionary/get_started.md +575 -0
- package/docs/ru/dictionary/insertion.md +185 -0
- package/docs/ru/dictionary/markdown.md +359 -0
- package/docs/ru/dictionary/nesting.md +269 -0
- package/docs/ru/dictionary/translation.md +310 -0
- package/docs/ru/how_works_intlayer.md +251 -0
- package/docs/ru/index.md +163 -0
- package/docs/ru/interest_of_intlayer.md +154 -0
- package/docs/ru/intlayer_CMS.md +357 -0
- package/docs/ru/intlayer_cli.md +456 -0
- package/docs/ru/intlayer_visual_editor.md +267 -0
- package/docs/ru/intlayer_with_angular.md +717 -0
- package/docs/ru/intlayer_with_create_react_app.md +1271 -0
- package/docs/ru/intlayer_with_express.md +454 -0
- package/docs/ru/intlayer_with_lynx+react.md +524 -0
- package/docs/ru/intlayer_with_nextjs_14.md +1281 -0
- package/docs/ru/intlayer_with_nextjs_15.md +1546 -0
- package/docs/ru/intlayer_with_nextjs_page_router.md +1516 -0
- package/docs/ru/intlayer_with_nuxt.md +816 -0
- package/docs/ru/intlayer_with_react_native+expo.md +660 -0
- package/docs/ru/intlayer_with_vite+preact.md +1697 -0
- package/docs/ru/intlayer_with_vite+react.md +1640 -0
- package/docs/ru/intlayer_with_vite+solid.md +287 -0
- package/docs/ru/intlayer_with_vite+svelte.md +285 -0
- package/docs/ru/intlayer_with_vite+vue.md +1073 -0
- package/docs/ru/introduction.md +212 -0
- package/docs/ru/mcp_server.md +174 -0
- package/docs/ru/packages/@intlayer/api/index.md +56 -0
- package/docs/ru/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ru/packages/@intlayer/cli/index.md +45 -0
- package/docs/ru/packages/@intlayer/config/index.md +140 -0
- package/docs/ru/packages/@intlayer/core/index.md +49 -0
- package/docs/ru/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ru/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ru/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ru/packages/angular-intlayer/index.md +53 -0
- package/docs/ru/packages/express-intlayer/index.md +253 -0
- package/docs/ru/packages/express-intlayer/t.md +459 -0
- package/docs/ru/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ru/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ru/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ru/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ru/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/ru/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ru/packages/intlayer/getTranslation.md +192 -0
- package/docs/ru/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ru/packages/intlayer/index.md +499 -0
- package/docs/ru/packages/intlayer-cli/index.md +65 -0
- package/docs/ru/packages/intlayer-editor/index.md +139 -0
- package/docs/ru/packages/lynx-intlayer/index.md +83 -0
- package/docs/ru/packages/next-intlayer/index.md +286 -0
- package/docs/ru/packages/next-intlayer/t.md +354 -0
- package/docs/ru/packages/next-intlayer/useDictionary.md +269 -0
- package/docs/ru/packages/next-intlayer/useIntlayer.md +266 -0
- package/docs/ru/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ru/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ru/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ru/packages/preact-intlayer/index.md +53 -0
- package/docs/ru/packages/react-intlayer/index.md +281 -0
- package/docs/ru/packages/react-intlayer/t.md +304 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ru/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/ru/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ru/packages/react-intlayer/useLocale.md +206 -0
- package/docs/ru/packages/react-native-intlayer/index.md +83 -0
- package/docs/ru/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ru/packages/solid-intlayer/index.md +54 -0
- package/docs/ru/packages/svelte-intlayer/index.md +53 -0
- package/docs/ru/packages/vite-intlayer/index.md +76 -0
- package/docs/ru/packages/vue-intlayer/index.md +53 -0
- package/docs/ru/per_locale_file.md +325 -0
- package/docs/ru/roadmap.md +337 -0
- package/docs/ru/vs_code_extension.md +153 -0
- package/docs/zh/CI_CD.md +172 -0
- package/docs/zh/autoFill.md +179 -0
- package/docs/zh/configuration.md +526 -0
- package/docs/zh/dictionary/condition.md +233 -0
- package/docs/zh/dictionary/content_extention_customization.md +117 -0
- package/docs/zh/dictionary/enumeration.md +246 -0
- package/docs/zh/dictionary/file.md +234 -0
- package/docs/zh/dictionary/function_fetching.md +239 -0
- package/docs/zh/dictionary/get_started.md +533 -0
- package/docs/zh/dictionary/insertion.md +272 -0
- package/docs/zh/dictionary/markdown.md +357 -0
- package/docs/zh/dictionary/nesting.md +269 -0
- package/docs/zh/dictionary/translation.md +337 -0
- package/docs/zh/how_works_intlayer.md +257 -0
- package/docs/zh/index.md +183 -0
- package/docs/zh/interest_of_intlayer.md +160 -0
- package/docs/zh/intlayer_CMS.md +356 -0
- package/docs/zh/intlayer_cli.md +452 -0
- package/docs/zh/intlayer_visual_editor.md +267 -0
- package/docs/zh/intlayer_with_angular.md +717 -0
- package/docs/zh/intlayer_with_create_react_app.md +1257 -0
- package/docs/zh/intlayer_with_express.md +433 -0
- package/docs/zh/intlayer_with_lynx+react.md +520 -0
- package/docs/zh/intlayer_with_nextjs_14.md +1477 -0
- package/docs/zh/intlayer_with_nextjs_15.md +1532 -0
- package/docs/zh/intlayer_with_nextjs_page_router.md +1484 -0
- package/docs/zh/intlayer_with_nuxt.md +839 -0
- package/docs/zh/intlayer_with_react_native+expo.md +704 -0
- package/docs/zh/intlayer_with_vite+preact.md +1738 -0
- package/docs/zh/intlayer_with_vite+react.md +1708 -0
- package/docs/zh/intlayer_with_vite+solid.md +284 -0
- package/docs/zh/intlayer_with_vite+svelte.md +283 -0
- package/docs/zh/intlayer_with_vite+vue.md +1088 -0
- package/docs/zh/introduction.md +208 -0
- package/docs/zh/mcp_server.md +175 -0
- package/docs/zh/packages/@intlayer/api/index.md +56 -0
- package/docs/zh/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/zh/packages/@intlayer/cli/index.md +45 -0
- package/docs/zh/packages/@intlayer/config/index.md +140 -0
- package/docs/zh/packages/@intlayer/core/index.md +49 -0
- package/docs/zh/packages/@intlayer/design-system/index.md +45 -0
- package/docs/zh/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/zh/packages/@intlayer/webpack/index.md +59 -0
- package/docs/zh/packages/angular-intlayer/index.md +53 -0
- package/docs/zh/packages/express-intlayer/index.md +284 -0
- package/docs/zh/packages/express-intlayer/t.md +459 -0
- package/docs/zh/packages/intlayer/getConfiguration.md +146 -0
- package/docs/zh/packages/intlayer/getEnumeration.md +164 -0
- package/docs/zh/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/zh/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/zh/packages/intlayer/getLocaleName.md +119 -0
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +281 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +228 -0
- package/docs/zh/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/zh/packages/intlayer/getTranslation.md +192 -0
- package/docs/zh/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/zh/packages/intlayer/index.md +499 -0
- package/docs/zh/packages/intlayer-cli/index.md +65 -0
- package/docs/zh/packages/intlayer-editor/index.md +137 -0
- package/docs/zh/packages/lynx-intlayer/index.md +83 -0
- package/docs/zh/packages/next-intlayer/index.md +286 -0
- package/docs/zh/packages/next-intlayer/t.md +354 -0
- package/docs/zh/packages/next-intlayer/useDictionary.md +270 -0
- package/docs/zh/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/zh/packages/next-intlayer/useIntlayerAsync.md +239 -0
- package/docs/zh/packages/next-intlayer/useLocale.md +131 -0
- package/docs/zh/packages/nuxt-intlayer/index.md +53 -0
- package/docs/zh/packages/preact-intlayer/index.md +53 -0
- package/docs/zh/packages/react-intlayer/index.md +287 -0
- package/docs/zh/packages/react-intlayer/t.md +298 -0
- package/docs/zh/packages/react-intlayer/useDictionary.md +312 -0
- package/docs/zh/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/zh/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/zh/packages/react-intlayer/useLocale.md +210 -0
- package/docs/zh/packages/react-native-intlayer/index.md +83 -0
- package/docs/zh/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/zh/packages/solid-intlayer/index.md +54 -0
- package/docs/zh/packages/svelte-intlayer/index.md +53 -0
- package/docs/zh/packages/vite-intlayer/index.md +76 -0
- package/docs/zh/packages/vue-intlayer/index.md +53 -0
- package/docs/zh/per_locale_file.md +323 -0
- package/docs/zh/roadmap.md +337 -0
- package/docs/zh/vs_code_extension.md +152 -0
- package/frequent_questions/ar/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ar/array_as_content_declaration.md +72 -0
- package/frequent_questions/ar/build_dictionaries.md +59 -0
- package/frequent_questions/ar/customized_locale_list.md +65 -0
- package/frequent_questions/ar/domain_routing.md +115 -0
- package/frequent_questions/ar/esbuild_error.md +30 -0
- package/frequent_questions/ar/get_locale_cookie.md +143 -0
- package/frequent_questions/ar/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ar/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ar/static_rendering.md +46 -0
- package/frequent_questions/ar/translated_path_url.md +56 -0
- package/frequent_questions/ar/unknown_command.md +98 -0
- package/frequent_questions/de/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/de/array_as_content_declaration.md +72 -0
- package/frequent_questions/de/build_dictionaries.md +59 -0
- package/frequent_questions/de/customized_locale_list.md +65 -0
- package/frequent_questions/de/domain_routing.md +114 -0
- package/frequent_questions/de/esbuild_error.md +30 -0
- package/frequent_questions/de/get_locale_cookie.md +143 -0
- package/frequent_questions/de/intlayer_command_undefined.md +157 -0
- package/frequent_questions/de/locale_incorect_in_url.md +86 -0
- package/frequent_questions/de/static_rendering.md +46 -0
- package/frequent_questions/de/translated_path_url.md +56 -0
- package/frequent_questions/de/unknown_command.md +98 -0
- package/frequent_questions/en/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en/array_as_content_declaration.md +72 -0
- package/frequent_questions/en/build_dictionaries.md +59 -0
- package/frequent_questions/en/customized_locale_list.md +65 -0
- package/frequent_questions/en/domain_routing.md +114 -0
- package/frequent_questions/en/esbuild_error.md +30 -0
- package/frequent_questions/en/get_locale_cookie.md +143 -0
- package/frequent_questions/en/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en/static_rendering.md +46 -0
- package/frequent_questions/en/translated_path_url.md +56 -0
- package/frequent_questions/en/unknown_command.md +98 -0
- package/frequent_questions/en-GB/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en-GB/array_as_content_declaration.md +72 -0
- package/frequent_questions/en-GB/build_dictionaries.md +59 -0
- package/frequent_questions/en-GB/customized_locale_list.md +65 -0
- package/frequent_questions/en-GB/domain_routing.md +114 -0
- package/frequent_questions/en-GB/esbuild_error.md +30 -0
- package/frequent_questions/en-GB/get_locale_cookie.md +144 -0
- package/frequent_questions/en-GB/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en-GB/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en-GB/static_rendering.md +46 -0
- package/frequent_questions/en-GB/translated_path_url.md +56 -0
- package/frequent_questions/en-GB/unknown_command.md +98 -0
- package/frequent_questions/es/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/es/array_as_content_declaration.md +72 -0
- package/frequent_questions/es/build_dictionaries.md +59 -0
- package/frequent_questions/es/customized_locale_list.md +65 -0
- package/frequent_questions/es/domain_routing.md +114 -0
- package/frequent_questions/es/esbuild_error.md +30 -0
- package/frequent_questions/es/get_locale_cookie.md +143 -0
- package/frequent_questions/es/intlayer_command_undefined.md +157 -0
- package/frequent_questions/es/locale_incorect_in_url.md +90 -0
- package/frequent_questions/es/static_rendering.md +46 -0
- package/frequent_questions/es/translated_path_url.md +56 -0
- package/frequent_questions/es/unknown_command.md +98 -0
- package/frequent_questions/fr/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/fr/array_as_content_declaration.md +73 -0
- package/frequent_questions/fr/build_dictionaries.md +59 -0
- package/frequent_questions/fr/customized_locale_list.md +65 -0
- package/frequent_questions/fr/domain_routing.md +114 -0
- package/frequent_questions/fr/esbuild_error.md +30 -0
- package/frequent_questions/fr/get_locale_cookie.md +143 -0
- package/frequent_questions/fr/intlayer_command_undefined.md +157 -0
- package/frequent_questions/fr/locale_incorect_in_url.md +79 -0
- package/frequent_questions/fr/static_rendering.md +46 -0
- package/frequent_questions/fr/translated_path_url.md +56 -0
- package/frequent_questions/fr/unknown_command.md +98 -0
- package/frequent_questions/hi/SSR_Next_no_[locale].md +107 -0
- package/frequent_questions/hi/array_as_content_declaration.md +72 -0
- package/frequent_questions/hi/build_dictionaries.md +59 -0
- package/frequent_questions/hi/customized_locale_list.md +65 -0
- package/frequent_questions/hi/domain_routing.md +115 -0
- package/frequent_questions/hi/esbuild_error.md +30 -0
- package/frequent_questions/hi/get_locale_cookie.md +144 -0
- package/frequent_questions/hi/intlayer_command_undefined.md +156 -0
- package/frequent_questions/hi/locale_incorect_in_url.md +74 -0
- package/frequent_questions/hi/static_rendering.md +46 -0
- package/frequent_questions/hi/translated_path_url.md +56 -0
- package/frequent_questions/hi/unknown_command.md +98 -0
- package/frequent_questions/it/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/it/array_as_content_declaration.md +72 -0
- package/frequent_questions/it/build_dictionaries.md +59 -0
- package/frequent_questions/it/customized_locale_list.md +65 -0
- package/frequent_questions/it/domain_routing.md +114 -0
- package/frequent_questions/it/esbuild_error.md +30 -0
- package/frequent_questions/it/get_locale_cookie.md +144 -0
- package/frequent_questions/it/intlayer_command_undefined.md +157 -0
- package/frequent_questions/it/locale_incorect_in_url.md +74 -0
- package/frequent_questions/it/static_rendering.md +46 -0
- package/frequent_questions/it/translated_path_url.md +56 -0
- package/frequent_questions/it/unknown_command.md +98 -0
- package/frequent_questions/ja/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ja/array_as_content_declaration.md +72 -0
- package/frequent_questions/ja/build_dictionaries.md +59 -0
- package/frequent_questions/ja/customized_locale_list.md +65 -0
- package/frequent_questions/ja/domain_routing.md +114 -0
- package/frequent_questions/ja/esbuild_error.md +30 -0
- package/frequent_questions/ja/get_locale_cookie.md +144 -0
- package/frequent_questions/ja/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ja/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ja/static_rendering.md +46 -0
- package/frequent_questions/ja/translated_path_url.md +56 -0
- package/frequent_questions/ja/unknown_command.md +98 -0
- package/frequent_questions/ko/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ko/array_as_content_declaration.md +72 -0
- package/frequent_questions/ko/build_dictionaries.md +59 -0
- package/frequent_questions/ko/customized_locale_list.md +65 -0
- package/frequent_questions/ko/domain_routing.md +114 -0
- package/frequent_questions/ko/esbuild_error.md +30 -0
- package/frequent_questions/ko/get_locale_cookie.md +144 -0
- package/frequent_questions/ko/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ko/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ko/static_rendering.md +46 -0
- package/frequent_questions/ko/translated_path_url.md +56 -0
- package/frequent_questions/ko/unknown_command.md +98 -0
- package/frequent_questions/pt/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/pt/array_as_content_declaration.md +72 -0
- package/frequent_questions/pt/build_dictionaries.md +59 -0
- package/frequent_questions/pt/customized_locale_list.md +65 -0
- package/frequent_questions/pt/domain_routing.md +114 -0
- package/frequent_questions/pt/esbuild_error.md +30 -0
- package/frequent_questions/pt/get_locale_cookie.md +143 -0
- package/frequent_questions/pt/intlayer_command_undefined.md +157 -0
- package/frequent_questions/pt/locale_incorect_in_url.md +74 -0
- package/frequent_questions/pt/static_rendering.md +46 -0
- package/frequent_questions/pt/translated_path_url.md +56 -0
- package/frequent_questions/pt/unknown_command.md +98 -0
- package/frequent_questions/ru/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ru/array_as_content_declaration.md +72 -0
- package/frequent_questions/ru/build_dictionaries.md +59 -0
- package/frequent_questions/ru/customized_locale_list.md +65 -0
- package/frequent_questions/ru/domain_routing.md +114 -0
- package/frequent_questions/ru/esbuild_error.md +30 -0
- package/frequent_questions/ru/get_locale_cookie.md +143 -0
- package/frequent_questions/ru/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ru/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ru/static_rendering.md +46 -0
- package/frequent_questions/ru/translated_path_url.md +56 -0
- package/frequent_questions/ru/unknown_command.md +98 -0
- package/frequent_questions/zh/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/zh/array_as_content_declaration.md +72 -0
- package/frequent_questions/zh/build_dictionaries.md +59 -0
- package/frequent_questions/zh/customized_locale_list.md +65 -0
- package/frequent_questions/zh/domain_routing.md +114 -0
- package/frequent_questions/zh/esbuild_error.md +30 -0
- package/frequent_questions/zh/get_locale_cookie.md +162 -0
- package/frequent_questions/zh/intlayer_command_undefined.md +156 -0
- package/frequent_questions/zh/locale_incorect_in_url.md +74 -0
- package/frequent_questions/zh/static_rendering.md +46 -0
- package/frequent_questions/zh/translated_path_url.md +56 -0
- package/frequent_questions/zh/unknown_command.md +98 -0
- package/package.json +38 -28
- package/src/blog.ts +49 -0
- package/src/common.ts +183 -0
- package/src/doc.ts +46 -0
- package/src/frequentQuestions.ts +55 -0
- package/src/generated/blog.entry.ts +767 -0
- package/src/generated/docs.entry.ts +3279 -0
- package/src/generated/frequentQuestions.entry.ts +506 -0
- package/src/generated/legal.entry.ts +96 -0
- package/src/index.ts +4 -0
- package/src/legal.ts +49 -0
- package/ar/CI_CD.md +0 -149
- package/ar/autoFill.md +0 -157
- package/ar/concept/content/file.md +0 -1
- package/ar/configuration.md +0 -492
- package/ar/dictionary/condition.md +0 -213
- package/ar/dictionary/content_extention_customization.md +0 -81
- package/ar/dictionary/enumeration.md +0 -221
- package/ar/dictionary/file.md +0 -209
- package/ar/dictionary/function_fetching.md +0 -190
- package/ar/dictionary/get_started.md +0 -490
- package/ar/dictionary/insertion.md +0 -161
- package/ar/dictionary/markdown.md +0 -343
- package/ar/dictionary/nesting.md +0 -249
- package/ar/dictionary/translation.md +0 -307
- package/ar/header.md +0 -7
- package/ar/how_works_intlayer.md +0 -219
- package/ar/index.md +0 -125
- package/ar/interest_of_intlayer.md +0 -132
- package/ar/intlayer_CMS.md +0 -328
- package/ar/intlayer_cli.md +0 -258
- package/ar/intlayer_visual_editor.md +0 -210
- package/ar/intlayer_with_angular.md +0 -3
- package/ar/intlayer_with_create_react_app.md +0 -1196
- package/ar/intlayer_with_express.md +0 -270
- package/ar/intlayer_with_lynx+react.md +0 -482
- package/ar/intlayer_with_nextjs_14.md +0 -1260
- package/ar/intlayer_with_nextjs_15.md +0 -1311
- package/ar/intlayer_with_nextjs_page_router.md +0 -1099
- package/ar/intlayer_with_react_native+expo.md +0 -539
- package/ar/intlayer_with_vite+preact.md +0 -1679
- package/ar/intlayer_with_vite+react.md +0 -1582
- package/ar/intlayer_with_vite+solid.md +0 -3
- package/ar/intlayer_with_vite+svelte.md +0 -3
- package/ar/intlayer_with_vite+vue.md +0 -989
- package/ar/introduction.md +0 -190
- package/ar/mcp_server.md +0 -150
- package/ar/packages/@intlayer/api/index.md +0 -31
- package/ar/packages/@intlayer/chokidar/index.md +0 -31
- package/ar/packages/@intlayer/cli/index.md +0 -1
- package/ar/packages/@intlayer/config/index.md +0 -116
- package/ar/packages/@intlayer/core/index.md +0 -25
- package/ar/packages/@intlayer/design-system/index.md +0 -21
- package/ar/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ar/packages/@intlayer/editor/index.md +0 -21
- package/ar/packages/@intlayer/editor-react/index.md +0 -21
- package/ar/packages/@intlayer/webpack/index.md +0 -35
- package/ar/packages/angular-intlayer/index.md +0 -3
- package/ar/packages/express-intlayer/index.md +0 -232
- package/ar/packages/express-intlayer/t.md +0 -448
- package/ar/packages/intlayer/getConfiguration.md +0 -120
- package/ar/packages/intlayer/getEnumeration.md +0 -138
- package/ar/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ar/packages/intlayer/getLocaleLang.md +0 -61
- package/ar/packages/intlayer/getLocaleName.md +0 -93
- package/ar/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ar/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ar/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ar/packages/intlayer/getTranslation.md +0 -175
- package/ar/packages/intlayer/getTranslationContent.md +0 -175
- package/ar/packages/intlayer/index.md +0 -254
- package/ar/packages/intlayer-cli/index.md +0 -41
- package/ar/packages/intlayer-editor/index.md +0 -113
- package/ar/packages/lynx-intlayer/index.md +0 -58
- package/ar/packages/next-intlayer/index.md +0 -267
- package/ar/packages/next-intlayer/t.md +0 -341
- package/ar/packages/next-intlayer/useDictionary.md +0 -248
- package/ar/packages/next-intlayer/useIntlayer.md +0 -237
- package/ar/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ar/packages/next-intlayer/useLocale.md +0 -105
- package/ar/packages/preact-intlayer/index.md +0 -3
- package/ar/packages/react-intlayer/index.md +0 -261
- package/ar/packages/react-intlayer/t.md +0 -283
- package/ar/packages/react-intlayer/useDictionary.md +0 -268
- package/ar/packages/react-intlayer/useIntlayer.md +0 -225
- package/ar/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ar/packages/react-intlayer/useLocale.md +0 -184
- package/ar/packages/react-native-intlayer/index.md +0 -57
- package/ar/packages/react-scripts-intlayer/index.md +0 -57
- package/ar/packages/solid-intlayer/index.md +0 -3
- package/ar/packages/svelte-intlayer/index.md +0 -3
- package/ar/packages/vite-intlayer/index.md +0 -53
- package/ar/packages/vue-intlayer/index.md +0 -3
- package/ar/per_locale_file.md +0 -298
- package/ar/privacy_notice.md +0 -61
- package/ar/roadmap.md +0 -208
- package/ar/terms_of_service.md +0 -33
- package/ar/vs_code_extension.md +0 -139
- package/de/CI_CD.md +0 -149
- package/de/angular-intlayer/index.md +0 -3
- package/de/autoFill.md +0 -157
- package/de/configuration.md +0 -501
- package/de/dictionary/condition.md +0 -213
- package/de/dictionary/content_extention_customization.md +0 -81
- package/de/dictionary/enumeration.md +0 -221
- package/de/dictionary/file.md +0 -207
- package/de/dictionary/function_fetching.md +0 -190
- package/de/dictionary/get_started.md +0 -466
- package/de/dictionary/insertion.md +0 -167
- package/de/dictionary/markdown.md +0 -345
- package/de/dictionary/nesting.md +0 -252
- package/de/dictionary/translation.md +0 -287
- package/de/header.md +0 -5
- package/de/how_works_intlayer.md +0 -216
- package/de/index.md +0 -125
- package/de/insertion.md +0 -0
- package/de/interest_of_intlayer.md +0 -132
- package/de/intlayer_CMS.md +0 -334
- package/de/intlayer_cli.md +0 -274
- package/de/intlayer_visual_editor.md +0 -210
- package/de/intlayer_with_angular.md +0 -3
- package/de/intlayer_with_create_react_app.md +0 -1200
- package/de/intlayer_with_express.md +0 -268
- package/de/intlayer_with_lynx+react.md +0 -482
- package/de/intlayer_with_nextjs_14.md +0 -1258
- package/de/intlayer_with_nextjs_15.md +0 -1306
- package/de/intlayer_with_nextjs_page_router.md +0 -1087
- package/de/intlayer_with_react_native+expo.md +0 -539
- package/de/intlayer_with_vite+preact.md +0 -1701
- package/de/intlayer_with_vite+react.md +0 -1584
- package/de/intlayer_with_vite+solid.md +0 -3
- package/de/intlayer_with_vite+svelte.md +0 -3
- package/de/intlayer_with_vite+vue.md +0 -989
- package/de/introduction.md +0 -186
- package/de/mcp_server.md +0 -150
- package/de/packages/@intlayer/api/index.md +0 -31
- package/de/packages/@intlayer/chokidar/index.md +0 -31
- package/de/packages/@intlayer/cli/index.md +0 -21
- package/de/packages/@intlayer/config/index.md +0 -116
- package/de/packages/@intlayer/core/index.md +0 -25
- package/de/packages/@intlayer/design-system/index.md +0 -21
- package/de/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/de/packages/@intlayer/editor/index.md +0 -21
- package/de/packages/@intlayer/editor-react/index.md +0 -21
- package/de/packages/@intlayer/webpack/index.md +0 -35
- package/de/packages/angular-intlayer/index.md +0 -31
- package/de/packages/express-intlayer/index.md +0 -229
- package/de/packages/express-intlayer/t.md +0 -432
- package/de/packages/intlayer/getConfiguration.md +0 -120
- package/de/packages/intlayer/getEnumeration.md +0 -140
- package/de/packages/intlayer/getHTMLTextDir.md +0 -97
- package/de/packages/intlayer/getLocaleLang.md +0 -57
- package/de/packages/intlayer/getLocaleName.md +0 -93
- package/de/packages/intlayer/getLocalizedUrl.md +0 -221
- package/de/packages/intlayer/getMultilingualUrls.md +0 -198
- package/de/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/de/packages/intlayer/getTranslation.md +0 -166
- package/de/packages/intlayer/getTranslationContent.md +0 -166
- package/de/packages/intlayer/index.md +0 -478
- package/de/packages/intlayer-cli/index.md +0 -41
- package/de/packages/intlayer-editor/index.md +0 -113
- package/de/packages/lynx-intlayer/index.md +0 -58
- package/de/packages/next-intlayer/index.md +0 -263
- package/de/packages/next-intlayer/t.md +0 -325
- package/de/packages/next-intlayer/useDictionary.md +0 -242
- package/de/packages/next-intlayer/useIntlayer.md +0 -237
- package/de/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/de/packages/next-intlayer/useLocale.md +0 -105
- package/de/packages/preact-intlayer/index.md +0 -3
- package/de/packages/react-intlayer/index.md +0 -260
- package/de/packages/react-intlayer/t.md +0 -277
- package/de/packages/react-intlayer/useDictionary.md +0 -260
- package/de/packages/react-intlayer/useIntlayer.md +0 -225
- package/de/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/de/packages/react-intlayer/useLocale.md +0 -184
- package/de/packages/react-native-intlayer/index.md +0 -57
- package/de/packages/react-scripts-intlayer/index.md +0 -57
- package/de/packages/solid-intlayer/index.md +0 -3
- package/de/packages/svelte-intlayer/index.md +0 -3
- package/de/packages/vite-intlayer/index.md +0 -53
- package/de/packages/vue-intlayer/index.md +0 -3
- package/de/per_locale_file.md +0 -298
- package/de/privacy_notice.md +0 -61
- package/de/roadmap.md +0 -206
- package/de/terms_of_service.md +0 -33
- package/de/vs_code_extension.md +0 -139
- package/en/CI_CD.md +0 -149
- package/en/autoFill.md +0 -157
- package/en/configuration.md +0 -506
- package/en/dictionary/condition.md +0 -213
- package/en/dictionary/content_extention_customization.md +0 -81
- package/en/dictionary/enumeration.md +0 -221
- package/en/dictionary/file.md +0 -198
- package/en/dictionary/function_fetching.md +0 -190
- package/en/dictionary/get_started.md +0 -504
- package/en/dictionary/insertion.md +0 -167
- package/en/dictionary/markdown.md +0 -355
- package/en/dictionary/nesting.md +0 -249
- package/en/dictionary/translation.md +0 -285
- package/en/frequent_questions/build_dictionaries.md +0 -37
- package/en/frequent_questions/domain_routing.md +0 -92
- package/en/frequent_questions/esbuild_error.md +0 -9
- package/en/frequent_questions/get_locale_cookie.md +0 -121
- package/en/frequent_questions/intlayer_command_undefined.md +0 -135
- package/en/frequent_questions/locale_incorect_in_url.md +0 -52
- package/en/frequent_questions/static_rendering.md +0 -24
- package/en/frequent_questions/unknown_command.md +0 -76
- package/en/header.md +0 -5
- package/en/how_works_intlayer.md +0 -219
- package/en/index.md +0 -139
- package/en/interest_of_intlayer.md +0 -133
- package/en/intlayer_CMS.md +0 -334
- package/en/intlayer_cli.md +0 -309
- package/en/intlayer_visual_editor.md +0 -244
- package/en/intlayer_with_angular.md +0 -139
- package/en/intlayer_with_create_react_app.md +0 -1209
- package/en/intlayer_with_express.md +0 -391
- package/en/intlayer_with_lynx+react.md +0 -483
- package/en/intlayer_with_nextjs_14.md +0 -1298
- package/en/intlayer_with_nextjs_15.md +0 -1347
- package/en/intlayer_with_nextjs_page_router.md +0 -1126
- package/en/intlayer_with_react_native+expo.md +0 -630
- package/en/intlayer_with_vite+preact.md +0 -1659
- package/en/intlayer_with_vite+react.md +0 -1605
- package/en/intlayer_with_vite+solid.md +0 -254
- package/en/intlayer_with_vite+svelte.md +0 -254
- package/en/intlayer_with_vite+vue.md +0 -1000
- package/en/introduction.md +0 -185
- package/en/mcp_server.md +0 -150
- package/en/packages/@intlayer/api/index.md +0 -31
- package/en/packages/@intlayer/chokidar/index.md +0 -31
- package/en/packages/@intlayer/cli/index.md +0 -21
- package/en/packages/@intlayer/config/index.md +0 -116
- package/en/packages/@intlayer/core/index.md +0 -25
- package/en/packages/@intlayer/design-system/index.md +0 -21
- package/en/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en/packages/@intlayer/editor/index.md +0 -21
- package/en/packages/@intlayer/editor-react/index.md +0 -21
- package/en/packages/@intlayer/webpack/index.md +0 -35
- package/en/packages/angular-intlayer/index.md +0 -31
- package/en/packages/express-intlayer/index.md +0 -229
- package/en/packages/express-intlayer/t.md +0 -432
- package/en/packages/intlayer/getConfiguration.md +0 -120
- package/en/packages/intlayer/getEnumeration.md +0 -138
- package/en/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en/packages/intlayer/getLocaleLang.md +0 -57
- package/en/packages/intlayer/getLocaleName.md +0 -93
- package/en/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en/packages/intlayer/getTranslation.md +0 -166
- package/en/packages/intlayer/getTranslationContent.md +0 -166
- package/en/packages/intlayer/index.md +0 -476
- package/en/packages/intlayer-cli/index.md +0 -41
- package/en/packages/intlayer-editor/index.md +0 -113
- package/en/packages/lynx-intlayer/index.md +0 -60
- package/en/packages/next-intlayer/index.md +0 -263
- package/en/packages/next-intlayer/t.md +0 -326
- package/en/packages/next-intlayer/useDictionary.md +0 -242
- package/en/packages/next-intlayer/useIntlayer.md +0 -237
- package/en/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en/packages/next-intlayer/useLocale.md +0 -105
- package/en/packages/preact-intlayer/index.md +0 -31
- package/en/packages/react-intlayer/index.md +0 -257
- package/en/packages/react-intlayer/t.md +0 -277
- package/en/packages/react-intlayer/useDictionary.md +0 -260
- package/en/packages/react-intlayer/useIntlayer.md +0 -225
- package/en/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en/packages/react-intlayer/useLocale.md +0 -184
- package/en/packages/react-native-intlayer/index.md +0 -59
- package/en/packages/react-scripts-intlayer/index.md +0 -57
- package/en/packages/solid-intlayer/index.md +0 -31
- package/en/packages/svelte-intlayer/index.md +0 -31
- package/en/packages/vite-intlayer/index.md +0 -53
- package/en/packages/vue-intlayer/index.md +0 -31
- package/en/per_locale_file.md +0 -297
- package/en/privacy_notice.md +0 -61
- package/en/roadmap.md +0 -270
- package/en/t.md +0 -163
- package/en/terms_of_service.md +0 -33
- package/en/vs_code_extension.md +0 -129
- package/en-GB/CI_CD.md +0 -149
- package/en-GB/autoFill.md +0 -0
- package/en-GB/configuration.md +0 -490
- package/en-GB/dictionary/condition.md +0 -213
- package/en-GB/dictionary/content_extention_customization.md +0 -83
- package/en-GB/dictionary/enumeration.md +0 -221
- package/en-GB/dictionary/file.md +0 -201
- package/en-GB/dictionary/function_fetching.md +0 -190
- package/en-GB/dictionary/get_started.md +0 -466
- package/en-GB/dictionary/insertion.md +0 -167
- package/en-GB/dictionary/markdown.md +0 -343
- package/en-GB/dictionary/nesting.md +0 -249
- package/en-GB/dictionary/translation.md +0 -285
- package/en-GB/header.md +0 -1
- package/en-GB/how_works_intlayer.md +0 -217
- package/en-GB/index.md +0 -142
- package/en-GB/interest_of_intlayer.md +0 -123
- package/en-GB/intlayer_CMS.md +0 -334
- package/en-GB/intlayer_cli.md +0 -239
- package/en-GB/intlayer_visual_editor.md +0 -210
- package/en-GB/intlayer_with_angular.md +0 -3
- package/en-GB/intlayer_with_create_react_app.md +0 -1192
- package/en-GB/intlayer_with_express.md +0 -267
- package/en-GB/intlayer_with_lynx+react.md +0 -484
- package/en-GB/intlayer_with_nextjs_14.md +0 -1267
- package/en-GB/intlayer_with_nextjs_15.md +0 -1308
- package/en-GB/intlayer_with_nextjs_page_router.md +0 -1087
- package/en-GB/intlayer_with_react_native+expo.md +0 -539
- package/en-GB/intlayer_with_vite+preact.md +0 -1648
- package/en-GB/intlayer_with_vite+react.md +0 -1430
- package/en-GB/intlayer_with_vite+solid.md +0 -3
- package/en-GB/intlayer_with_vite+svelte.md +0 -3
- package/en-GB/intlayer_with_vite+vue.md +0 -993
- package/en-GB/introduction.md +0 -201
- package/en-GB/mcp_server.md +0 -150
- package/en-GB/packages/@intlayer/api/index.md +0 -31
- package/en-GB/packages/@intlayer/chokidar/index.md +0 -31
- package/en-GB/packages/@intlayer/cli/index.md +0 -21
- package/en-GB/packages/@intlayer/config/index.md +0 -116
- package/en-GB/packages/@intlayer/core/index.md +0 -25
- package/en-GB/packages/@intlayer/design-system/index.md +0 -21
- package/en-GB/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en-GB/packages/@intlayer/editor/index.md +0 -21
- package/en-GB/packages/@intlayer/editor-react/index.md +0 -21
- package/en-GB/packages/@intlayer/webpack/index.md +0 -35
- package/en-GB/packages/angular-intlayer/index.md +0 -3
- package/en-GB/packages/express-intlayer/index.md +0 -229
- package/en-GB/packages/express-intlayer/t.md +0 -432
- package/en-GB/packages/intlayer/getConfiguration.md +0 -120
- package/en-GB/packages/intlayer/getEnumeration.md +0 -140
- package/en-GB/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en-GB/packages/intlayer/getLocaleLang.md +0 -57
- package/en-GB/packages/intlayer/getLocaleName.md +0 -93
- package/en-GB/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en-GB/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en-GB/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en-GB/packages/intlayer/getTranslation.md +0 -166
- package/en-GB/packages/intlayer/getTranslationContent.md +0 -166
- package/en-GB/packages/intlayer/index.md +0 -476
- package/en-GB/packages/intlayer-cli/index.md +0 -41
- package/en-GB/packages/intlayer-editor/index.md +0 -113
- package/en-GB/packages/lynx-intlayer/index.md +0 -58
- package/en-GB/packages/next-intlayer/index.md +0 -263
- package/en-GB/packages/next-intlayer/t.md +0 -326
- package/en-GB/packages/next-intlayer/useDictionary.md +0 -242
- package/en-GB/packages/next-intlayer/useIntlayer.md +0 -237
- package/en-GB/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en-GB/packages/next-intlayer/useLocale.md +0 -105
- package/en-GB/packages/preact-intlayer/index.md +0 -3
- package/en-GB/packages/react-intlayer/index.md +0 -257
- package/en-GB/packages/react-intlayer/t.md +0 -277
- package/en-GB/packages/react-intlayer/useDictionary.md +0 -260
- package/en-GB/packages/react-intlayer/useIntlayer.md +0 -225
- package/en-GB/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en-GB/packages/react-intlayer/useLocale.md +0 -184
- package/en-GB/packages/react-native-intlayer/index.md +0 -57
- package/en-GB/packages/react-scripts-intlayer/index.md +0 -57
- package/en-GB/packages/solid-intlayer/index.md +0 -3
- package/en-GB/packages/svelte-intlayer/index.md +0 -3
- package/en-GB/packages/vite-intlayer/index.md +0 -53
- package/en-GB/packages/vue-intlayer/index.md +0 -3
- package/en-GB/per_locale_file.md +0 -298
- package/en-GB/privacy_notice.md +0 -57
- package/en-GB/roadmap.md +0 -206
- package/en-GB/terms_of_service.md +0 -33
- package/en-GB/vs_code_extension.md +0 -139
- package/es/CI_CD.md +0 -149
- package/es/autoFill.md +0 -157
- package/es/configuration.md +0 -503
- package/es/dictionary/condition.md +0 -213
- package/es/dictionary/content_extention_customization.md +0 -81
- package/es/dictionary/enumeration.md +0 -221
- package/es/dictionary/file.md +0 -206
- package/es/dictionary/function_fetching.md +0 -190
- package/es/dictionary/get_started.md +0 -466
- package/es/dictionary/insertion.md +0 -161
- package/es/dictionary/markdown.md +0 -338
- package/es/dictionary/nesting.md +0 -249
- package/es/dictionary/translation.md +0 -287
- package/es/header.md +0 -5
- package/es/how_works_intlayer.md +0 -217
- package/es/index.md +0 -122
- package/es/interest_of_intlayer.md +0 -132
- package/es/intlayer_CMS.md +0 -334
- package/es/intlayer_cli.md +0 -274
- package/es/intlayer_visual_editor.md +0 -210
- package/es/intlayer_with_angular.md +0 -3
- package/es/intlayer_with_create_react_app.md +0 -1192
- package/es/intlayer_with_express.md +0 -276
- package/es/intlayer_with_lynx+react.md +0 -475
- package/es/intlayer_with_nextjs_14.md +0 -1258
- package/es/intlayer_with_nextjs_15.md +0 -1308
- package/es/intlayer_with_nextjs_page_router.md +0 -1088
- package/es/intlayer_with_react_native+expo.md +0 -180
- package/es/intlayer_with_vite+preact.md +0 -1637
- package/es/intlayer_with_vite+react.md +0 -1592
- package/es/intlayer_with_vite+solid.md +0 -3
- package/es/intlayer_with_vite+svelte.md +0 -3
- package/es/intlayer_with_vite+vue.md +0 -947
- package/es/introduction.md +0 -184
- package/es/mcp_server.md +0 -150
- package/es/packages/@intlayer/api/index.md +0 -31
- package/es/packages/@intlayer/chokidar/index.md +0 -31
- package/es/packages/@intlayer/cli/index.md +0 -21
- package/es/packages/@intlayer/config/index.md +0 -116
- package/es/packages/@intlayer/core/index.md +0 -25
- package/es/packages/@intlayer/design-system/index.md +0 -21
- package/es/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/es/packages/@intlayer/editor/index.md +0 -21
- package/es/packages/@intlayer/editor-react/index.md +0 -21
- package/es/packages/@intlayer/webpack/index.md +0 -35
- package/es/packages/angular-intlayer/index.md +0 -3
- package/es/packages/express-intlayer/index.md +0 -229
- package/es/packages/express-intlayer/t.md +0 -432
- package/es/packages/intlayer/getConfiguration.md +0 -120
- package/es/packages/intlayer/getEnumeration.md +0 -138
- package/es/packages/intlayer/getHTMLTextDir.md +0 -97
- package/es/packages/intlayer/getLocaleLang.md +0 -57
- package/es/packages/intlayer/getLocaleName.md +0 -93
- package/es/packages/intlayer/getLocalizedUrl.md +0 -221
- package/es/packages/intlayer/getMultilingualUrls.md +0 -198
- package/es/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/es/packages/intlayer/getTranslation.md +0 -166
- package/es/packages/intlayer/getTranslationContent.md +0 -166
- package/es/packages/intlayer/index.md +0 -478
- package/es/packages/intlayer-cli/index.md +0 -41
- package/es/packages/intlayer-editor/index.md +0 -115
- package/es/packages/lynx-intlayer/index.md +0 -58
- package/es/packages/next-intlayer/index.md +0 -263
- package/es/packages/next-intlayer/t.md +0 -325
- package/es/packages/next-intlayer/useDictionary.md +0 -242
- package/es/packages/next-intlayer/useIntlayer.md +0 -237
- package/es/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/es/packages/next-intlayer/useLocale.md +0 -105
- package/es/packages/preact-intlayer/index.md +0 -3
- package/es/packages/react-intlayer/index.md +0 -263
- package/es/packages/react-intlayer/t.md +0 -277
- package/es/packages/react-intlayer/useDictionary.md +0 -270
- package/es/packages/react-intlayer/useIntlayer.md +0 -225
- package/es/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/es/packages/react-intlayer/useLocale.md +0 -184
- package/es/packages/react-native-intlayer/index.md +0 -57
- package/es/packages/react-scripts-intlayer/index.md +0 -57
- package/es/packages/solid-intlayer/index.md +0 -3
- package/es/packages/svelte-intlayer/index.md +0 -5
- package/es/packages/vite-intlayer/index.md +0 -53
- package/es/packages/vue-intlayer/index.md +0 -3
- package/es/per_locale_file.md +0 -293
- package/es/privacy_notice.md +0 -61
- package/es/roadmap.md +0 -157
- package/es/terms_of_service.md +0 -33
- package/es/vs_code_extension.md +0 -139
- package/fr/CI_CD.md +0 -149
- package/fr/autoFill.md +0 -157
- package/fr/configuration.md +0 -481
- package/fr/dictionary/condition.md +0 -213
- package/fr/dictionary/content_extention_customization.md +0 -81
- package/fr/dictionary/enumeration.md +0 -221
- package/fr/dictionary/file.md +0 -206
- package/fr/dictionary/function_fetching.md +0 -190
- package/fr/dictionary/get_started.md +0 -466
- package/fr/dictionary/insertion.md +0 -161
- package/fr/dictionary/markdown.md +0 -335
- package/fr/dictionary/nesting.md +0 -249
- package/fr/dictionary/translation.md +0 -287
- package/fr/header.md +0 -5
- package/fr/how_works_intlayer.md +0 -217
- package/fr/index.md +0 -122
- package/fr/interest_of_intlayer.md +0 -132
- package/fr/intlayer_CMS.md +0 -334
- package/fr/intlayer_cli.md +0 -274
- package/fr/intlayer_visual_editor.md +0 -210
- package/fr/intlayer_with_angular.md +0 -3
- package/fr/intlayer_with_create_react_app.md +0 -1192
- package/fr/intlayer_with_express.md +0 -270
- package/fr/intlayer_with_lynx+react.md +0 -466
- package/fr/intlayer_with_nextjs_14.md +0 -1258
- package/fr/intlayer_with_nextjs_15.md +0 -1308
- package/fr/intlayer_with_nextjs_page_router.md +0 -1085
- package/fr/intlayer_with_react_native+expo.md +0 -535
- package/fr/intlayer_with_vite+preact.md +0 -1621
- package/fr/intlayer_with_vite+react.md +0 -1589
- package/fr/intlayer_with_vite+solid.md +0 -3
- package/fr/intlayer_with_vite+svelte.md +0 -3
- package/fr/intlayer_with_vite+vue.md +0 -947
- package/fr/introduction.md +0 -190
- package/fr/mcp_server.md +0 -152
- package/fr/packages/@intlayer/api/index.md +0 -31
- package/fr/packages/@intlayer/chokidar/index.md +0 -31
- package/fr/packages/@intlayer/cli/index.md +0 -21
- package/fr/packages/@intlayer/config/index.md +0 -116
- package/fr/packages/@intlayer/core/index.md +0 -25
- package/fr/packages/@intlayer/design-system/index.md +0 -21
- package/fr/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/fr/packages/@intlayer/editor/index.md +0 -21
- package/fr/packages/@intlayer/editor-react/index.md +0 -21
- package/fr/packages/@intlayer/webpack/index.md +0 -35
- package/fr/packages/angular-intlayer/index.md +0 -3
- package/fr/packages/express-intlayer/index.md +0 -238
- package/fr/packages/express-intlayer/t.md +0 -432
- package/fr/packages/intlayer/getConfiguration.md +0 -120
- package/fr/packages/intlayer/getEnumeration.md +0 -138
- package/fr/packages/intlayer/getHTMLTextDir.md +0 -97
- package/fr/packages/intlayer/getLocaleLang.md +0 -57
- package/fr/packages/intlayer/getLocaleName.md +0 -93
- package/fr/packages/intlayer/getLocalizedUrl.md +0 -221
- package/fr/packages/intlayer/getMultilingualUrls.md +0 -198
- package/fr/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/fr/packages/intlayer/getTranslation.md +0 -166
- package/fr/packages/intlayer/getTranslationContent.md +0 -166
- package/fr/packages/intlayer/index.md +0 -476
- package/fr/packages/intlayer-cli/index.md +0 -41
- package/fr/packages/intlayer-editor/index.md +0 -115
- package/fr/packages/lynx-intlayer/index.md +0 -58
- package/fr/packages/next-intlayer/index.md +0 -266
- package/fr/packages/next-intlayer/t.md +0 -325
- package/fr/packages/next-intlayer/useDictionary.md +0 -242
- package/fr/packages/next-intlayer/useIntlayer.md +0 -237
- package/fr/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/fr/packages/next-intlayer/useLocale.md +0 -105
- package/fr/packages/preact-intlayer/index.md +0 -3
- package/fr/packages/react-intlayer/index.md +0 -257
- package/fr/packages/react-intlayer/t.md +0 -277
- package/fr/packages/react-intlayer/useDictionary.md +0 -269
- package/fr/packages/react-intlayer/useIntlayer.md +0 -234
- package/fr/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/fr/packages/react-intlayer/useLocale.md +0 -184
- package/fr/packages/react-native-intlayer/index.md +0 -57
- package/fr/packages/react-scripts-intlayer/index.md +0 -57
- package/fr/packages/solid-intlayer/index.md +0 -3
- package/fr/packages/svelte-intlayer/index.md +0 -3
- package/fr/packages/vite-intlayer/index.md +0 -53
- package/fr/packages/vue-intlayer/index.md +0 -3
- package/fr/per_locale_file.md +0 -297
- package/fr/privacy_notice.md +0 -57
- package/fr/roadmap.md +0 -206
- package/fr/terms_of_service.md +0 -33
- package/fr/vs_code_extension.md +0 -139
- package/hi/CI_CD.md +0 -149
- package/hi/autoFill.md +0 -157
- package/hi/configuration.md +0 -509
- package/hi/dictionary/condition.md +0 -213
- package/hi/dictionary/content_extention_customization.md +0 -81
- package/hi/dictionary/enumeration.md +0 -221
- package/hi/dictionary/file.md +0 -209
- package/hi/dictionary/function_fetching.md +0 -188
- package/hi/dictionary/get_started.md +0 -490
- package/hi/dictionary/insertion.md +0 -167
- package/hi/dictionary/markdown.md +0 -344
- package/hi/dictionary/nesting.md +0 -249
- package/hi/dictionary/translation.md +0 -307
- package/hi/header.md +0 -7
- package/hi/how_works_intlayer.md +0 -217
- package/hi/index.md +0 -125
- package/hi/interest_of_intlayer.md +0 -132
- package/hi/intlayer_CMS.md +0 -334
- package/hi/intlayer_cli.md +0 -274
- package/hi/intlayer_visual_editor.md +0 -210
- package/hi/intlayer_with_angular.md +0 -3
- package/hi/intlayer_with_create_react_app.md +0 -1395
- package/hi/intlayer_with_express.md +0 -273
- package/hi/intlayer_with_lynx+react.md +0 -456
- package/hi/intlayer_with_nextjs_14.md +0 -1283
- package/hi/intlayer_with_nextjs_15.md +0 -1319
- package/hi/intlayer_with_nextjs_page_router.md +0 -1097
- package/hi/intlayer_with_react_native+expo.md +0 -554
- package/hi/intlayer_with_vite+preact.md +0 -1538
- package/hi/intlayer_with_vite+react.md +0 -1540
- package/hi/intlayer_with_vite+solid.md +0 -3
- package/hi/intlayer_with_vite+svelte.md +0 -3
- package/hi/intlayer_with_vite+vue.md +0 -840
- package/hi/introduction.md +0 -190
- package/hi/mcp_server.md +0 -150
- package/hi/packages/@intlayer/api/index.md +0 -31
- package/hi/packages/@intlayer/chokidar/index.md +0 -31
- package/hi/packages/@intlayer/cli/index.md +0 -21
- package/hi/packages/@intlayer/config/index.md +0 -116
- package/hi/packages/@intlayer/core/index.md +0 -25
- package/hi/packages/@intlayer/design-system/index.md +0 -21
- package/hi/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/hi/packages/@intlayer/editor/index.md +0 -21
- package/hi/packages/@intlayer/editor-react/index.md +0 -21
- package/hi/packages/@intlayer/webpack/index.md +0 -35
- package/hi/packages/angular-intlayer/index.md +0 -3
- package/hi/packages/express-intlayer/index.md +0 -232
- package/hi/packages/express-intlayer/t.md +0 -445
- package/hi/packages/intlayer/getConfiguration.md +0 -120
- package/hi/packages/intlayer/getEnumeration.md +0 -138
- package/hi/packages/intlayer/getHTMLTextDir.md +0 -97
- package/hi/packages/intlayer/getLocaleLang.md +0 -57
- package/hi/packages/intlayer/getLocaleName.md +0 -93
- package/hi/packages/intlayer/getLocalizedUrl.md +0 -221
- package/hi/packages/intlayer/getMultilingualUrls.md +0 -198
- package/hi/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/hi/packages/intlayer/getTranslation.md +0 -175
- package/hi/packages/intlayer/getTranslationContent.md +0 -175
- package/hi/packages/intlayer/index.md +0 -314
- package/hi/packages/intlayer-cli/index.md +0 -41
- package/hi/packages/intlayer-editor/index.md +0 -113
- package/hi/packages/lynx-intlayer/index.md +0 -58
- package/hi/packages/next-intlayer/index.md +0 -270
- package/hi/packages/next-intlayer/t.md +0 -337
- package/hi/packages/next-intlayer/useDictionary.md +0 -248
- package/hi/packages/next-intlayer/useIntlayer.md +0 -237
- package/hi/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/hi/packages/next-intlayer/useLocale.md +0 -105
- package/hi/packages/preact-intlayer/index.md +0 -3
- package/hi/packages/react-intlayer/index.md +0 -261
- package/hi/packages/react-intlayer/t.md +0 -283
- package/hi/packages/react-intlayer/useDictionary.md +0 -268
- package/hi/packages/react-intlayer/useIntlayer.md +0 -225
- package/hi/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/hi/packages/react-intlayer/useLocale.md +0 -184
- package/hi/packages/react-native-intlayer/index.md +0 -57
- package/hi/packages/react-scripts-intlayer/index.md +0 -57
- package/hi/packages/solid-intlayer/index.md +0 -3
- package/hi/packages/svelte-intlayer/index.md +0 -3
- package/hi/packages/vite-intlayer/index.md +0 -53
- package/hi/packages/vue-intlayer/index.md +0 -3
- package/hi/per_locale_file.md +0 -298
- package/hi/privacy_notice.md +0 -61
- package/hi/roadmap.md +0 -206
- package/hi/terms_of_service.md +0 -33
- package/hi/vs_code_extension.md +0 -139
- package/index.cjs +0 -1265
- package/index.d.ts +0 -100
- package/it/CI_CD.md +0 -149
- package/it/autoFill.md +0 -157
- package/it/configuration.md +0 -503
- package/it/dictionary/condition.md +0 -213
- package/it/dictionary/content_extention_customization.md +0 -81
- package/it/dictionary/enumeration.md +0 -221
- package/it/dictionary/file.md +0 -207
- package/it/dictionary/function_fetching.md +0 -190
- package/it/dictionary/get_started.md +0 -466
- package/it/dictionary/insertion.md +0 -161
- package/it/dictionary/markdown.md +0 -343
- package/it/dictionary/nesting.md +0 -249
- package/it/dictionary/translation.md +0 -287
- package/it/header.md +0 -7
- package/it/how_works_intlayer.md +0 -217
- package/it/index.md +0 -125
- package/it/interest_of_intlayer.md +0 -132
- package/it/intlayer_CMS.md +0 -334
- package/it/intlayer_cli.md +0 -274
- package/it/intlayer_visual_editor.md +0 -210
- package/it/intlayer_with_angular.md +0 -3
- package/it/intlayer_with_create_react_app.md +0 -413
- package/it/intlayer_with_express.md +0 -267
- package/it/intlayer_with_lynx+react.md +0 -482
- package/it/intlayer_with_nextjs_14.md +0 -1269
- package/it/intlayer_with_nextjs_15.md +0 -1319
- package/it/intlayer_with_nextjs_page_router.md +0 -1095
- package/it/intlayer_with_react_native+expo.md +0 -261
- package/it/intlayer_with_vite+preact.md +0 -1681
- package/it/intlayer_with_vite+react.md +0 -1580
- package/it/intlayer_with_vite+solid.md +0 -3
- package/it/intlayer_with_vite+svelte.md +0 -3
- package/it/intlayer_with_vite+vue.md +0 -989
- package/it/introduction.md +0 -192
- package/it/mcp_server.md +0 -152
- package/it/packages/@intlayer/api/index.md +0 -31
- package/it/packages/@intlayer/chokidar/index.md +0 -31
- package/it/packages/@intlayer/cli/index.md +0 -21
- package/it/packages/@intlayer/config/index.md +0 -116
- package/it/packages/@intlayer/core/index.md +0 -25
- package/it/packages/@intlayer/design-system/index.md +0 -21
- package/it/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/it/packages/@intlayer/editor/index.md +0 -21
- package/it/packages/@intlayer/editor-react/index.md +0 -21
- package/it/packages/@intlayer/webpack/index.md +0 -35
- package/it/packages/angular-intlayer/index.md +0 -3
- package/it/packages/express-intlayer/index.md +0 -229
- package/it/packages/express-intlayer/t.md +0 -432
- package/it/packages/intlayer/getConfiguration.md +0 -120
- package/it/packages/intlayer/getEnumeration.md +0 -138
- package/it/packages/intlayer/getHTMLTextDir.md +0 -97
- package/it/packages/intlayer/getLocaleLang.md +0 -57
- package/it/packages/intlayer/getLocaleName.md +0 -93
- package/it/packages/intlayer/getLocalizedUrl.md +0 -221
- package/it/packages/intlayer/getMultilingualUrls.md +0 -200
- package/it/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/it/packages/intlayer/getTranslation.md +0 -166
- package/it/packages/intlayer/getTranslationContent.md +0 -166
- package/it/packages/intlayer/index.md +0 -479
- package/it/packages/intlayer-cli/index.md +0 -41
- package/it/packages/intlayer-editor/index.md +0 -113
- package/it/packages/lynx-intlayer/index.md +0 -58
- package/it/packages/next-intlayer/index.md +0 -267
- package/it/packages/next-intlayer/t.md +0 -326
- package/it/packages/next-intlayer/useDictionary.md +0 -242
- package/it/packages/next-intlayer/useIntlayer.md +0 -237
- package/it/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/it/packages/next-intlayer/useLocale.md +0 -105
- package/it/packages/preact-intlayer/index.md +0 -3
- package/it/packages/react-intlayer/index.md +0 -260
- package/it/packages/react-intlayer/t.md +0 -277
- package/it/packages/react-intlayer/useDictionary.md +0 -260
- package/it/packages/react-intlayer/useIntlayer.md +0 -225
- package/it/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/it/packages/react-intlayer/useLocale.md +0 -184
- package/it/packages/react-native-intlayer/index.md +0 -57
- package/it/packages/react-scripts-intlayer/index.md +0 -57
- package/it/packages/solid-intlayer/index.md +0 -5
- package/it/packages/svelte-intlayer/index.md +0 -3
- package/it/packages/vite-intlayer/index.md +0 -53
- package/it/packages/vue-intlayer/index.md +0 -5
- package/it/per_locale_file.md +0 -298
- package/it/privacy_notice.md +0 -61
- package/it/roadmap.md +0 -206
- package/it/terms_of_service.md +0 -33
- package/it/vs_code_extension.md +0 -139
- package/ja/CI_CD.md +0 -149
- package/ja/autoFill.md +0 -157
- package/ja/configuration.md +0 -507
- package/ja/dictionary/condition.md +0 -213
- package/ja/dictionary/content_extention_customization.md +0 -81
- package/ja/dictionary/enumeration.md +0 -221
- package/ja/dictionary/file.md +0 -209
- package/ja/dictionary/function_fetching.md +0 -190
- package/ja/dictionary/get_started.md +0 -466
- package/ja/dictionary/insertion.md +0 -161
- package/ja/dictionary/markdown.md +0 -343
- package/ja/dictionary/nesting.md +0 -249
- package/ja/dictionary/translation.md +0 -287
- package/ja/header.md +0 -7
- package/ja/how_works_intlayer.md +0 -217
- package/ja/index.md +0 -125
- package/ja/interest_of_intlayer.md +0 -132
- package/ja/intlayer_CMS.md +0 -334
- package/ja/intlayer_cli.md +0 -274
- package/ja/intlayer_visual_editor.md +0 -213
- package/ja/intlayer_with_angular.md +0 -3
- package/ja/intlayer_with_create_react_app.md +0 -1186
- package/ja/intlayer_with_express.md +0 -267
- package/ja/intlayer_with_lynx+react.md +0 -482
- package/ja/intlayer_with_nextjs_14.md +0 -1256
- package/ja/intlayer_with_nextjs_15.md +0 -1308
- package/ja/intlayer_with_nextjs_page_router.md +0 -1085
- package/ja/intlayer_with_react_native+expo.md +0 -537
- package/ja/intlayer_with_vite+preact.md +0 -1601
- package/ja/intlayer_with_vite+react.md +0 -1555
- package/ja/intlayer_with_vite+solid.md +0 -3
- package/ja/intlayer_with_vite+svelte.md +0 -3
- package/ja/intlayer_with_vite+vue.md +0 -990
- package/ja/introduction.md +0 -186
- package/ja/mcp_server.md +0 -150
- package/ja/packages/@intlayer/api/index.md +0 -31
- package/ja/packages/@intlayer/chokidar/index.md +0 -31
- package/ja/packages/@intlayer/cli/index.md +0 -21
- package/ja/packages/@intlayer/config/index.md +0 -116
- package/ja/packages/@intlayer/core/index.md +0 -25
- package/ja/packages/@intlayer/design-system/index.md +0 -21
- package/ja/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ja/packages/@intlayer/editor/index.md +0 -21
- package/ja/packages/@intlayer/editor-react/index.md +0 -21
- package/ja/packages/@intlayer/webpack/index.md +0 -35
- package/ja/packages/angular-intlayer/index.md +0 -3
- package/ja/packages/express-intlayer/index.md +0 -229
- package/ja/packages/express-intlayer/t.md +0 -432
- package/ja/packages/intlayer/getConfiguration.md +0 -120
- package/ja/packages/intlayer/getEnumeration.md +0 -140
- package/ja/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ja/packages/intlayer/getLocaleLang.md +0 -59
- package/ja/packages/intlayer/getLocaleName.md +0 -93
- package/ja/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ja/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ja/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ja/packages/intlayer/getTranslation.md +0 -166
- package/ja/packages/intlayer/getTranslationContent.md +0 -166
- package/ja/packages/intlayer/index.md +0 -479
- package/ja/packages/intlayer-cli/index.md +0 -41
- package/ja/packages/intlayer-editor/index.md +0 -115
- package/ja/packages/lynx-intlayer/index.md +0 -58
- package/ja/packages/next-intlayer/index.md +0 -263
- package/ja/packages/next-intlayer/t.md +0 -326
- package/ja/packages/next-intlayer/useDictionary.md +0 -242
- package/ja/packages/next-intlayer/useIntlayer.md +0 -237
- package/ja/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ja/packages/next-intlayer/useLocale.md +0 -105
- package/ja/packages/preact-intlayer/index.md +0 -3
- package/ja/packages/react-intlayer/index.md +0 -257
- package/ja/packages/react-intlayer/t.md +0 -277
- package/ja/packages/react-intlayer/useDictionary.md +0 -260
- package/ja/packages/react-intlayer/useIntlayer.md +0 -225
- package/ja/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ja/packages/react-intlayer/useLocale.md +0 -184
- package/ja/packages/react-native-intlayer/index.md +0 -57
- package/ja/packages/react-scripts-intlayer/index.md +0 -57
- package/ja/packages/solid-intlayer/index.md +0 -3
- package/ja/packages/svelte-intlayer/index.md +0 -3
- package/ja/packages/vite-intlayer/index.md +0 -53
- package/ja/packages/vue-intlayer/index.md +0 -3
- package/ja/per_locale_file.md +0 -298
- package/ja/privacy_notice.md +0 -57
- package/ja/roadmap.md +0 -206
- package/ja/terms_of_service.md +0 -33
- package/ja/vs_code_extension.md +0 -139
- package/ko/CI_CD.md +0 -149
- package/ko/autoFill.md +0 -157
- package/ko/configuration.md +0 -507
- package/ko/dictionary/condition.md +0 -213
- package/ko/dictionary/content_extention_customization.md +0 -81
- package/ko/dictionary/enumeration.md +0 -221
- package/ko/dictionary/file.md +0 -207
- package/ko/dictionary/function_fetching.md +0 -190
- package/ko/dictionary/get_started.md +0 -466
- package/ko/dictionary/insertion.md +0 -167
- package/ko/dictionary/markdown.md +0 -343
- package/ko/dictionary/nesting.md +0 -249
- package/ko/dictionary/translation.md +0 -287
- package/ko/header.md +0 -7
- package/ko/how_works_intlayer.md +0 -216
- package/ko/index.md +0 -125
- package/ko/interest_of_intlayer.md +0 -132
- package/ko/intlayer_CMS.md +0 -334
- package/ko/intlayer_cli.md +0 -274
- package/ko/intlayer_visual_editor.md +0 -210
- package/ko/intlayer_with_angular.md +0 -3
- package/ko/intlayer_with_create_react_app.md +0 -1186
- package/ko/intlayer_with_express.md +0 -267
- package/ko/intlayer_with_lynx+react.md +0 -482
- package/ko/intlayer_with_nextjs_14.md +0 -1267
- package/ko/intlayer_with_nextjs_15.md +0 -1319
- package/ko/intlayer_with_nextjs_page_router.md +0 -1097
- package/ko/intlayer_with_react_native+expo.md +0 -537
- package/ko/intlayer_with_vite+preact.md +0 -1682
- package/ko/intlayer_with_vite+react.md +0 -1582
- package/ko/intlayer_with_vite+solid.md +0 -3
- package/ko/intlayer_with_vite+svelte.md +0 -3
- package/ko/intlayer_with_vite+vue.md +0 -988
- package/ko/introduction.md +0 -186
- package/ko/mcp_server.md +0 -150
- package/ko/packages/@intlayer/api/index.md +0 -31
- package/ko/packages/@intlayer/chokidar/index.md +0 -31
- package/ko/packages/@intlayer/cli/index.md +0 -21
- package/ko/packages/@intlayer/config/index.md +0 -116
- package/ko/packages/@intlayer/core/index.md +0 -25
- package/ko/packages/@intlayer/design-system/index.md +0 -21
- package/ko/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ko/packages/@intlayer/editor/index.md +0 -21
- package/ko/packages/@intlayer/editor-react/index.md +0 -21
- package/ko/packages/@intlayer/webpack/index.md +0 -35
- package/ko/packages/angular-intlayer/index.md +0 -5
- package/ko/packages/express-intlayer/index.md +0 -229
- package/ko/packages/express-intlayer/t.md +0 -432
- package/ko/packages/intlayer/getConfiguration.md +0 -120
- package/ko/packages/intlayer/getEnumeration.md +0 -138
- package/ko/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ko/packages/intlayer/getLocaleLang.md +0 -57
- package/ko/packages/intlayer/getLocaleName.md +0 -93
- package/ko/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ko/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ko/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ko/packages/intlayer/getTranslation.md +0 -166
- package/ko/packages/intlayer/getTranslationContent.md +0 -166
- package/ko/packages/intlayer/index.md +0 -480
- package/ko/packages/intlayer-cli/index.md +0 -41
- package/ko/packages/intlayer-editor/index.md +0 -113
- package/ko/packages/lynx-intlayer/index.md +0 -58
- package/ko/packages/next-intlayer/index.md +0 -267
- package/ko/packages/next-intlayer/t.md +0 -337
- package/ko/packages/next-intlayer/useDictionary.md +0 -242
- package/ko/packages/next-intlayer/useIntlayer.md +0 -237
- package/ko/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ko/packages/next-intlayer/useLocale.md +0 -105
- package/ko/packages/preact-intlayer/index.md +0 -3
- package/ko/packages/react-intlayer/index.md +0 -260
- package/ko/packages/react-intlayer/t.md +0 -277
- package/ko/packages/react-intlayer/useDictionary.md +0 -268
- package/ko/packages/react-intlayer/useIntlayer.md +0 -225
- package/ko/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ko/packages/react-intlayer/useLocale.md +0 -184
- package/ko/packages/react-native-intlayer/index.md +0 -57
- package/ko/packages/react-scripts-intlayer/index.md +0 -57
- package/ko/packages/solid-intlayer/index.md +0 -3
- package/ko/packages/svelte-intlayer/index.md +0 -3
- package/ko/packages/vite-intlayer/index.md +0 -53
- package/ko/packages/vue-intlayer/index.md +0 -3
- package/ko/per_locale_file.md +0 -300
- package/ko/privacy_notice.md +0 -61
- package/ko/roadmap.md +0 -206
- package/ko/terms_of_service.md +0 -33
- package/ko/vs_code_extension.md +0 -139
- package/pt/CI_CD.md +0 -149
- package/pt/autoFill.md +0 -157
- package/pt/configuration.md +0 -503
- package/pt/dictionary/condition.md +0 -213
- package/pt/dictionary/content_extention_customization.md +0 -81
- package/pt/dictionary/enumeration.md +0 -221
- package/pt/dictionary/file.md +0 -210
- package/pt/dictionary/function_fetching.md +0 -190
- package/pt/dictionary/get_started.md +0 -490
- package/pt/dictionary/insertion.md +0 -161
- package/pt/dictionary/markdown.md +0 -339
- package/pt/dictionary/nesting.md +0 -249
- package/pt/dictionary/translation.md +0 -322
- package/pt/header.md +0 -7
- package/pt/how_works_intlayer.md +0 -216
- package/pt/index.md +0 -125
- package/pt/interest_of_intlayer.md +0 -132
- package/pt/intlayer_CMS.md +0 -334
- package/pt/intlayer_cli.md +0 -274
- package/pt/intlayer_visual_editor.md +0 -210
- package/pt/intlayer_with_angular.md +0 -3
- package/pt/intlayer_with_create_react_app.md +0 -1204
- package/pt/intlayer_with_express.md +0 -270
- package/pt/intlayer_with_lynx+react.md +0 -467
- package/pt/intlayer_with_nextjs_14.md +0 -1269
- package/pt/intlayer_with_nextjs_15.md +0 -1319
- package/pt/intlayer_with_nextjs_page_router.md +0 -1109
- package/pt/intlayer_with_react_native+expo.md +0 -259
- package/pt/intlayer_with_vite+preact.md +0 -1663
- package/pt/intlayer_with_vite+react.md +0 -1621
- package/pt/intlayer_with_vite+solid.md +0 -3
- package/pt/intlayer_with_vite+svelte.md +0 -3
- package/pt/intlayer_with_vite+vue.md +0 -989
- package/pt/introduction.md +0 -193
- package/pt/mcp_server.md +0 -150
- package/pt/packages/@intlayer/api/index.md +0 -31
- package/pt/packages/@intlayer/chokidar/index.md +0 -31
- package/pt/packages/@intlayer/cli/index.md +0 -21
- package/pt/packages/@intlayer/config/index.md +0 -116
- package/pt/packages/@intlayer/core/index.md +0 -25
- package/pt/packages/@intlayer/design-system/index.md +0 -21
- package/pt/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/pt/packages/@intlayer/editor/index.md +0 -21
- package/pt/packages/@intlayer/editor-react/index.md +0 -21
- package/pt/packages/@intlayer/webpack/index.md +0 -35
- package/pt/packages/angular-intlayer/index.md +0 -3
- package/pt/packages/express-intlayer/index.md +0 -232
- package/pt/packages/express-intlayer/t.md +0 -267
- package/pt/packages/intlayer/getConfiguration.md +0 -120
- package/pt/packages/intlayer/getEnumeration.md +0 -138
- package/pt/packages/intlayer/getHTMLTextDir.md +0 -97
- package/pt/packages/intlayer/getLocaleLang.md +0 -57
- package/pt/packages/intlayer/getLocaleName.md +0 -93
- package/pt/packages/intlayer/getLocalizedUrl.md +0 -221
- package/pt/packages/intlayer/getMultilingualUrls.md +0 -198
- package/pt/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/pt/packages/intlayer/getTranslation.md +0 -175
- package/pt/packages/intlayer/getTranslationContent.md +0 -177
- package/pt/packages/intlayer/index.md +0 -484
- package/pt/packages/intlayer-cli/index.md +0 -41
- package/pt/packages/intlayer-editor/index.md +0 -113
- package/pt/packages/lynx-intlayer/index.md +0 -58
- package/pt/packages/next-intlayer/index.md +0 -270
- package/pt/packages/next-intlayer/t.md +0 -341
- package/pt/packages/next-intlayer/useDictionary.md +0 -248
- package/pt/packages/next-intlayer/useIntlayer.md +0 -237
- package/pt/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/pt/packages/next-intlayer/useLocale.md +0 -105
- package/pt/packages/preact-intlayer/index.md +0 -3
- package/pt/packages/react-intlayer/index.md +0 -261
- package/pt/packages/react-intlayer/t.md +0 -289
- package/pt/packages/react-intlayer/useDictionary.md +0 -268
- package/pt/packages/react-intlayer/useIntlayer.md +0 -225
- package/pt/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/pt/packages/react-intlayer/useLocale.md +0 -184
- package/pt/packages/react-native-intlayer/index.md +0 -57
- package/pt/packages/react-scripts-intlayer/index.md +0 -57
- package/pt/packages/solid-intlayer/index.md +0 -3
- package/pt/packages/svelte-intlayer/index.md +0 -3
- package/pt/packages/vite-intlayer/index.md +0 -53
- package/pt/packages/vue-intlayer/index.md +0 -3
- package/pt/per_locale_file.md +0 -298
- package/pt/privacy_notice.md +0 -61
- package/pt/roadmap.md +0 -206
- package/pt/terms_of_service.md +0 -33
- package/pt/vs_code_extension.md +0 -139
- package/ru/CI_CD.md +0 -149
- package/ru/autoFill.md +0 -157
- package/ru/configuration.md +0 -507
- package/ru/dictionary/condition.md +0 -213
- package/ru/dictionary/content_extention_customization.md +0 -81
- package/ru/dictionary/enumeration.md +0 -221
- package/ru/dictionary/file.md +0 -209
- package/ru/dictionary/function_fetching.md +0 -188
- package/ru/dictionary/get_started.md +0 -311
- package/ru/dictionary/insertion.md +0 -161
- package/ru/dictionary/markdown.md +0 -339
- package/ru/dictionary/nesting.md +0 -249
- package/ru/dictionary/translation.md +0 -322
- package/ru/environment/angular.md +0 -3
- package/ru/header.md +0 -7
- package/ru/how_works_intlayer.md +0 -217
- package/ru/index.md +0 -125
- package/ru/interest_of_intlayer.md +0 -132
- package/ru/intlayer_CMS.md +0 -334
- package/ru/intlayer_cli.md +0 -274
- package/ru/intlayer_visual_editor.md +0 -210
- package/ru/intlayer_with_angular.md +0 -3
- package/ru/intlayer_with_create_react_app.md +0 -1196
- package/ru/intlayer_with_express.md +0 -273
- package/ru/intlayer_with_lynx+react.md +0 -482
- package/ru/intlayer_with_nextjs_14.md +0 -1274
- package/ru/intlayer_with_nextjs_15.md +0 -1318
- package/ru/intlayer_with_nextjs_page_router.md +0 -1100
- package/ru/intlayer_with_react_native+expo.md +0 -537
- package/ru/intlayer_with_vite+preact.md +0 -1663
- package/ru/intlayer_with_vite+react.md +0 -1546
- package/ru/intlayer_with_vite+solid.md +0 -3
- package/ru/intlayer_with_vite+svelte.md +0 -3
- package/ru/intlayer_with_vite+vue.md +0 -987
- package/ru/introduction.md +0 -190
- package/ru/mcp_server.md +0 -152
- package/ru/packages/@intlayer/api/index.md +0 -31
- package/ru/packages/@intlayer/chokidar/index.md +0 -31
- package/ru/packages/@intlayer/cli/index.md +0 -23
- package/ru/packages/@intlayer/config/index.md +0 -116
- package/ru/packages/@intlayer/core/index.md +0 -25
- package/ru/packages/@intlayer/design-system/index.md +0 -21
- package/ru/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ru/packages/@intlayer/editor/index.md +0 -21
- package/ru/packages/@intlayer/editor-react/index.md +0 -21
- package/ru/packages/@intlayer/webpack/index.md +0 -35
- package/ru/packages/angular-intlayer/index.md +0 -3
- package/ru/packages/express-intlayer/index.md +0 -235
- package/ru/packages/express-intlayer/t.md +0 -445
- package/ru/packages/intlayer/getConfiguration.md +0 -120
- package/ru/packages/intlayer/getEnumeration.md +0 -140
- package/ru/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ru/packages/intlayer/getLocaleLang.md +0 -59
- package/ru/packages/intlayer/getLocaleName.md +0 -93
- package/ru/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ru/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ru/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ru/packages/intlayer/getTranslation.md +0 -177
- package/ru/packages/intlayer/getTranslationContent.md +0 -175
- package/ru/packages/intlayer/index.md +0 -275
- package/ru/packages/intlayer-cli/index.md +0 -41
- package/ru/packages/intlayer-editor/index.md +0 -115
- package/ru/packages/lynx-intlayer/index.md +0 -58
- package/ru/packages/next-intlayer/index.md +0 -267
- package/ru/packages/next-intlayer/t.md +0 -340
- package/ru/packages/next-intlayer/useDictionary.md +0 -248
- package/ru/packages/next-intlayer/useIntlayer.md +0 -237
- package/ru/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ru/packages/next-intlayer/useLocale.md +0 -105
- package/ru/packages/preact-intlayer/index.md +0 -3
- package/ru/packages/react-intlayer/index.md +0 -261
- package/ru/packages/react-intlayer/t.md +0 -289
- package/ru/packages/react-intlayer/useDictionary.md +0 -268
- package/ru/packages/react-intlayer/useIntlayer.md +0 -225
- package/ru/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ru/packages/react-intlayer/useLocale.md +0 -184
- package/ru/packages/react-native-intlayer/index.md +0 -57
- package/ru/packages/react-scripts-intlayer/index.md +0 -57
- package/ru/packages/solid-intlayer/index.md +0 -3
- package/ru/packages/svelte-intlayer/index.md +0 -3
- package/ru/packages/vite-intlayer/index.md +0 -53
- package/ru/packages/vue-intlayer/index.md +0 -3
- package/ru/per_locale_file.md +0 -298
- package/ru/privacy_notice.md +0 -61
- package/ru/roadmap.md +0 -206
- package/ru/terms_of_service.md +0 -33
- package/ru/vs_code_extension.md +0 -139
- package/zh/CI_CD.md +0 -149
- package/zh/autoFill.md +0 -157
- package/zh/configuration.md +0 -484
- package/zh/dictionary/condition.md +0 -213
- package/zh/dictionary/content_extention_customization.md +0 -81
- package/zh/dictionary/enumeration.md +0 -221
- package/zh/dictionary/file.md +0 -209
- package/zh/dictionary/function_fetching.md +0 -188
- package/zh/dictionary/get_started.md +0 -490
- package/zh/dictionary/insertion.md +0 -161
- package/zh/dictionary/markdown.md +0 -342
- package/zh/dictionary/nesting.md +0 -249
- package/zh/dictionary/translation.md +0 -287
- package/zh/header.md +0 -7
- package/zh/how_works_intlayer.md +0 -217
- package/zh/index.md +0 -125
- package/zh/interest_of_intlayer.md +0 -132
- package/zh/intlayer_CMS.md +0 -334
- package/zh/intlayer_cli.md +0 -274
- package/zh/intlayer_visual_editor.md +0 -210
- package/zh/intlayer_with_angular.md +0 -3
- package/zh/intlayer_with_create_react_app.md +0 -1196
- package/zh/intlayer_with_express.md +0 -267
- package/zh/intlayer_with_lynx+react.md +0 -484
- package/zh/intlayer_with_nextjs_14.md +0 -1286
- package/zh/intlayer_with_nextjs_15.md +0 -1322
- package/zh/intlayer_with_nextjs_page_router.md +0 -1097
- package/zh/intlayer_with_react_native+expo.md +0 -539
- package/zh/intlayer_with_vite+preact.md +0 -1681
- package/zh/intlayer_with_vite+react.md +0 -1577
- package/zh/intlayer_with_vite+solid.md +0 -3
- package/zh/intlayer_with_vite+svelte.md +0 -3
- package/zh/intlayer_with_vite+vue.md +0 -988
- package/zh/introduction.md +0 -186
- package/zh/mcp_server.md +0 -152
- package/zh/packages/@intlayer/api/index.md +0 -31
- package/zh/packages/@intlayer/chokidar/index.md +0 -31
- package/zh/packages/@intlayer/cli/index.md +0 -21
- package/zh/packages/@intlayer/config/index.md +0 -116
- package/zh/packages/@intlayer/core/index.md +0 -25
- package/zh/packages/@intlayer/design-system/index.md +0 -21
- package/zh/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/zh/packages/@intlayer/editor/index.md +0 -21
- package/zh/packages/@intlayer/editor-react/index.md +0 -21
- package/zh/packages/@intlayer/webpack/index.md +0 -35
- package/zh/packages/angular-intlayer/index.md +0 -3
- package/zh/packages/express-intlayer/index.md +0 -229
- package/zh/packages/express-intlayer/t.md +0 -432
- package/zh/packages/intlayer/getConfiguration.md +0 -120
- package/zh/packages/intlayer/getEnumeration.md +0 -140
- package/zh/packages/intlayer/getHTMLTextDir.md +0 -97
- package/zh/packages/intlayer/getLocaleLang.md +0 -57
- package/zh/packages/intlayer/getLocaleName.md +0 -93
- package/zh/packages/intlayer/getLocalizedUrl.md +0 -221
- package/zh/packages/intlayer/getMultilingualUrls.md +0 -198
- package/zh/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/zh/packages/intlayer/getTranslation.md +0 -166
- package/zh/packages/intlayer/getTranslationContent.md +0 -166
- package/zh/packages/intlayer/index.md +0 -360
- package/zh/packages/intlayer-cli/index.md +0 -41
- package/zh/packages/intlayer-editor/index.md +0 -113
- package/zh/packages/lynx-intlayer/index.md +0 -60
- package/zh/packages/next-intlayer/index.md +0 -267
- package/zh/packages/next-intlayer/t.md +0 -338
- package/zh/packages/next-intlayer/useDictionary.md +0 -242
- package/zh/packages/next-intlayer/useIntlayer.md +0 -237
- package/zh/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/zh/packages/next-intlayer/useLocale.md +0 -105
- package/zh/packages/preact-intlayer/index.md +0 -3
- package/zh/packages/react-intlayer/index.md +0 -257
- package/zh/packages/react-intlayer/t.md +0 -271
- package/zh/packages/react-intlayer/useDictionary.md +0 -260
- package/zh/packages/react-intlayer/useIntlayer.md +0 -225
- package/zh/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/zh/packages/react-intlayer/useLocale.md +0 -184
- package/zh/packages/react-native-intlayer/index.md +0 -57
- package/zh/packages/react-scripts-intlayer/index.md +0 -57
- package/zh/packages/solid-intlayer/index.md +0 -3
- package/zh/packages/svelte-intlayer/index.md +0 -3
- package/zh/packages/vite-intlayer/index.md +0 -53
- package/zh/packages/vue-intlayer/index.md +0 -3
- package/zh/per_locale_file.md +0 -298
- package/zh/privacy_notice.md +0 -61
- package/zh/roadmap.md +0 -206
- package/zh/terms_of_service.md +0 -33
- package/zh/vs_code_extension.md +0 -139
|
@@ -0,0 +1,1688 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-03-07
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Übersetzen Sie Ihre React Native und Expo Mobile App (i18n)
|
|
5
|
+
description: Entdecken Sie, wie Sie Ihre React Native und Expo Mobile App mehrsprachig gestalten. Folgen Sie der Dokumentation, um sie zu internationalisieren (i18n) und zu übersetzen.
|
|
6
|
+
keywords:
|
|
7
|
+
- Internationalisierung
|
|
8
|
+
- Dokumentation
|
|
9
|
+
- Intlayer
|
|
10
|
+
- Vite
|
|
11
|
+
- React
|
|
12
|
+
- React Native
|
|
13
|
+
- JavaScript
|
|
14
|
+
slugs:
|
|
15
|
+
- doc
|
|
16
|
+
- environment
|
|
17
|
+
- react-native-and-expo
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Erste Schritte zur Internationalisierung (i18n) mit Intlayer, Vite und React
|
|
21
|
+
|
|
22
|
+
Siehe [Application Template](https://github.com/aymericzip/intlayer-vite-react-template) auf GitHub.
|
|
23
|
+
|
|
24
|
+
## Was ist Intlayer?
|
|
25
|
+
|
|
26
|
+
**Intlayer** ist eine innovative, Open-Source-Internationalisierungsbibliothek (i18n), die entwickelt wurde, um die mehrsprachige Unterstützung in modernen Webanwendungen zu vereinfachen.
|
|
27
|
+
|
|
28
|
+
Mit Intlayer können Sie:
|
|
29
|
+
|
|
30
|
+
- **Übersetzungen einfach verwalten** mithilfe deklarativer Wörterbücher auf Komponentenebene.
|
|
31
|
+
- **Metadaten, Routen und Inhalte dynamisch lokalisieren**.
|
|
32
|
+
- **TypeScript-Unterstützung sicherstellen** durch automatisch generierte Typen, die die Autovervollständigung und Fehlererkennung verbessern.
|
|
33
|
+
- **Von erweiterten Funktionen profitieren**, wie dynamische Spracherkennung und Umschaltung.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Schritt-für-Schritt-Anleitung zur Einrichtung von Intlayer in einer Vite- und React-Anwendung
|
|
38
|
+
|
|
39
|
+
### Schritt 1: Abhängigkeiten installieren
|
|
40
|
+
|
|
41
|
+
Installieren Sie die notwendigen Pakete mit npm:
|
|
42
|
+
|
|
43
|
+
```bash packageManager="npm"
|
|
44
|
+
npm install intlayer react-intlayer
|
|
45
|
+
npm install --save-dev vite-intlayer
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash packageManager="pnpm"
|
|
49
|
+
pnpm add intlayer react-intlayer
|
|
50
|
+
pnpm add --save-dev vite-intlayer
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
```bash packageManager="yarn"
|
|
54
|
+
yarn add intlayer react-intlayer
|
|
55
|
+
yarn add --save-dev vite-intlayer
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- **intlayer**
|
|
59
|
+
|
|
60
|
+
Das Kernpaket, das Internationalisierungswerkzeuge für Konfigurationsmanagement, Übersetzung, [Inhaltsdeklaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/dictionary/get_started.md), Transpilation und [CLI-Befehle](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/intlayer_cli.md) bereitstellt.
|
|
61
|
+
|
|
62
|
+
- **react-intlayer**
|
|
63
|
+
Das Paket, das Intlayer in React-Anwendungen integriert. Es stellt Kontext-Provider und Hooks für die Internationalisierung in React bereit.
|
|
64
|
+
|
|
65
|
+
- **vite-intlayer**
|
|
66
|
+
Beinhaltet das Vite-Plugin zur Integration von Intlayer mit dem [Vite-Bundler](https://vite.dev/guide/why.html#why-bundle-for-production) sowie Middleware zur Erkennung der bevorzugten Sprache des Benutzers, Verwaltung von Cookies und Handhabung von URL-Weiterleitungen.
|
|
67
|
+
|
|
68
|
+
### Schritt 2: Konfiguration Ihres Projekts
|
|
69
|
+
|
|
70
|
+
Erstellen Sie eine Konfigurationsdatei, um die Sprachen Ihrer Anwendung zu konfigurieren:
|
|
71
|
+
|
|
72
|
+
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
73
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
74
|
+
|
|
75
|
+
const config: IntlayerConfig = {
|
|
76
|
+
internationalization: {
|
|
77
|
+
locales: [
|
|
78
|
+
Locales.ENGLISH,
|
|
79
|
+
Locales.FRENCH,
|
|
80
|
+
Locales.SPANISH,
|
|
81
|
+
// Ihre weiteren Sprachen
|
|
82
|
+
],
|
|
83
|
+
defaultLocale: Locales.ENGLISH,
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export default config;
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
```javascript fileName="intlayer.config.mjs" codeFormat="esm"
|
|
91
|
+
import { Locales } from "intlayer";
|
|
92
|
+
|
|
93
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
94
|
+
// Konfiguration der Internationalisierung
|
|
95
|
+
const config = {
|
|
96
|
+
internationalization: {
|
|
97
|
+
locales: [
|
|
98
|
+
Locales.ENGLISH,
|
|
99
|
+
Locales.FRENCH,
|
|
100
|
+
Locales.SPANISH,
|
|
101
|
+
// Ihre weiteren Sprachversionen
|
|
102
|
+
],
|
|
103
|
+
defaultLocale: Locales.ENGLISH,
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export default config;
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
|
|
111
|
+
const { Locales } = require("intlayer");
|
|
112
|
+
|
|
113
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
114
|
+
// Konfiguration der Internationalisierung
|
|
115
|
+
const config = {
|
|
116
|
+
internationalization: {
|
|
117
|
+
locales: [
|
|
118
|
+
Locales.ENGLISH,
|
|
119
|
+
Locales.FRENCH,
|
|
120
|
+
Locales.SPANISH,
|
|
121
|
+
// Ihre weiteren Sprachversionen
|
|
122
|
+
],
|
|
123
|
+
defaultLocale: Locales.ENGLISH,
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
module.exports = config;
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
> Durch diese Konfigurationsdatei können Sie lokalisierte URLs, Middleware-Weiterleitungen, Cookie-Namen, den Speicherort und die Erweiterung Ihrer Inhaltsdeklarationen einrichten, Intlayer-Logs in der Konsole deaktivieren und vieles mehr. Für eine vollständige Liste der verfügbaren Parameter lesen Sie bitte die [Konfigurationsdokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/configuration.md).
|
|
131
|
+
|
|
132
|
+
### Schritt 3: Integrieren Sie Intlayer in Ihre Vite-Konfiguration
|
|
133
|
+
|
|
134
|
+
Fügen Sie das Intlayer-Plugin in Ihre Konfiguration ein.
|
|
135
|
+
|
|
136
|
+
```typescript fileName="vite.config.ts" codeFormat="typescript"
|
|
137
|
+
import { defineConfig } from "vite";
|
|
138
|
+
import react from "@vitejs/plugin-react-swc";
|
|
139
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
140
|
+
|
|
141
|
+
// https://vitejs.dev/config/
|
|
142
|
+
export default defineConfig({
|
|
143
|
+
plugins: [react(), intlayerPlugin()],
|
|
144
|
+
});
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
```javascript fileName="vite.config.mjs" codeFormat="esm"
|
|
148
|
+
import { defineConfig } from "vite";
|
|
149
|
+
import react from "@vitejs/plugin-react-swc";
|
|
150
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
151
|
+
|
|
152
|
+
// https://vitejs.dev/config/
|
|
153
|
+
export default defineConfig({
|
|
154
|
+
plugins: [react(), intlayerPlugin()],
|
|
155
|
+
});
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
```javascript fileName="vite.config.cjs" codeFormat="commonjs"
|
|
159
|
+
const { defineConfig } = require("vite");
|
|
160
|
+
const react = require("@vitejs/plugin-react-swc");
|
|
161
|
+
const { intlayerPlugin } = require("vite-intlayer");
|
|
162
|
+
|
|
163
|
+
// https://vitejs.dev/config/
|
|
164
|
+
module.exports = defineConfig({
|
|
165
|
+
plugins: [react(), intlayerPlugin()],
|
|
166
|
+
});
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
> Das `intlayerPlugin()` Vite-Plugin wird verwendet, um Intlayer mit Vite zu integrieren. Es sorgt für den Aufbau von Inhaltsdeklarationsdateien und überwacht diese im Entwicklungsmodus. Es definiert Intlayer-Umgebungsvariablen innerhalb der Vite-Anwendung. Zusätzlich stellt es Aliase bereit, um die Leistung zu optimieren.
|
|
170
|
+
|
|
171
|
+
### Schritt 4: Deklarieren Sie Ihren Inhalt
|
|
172
|
+
|
|
173
|
+
Erstellen und verwalten Sie Ihre Inhaltsdeklarationen, um Übersetzungen zu speichern:
|
|
174
|
+
|
|
175
|
+
```tsx fileName="src/app.content.tsx" contentDeclarationFormat="typescript"
|
|
176
|
+
import { t, type Dictionary } from "intlayer";
|
|
177
|
+
import type { ReactNode } from "react";
|
|
178
|
+
|
|
179
|
+
const appContent = {
|
|
180
|
+
key: "app",
|
|
181
|
+
content: {
|
|
182
|
+
viteLogo: t({
|
|
183
|
+
en: "Vite logo",
|
|
184
|
+
fr: "Logo Vite",
|
|
185
|
+
es: "Logo Vite",
|
|
186
|
+
}),
|
|
187
|
+
reactLogo: t({
|
|
188
|
+
en: "React logo",
|
|
189
|
+
fr: "Logo React",
|
|
190
|
+
es: "Logo React",
|
|
191
|
+
}),
|
|
192
|
+
|
|
193
|
+
title: "Vite + React",
|
|
194
|
+
|
|
195
|
+
count: t({
|
|
196
|
+
en: "count is ",
|
|
197
|
+
fr: "le compte est ",
|
|
198
|
+
es: "el recuento es ",
|
|
199
|
+
}),
|
|
200
|
+
|
|
201
|
+
edit: t<ReactNode>({
|
|
202
|
+
en: (
|
|
203
|
+
<>
|
|
204
|
+
Bearbeiten Sie <code>src/App.tsx</code> und speichern Sie, um HMR zu
|
|
205
|
+
testen
|
|
206
|
+
</>
|
|
207
|
+
),
|
|
208
|
+
fr: (
|
|
209
|
+
<>
|
|
210
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
211
|
+
</>
|
|
212
|
+
),
|
|
213
|
+
es: (
|
|
214
|
+
<>
|
|
215
|
+
Edita <code>src/App.tsx</code> y guarda para probar HMR
|
|
216
|
+
</>
|
|
217
|
+
),
|
|
218
|
+
}),
|
|
219
|
+
|
|
220
|
+
readTheDocs: t({
|
|
221
|
+
en: "Klicken Sie auf die Vite- und React-Logos, um mehr zu erfahren",
|
|
222
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
223
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
224
|
+
}),
|
|
225
|
+
},
|
|
226
|
+
} satisfies Dictionary;
|
|
227
|
+
|
|
228
|
+
export default appContent;
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
```javascript fileName="src/app.content.mjs" contentDeclarationFormat="esm"
|
|
232
|
+
import { t } from "intlayer";
|
|
233
|
+
|
|
234
|
+
/** @type {import('intlayer').Dictionary} */
|
|
235
|
+
const appContent = {
|
|
236
|
+
key: "app",
|
|
237
|
+
content: {
|
|
238
|
+
viteLogo: t({
|
|
239
|
+
en: "Vite logo",
|
|
240
|
+
fr: "Logo Vite",
|
|
241
|
+
es: "Logo Vite",
|
|
242
|
+
}),
|
|
243
|
+
reactLogo: t({
|
|
244
|
+
en: "React logo",
|
|
245
|
+
fr: "Logo React",
|
|
246
|
+
es: "Logo React",
|
|
247
|
+
}),
|
|
248
|
+
|
|
249
|
+
title: "Vite + React",
|
|
250
|
+
|
|
251
|
+
count: t({
|
|
252
|
+
en: "count is ",
|
|
253
|
+
fr: "le compte est ",
|
|
254
|
+
es: "el recuento es ",
|
|
255
|
+
}),
|
|
256
|
+
|
|
257
|
+
edit:
|
|
258
|
+
t <
|
|
259
|
+
ReactNode >
|
|
260
|
+
{
|
|
261
|
+
// Vergessen Sie nicht, React zu importieren, wenn Sie einen React-Knoten in Ihrem Inhalt verwenden
|
|
262
|
+
en: (
|
|
263
|
+
<>
|
|
264
|
+
Edit <code>src/App.tsx</code> und speichern, um HMR zu testen
|
|
265
|
+
</>
|
|
266
|
+
),
|
|
267
|
+
fr: (
|
|
268
|
+
<>
|
|
269
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
270
|
+
</>
|
|
271
|
+
),
|
|
272
|
+
es: (
|
|
273
|
+
<>
|
|
274
|
+
Edita <code>src/App.tsx</code> y guarda para probar HMR
|
|
275
|
+
</>
|
|
276
|
+
),
|
|
277
|
+
},
|
|
278
|
+
|
|
279
|
+
readTheDocs: t({
|
|
280
|
+
en: "Klicken Sie auf die Logos von Vite und React, um mehr zu erfahren",
|
|
281
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
282
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
283
|
+
}),
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
export default appContent;
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
```javascript fileName="src/app.content.cjs" contentDeclarationFormat="commonjs"
|
|
291
|
+
const { t } = require("intlayer");
|
|
292
|
+
|
|
293
|
+
/** @type {import('intlayer').Dictionary} */
|
|
294
|
+
const appContent = {
|
|
295
|
+
key: "app",
|
|
296
|
+
content: {
|
|
297
|
+
viteLogo: t({
|
|
298
|
+
de: "Vite-Logo",
|
|
299
|
+
en: "Vite logo",
|
|
300
|
+
fr: "Logo Vite",
|
|
301
|
+
es: "Logo Vite",
|
|
302
|
+
}),
|
|
303
|
+
reactLogo: t({
|
|
304
|
+
de: "React-Logo",
|
|
305
|
+
en: "React logo",
|
|
306
|
+
fr: "Logo React",
|
|
307
|
+
es: "Logo React",
|
|
308
|
+
}),
|
|
309
|
+
|
|
310
|
+
title: "Vite + React",
|
|
311
|
+
|
|
312
|
+
count: t({
|
|
313
|
+
de: "Zähler ist ",
|
|
314
|
+
en: "count is ",
|
|
315
|
+
fr: "le compte est ",
|
|
316
|
+
es: "el recuento es ",
|
|
317
|
+
}),
|
|
318
|
+
|
|
319
|
+
edit:
|
|
320
|
+
t <
|
|
321
|
+
ReactNode >
|
|
322
|
+
{
|
|
323
|
+
// Vergessen Sie nicht, React zu importieren, wenn Sie einen React-Knoten in Ihrem Inhalt verwenden
|
|
324
|
+
de: (
|
|
325
|
+
<>
|
|
326
|
+
Bearbeiten Sie <code>src/App.tsx</code> und speichern Sie, um HMR zu
|
|
327
|
+
testen
|
|
328
|
+
</>
|
|
329
|
+
),
|
|
330
|
+
en: (
|
|
331
|
+
<>
|
|
332
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
333
|
+
</>
|
|
334
|
+
),
|
|
335
|
+
fr: (
|
|
336
|
+
<>
|
|
337
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
338
|
+
</>
|
|
339
|
+
),
|
|
340
|
+
es: (
|
|
341
|
+
<>
|
|
342
|
+
Bearbeite <code>src/App.tsx</code> und speichere, um HMR zu testen
|
|
343
|
+
</>
|
|
344
|
+
),
|
|
345
|
+
},
|
|
346
|
+
|
|
347
|
+
readTheDocs: t({
|
|
348
|
+
de: "Klicke auf die Vite- und React-Logos, um mehr zu erfahren",
|
|
349
|
+
en: "Click on the Vite and React logos to learn more",
|
|
350
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
351
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
352
|
+
}),
|
|
353
|
+
},
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
module.exports = appContent;
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
```json fileName="src/app.content.json" contentDeclarationFormat="json"
|
|
360
|
+
{
|
|
361
|
+
"$schema": "https://intlayer.org/schema.json",
|
|
362
|
+
"key": "app",
|
|
363
|
+
"content": {
|
|
364
|
+
"viteLogo": {
|
|
365
|
+
"nodeType": "translation",
|
|
366
|
+
"translation": {
|
|
367
|
+
"de": "Vite-Logo",
|
|
368
|
+
"en": "Vite logo",
|
|
369
|
+
"fr": "Logo Vite",
|
|
370
|
+
"es": "Logo Vite"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"reactLogo": {
|
|
374
|
+
"nodeType": "translation",
|
|
375
|
+
"translation": {
|
|
376
|
+
"en": "React logo",
|
|
377
|
+
"fr": "Logo React",
|
|
378
|
+
"es": "Logo React"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"title": {
|
|
382
|
+
"nodeType": "translation",
|
|
383
|
+
"translation": {
|
|
384
|
+
"en": "Vite + React",
|
|
385
|
+
"fr": "Vite + React",
|
|
386
|
+
"es": "Vite + React"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"count": {
|
|
390
|
+
"nodeType": "translation",
|
|
391
|
+
"translation": {
|
|
392
|
+
"en": "count is ",
|
|
393
|
+
"fr": "le compte est ",
|
|
394
|
+
"es": "el recuento es "
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"edit": {
|
|
398
|
+
"nodeType": "translation",
|
|
399
|
+
"translation": {
|
|
400
|
+
"en": "Edit src/App.tsx and save to test HMR",
|
|
401
|
+
"fr": "Éditez src/App.tsx et enregistrez pour tester HMR",
|
|
402
|
+
"es": "Edita src/App.tsx y guarda para probar HMR",
|
|
403
|
+
"de": "Bearbeite src/App.tsx und speichere, um HMR zu testen"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"readTheDocs": {
|
|
407
|
+
"nodeType": "translation",
|
|
408
|
+
"translation": {
|
|
409
|
+
"de": "Klicken Sie auf die Vite- und React-Logos, um mehr zu erfahren",
|
|
410
|
+
"en": "Click on the Vite and React logos to learn more",
|
|
411
|
+
"fr": "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
412
|
+
"es": "Haga clic en los logotipos de Vite y React para obtener más información"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
> Ihre Inhaltsdeklarationen können überall in Ihrer Anwendung definiert werden, sobald sie in das `contentDir`-Verzeichnis (standardmäßig `./src`) aufgenommen werden und die Dateiendung der Inhaltsdeklaration (standardmäßig `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`) erfüllen.
|
|
420
|
+
|
|
421
|
+
> Für weitere Details lesen Sie bitte die [Dokumentation zur Inhaltsdeklaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/dictionary/get_started.md).
|
|
422
|
+
|
|
423
|
+
> Wenn Ihre Inhaltsdatei TSX-Code enthält, sollten Sie in Ihrer Inhaltsdatei `import React from "react";` importieren.
|
|
424
|
+
|
|
425
|
+
### Schritt 5: Verwenden Sie Intlayer in Ihrem Code
|
|
426
|
+
|
|
427
|
+
Greifen Sie in Ihrer gesamten Anwendung auf Ihre Inhaltswörterbücher zu:
|
|
428
|
+
|
|
429
|
+
```tsx {5,9} fileName="src/App.tsx" codeFormat="typescript"
|
|
430
|
+
import { useState, type FC } from "react";
|
|
431
|
+
import reactLogo from "./assets/react.svg";
|
|
432
|
+
import viteLogo from "/vite.svg";
|
|
433
|
+
import "./App.css";
|
|
434
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
435
|
+
|
|
436
|
+
const AppContent: FC = () => {
|
|
437
|
+
const [count, setCount] = useState(0);
|
|
438
|
+
const content = useIntlayer("app");
|
|
439
|
+
|
|
440
|
+
return (
|
|
441
|
+
<>
|
|
442
|
+
<div>
|
|
443
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
444
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
445
|
+
</a>
|
|
446
|
+
<a href="https://react.dev" target="_blank">
|
|
447
|
+
<img
|
|
448
|
+
src={reactLogo}
|
|
449
|
+
className="logo react"
|
|
450
|
+
alt={content.reactLogo.value}
|
|
451
|
+
/>
|
|
452
|
+
</a>
|
|
453
|
+
</div>
|
|
454
|
+
<h1>{content.title}</h1>
|
|
455
|
+
<div className="card">
|
|
456
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
457
|
+
{content.count}
|
|
458
|
+
{count}
|
|
459
|
+
</button>
|
|
460
|
+
<p>{content.edit}</p>
|
|
461
|
+
</div>
|
|
462
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
463
|
+
</>
|
|
464
|
+
);
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
const App: FC = () => (
|
|
468
|
+
<IntlayerProvider>
|
|
469
|
+
<AppContent />
|
|
470
|
+
</IntlayerProvider>
|
|
471
|
+
);
|
|
472
|
+
|
|
473
|
+
export default App;
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
```tsx {5,9} fileName="src/App.msx" codeFormat="esm"
|
|
477
|
+
import { useState } from "react";
|
|
478
|
+
import reactLogo from "./assets/react.svg";
|
|
479
|
+
import viteLogo from "/vite.svg";
|
|
480
|
+
import "./App.css";
|
|
481
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
482
|
+
|
|
483
|
+
const AppContent = () => {
|
|
484
|
+
const [count, setCount] = useState(0);
|
|
485
|
+
const content = useIntlayer("app");
|
|
486
|
+
|
|
487
|
+
return (
|
|
488
|
+
<>
|
|
489
|
+
<div>
|
|
490
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
491
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
492
|
+
</a>
|
|
493
|
+
<a href="https://react.dev" target="_blank">
|
|
494
|
+
<img
|
|
495
|
+
src={reactLogo}
|
|
496
|
+
className="logo react"
|
|
497
|
+
alt={content.reactLogo.value}
|
|
498
|
+
/>
|
|
499
|
+
</a>
|
|
500
|
+
</div>
|
|
501
|
+
<h1>{content.title}</h1>
|
|
502
|
+
<div className="card">
|
|
503
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
504
|
+
{content.count}
|
|
505
|
+
{count}
|
|
506
|
+
</button>
|
|
507
|
+
<p>{content.edit}</p>
|
|
508
|
+
</div>
|
|
509
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
510
|
+
</>
|
|
511
|
+
);
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
const App = () => (
|
|
515
|
+
<IntlayerProvider>
|
|
516
|
+
<AppContent />
|
|
517
|
+
</IntlayerProvider>
|
|
518
|
+
);
|
|
519
|
+
|
|
520
|
+
export default App;
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
```tsx {5,9} fileName="src/App.csx" codeFormat="commonjs"
|
|
524
|
+
const { useState } = require("react");
|
|
525
|
+
const reactLogo = require("./assets/react.svg");
|
|
526
|
+
const viteLogo = require("/vite.svg");
|
|
527
|
+
require("./App.css");
|
|
528
|
+
const { IntlayerProvider, useIntlayer } = require("react-intlayer");
|
|
529
|
+
|
|
530
|
+
const AppContent = () => {
|
|
531
|
+
const [count, setCount] = useState(0);
|
|
532
|
+
const content = useIntlayer("app");
|
|
533
|
+
|
|
534
|
+
return (
|
|
535
|
+
<>
|
|
536
|
+
<div>
|
|
537
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
538
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
539
|
+
</a>
|
|
540
|
+
<a href="https://react.dev" target="_blank">
|
|
541
|
+
<img
|
|
542
|
+
src={reactLogo}
|
|
543
|
+
className="logo react"
|
|
544
|
+
alt={content.reactLogo.value}
|
|
545
|
+
/>
|
|
546
|
+
</a>
|
|
547
|
+
</div>
|
|
548
|
+
<h1>{content.title}</h1>
|
|
549
|
+
<div className="card">
|
|
550
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
551
|
+
{content.count}
|
|
552
|
+
{count}
|
|
553
|
+
</button>
|
|
554
|
+
<p>{content.edit}</p>
|
|
555
|
+
</div>
|
|
556
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
557
|
+
</>
|
|
558
|
+
);
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
const App = () => (
|
|
562
|
+
<IntlayerProvider>
|
|
563
|
+
<AppContent />
|
|
564
|
+
</IntlayerProvider>
|
|
565
|
+
);
|
|
566
|
+
|
|
567
|
+
module.exports = App;
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
571
|
+
|
|
572
|
+
> ```jsx
|
|
573
|
+
> <img src={content.image.src.value} alt={content.image.value} />
|
|
574
|
+
> ```
|
|
575
|
+
|
|
576
|
+
> Um mehr über den `useIntlayer` Hook zu erfahren, siehe die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/react-intlayer/useIntlayer.md).
|
|
577
|
+
|
|
578
|
+
### (Optional) Schritt 6: Ändern Sie die Sprache Ihres Inhalts
|
|
579
|
+
|
|
580
|
+
Um die Sprache Ihres Inhalts zu ändern, können Sie die Funktion `setLocale` verwenden, die vom `useLocale` Hook bereitgestellt wird. Diese Funktion ermöglicht es Ihnen, die Locale der Anwendung festzulegen und den Inhalt entsprechend zu aktualisieren.
|
|
581
|
+
|
|
582
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
583
|
+
import type { FC } from "react";
|
|
584
|
+
import { Locales } from "intlayer";
|
|
585
|
+
import { useLocale } from "react-intlayer";
|
|
586
|
+
|
|
587
|
+
const LocaleSwitcher: FC = () => {
|
|
588
|
+
const { setLocale } = useLocale();
|
|
589
|
+
|
|
590
|
+
return (
|
|
591
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
592
|
+
Sprache auf Englisch ändern
|
|
593
|
+
</button>
|
|
594
|
+
);
|
|
595
|
+
};
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
```jsx fileName="src/components/LocaleSwitcher.msx" codeFormat="esm"
|
|
599
|
+
import { Locales } from "intlayer";
|
|
600
|
+
import { useLocale } from "react-intlayer";
|
|
601
|
+
|
|
602
|
+
const LocaleSwitcher = () => {
|
|
603
|
+
const { setLocale } = useLocale();
|
|
604
|
+
|
|
605
|
+
return (
|
|
606
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
607
|
+
Sprache auf Englisch ändern
|
|
608
|
+
</button>
|
|
609
|
+
);
|
|
610
|
+
};
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
```jsx fileName="src/components/LocaleSwitcher.csx" codeFormat="commonjs"
|
|
614
|
+
const { Locales } = require("intlayer");
|
|
615
|
+
const { useLocale } = require("react-intlayer");
|
|
616
|
+
|
|
617
|
+
const LocaleSwitcher = () => {
|
|
618
|
+
const { setLocale } = useLocale();
|
|
619
|
+
|
|
620
|
+
return (
|
|
621
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
622
|
+
Sprache auf Englisch ändern
|
|
623
|
+
</button>
|
|
624
|
+
);
|
|
625
|
+
};
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
> Um mehr über den `useLocale` Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/react-intlayer/useLocale.md).
|
|
629
|
+
|
|
630
|
+
### (Optional) Schritt 7: Fügen Sie Ihrer Anwendung lokalisierte Routen hinzu
|
|
631
|
+
|
|
632
|
+
Der Zweck dieses Schrittes ist es, für jede Sprache eindeutige Routen zu erstellen. Dies ist nützlich für SEO und SEO-freundliche URLs.
|
|
633
|
+
Beispiel:
|
|
634
|
+
|
|
635
|
+
```plaintext
|
|
636
|
+
- https://example.com/about
|
|
637
|
+
- https://example.com/es/about
|
|
638
|
+
- https://example.com/fr/about
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
> Standardmäßig sind die Routen für die Standardsprache nicht mit einem Präfix versehen. Wenn Sie die Standardsprache mit einem Präfix versehen möchten, können Sie in Ihrer Konfiguration die Option `middleware.prefixDefault` auf `true` setzen. Weitere Informationen finden Sie in der [Konfigurationsdokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/configuration.md).
|
|
642
|
+
|
|
643
|
+
Um lokalisierte Routen zu Ihrer Anwendung hinzuzufügen, können Sie eine `LocaleRouter`-Komponente erstellen, die die Routen Ihrer Anwendung umschließt und die sprachabhängige Navigation verwaltet. Hier ist ein Beispiel mit [React Router](https://reactrouter.com/home):
|
|
644
|
+
|
|
645
|
+
```tsx fileName="src/components/LocaleRouter.tsx" codeFormat="typescript"
|
|
646
|
+
// Importieren der notwendigen Abhängigkeiten und Funktionen
|
|
647
|
+
import { type Locales, configuration, getPathWithoutLocale } from "intlayer"; // Dienstprogramme und Typen von 'intlayer'
|
|
648
|
+
import type { FC, PropsWithChildren } from "react"; // React-Typen für funktionale Komponenten und Props
|
|
649
|
+
import { IntlayerProvider } from "react-intlayer"; // Provider für Internationalisierungskontext
|
|
650
|
+
import {
|
|
651
|
+
BrowserRouter,
|
|
652
|
+
Routes,
|
|
653
|
+
Route,
|
|
654
|
+
Navigate,
|
|
655
|
+
useLocation,
|
|
656
|
+
} from "react-router-dom"; // Router-Komponenten zur Verwaltung der Navigation
|
|
657
|
+
|
|
658
|
+
// Destrukturierung der Konfiguration von Intlayer
|
|
659
|
+
const { internationalization, middleware } = configuration;
|
|
660
|
+
const { locales, defaultLocale } = internationalization;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Eine Komponente, die die Lokalisierung verwaltet und Kinder mit dem entsprechenden Lokalisierungskontext umschließt.
|
|
664
|
+
* Sie verwaltet die Erkennung und Validierung der Sprache basierend auf der URL.
|
|
665
|
+
*/
|
|
666
|
+
const AppLocalized: FC<PropsWithChildren<{ locale: Locales }>> = ({
|
|
667
|
+
children,
|
|
668
|
+
locale,
|
|
669
|
+
}) => {
|
|
670
|
+
const { pathname, search } = useLocation(); // Aktuellen URL-Pfad abrufen
|
|
671
|
+
|
|
672
|
+
// Bestimme die aktuelle Locale, standardmäßig auf die Standardlocale zurückgreifen, falls nicht angegeben
|
|
673
|
+
const currentLocale = locale ?? defaultLocale;
|
|
674
|
+
|
|
675
|
+
// Entferne das Locale-Präfix aus dem Pfad, um einen Basis-Pfad zu erstellen
|
|
676
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
677
|
+
pathname // Aktueller URL-Pfad
|
|
678
|
+
);
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Wenn middleware.prefixDefault true ist, sollte die Standardlocale immer mit einem Präfix versehen sein.
|
|
682
|
+
*/
|
|
683
|
+
if (middleware.prefixDefault) {
|
|
684
|
+
// Locale validieren
|
|
685
|
+
if (!locale || !locales.includes(locale)) {
|
|
686
|
+
// Weiterleitung zur Standardlocale mit aktualisiertem Pfad
|
|
687
|
+
return (
|
|
688
|
+
<Navigate
|
|
689
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
690
|
+
replace // Ersetzt den aktuellen Eintrag im Verlauf durch den neuen
|
|
691
|
+
/>
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
// Umschließt die Kinder mit dem IntlayerProvider und setzt die aktuelle Locale
|
|
696
|
+
return (
|
|
697
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
698
|
+
);
|
|
699
|
+
} else {
|
|
700
|
+
/**
|
|
701
|
+
* Wenn middleware.prefixDefault false ist, wird die Standard-Locale nicht vorangestellt.
|
|
702
|
+
* Stelle sicher, dass die aktuelle Locale gültig ist und nicht die Standard-Locale ist.
|
|
703
|
+
*/
|
|
704
|
+
if (
|
|
705
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
706
|
+
!locales
|
|
707
|
+
.filter(
|
|
708
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Schließt die Standard-Locale aus
|
|
709
|
+
)
|
|
710
|
+
.includes(currentLocale) // Überprüfen, ob die aktuelle Locale in der Liste der gültigen Locales enthalten ist
|
|
711
|
+
) {
|
|
712
|
+
// Weiterleitung zum Pfad ohne Locale-Präfix
|
|
713
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
// Kinder mit dem IntlayerProvider umschließen und die aktuelle Locale setzen
|
|
717
|
+
return (
|
|
718
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Ein Router-Komponent, der locale-spezifische Routen einrichtet.
|
|
725
|
+
* Er verwendet React Router, um die Navigation zu verwalten und lokalisierte Komponenten zu rendern.
|
|
726
|
+
*/
|
|
727
|
+
export const LocaleRouter: FC<PropsWithChildren> = ({ children }) => (
|
|
728
|
+
<BrowserRouter>
|
|
729
|
+
<Routes>
|
|
730
|
+
{locales
|
|
731
|
+
.filter(
|
|
732
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
733
|
+
)
|
|
734
|
+
.map((locale) => (
|
|
735
|
+
<Route
|
|
736
|
+
// Routenmuster, um die Locale zu erfassen (z.B. /en/, /fr/) und alle nachfolgenden Pfade zu erfassen
|
|
737
|
+
path={`/${locale}/*`}
|
|
738
|
+
key={locale}
|
|
739
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Umschließt die Kinder mit der Lokalisierungsverwaltung
|
|
740
|
+
/>
|
|
741
|
+
))}
|
|
742
|
+
|
|
743
|
+
{
|
|
744
|
+
// Wenn das Präfix für die Standard-Locale deaktiviert ist, rendere die Kinder direkt im Stammverzeichnis
|
|
745
|
+
!middleware.prefixDefault && (
|
|
746
|
+
<Route
|
|
747
|
+
path="*"
|
|
748
|
+
element={
|
|
749
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
750
|
+
} // Umschließt die Kinder mit der Lokalisierungsverwaltung
|
|
751
|
+
/>
|
|
752
|
+
)
|
|
753
|
+
}
|
|
754
|
+
</Routes>
|
|
755
|
+
</BrowserRouter>
|
|
756
|
+
);
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
```jsx fileName="src/components/LocaleRouter.mjx" codeFormat="esm"
|
|
760
|
+
// Importieren der notwendigen Abhängigkeiten und Funktionen
|
|
761
|
+
import { configuration, getPathWithoutLocale } from "intlayer"; // Dienstprogramme und Typen von 'intlayer'
|
|
762
|
+
// Dienstprogramme und Typen von 'intlayer'
|
|
763
|
+
import { IntlayerProvider } from "react-intlayer"; // Provider für den Internationalisierungskontext
|
|
764
|
+
import {
|
|
765
|
+
BrowserRouter,
|
|
766
|
+
Routes,
|
|
767
|
+
Route,
|
|
768
|
+
Navigate,
|
|
769
|
+
useLocation,
|
|
770
|
+
} from "react-router-dom"; // Router-Komponenten zur Verwaltung der Navigation
|
|
771
|
+
|
|
772
|
+
// Destrukturierung der Konfiguration von Intlayer
|
|
773
|
+
const { internationalization, middleware } = configuration;
|
|
774
|
+
const { locales, defaultLocale } = internationalization;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Eine Komponente, die die Lokalisierung verwaltet und die Kinder mit dem entsprechenden Locale-Kontext umschließt.
|
|
778
|
+
/**
|
|
779
|
+
* Es verwaltet die lokalisierungsbasierte Erkennung und Validierung der URL.
|
|
780
|
+
*/
|
|
781
|
+
const AppLocalized = ({ children, locale }) => {
|
|
782
|
+
const { pathname, search } = useLocation(); // Holt den aktuellen URL-Pfad
|
|
783
|
+
|
|
784
|
+
// Bestimmt die aktuelle Locale, standardmäßig die Default-Locale, falls nicht angegeben
|
|
785
|
+
const currentLocale = locale ?? defaultLocale;
|
|
786
|
+
|
|
787
|
+
// Entfernt das Locale-Präfix aus dem Pfad, um einen Basis-Pfad zu erstellen
|
|
788
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
789
|
+
pathname // Aktueller URL-Pfad
|
|
790
|
+
);
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Wenn middleware.prefixDefault true ist, sollte die Standard-Locale immer vorangestellt werden.
|
|
794
|
+
*/
|
|
795
|
+
if (middleware.prefixDefault) {
|
|
796
|
+
// Validiert die Locale
|
|
797
|
+
if (!locale || !locales.includes(locale)) {
|
|
798
|
+
// Weiterleitung zur Standard-Locale mit dem aktualisierten Pfad
|
|
799
|
+
return (
|
|
800
|
+
<Navigate
|
|
801
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
802
|
+
replace // Ersetzt den aktuellen Eintrag im Verlauf durch den neuen
|
|
803
|
+
/>
|
|
804
|
+
);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
// Umschließt die Kinder mit dem IntlayerProvider und setzt die aktuelle Locale
|
|
808
|
+
return (
|
|
809
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
810
|
+
);
|
|
811
|
+
} else {
|
|
812
|
+
/**
|
|
813
|
+
* Wenn middleware.prefixDefault false ist, wird die Standard-Locale nicht vorangestellt.
|
|
814
|
+
* Stelle sicher, dass die aktuelle Locale gültig ist und nicht die Standard-Locale ist.
|
|
815
|
+
*/
|
|
816
|
+
if (
|
|
817
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
818
|
+
!locales
|
|
819
|
+
.filter(
|
|
820
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Schließt die Standard-Locale aus
|
|
821
|
+
)
|
|
822
|
+
.includes(currentLocale) // Überprüfen, ob die aktuelle Locale in der Liste der gültigen Locales enthalten ist
|
|
823
|
+
) {
|
|
824
|
+
// Weiterleitung zum Pfad ohne Locale-Präfix
|
|
825
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
// Kinder mit dem IntlayerProvider umschließen und die aktuelle Locale setzen
|
|
829
|
+
return (
|
|
830
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
831
|
+
);
|
|
832
|
+
}
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Eine Router-Komponente, die locale-spezifische Routen einrichtet.
|
|
837
|
+
* Sie verwendet React Router, um die Navigation zu verwalten und lokalisierte Komponenten zu rendern.
|
|
838
|
+
*/
|
|
839
|
+
export const LocaleRouter = ({ children }) => (
|
|
840
|
+
<BrowserRouter>
|
|
841
|
+
<Routes>
|
|
842
|
+
{locales
|
|
843
|
+
.filter(
|
|
844
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
845
|
+
)
|
|
846
|
+
.map((locale) => (
|
|
847
|
+
<Route
|
|
848
|
+
// Routenmuster, um die Locale zu erfassen (z.B. /en/, /fr/) und alle nachfolgenden Pfade zu erfassen
|
|
849
|
+
path={`/${locale}/*`}
|
|
850
|
+
key={locale}
|
|
851
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Umschließt Kinder mit Locale-Verwaltung
|
|
852
|
+
/>
|
|
853
|
+
))}
|
|
854
|
+
|
|
855
|
+
{
|
|
856
|
+
// Wenn das Präfix für die Standard-Locale deaktiviert ist, rendere die Kinder direkt im Stammverzeichnis
|
|
857
|
+
!middleware.prefixDefault && (
|
|
858
|
+
<Route
|
|
859
|
+
path="*"
|
|
860
|
+
element={
|
|
861
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
862
|
+
} // Umschließt Kinder mit Locale-Verwaltung
|
|
863
|
+
/>
|
|
864
|
+
)
|
|
865
|
+
}
|
|
866
|
+
</Routes>
|
|
867
|
+
</BrowserRouter>
|
|
868
|
+
);
|
|
869
|
+
```
|
|
870
|
+
|
|
871
|
+
```jsx fileName="src/components/LocaleRouter.cjx" codeFormat="commonjs"
|
|
872
|
+
// Importieren der notwendigen Abhängigkeiten und Funktionen
|
|
873
|
+
const { configuration, getPathWithoutLocale } = require("intlayer"); // Dienstprogramme und Typen von 'intlayer'
|
|
874
|
+
const { IntlayerProvider, useLocale } = require("react-intlayer"); // Provider für den Internationalisierungskontext
|
|
875
|
+
const {
|
|
876
|
+
BrowserRouter,
|
|
877
|
+
Routes,
|
|
878
|
+
Route,
|
|
879
|
+
Navigate,
|
|
880
|
+
useLocation,
|
|
881
|
+
} = require("react-router-dom"); // Router-Komponenten zur Verwaltung der Navigation
|
|
882
|
+
|
|
883
|
+
// Destrukturierung der Konfiguration von Intlayer
|
|
884
|
+
const { internationalization, middleware } = configuration;
|
|
885
|
+
const { locales, defaultLocale } = internationalization;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Eine Komponente, die die Lokalisierung verwaltet und die Kinder mit dem entsprechenden Lokalisierungskontext umschließt.
|
|
889
|
+
* Sie verwaltet die URL-basierte Lokalisierungserkennung und -validierung.
|
|
890
|
+
*/
|
|
891
|
+
const AppLocalized = ({ children, locale }) => {
|
|
892
|
+
const { pathname, search } = useLocation(); // Hole den aktuellen URL-Pfad
|
|
893
|
+
|
|
894
|
+
// Bestimme die aktuelle Locale, standardmäßig die Default-Locale verwenden, falls nicht angegeben
|
|
895
|
+
const currentLocale = locale ?? defaultLocale;
|
|
896
|
+
|
|
897
|
+
// Entferne das Locale-Präfix vom Pfad, um einen Basis-Pfad zu erstellen
|
|
898
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
899
|
+
pathname // Aktueller URL-Pfad
|
|
900
|
+
);
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Wenn middleware.prefixDefault true ist, sollte die Default-Locale immer vorangestellt werden.
|
|
904
|
+
*/
|
|
905
|
+
if (middleware.prefixDefault) {
|
|
906
|
+
// Validierung der Locale
|
|
907
|
+
if (!locale || !locales.includes(locale)) {
|
|
908
|
+
// Weiterleitung zur Default-Locale mit aktualisiertem Pfad
|
|
909
|
+
return (
|
|
910
|
+
<Navigate
|
|
911
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
912
|
+
replace // Ersetzt den aktuellen Eintrag im Verlauf durch den neuen
|
|
913
|
+
/>
|
|
914
|
+
);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// Umschließt die Kinder mit dem IntlayerProvider und setzt die aktuelle Locale
|
|
918
|
+
return (
|
|
919
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
920
|
+
);
|
|
921
|
+
} else {
|
|
922
|
+
/**
|
|
923
|
+
* Wenn middleware.prefixDefault false ist, wird die Standard-Locale nicht vorangestellt.
|
|
924
|
+
* Stelle sicher, dass die aktuelle Locale gültig ist und nicht die Standard-Locale.
|
|
925
|
+
*/
|
|
926
|
+
if (
|
|
927
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
928
|
+
!locales
|
|
929
|
+
.filter(
|
|
930
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Schließe die Standard-Locale aus
|
|
931
|
+
)
|
|
932
|
+
.includes(currentLocale) // Prüfe, ob die aktuelle Locale in der Liste der gültigen Locales ist
|
|
933
|
+
) {
|
|
934
|
+
// Weiterleitung zum Pfad ohne Sprachpräfix
|
|
935
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
// Kinder mit dem IntlayerProvider umschließen und die aktuelle Sprache setzen
|
|
939
|
+
return (
|
|
940
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
941
|
+
);
|
|
942
|
+
}
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Eine Router-Komponente, die sprachspezifische Routen einrichtet.
|
|
947
|
+
* Sie verwendet React Router, um die Navigation zu verwalten und lokalisierte Komponenten zu rendern.
|
|
948
|
+
*/
|
|
949
|
+
const LocaleRouter = ({ children }) => (
|
|
950
|
+
<BrowserRouter>
|
|
951
|
+
<Routes>
|
|
952
|
+
{locales
|
|
953
|
+
.filter(
|
|
954
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
955
|
+
)
|
|
956
|
+
.map((locale) => (
|
|
957
|
+
<Route
|
|
958
|
+
// Routenmuster, um die Sprache zu erfassen (z.B. /en/, /fr/) und alle nachfolgenden Pfade zu matchen
|
|
959
|
+
path={`/${locale}/*`}
|
|
960
|
+
key={locale}
|
|
961
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Umschließt Kinder mit der Verwaltung der Spracheinstellung
|
|
962
|
+
/>
|
|
963
|
+
))}
|
|
964
|
+
|
|
965
|
+
{
|
|
966
|
+
// Wenn das Präfix für die Standardsprache deaktiviert ist, rendere die Kinder direkt im Stammverzeichnis
|
|
967
|
+
!middleware.prefixDefault && (
|
|
968
|
+
<Route
|
|
969
|
+
path="*"
|
|
970
|
+
element={
|
|
971
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
972
|
+
} // Umschließt Kinder mit der Verwaltung der Spracheinstellung
|
|
973
|
+
/>
|
|
974
|
+
)
|
|
975
|
+
}
|
|
976
|
+
</Routes>
|
|
977
|
+
</BrowserRouter>
|
|
978
|
+
);
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
Dann können Sie die Komponente `LocaleRouter` in Ihrer Anwendung verwenden:
|
|
982
|
+
|
|
983
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
984
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
985
|
+
import type { FC } from "react";
|
|
986
|
+
|
|
987
|
+
// ... Ihre AppContent-Komponente
|
|
988
|
+
|
|
989
|
+
const App: FC = () => (
|
|
990
|
+
<LocaleRouter>
|
|
991
|
+
<AppContent />
|
|
992
|
+
</LocaleRouter>
|
|
993
|
+
);
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
```jsx fileName="src/App.mjx" codeFormat="esm"
|
|
997
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
998
|
+
|
|
999
|
+
// ... Ihre AppContent-Komponente
|
|
1000
|
+
|
|
1001
|
+
const App = () => (
|
|
1002
|
+
<LocaleRouter>
|
|
1003
|
+
<AppContent />
|
|
1004
|
+
</LocaleRouter>
|
|
1005
|
+
);
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
```jsx fileName="src/App.cjx" codeFormat="commonjs"
|
|
1009
|
+
const { LocaleRouter } = require("./components/LocaleRouter");
|
|
1010
|
+
|
|
1011
|
+
// ... Ihre AppContent-Komponente
|
|
1012
|
+
|
|
1013
|
+
const App = () => (
|
|
1014
|
+
<LocaleRouter>
|
|
1015
|
+
<AppContent />
|
|
1016
|
+
</LocaleRouter>
|
|
1017
|
+
);
|
|
1018
|
+
```
|
|
1019
|
+
|
|
1020
|
+
Parallel dazu können Sie auch das `intLayerMiddlewarePlugin` verwenden, um serverseitiges Routing in Ihre Anwendung zu integrieren. Dieses Plugin erkennt automatisch die aktuelle Locale basierend auf der URL und setzt das entsprechende Locale-Cookie. Wenn keine Locale angegeben ist, bestimmt das Plugin die am besten geeignete Locale basierend auf den Spracheinstellungen des Browsers des Benutzers. Wenn keine Locale erkannt wird, erfolgt eine Weiterleitung zur Standard-Locale.
|
|
1021
|
+
|
|
1022
|
+
```typescript {3,7} fileName="vite.config.ts" codeFormat="typescript"
|
|
1023
|
+
import { defineConfig } from "vite";
|
|
1024
|
+
import react from "@vitejs/plugin-react-swc";
|
|
1025
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1026
|
+
|
|
1027
|
+
// https://vitejs.dev/config/
|
|
1028
|
+
export default defineConfig({
|
|
1029
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1030
|
+
});
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
```javascript {3,7} fileName="vite.config.mjs" codeFormat="esm"
|
|
1034
|
+
import { defineConfig } from "vite";
|
|
1035
|
+
import react from "@vitejs/plugin-react-swc";
|
|
1036
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1037
|
+
|
|
1038
|
+
// https://vitejs.dev/config/
|
|
1039
|
+
export default defineConfig({
|
|
1040
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1041
|
+
});
|
|
1042
|
+
```
|
|
1043
|
+
|
|
1044
|
+
```javascript {3,7} fileName="vite.config.cjs" codeFormat="commonjs"
|
|
1045
|
+
const { defineConfig } = require("vite");
|
|
1046
|
+
const react = require("@vitejs/plugin-react-swc");
|
|
1047
|
+
const { intlayerPlugin, intLayerMiddlewarePlugin } = require("vite-intlayer");
|
|
1048
|
+
|
|
1049
|
+
// https://vitejs.dev/config/
|
|
1050
|
+
module.exports = defineConfig({
|
|
1051
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1052
|
+
});
|
|
1053
|
+
```
|
|
1054
|
+
|
|
1055
|
+
### (Optional) Schritt 8: URL ändern, wenn sich die Sprache ändert
|
|
1056
|
+
|
|
1057
|
+
Um die URL zu ändern, wenn sich die Sprache ändert, können Sie die `onLocaleChange`-Eigenschaft verwenden, die vom `useLocale`-Hook bereitgestellt wird. Parallel dazu können Sie die Hooks `useLocation` und `useNavigate` von `react-router-dom` verwenden, um den URL-Pfad zu aktualisieren.
|
|
1058
|
+
|
|
1059
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
1060
|
+
import { useLocation, useNavigate } from "react-router-dom";
|
|
1061
|
+
import {
|
|
1062
|
+
Locales,
|
|
1063
|
+
getHTMLTextDir,
|
|
1064
|
+
getLocaleName,
|
|
1065
|
+
getLocalizedUrl,
|
|
1066
|
+
} from "intlayer";
|
|
1067
|
+
import { useLocale } from "react-intlayer";
|
|
1068
|
+
import { type FC } from "react";
|
|
1069
|
+
|
|
1070
|
+
const LocaleSwitcher: FC = () => {
|
|
1071
|
+
const { pathname, search } = useLocation(); // Holt den aktuellen URL-Pfad. Beispiel: /fr/about?foo=bar
|
|
1072
|
+
const navigate = useNavigate();
|
|
1073
|
+
|
|
1074
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1075
|
+
onLocaleChange: (locale) => {
|
|
1076
|
+
// Erstellen Sie die URL mit der aktualisierten Locale
|
|
1077
|
+
// Beispiel: /es/about?foo=bar
|
|
1078
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1079
|
+
|
|
1080
|
+
// Aktualisieren Sie den URL-Pfad
|
|
1081
|
+
navigate(pathWithLocale);
|
|
1082
|
+
},
|
|
1083
|
+
});
|
|
1084
|
+
|
|
1085
|
+
return (
|
|
1086
|
+
<div>
|
|
1087
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1088
|
+
<div id="localePopover" popover="auto">
|
|
1089
|
+
{availableLocales.map((localeItem) => (
|
|
1090
|
+
<a
|
|
1091
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1092
|
+
hrefLang={localeItem}
|
|
1093
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1094
|
+
onClick={(e) => {
|
|
1095
|
+
e.preventDefault();
|
|
1096
|
+
setLocale(localeItem);
|
|
1097
|
+
}}
|
|
1098
|
+
key={localeItem}
|
|
1099
|
+
>
|
|
1100
|
+
<span>
|
|
1101
|
+
{/* Gebietsschema - z.B. FR */}
|
|
1102
|
+
{localeItem}
|
|
1103
|
+
</span>
|
|
1104
|
+
<span>
|
|
1105
|
+
{/* Sprache im eigenen Gebietsschema - z.B. Français */}
|
|
1106
|
+
{getLocaleName(localeItem, locale)}
|
|
1107
|
+
</span>
|
|
1108
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1109
|
+
{/* Sprache im aktuellen Gebietsschema - z.B. Francés mit aktuellem Gebietsschema auf Locales.SPANISH gesetzt */}
|
|
1110
|
+
{getLocaleName(localeItem)}
|
|
1111
|
+
</span>
|
|
1112
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1113
|
+
{/* Sprache auf Englisch - z.B. French */}
|
|
1114
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1115
|
+
</span>
|
|
1116
|
+
</a>
|
|
1117
|
+
))}
|
|
1118
|
+
</div>
|
|
1119
|
+
</div>
|
|
1120
|
+
);
|
|
1121
|
+
};
|
|
1122
|
+
```
|
|
1123
|
+
|
|
1124
|
+
```jsx fileName="src/components/LocaleSwitcher.msx" codeFormat="esm"
|
|
1125
|
+
import { useLocation, useNavigate } from "react-router-dom";
|
|
1126
|
+
import {
|
|
1127
|
+
Locales,
|
|
1128
|
+
getHTMLTextDir,
|
|
1129
|
+
getLocaleName,
|
|
1130
|
+
getLocalizedUrl,
|
|
1131
|
+
} from "intlayer";
|
|
1132
|
+
import { useLocale } from "react-intlayer";
|
|
1133
|
+
|
|
1134
|
+
const LocaleSwitcher = () => {
|
|
1135
|
+
const { pathname, search } = useLocation(); // Hole den aktuellen URL-Pfad. Beispiel: /fr/about?foo=bar
|
|
1136
|
+
const navigate = useNavigate();
|
|
1137
|
+
|
|
1138
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1139
|
+
onLocaleChange: (locale) => {
|
|
1140
|
+
// Erstelle die URL mit der aktualisierten Locale
|
|
1141
|
+
// Beispiel: /es/about?foo=bar
|
|
1142
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1143
|
+
|
|
1144
|
+
// Aktualisiere den URL-Pfad
|
|
1145
|
+
navigate(pathWithLocale);
|
|
1146
|
+
},
|
|
1147
|
+
});
|
|
1148
|
+
|
|
1149
|
+
return (
|
|
1150
|
+
<div>
|
|
1151
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1152
|
+
<div id="localePopover" popover="auto">
|
|
1153
|
+
{availableLocales.map((localeItem) => (
|
|
1154
|
+
<a
|
|
1155
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1156
|
+
hrefLang={localeItem}
|
|
1157
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1158
|
+
onClick={(e) => {
|
|
1159
|
+
e.preventDefault();
|
|
1160
|
+
setLocale(localeItem);
|
|
1161
|
+
}}
|
|
1162
|
+
key={localeItem}
|
|
1163
|
+
>
|
|
1164
|
+
<span>
|
|
1165
|
+
{/* Gebietsschema - z.B. FR */}
|
|
1166
|
+
{localeItem}
|
|
1167
|
+
</span>
|
|
1168
|
+
<span>
|
|
1169
|
+
{/* Sprache im eigenen Gebietsschema - z.B. Français */}
|
|
1170
|
+
{getLocaleName(localeItem, locale)}
|
|
1171
|
+
</span>
|
|
1172
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1173
|
+
{/* Sprache in der aktuellen Locale - z.B. Francés mit aktueller Locale auf Locales.SPANISH gesetzt */}
|
|
1174
|
+
{getLocaleName(localeItem)}
|
|
1175
|
+
</span>
|
|
1176
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1177
|
+
{/* Sprache auf Englisch - z.B. French */}
|
|
1178
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1179
|
+
</span>
|
|
1180
|
+
</a>
|
|
1181
|
+
))}
|
|
1182
|
+
</div>
|
|
1183
|
+
</div>
|
|
1184
|
+
);
|
|
1185
|
+
};
|
|
1186
|
+
```
|
|
1187
|
+
|
|
1188
|
+
```jsx fileName="src/components/LocaleSwitcher.csx" codeFormat="commonjs"
|
|
1189
|
+
const { useLocation, useNavigate } = require("react-router-dom");
|
|
1190
|
+
const {
|
|
1191
|
+
Locales,
|
|
1192
|
+
getHTMLTextDir,
|
|
1193
|
+
getLocaleName,
|
|
1194
|
+
getLocalizedUrl,
|
|
1195
|
+
} = require("intlayer");
|
|
1196
|
+
const { useLocale } = require("react-intlayer");
|
|
1197
|
+
|
|
1198
|
+
const LocaleSwitcher = () => {
|
|
1199
|
+
const { pathname, search } = useLocation(); // Holt den aktuellen URL-Pfad. Beispiel: /fr/about?foo=bar
|
|
1200
|
+
const navigate = useNavigate();
|
|
1201
|
+
|
|
1202
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1203
|
+
onLocaleChange: (locale) => {
|
|
1204
|
+
// Konstruiert die URL mit der aktualisierten Locale
|
|
1205
|
+
// Beispiel: /es/about?foo=bar
|
|
1206
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1207
|
+
|
|
1208
|
+
// Aktualisiert den URL-Pfad
|
|
1209
|
+
navigate(pathWithLocale);
|
|
1210
|
+
},
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
return (
|
|
1214
|
+
<div>
|
|
1215
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1216
|
+
<div id="localePopover" popover="auto">
|
|
1217
|
+
{availableLocales.map((localeItem) => (
|
|
1218
|
+
<a
|
|
1219
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1220
|
+
hrefLang={localeItem}
|
|
1221
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1222
|
+
onClick={(e) => {
|
|
1223
|
+
e.preventDefault();
|
|
1224
|
+
setLocale(localeItem);
|
|
1225
|
+
}}
|
|
1226
|
+
key={localeItem}
|
|
1227
|
+
>
|
|
1228
|
+
<span>
|
|
1229
|
+
{/* Gebietsschema - z.B. FR */}
|
|
1230
|
+
{localeItem}
|
|
1231
|
+
</span>
|
|
1232
|
+
<span>
|
|
1233
|
+
{/* Sprache im eigenen Gebietsschema - z.B. Français */}
|
|
1234
|
+
{getLocaleName(localeItem, locale)}
|
|
1235
|
+
</span>
|
|
1236
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1237
|
+
{/* Sprache im aktuellen Gebietsschema - z.B. Francés mit aktuellem Gebietsschema auf Locales.SPANISH gesetzt */}
|
|
1238
|
+
{getLocaleName(localeItem)}
|
|
1239
|
+
</span>
|
|
1240
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1241
|
+
{/* Sprache auf Englisch - z.B. Französisch */}
|
|
1242
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1243
|
+
</span>
|
|
1244
|
+
</a>
|
|
1245
|
+
))}
|
|
1246
|
+
</div>
|
|
1247
|
+
</div>
|
|
1248
|
+
);
|
|
1249
|
+
};
|
|
1250
|
+
```
|
|
1251
|
+
|
|
1252
|
+
> Dokumentationsverweise:
|
|
1253
|
+
>
|
|
1254
|
+
> - [`useLocale` Hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/react-intlayer/useLocale.md)
|
|
1255
|
+
> - [`getLocaleName` Hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/intlayer/getLocaleName.md)
|
|
1256
|
+
> - [`getLocalizedUrl` Hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/intlayer/getLocalizedUrl.md)
|
|
1257
|
+
> - [`getHTMLTextDir` Hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/intlayer/getHTMLTextDir.md)
|
|
1258
|
+
> - [`hrefLang` Attribut](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)
|
|
1259
|
+
> - [`lang` Attribut](https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/lang)
|
|
1260
|
+
> - [`dir` Attribut](https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/dir)
|
|
1261
|
+
> - [`aria-current` Attribut](https://developer.mozilla.org/de/docs/Web/Accessibility/ARIA/Attributes/aria-current)
|
|
1262
|
+
|
|
1263
|
+
Nachfolgend finden Sie den aktualisierten **Schritt 9** mit zusätzlichen Erklärungen und verfeinerten Codebeispielen:
|
|
1264
|
+
|
|
1265
|
+
---
|
|
1266
|
+
|
|
1267
|
+
### (Optional) Schritt 9: Wechseln der HTML-Sprach- und Richtungsattribute
|
|
1268
|
+
|
|
1269
|
+
Wenn Ihre Anwendung mehrere Sprachen unterstützt, ist es entscheidend, die `lang`- und `dir`-Attribute des `<html>`-Tags an die aktuelle Locale anzupassen. Dies stellt sicher:
|
|
1270
|
+
|
|
1271
|
+
- **Barrierefreiheit**: Screenreader und unterstützende Technologien verlassen sich auf das korrekte `lang`-Attribut, um Inhalte richtig auszusprechen und zu interpretieren.
|
|
1272
|
+
- **Textdarstellung**: Das `dir`-Attribut (Richtung) sorgt dafür, dass der Text in der richtigen Reihenfolge dargestellt wird (z. B. von links nach rechts für Englisch, von rechts nach links für Arabisch oder Hebräisch), was für die Lesbarkeit unerlässlich ist.
|
|
1273
|
+
- **SEO**: Suchmaschinen verwenden das `lang`-Attribut, um die Sprache Ihrer Seite zu bestimmen, was dabei hilft, die richtige lokalisierte Version in den Suchergebnissen anzuzeigen.
|
|
1274
|
+
|
|
1275
|
+
Indem Sie diese Attribute dynamisch aktualisieren, wenn sich die Spracheinstellung ändert, gewährleisten Sie eine konsistente und barrierefreie Erfahrung für Benutzer in allen unterstützten Sprachen.
|
|
1276
|
+
|
|
1277
|
+
#### Implementierung des Hooks
|
|
1278
|
+
|
|
1279
|
+
Erstellen Sie einen benutzerdefinierten Hook, um die HTML-Attribute zu verwalten. Der Hook hört auf Änderungen der Spracheinstellung und aktualisiert die Attribute entsprechend:
|
|
1280
|
+
|
|
1281
|
+
```tsx fileName="src/hooks/useI18nHTMLAttributes.tsx" codeFormat="typescript"
|
|
1282
|
+
import { useEffect } from "react";
|
|
1283
|
+
import { useLocale } from "react-intlayer";
|
|
1284
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Aktualisiert die `lang`- und `dir`-Attribute des HTML-Elements `<html>` basierend auf der aktuellen Spracheinstellung.
|
|
1288
|
+
* - `lang`: Informiert Browser und Suchmaschinen über die Sprache der Seite.
|
|
1289
|
+
* - `dir`: Stellt die korrekte Leserichtung sicher (z.B. 'ltr' für Englisch, 'rtl' für Arabisch).
|
|
1290
|
+
*
|
|
1291
|
+
* Dieses dynamische Update ist entscheidend für die korrekte Textdarstellung, Barrierefreiheit und SEO.
|
|
1292
|
+
*/
|
|
1293
|
+
export const useI18nHTMLAttributes = () => {
|
|
1294
|
+
const { locale } = useLocale();
|
|
1295
|
+
|
|
1296
|
+
useEffect(() => {
|
|
1297
|
+
// Aktualisiert das Sprachattribut auf die aktuelle Locale.
|
|
1298
|
+
document.documentElement.lang = locale;
|
|
1299
|
+
|
|
1300
|
+
// Setzt die Schreibrichtung basierend auf der aktuellen Locale.
|
|
1301
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1302
|
+
}, [locale]);
|
|
1303
|
+
};
|
|
1304
|
+
```
|
|
1305
|
+
|
|
1306
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.msx" codeFormat="esm"
|
|
1307
|
+
import { useEffect } from "react";
|
|
1308
|
+
import { useLocale } from "react-intlayer";
|
|
1309
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Aktualisiert die `lang`- und `dir`-Attribute des HTML-<html>-Elements basierend auf der aktuellen Locale.
|
|
1313
|
+
* - `lang`: Informiert Browser und Suchmaschinen über die Sprache der Seite.
|
|
1314
|
+
* - `dir`: Stellt die korrekte Leserichtung sicher (z.B. 'ltr' für Englisch, 'rtl' für Arabisch).
|
|
1315
|
+
*
|
|
1316
|
+
* Dieses dynamische Update ist essenziell für die korrekte Textdarstellung, Barrierefreiheit und SEO.
|
|
1317
|
+
*/
|
|
1318
|
+
export const useI18nHTMLAttributes = () => {
|
|
1319
|
+
const { locale } = useLocale();
|
|
1320
|
+
|
|
1321
|
+
useEffect(() => {
|
|
1322
|
+
// Aktualisiert das Sprachattribut auf die aktuelle Locale.
|
|
1323
|
+
document.documentElement.lang = locale;
|
|
1324
|
+
|
|
1325
|
+
// Setzt die Schreibrichtung basierend auf der aktuellen Locale.
|
|
1326
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1327
|
+
}, [locale]);
|
|
1328
|
+
};
|
|
1329
|
+
```
|
|
1330
|
+
|
|
1331
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.csx" codeFormat="commonjs"
|
|
1332
|
+
const { useEffect } = require("react");
|
|
1333
|
+
const { useLocale } = require("react-intlayer");
|
|
1334
|
+
const { getHTMLTextDir } = require("intlayer");
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Aktualisiert die `lang`- und `dir`-Attribute des HTML-<html>-Elements basierend auf der aktuellen Locale.
|
|
1338
|
+
* - `lang`: Informiert Browser und Suchmaschinen über die Sprache der Seite.
|
|
1339
|
+
* - `dir`: Stellt die korrekte Leserichtung sicher (z.B. 'ltr' für Englisch, 'rtl' für Arabisch).
|
|
1340
|
+
*
|
|
1341
|
+
* Diese dynamische Aktualisierung ist essenziell für die korrekte Textdarstellung, Barrierefreiheit und SEO.
|
|
1342
|
+
*/
|
|
1343
|
+
const useI18nHTMLAttributes = () => {
|
|
1344
|
+
const { locale } = useLocale();
|
|
1345
|
+
|
|
1346
|
+
useEffect(() => {
|
|
1347
|
+
// Aktualisiere das Sprachattribut auf die aktuelle Locale.
|
|
1348
|
+
document.documentElement.lang = locale;
|
|
1349
|
+
|
|
1350
|
+
// Setze die Leserichtung basierend auf der aktuellen Locale.
|
|
1351
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1352
|
+
}, [locale]);
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
module.exports = { useI18nHTMLAttributes };
|
|
1356
|
+
```
|
|
1357
|
+
|
|
1358
|
+
#### Verwendung des Hooks in Ihrer Anwendung
|
|
1359
|
+
|
|
1360
|
+
Integrieren Sie den Hook in Ihre Hauptkomponente, damit die HTML-Attribute bei jeder Änderung der Locale aktualisiert werden:
|
|
1361
|
+
|
|
1362
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
1363
|
+
import type { FC } from "react";
|
|
1364
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1365
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1366
|
+
import "./App.css";
|
|
1367
|
+
|
|
1368
|
+
const AppContent: FC = () => {
|
|
1369
|
+
// Wenden Sie den Hook an, um die lang- und dir-Attribute des <html>-Tags basierend auf der Locale zu aktualisieren.
|
|
1370
|
+
useI18nHTMLAttributes();
|
|
1371
|
+
|
|
1372
|
+
// ... Rest Ihrer Komponente
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
const App: FC = () => (
|
|
1376
|
+
<IntlayerProvider>
|
|
1377
|
+
<AppContent />
|
|
1378
|
+
</IntlayerProvider>
|
|
1379
|
+
);
|
|
1380
|
+
|
|
1381
|
+
export default App;
|
|
1382
|
+
```
|
|
1383
|
+
|
|
1384
|
+
````jsx fileName="src/App.msx" codeFormat="esm"
|
|
1385
|
+
#### Verwendung des Hooks in Ihrer Anwendung
|
|
1386
|
+
|
|
1387
|
+
Integrieren Sie den Hook in Ihre Hauptkomponente, damit die HTML-Attribute bei einem Wechsel der Sprache aktualisiert werden:
|
|
1388
|
+
|
|
1389
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
1390
|
+
import type { FC } from "react";
|
|
1391
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1392
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1393
|
+
import "./App.css";
|
|
1394
|
+
|
|
1395
|
+
const AppContent: FC = () => {
|
|
1396
|
+
// Wenden Sie den Hook an, um die lang- und dir-Attribute des <html>-Tags basierend auf der Sprache zu aktualisieren.
|
|
1397
|
+
useI18nHTMLAttributes();
|
|
1398
|
+
|
|
1399
|
+
// ... Rest Ihrer Komponente
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
const App: FC = () => (
|
|
1403
|
+
<IntlayerProvider>
|
|
1404
|
+
<AppContent />
|
|
1405
|
+
</IntlayerProvider>
|
|
1406
|
+
);
|
|
1407
|
+
|
|
1408
|
+
export default App;
|
|
1409
|
+
````
|
|
1410
|
+
|
|
1411
|
+
```jsx fileName="src/App.msx" codeFormat="esm"
|
|
1412
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1413
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1414
|
+
import "./App.css";
|
|
1415
|
+
|
|
1416
|
+
const AppContent = () => {
|
|
1417
|
+
// Wenden Sie den Hook an, um die lang- und dir-Attribute des <html>-Tags basierend auf der Sprache zu aktualisieren.
|
|
1418
|
+
useI18nHTMLAttributes();
|
|
1419
|
+
|
|
1420
|
+
// ... Rest Ihrer Komponente
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
const App = () => (
|
|
1424
|
+
<IntlayerProvider>
|
|
1425
|
+
<AppContent />
|
|
1426
|
+
</IntlayerProvider>
|
|
1427
|
+
);
|
|
1428
|
+
|
|
1429
|
+
export default App;
|
|
1430
|
+
```
|
|
1431
|
+
|
|
1432
|
+
```jsx fileName="src/App.csx" codeFormat="commonjs"
|
|
1433
|
+
const { FC } = require("react");
|
|
1434
|
+
const { IntlayerProvider, useIntlayer } = require("react-intlayer");
|
|
1435
|
+
const { useI18nHTMLAttributes } = require("./hooks/useI18nHTMLAttributes");
|
|
1436
|
+
require("./App.css");
|
|
1437
|
+
|
|
1438
|
+
const AppContent = () => {
|
|
1439
|
+
// Wenden Sie den Hook an, um die lang- und dir-Attribute des <html>-Tags basierend auf der Sprache zu aktualisieren.
|
|
1440
|
+
useI18nHTMLAttributes();
|
|
1441
|
+
|
|
1442
|
+
// ... Rest Ihrer Komponente
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
const App = () => (
|
|
1446
|
+
<IntlayerProvider>
|
|
1447
|
+
<AppContent />
|
|
1448
|
+
</IntlayerProvider>
|
|
1449
|
+
);
|
|
1450
|
+
|
|
1451
|
+
module.exports = App;
|
|
1452
|
+
```
|
|
1453
|
+
|
|
1454
|
+
Durch diese Änderungen wird Ihre Anwendung:
|
|
1455
|
+
|
|
1456
|
+
- Sicherstellen, dass das **language** (`lang`) Attribut die aktuelle Sprache korrekt widerspiegelt, was wichtig für SEO und das Verhalten des Browsers ist.
|
|
1457
|
+
- Die **Schreibrichtung** (`dir`) entsprechend der Sprache anpassen, um die Lesbarkeit und Benutzerfreundlichkeit für Sprachen mit unterschiedlichen Leserichtungen zu verbessern.
|
|
1458
|
+
- Eine zugänglichere Erfahrung bieten, da unterstützende Technologien auf diese Attribute angewiesen sind, um optimal zu funktionieren.
|
|
1459
|
+
|
|
1460
|
+
### (Optional) Schritt 10: Erstellen einer lokalisierten Link-Komponente
|
|
1461
|
+
|
|
1462
|
+
// Wenden Sie den Hook an, um die Attribute lang und dir des <html>-Tags basierend auf der Locale zu aktualisieren.
|
|
1463
|
+
useI18nHTMLAttributes();
|
|
1464
|
+
|
|
1465
|
+
// ... Rest Ihres Components
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
const App = () => (
|
|
1469
|
+
<IntlayerProvider>
|
|
1470
|
+
<AppContent />
|
|
1471
|
+
</IntlayerProvider>
|
|
1472
|
+
);
|
|
1473
|
+
|
|
1474
|
+
module.exports = App;
|
|
1475
|
+
|
|
1476
|
+
````
|
|
1477
|
+
|
|
1478
|
+
Durch die Anwendung dieser Änderungen wird Ihre Anwendung:
|
|
1479
|
+
|
|
1480
|
+
- Sicherstellen, dass das **Sprach-**Attribut (`lang`) die aktuelle Locale korrekt widerspiegelt, was wichtig für SEO und das Verhalten des Browsers ist.
|
|
1481
|
+
- Die **Schreibrichtung** (`dir`) entsprechend der Locale anpassen, um die Lesbarkeit und Benutzerfreundlichkeit für Sprachen mit unterschiedlicher Leserichtung zu verbessern.
|
|
1482
|
+
- Eine zugänglichere **Benutzererfahrung** bieten, da unterstützende Technologien auf diese Attribute angewiesen sind, um optimal zu funktionieren.
|
|
1483
|
+
|
|
1484
|
+
### (Optional) Schritt 10: Erstellen einer lokalisierten Link-Komponente
|
|
1485
|
+
|
|
1486
|
+
Um sicherzustellen, dass die Navigation Ihrer Anwendung die aktuelle Locale berücksichtigt, können Sie eine benutzerdefinierte `Link`-Komponente erstellen. Diese Komponente fügt automatisch interne URLs mit der aktuellen Sprache als Präfix hinzu. Zum Beispiel wird ein französischsprachiger Benutzer, der auf einen Link zur "Über uns"-Seite klickt, zu `/fr/about` statt zu `/about` weitergeleitet.
|
|
1487
|
+
|
|
1488
|
+
Dieses Verhalten ist aus mehreren Gründen nützlich:
|
|
1489
|
+
|
|
1490
|
+
- **SEO und Benutzererfahrung**: Lokalisierte URLs helfen Suchmaschinen, sprachspezifische Seiten korrekt zu indexieren, und bieten den Nutzern Inhalte in ihrer bevorzugten Sprache.
|
|
1491
|
+
- **Konsistenz**: Durch die Verwendung eines lokalisierten Links in Ihrer gesamten Anwendung stellen Sie sicher, dass die Navigation innerhalb der aktuellen Locale bleibt und unerwartete Sprachwechsel vermieden werden.
|
|
1492
|
+
- **Wartbarkeit**: Die Zentralisierung der Lokalisierungslogik in einer einzigen Komponente vereinfacht die Verwaltung von URLs und macht Ihren Code leichter wartbar und erweiterbar, wenn Ihre Anwendung wächst.
|
|
1493
|
+
|
|
1494
|
+
Nachfolgend finden Sie die Implementierung einer lokalisierten `Link`-Komponente in TypeScript:
|
|
1495
|
+
|
|
1496
|
+
```tsx fileName="src/components/Link.tsx" codeFormat="typescript"
|
|
1497
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1498
|
+
import {
|
|
1499
|
+
forwardRef,
|
|
1500
|
+
type DetailedHTMLProps,
|
|
1501
|
+
type AnchorHTMLAttributes,
|
|
1502
|
+
} from "react";
|
|
1503
|
+
import { useLocale } from "react-intlayer";
|
|
1504
|
+
|
|
1505
|
+
export interface LinkProps
|
|
1506
|
+
extends DetailedHTMLProps<
|
|
1507
|
+
AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
1508
|
+
HTMLAnchorElement
|
|
1509
|
+
> {}
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Hilfsfunktion, um zu prüfen, ob eine gegebene URL extern ist.
|
|
1513
|
+
* Wenn die URL mit http:// oder https:// beginnt, gilt sie als extern.
|
|
1514
|
+
*/
|
|
1515
|
+
export const checkIsExternalLink = (href?: string): boolean =>
|
|
1516
|
+
/^https?:\/\//.test(href ?? "");
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* Eine benutzerdefinierte Link-Komponente, die das href-Attribut basierend auf der aktuellen Locale anpasst.
|
|
1520
|
+
* Für interne Links wird `getLocalizedUrl` verwendet, um die URL mit der Locale zu versehen (z.B. /fr/about).
|
|
1521
|
+
* Dies stellt sicher, dass die Navigation im gleichen Locale-Kontext bleibt.
|
|
1522
|
+
*/
|
|
1523
|
+
export const Link = forwardRef<HTMLAnchorElement, LinkProps>(
|
|
1524
|
+
({ href, children, ...props }, ref) => {
|
|
1525
|
+
const { locale } = useLocale();
|
|
1526
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1527
|
+
|
|
1528
|
+
// Wenn der Link intern ist und eine gültige href vorhanden ist, wird die lokalisierte URL ermittelt.
|
|
1529
|
+
const hrefI18n =
|
|
1530
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1531
|
+
|
|
1532
|
+
return (
|
|
1533
|
+
<a href={hrefI18n} ref={ref} {...props}>
|
|
1534
|
+
{children}
|
|
1535
|
+
</a>
|
|
1536
|
+
);
|
|
1537
|
+
}
|
|
1538
|
+
);
|
|
1539
|
+
|
|
1540
|
+
Link.displayName = "Link";
|
|
1541
|
+
````
|
|
1542
|
+
|
|
1543
|
+
```jsx fileName="src/components/Link.mjx" codeFormat="esm"
|
|
1544
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1545
|
+
import { useLocale } from "react-intlayer";
|
|
1546
|
+
import { forwardRef } from "react";
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* Hilfsfunktion, um zu prüfen, ob eine gegebene URL extern ist.
|
|
1550
|
+
* Wenn die URL mit http:// oder https:// beginnt, wird sie als extern betrachtet.
|
|
1551
|
+
*/
|
|
1552
|
+
export const checkIsExternalLink = (href?: string): boolean =>
|
|
1553
|
+
/^https?:\/\//.test(href ?? "");
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Eine benutzerdefinierte Link-Komponente, die das href-Attribut basierend auf der aktuellen Locale anpasst.
|
|
1557
|
+
* Für interne Links verwendet sie `getLocalizedUrl`, um die URL mit der Locale zu versehen (z.B. /fr/about).
|
|
1558
|
+
* Dies stellt sicher, dass die Navigation im gleichen Locale-Kontext bleibt.
|
|
1559
|
+
*/
|
|
1560
|
+
export const Link = forwardRef(({ href, children, ...props }, ref) => {
|
|
1561
|
+
const { locale } = useLocale();
|
|
1562
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1563
|
+
|
|
1564
|
+
// Wenn der Link intern ist und eine gültige href angegeben ist, wird die lokalisierte URL ermittelt.
|
|
1565
|
+
const hrefI18n =
|
|
1566
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1567
|
+
|
|
1568
|
+
return (
|
|
1569
|
+
<a href={hrefI18n} ref={ref} {...props}>
|
|
1570
|
+
{children}
|
|
1571
|
+
</a>
|
|
1572
|
+
);
|
|
1573
|
+
});
|
|
1574
|
+
|
|
1575
|
+
Link.displayName = "Link";
|
|
1576
|
+
```
|
|
1577
|
+
|
|
1578
|
+
```jsx fileName="src/components/Link.csx" codeFormat="commonjs"
|
|
1579
|
+
const { getLocalizedUrl } = require("intlayer");
|
|
1580
|
+
const { useLocale } = require("react-intlayer");
|
|
1581
|
+
const { forwardRef } = require("react");
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Hilfsfunktion, um zu prüfen, ob eine gegebene URL extern ist.
|
|
1585
|
+
* Wenn die URL mit http:// oder https:// beginnt, wird sie als extern betrachtet.
|
|
1586
|
+
*/
|
|
1587
|
+
const checkIsExternalLink = (href) => /^https?:\/\//.test(href ?? "");
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Eine benutzerdefinierte Link-Komponente, die das href-Attribut basierend auf der aktuellen Sprache anpasst.
|
|
1591
|
+
* Für interne Links wird `getLocalizedUrl` verwendet, um die URL mit der Sprachkennung zu versehen (z.B. /fr/about).
|
|
1592
|
+
* Dies stellt sicher, dass die Navigation im gleichen Sprachkontext bleibt.
|
|
1593
|
+
*/
|
|
1594
|
+
const Link = forwardRef(({ href, children, ...props }, ref) => {
|
|
1595
|
+
const { locale } = useLocale();
|
|
1596
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1597
|
+
|
|
1598
|
+
// Wenn der Link intern ist und eine gültige href vorhanden ist, wird die lokalisierte URL verwendet.
|
|
1599
|
+
const localizedHref = isExternalLink ? href : getLocalizedUrl(href, locale);
|
|
1600
|
+
|
|
1601
|
+
return (
|
|
1602
|
+
<a
|
|
1603
|
+
href={localizedHref}
|
|
1604
|
+
ref={ref}
|
|
1605
|
+
{...props}
|
|
1606
|
+
aria-current={isExternalLink ? "external" : undefined}
|
|
1607
|
+
>
|
|
1608
|
+
{children}
|
|
1609
|
+
</a>
|
|
1610
|
+
);
|
|
1611
|
+
});
|
|
1612
|
+
|
|
1613
|
+
Link.displayName = "Link";
|
|
1614
|
+
```
|
|
1615
|
+
|
|
1616
|
+
#### Wie es funktioniert
|
|
1617
|
+
|
|
1618
|
+
- **Erkennung externer Links**:
|
|
1619
|
+
Die Hilfsfunktion `checkIsExternalLink` bestimmt, ob eine URL extern ist. Externe Links bleiben unverändert, da sie keine Lokalisierung benötigen.
|
|
1620
|
+
|
|
1621
|
+
- **Abrufen der aktuellen Locale**:
|
|
1622
|
+
Der Hook `useLocale` liefert die aktuelle Locale (z.B. `fr` für Französisch).
|
|
1623
|
+
|
|
1624
|
+
- **Lokalisierung der URL**:
|
|
1625
|
+
Für interne Links (d.h. nicht extern) wird `getLocalizedUrl` verwendet, um die URL automatisch mit der aktuellen Locale zu versehen. Das bedeutet, wenn Ihr Benutzer Französisch eingestellt hat, wird aus `/about` als `href` automatisch `/fr/about`.
|
|
1626
|
+
|
|
1627
|
+
- **Rückgabe des Links**:
|
|
1628
|
+
Die Komponente gibt ein `<a>`-Element mit der lokalisierten URL zurück, wodurch sichergestellt wird, dass die Navigation konsistent mit der Spracheinstellung erfolgt.
|
|
1629
|
+
|
|
1630
|
+
Durch die Integration dieser `Link`-Komponente in Ihre Anwendung erhalten Sie eine kohärente und sprachbewusste Benutzererfahrung und profitieren gleichzeitig von verbesserter SEO und Benutzerfreundlichkeit.
|
|
1631
|
+
|
|
1632
|
+
### TypeScript konfigurieren
|
|
1633
|
+
|
|
1634
|
+
Intlayer verwendet Module Augmentation, um die Vorteile von TypeScript zu nutzen und Ihren Code robuster zu machen.
|
|
1635
|
+
|
|
1636
|
+

|
|
1637
|
+
|
|
1638
|
+

|
|
1639
|
+
|
|
1640
|
+
Stellen Sie sicher, dass Ihre TypeScript-Konfiguration die automatisch generierten Typen einschließt.
|
|
1641
|
+
|
|
1642
|
+
```json5 fileName="tsconfig.json"
|
|
1643
|
+
{
|
|
1644
|
+
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1645
|
+
"include": [
|
|
1646
|
+
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1647
|
+
".intlayer/**/*.ts", // Einschluss der automatisch generierten Typen
|
|
1648
|
+
],
|
|
1649
|
+
}
|
|
1650
|
+
```
|
|
1651
|
+
|
|
1652
|
+
### Git-Konfiguration
|
|
1653
|
+
|
|
1654
|
+
Es wird empfohlen, die von Intlayer generierten Dateien zu ignorieren. So vermeiden Sie, diese versehentlich in Ihr Git-Repository zu committen.
|
|
1655
|
+
|
|
1656
|
+
Dazu können Sie folgende Anweisungen in Ihre `.gitignore`-Datei aufnehmen:
|
|
1657
|
+
|
|
1658
|
+
```plaintext
|
|
1659
|
+
# Ignoriere die von Intlayer generierten Dateien
|
|
1660
|
+
.intlayer
|
|
1661
|
+
```
|
|
1662
|
+
|
|
1663
|
+
### VS Code Erweiterung
|
|
1664
|
+
|
|
1665
|
+
Um Ihre Entwicklungserfahrung mit Intlayer zu verbessern, können Sie die offizielle **Intlayer VS Code Erweiterung** installieren.
|
|
1666
|
+
|
|
1667
|
+
[Installation aus dem VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
1668
|
+
|
|
1669
|
+
Diese Erweiterung bietet:
|
|
1670
|
+
|
|
1671
|
+
- **Autovervollständigung** für Übersetzungsschlüssel.
|
|
1672
|
+
- **Echtzeit-Fehlererkennung** für fehlende Übersetzungen.
|
|
1673
|
+
- **Inline-Vorschauen** des übersetzten Inhalts.
|
|
1674
|
+
- **Schnellaktionen**, um Übersetzungen einfach zu erstellen und zu aktualisieren.
|
|
1675
|
+
|
|
1676
|
+
Für weitere Details zur Verwendung der Erweiterung siehe die [Intlayer VS Code Extension Dokumentation](https://intlayer.org/doc/vs-code-extension).
|
|
1677
|
+
|
|
1678
|
+
---
|
|
1679
|
+
|
|
1680
|
+
### Weiterführende Schritte
|
|
1681
|
+
|
|
1682
|
+
Um weiterzugehen, können Sie den [visuellen Editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/intlayer_visual_editor.md) implementieren oder Ihre Inhalte mit dem [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/intlayer_CMS.md) auslagern.
|
|
1683
|
+
|
|
1684
|
+
---
|
|
1685
|
+
|
|
1686
|
+
## Dokumentationshistorie
|
|
1687
|
+
|
|
1688
|
+
- 5.5.10 - 2025-06-29: Initiale Historie
|