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

|
|
1637
|
-
|
|
1638
|
-

|
|
1639
|
-
|
|
1640
|
-
Stellen Sie sicher, dass Ihre TypeScript-Konfiguration die automatisch generierten Typen enthält.
|
|
1641
|
-
|
|
1642
|
-
```json5 fileName="tsconfig.json"
|
|
1643
|
-
{
|
|
1644
|
-
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1645
|
-
"compilerOptions": {
|
|
1646
|
-
// ...
|
|
1647
|
-
"jsx": "react-jsx",
|
|
1648
|
-
"jsxImportSource": "preact", // Empfohlen für Preact 10+
|
|
1649
|
-
// ...
|
|
1650
|
-
},
|
|
1651
|
-
"include": [
|
|
1652
|
-
// ... Ihre bestehenden TypeScript-Konfigurationen
|
|
1653
|
-
".intlayer/**/*.ts", // Einbeziehen der automatisch generierten Typen
|
|
1654
|
-
],
|
|
1655
|
-
}
|
|
1656
|
-
```
|
|
1657
|
-
|
|
1658
|
-
> Stellen Sie sicher, dass Ihre `tsconfig.json` für Preact eingerichtet ist, insbesondere `jsx` und `jsxImportSource` oder `jsxFactory`/`jsxFragmentFactory` für ältere Preact-Versionen, falls Sie nicht die Standardwerte von `preset-vite` verwenden.
|
|
1659
|
-
|
|
1660
|
-
### Git-Konfiguration
|
|
1661
|
-
|
|
1662
|
-
Es wird empfohlen, die von Intlayer generierten Dateien zu ignorieren. Dadurch vermeiden Sie, diese in Ihr Git-Repository einzufügen.
|
|
1663
|
-
|
|
1664
|
-
Fügen Sie dazu die folgenden Anweisungen zu Ihrer `.gitignore`-Datei hinzu:
|
|
1665
|
-
|
|
1666
|
-
```plaintext
|
|
1667
|
-
# Ignorieren der von Intlayer generierten Dateien
|
|
1668
|
-
.intlayer
|
|
1669
|
-
```
|
|
1670
|
-
|
|
1671
|
-
### VS Code-Erweiterung
|
|
1672
|
-
|
|
1673
|
-
Um Ihre Entwicklungserfahrung mit Intlayer zu verbessern, können Sie die offizielle **Intlayer VS Code-Erweiterung** installieren.
|
|
1674
|
-
|
|
1675
|
-
[Installieren Sie sie aus dem VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
1676
|
-
|
|
1677
|
-
Diese Erweiterung bietet:
|
|
1678
|
-
|
|
1679
|
-
- **Autovervollständigung** für Übersetzungsschlüssel.
|
|
1680
|
-
- **Echtzeit-Fehlererkennung** für fehlende Übersetzungen.
|
|
1681
|
-
- **Inline-Vorschauen** von übersetzten Inhalten.
|
|
1682
|
-
- **Schnellaktionen**, um Übersetzungen einfach zu erstellen und zu aktualisieren.
|
|
1683
|
-
|
|
1684
|
-
Weitere Details zur Verwendung der Erweiterung finden Sie in der [Intlayer VS Code-Erweiterungsdokumentation](https://intlayer.org/doc/vs-code-extension).
|
|
1685
|
-
|
|
1686
|
-
---
|
|
1687
|
-
|
|
1688
|
-
### Weiterführende Schritte
|
|
1689
|
-
|
|
1690
|
-
Um weiterzugehen, können Sie den [visuellen Editor](https://github.com/aymericzip/intlayer/blob/main/docs/de/intlayer_visual_editor.md) implementieren oder Ihre Inhalte mit dem [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/de/intlayer_CMS.md) auslagern.
|