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

|
|
1616
|
+
|
|
1617
|
+

|
|
1618
|
+
|
|
1619
|
+
Stellen Sie sicher, dass Ihre TypeScript-Konfiguration die automatisch generierten Typen einschließt.
|
|
1620
|
+
|
|
1621
|
+
```json5 fileName="tsconfig.json"
|
|
1622
|
+
{
|
|
1623
|
+
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1624
|
+
"include": [
|
|
1625
|
+
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1626
|
+
".intlayer/**/*.ts", // Einschluss der automatisch generierten Typen
|
|
1627
|
+
],
|
|
1628
|
+
}
|
|
1629
|
+
```
|
|
1630
|
+
|
|
1631
|
+
### Git-Konfiguration
|
|
1632
|
+
|
|
1633
|
+
Es wird empfohlen, die von Intlayer generierten Dateien zu ignorieren. Dadurch vermeiden Sie, diese versehentlich in Ihr Git-Repository zu committen.
|
|
1634
|
+
|
|
1635
|
+
Fügen Sie dazu folgende Anweisungen in Ihre `.gitignore`-Datei ein:
|
|
1636
|
+
|
|
1637
|
+
```plaintext
|
|
1638
|
+
# Ignoriere die von Intlayer generierten Dateien
|
|
1639
|
+
.intlayer
|
|
1640
|
+
```
|
|
1641
|
+
|
|
1642
|
+
### VS Code Erweiterung
|
|
1643
|
+
|
|
1644
|
+
Um Ihre Entwicklungserfahrung mit Intlayer zu verbessern, können Sie die offizielle **Intlayer VS Code Erweiterung** installieren.
|
|
1645
|
+
|
|
1646
|
+
[Installation aus dem VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
1647
|
+
|
|
1648
|
+
Diese Erweiterung bietet:
|
|
1649
|
+
|
|
1650
|
+
- **Autovervollständigung** für Übersetzungsschlüssel.
|
|
1651
|
+
- **Echtzeit-Fehlererkennung** für fehlende Übersetzungen.
|
|
1652
|
+
- **Inline-Vorschauen** des übersetzten Inhalts.
|
|
1653
|
+
- **Schnellaktionen**, um Übersetzungen einfach zu erstellen und zu aktualisieren.
|
|
1654
|
+
|
|
1655
|
+
Für weitere Details zur Nutzung der Erweiterung siehe die [Intlayer VS Code Extension Dokumentation](https://intlayer.org/doc/vs-code-extension).
|
|
1656
|
+
|
|
1657
|
+
---
|
|
1658
|
+
|
|
1659
|
+
### Weiterführende Schritte
|
|
1660
|
+
|
|
1661
|
+
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.
|
|
1662
|
+
|
|
1663
|
+
---
|
|
1664
|
+
|
|
1665
|
+
## Dokumentationshistorie
|
|
1666
|
+
|
|
1667
|
+
- 5.5.10 - 2025-06-29: Historie initialisiert
|