@intlayer/docs 5.5.10 → 5.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/index.md +69 -0
- package/blog/ar/internationalization_and_SEO.md +314 -0
- package/blog/ar/intlayer_with_i18next.md +162 -0
- package/blog/ar/intlayer_with_next-i18next.md +368 -0
- package/blog/ar/intlayer_with_next-intl.md +393 -0
- package/blog/ar/intlayer_with_react-i18next.md +346 -0
- package/blog/ar/intlayer_with_react-intl.md +325 -0
- package/blog/ar/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ar/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ar/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ar/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ar/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ar/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ar/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/ar/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ar/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ar/what_is_internationalization.md +165 -0
- package/blog/de/index.md +69 -0
- package/blog/de/internationalization_and_SEO.md +277 -0
- package/blog/de/intlayer_with_i18next.md +162 -0
- package/blog/de/intlayer_with_next-i18next.md +368 -0
- package/blog/de/intlayer_with_next-intl.md +393 -0
- package/blog/de/intlayer_with_react-i18next.md +346 -0
- package/blog/de/intlayer_with_react-intl.md +325 -0
- package/blog/de/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/de/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/de/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/de/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/de/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/de/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/de/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/de/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/de/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/de/what_is_internationalization.md +165 -0
- package/blog/en/index.md +69 -0
- package/blog/en/internationalization_and_SEO.md +275 -0
- package/blog/en/intlayer_with_i18next.md +162 -0
- package/blog/en/intlayer_with_next-i18next.md +368 -0
- package/blog/en/intlayer_with_next-intl.md +393 -0
- package/blog/en/intlayer_with_react-i18next.md +346 -0
- package/blog/en/intlayer_with_react-intl.md +345 -0
- package/blog/en/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/en/list_i18n_technologies/frameworks/flutter.md +150 -0
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +293 -0
- package/blog/en/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en/what_is_internationalization.md +166 -0
- package/blog/en-GB/index.md +69 -0
- package/blog/en-GB/internationalization_and_SEO.md +275 -0
- package/blog/en-GB/intlayer_with_i18next.md +162 -0
- package/blog/en-GB/intlayer_with_next-i18next.md +364 -0
- package/blog/en-GB/intlayer_with_next-intl.md +393 -0
- package/blog/en-GB/intlayer_with_react-i18next.md +346 -0
- package/blog/en-GB/intlayer_with_react-intl.md +325 -0
- package/blog/en-GB/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en-GB/what_is_internationalization.md +165 -0
- package/blog/es/index.md +69 -0
- package/blog/es/internationalization_and_SEO.md +298 -0
- package/blog/es/intlayer_with_i18next.md +162 -0
- package/blog/es/intlayer_with_next-i18next.md +368 -0
- package/blog/es/intlayer_with_next-intl.md +393 -0
- package/blog/es/intlayer_with_react-i18next.md +346 -0
- package/blog/es/intlayer_with_react-intl.md +325 -0
- package/blog/es/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/es/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/es/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/es/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/es/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/es/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/es/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/es/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/es/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/es/what_is_internationalization.md +165 -0
- package/blog/fr/index.md +69 -0
- package/blog/fr/internationalization_and_SEO.md +277 -0
- package/blog/fr/intlayer_with_i18next.md +162 -0
- package/blog/fr/intlayer_with_next-i18next.md +368 -0
- package/blog/fr/intlayer_with_next-intl.md +393 -0
- package/blog/fr/intlayer_with_react-i18next.md +346 -0
- package/blog/fr/intlayer_with_react-intl.md +325 -0
- package/blog/fr/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/fr/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/fr/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/fr/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/fr/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/fr/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/fr/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/fr/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/fr/what_is_internationalization.md +165 -0
- package/blog/hi/index.md +69 -0
- package/blog/hi/internationalization_and_SEO.md +296 -0
- package/blog/hi/intlayer_with_i18next.md +162 -0
- package/blog/hi/intlayer_with_next-i18next.md +368 -0
- package/blog/hi/intlayer_with_next-intl.md +294 -0
- package/blog/hi/intlayer_with_react-i18next.md +346 -0
- package/blog/hi/intlayer_with_react-intl.md +325 -0
- package/blog/hi/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/hi/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/hi/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/hi/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/hi/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/hi/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/hi/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/hi/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/hi/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/hi/what_is_internationalization.md +165 -0
- package/blog/it/index.md +69 -0
- package/blog/it/internationalization_and_SEO.md +296 -0
- package/blog/it/intlayer_with_i18next.md +162 -0
- package/blog/it/intlayer_with_next-i18next.md +368 -0
- package/blog/it/intlayer_with_next-intl.md +393 -0
- package/blog/it/intlayer_with_react-i18next.md +346 -0
- package/blog/it/intlayer_with_react-intl.md +325 -0
- package/blog/it/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/it/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/it/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/it/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/it/list_i18n_technologies/frameworks/flutter.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/it/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/it/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/it/what_is_internationalization.md +165 -0
- package/blog/ja/index.md +69 -0
- package/blog/ja/internationalization_and_SEO.md +277 -0
- package/blog/ja/intlayer_with_i18next.md +162 -0
- package/blog/ja/intlayer_with_next-i18next.md +364 -0
- package/blog/ja/intlayer_with_next-intl.md +393 -0
- package/blog/ja/intlayer_with_react-i18next.md +346 -0
- package/blog/ja/intlayer_with_react-intl.md +325 -0
- package/blog/ja/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ja/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ja/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ja/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ja/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/ja/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ja/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ja/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/ja/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ja/what_is_internationalization.md +165 -0
- package/blog/ko/index.md +69 -0
- package/blog/ko/internationalization_and_SEO.md +277 -0
- package/blog/ko/intlayer_with_i18next.md +162 -0
- package/blog/ko/intlayer_with_next-i18next.md +368 -0
- package/blog/ko/intlayer_with_next-intl.md +393 -0
- package/blog/ko/intlayer_with_react-i18next.md +346 -0
- package/blog/ko/intlayer_with_react-intl.md +325 -0
- package/blog/ko/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ko/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ko/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ko/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ko/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ko/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ko/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ko/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ko/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +284 -0
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ko/what_is_internationalization.md +167 -0
- package/blog/pt/index.md +69 -0
- package/blog/pt/internationalization_and_SEO.md +317 -0
- package/blog/pt/intlayer_with_i18next.md +162 -0
- package/blog/pt/intlayer_with_next-i18next.md +364 -0
- package/blog/pt/intlayer_with_next-intl.md +311 -0
- package/blog/pt/intlayer_with_react-i18next.md +98 -0
- package/blog/pt/intlayer_with_react-intl.md +327 -0
- package/blog/pt/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/pt/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/pt/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/pt/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/pt/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/pt/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/pt/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/pt/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/pt/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/pt/what_is_internationalization.md +165 -0
- package/blog/ru/index.md +69 -0
- package/blog/ru/internationalization_and_SEO.md +298 -0
- package/blog/ru/intlayer_with_i18next.md +162 -0
- package/blog/ru/intlayer_with_next-i18next.md +368 -0
- package/blog/ru/intlayer_with_next-intl.md +393 -0
- package/blog/ru/intlayer_with_react-i18next.md +346 -0
- package/blog/ru/intlayer_with_react-intl.md +325 -0
- package/blog/ru/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ru/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ru/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ru/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ru/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ru/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ru/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ru/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ru/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ru/what_is_internationalization.md +165 -0
- package/blog/zh/index.md +69 -0
- package/blog/zh/internationalization_and_SEO.md +298 -0
- package/blog/zh/intlayer_with_i18next.md +162 -0
- package/blog/zh/intlayer_with_next-i18next.md +368 -0
- package/blog/zh/intlayer_with_next-intl.md +393 -0
- package/blog/zh/intlayer_with_react-i18next.md +346 -0
- package/blog/zh/intlayer_with_react-intl.md +166 -0
- package/blog/zh/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/zh/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/zh/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/zh/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/zh/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/zh/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/zh/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/zh/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/zh/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/zh/what_is_internationalization.md +165 -0
- package/dist/cjs/blog.cjs +46 -0
- package/dist/cjs/blog.cjs.map +1 -0
- package/dist/cjs/common.cjs +153 -0
- package/dist/cjs/common.cjs.map +1 -0
- package/dist/cjs/doc.cjs +46 -0
- package/dist/cjs/doc.cjs.map +1 -0
- package/dist/cjs/frequentQuestions.cjs +46 -0
- package/dist/cjs/frequentQuestions.cjs.map +1 -0
- package/dist/cjs/generated/blog.entry.cjs +1688 -0
- package/dist/cjs/generated/blog.entry.cjs.map +1 -0
- package/dist/cjs/generated/docs.entry.cjs +5954 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs +1160 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -0
- package/dist/cjs/generated/legal.entry.cjs +118 -0
- package/dist/cjs/generated/legal.entry.cjs.map +1 -0
- package/dist/cjs/index.cjs +29 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/legal.cjs +46 -0
- package/dist/cjs/legal.cjs.map +1 -0
- package/dist/esm/blog.mjs +25 -0
- package/dist/esm/blog.mjs.map +1 -0
- package/dist/esm/common.mjs +124 -0
- package/dist/esm/common.mjs.map +1 -0
- package/dist/esm/doc.mjs +25 -0
- package/dist/esm/doc.mjs.map +1 -0
- package/dist/esm/frequentQuestions.mjs +25 -0
- package/dist/esm/frequentQuestions.mjs.map +1 -0
- package/dist/esm/generated/blog.entry.mjs +1663 -0
- package/dist/esm/generated/blog.entry.mjs.map +1 -0
- package/dist/esm/generated/docs.entry.mjs +5929 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs +1135 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -0
- package/dist/esm/generated/legal.entry.mjs +93 -0
- package/dist/esm/generated/legal.entry.mjs.map +1 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/legal.mjs +25 -0
- package/dist/esm/legal.mjs.map +1 -0
- package/dist/types/blog.d.ts +13 -0
- package/dist/types/blog.d.ts.map +1 -0
- package/dist/types/common.d.ts +25 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/doc.d.ts +13 -0
- package/dist/types/doc.d.ts.map +1 -0
- package/dist/types/frequentQuestions.d.ts +13 -0
- package/dist/types/frequentQuestions.d.ts.map +1 -0
- package/dist/types/generated/blog.entry.d.ts +23 -0
- package/dist/types/generated/blog.entry.d.ts.map +1 -0
- package/dist/types/generated/docs.entry.d.ts +89 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts +17 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -0
- package/dist/types/generated/legal.entry.d.ts +6 -0
- package/dist/types/generated/legal.entry.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/legal.d.ts +13 -0
- package/dist/types/legal.d.ts.map +1 -0
- package/docs/ar/CI_CD.md +173 -0
- package/docs/ar/autoFill.md +200 -0
- package/docs/ar/configuration.md +529 -0
- package/docs/ar/dictionary/condition.md +233 -0
- package/docs/ar/dictionary/content_extention_customization.md +100 -0
- package/docs/ar/dictionary/enumeration.md +246 -0
- package/docs/ar/dictionary/file.md +226 -0
- package/docs/ar/dictionary/function_fetching.md +216 -0
- package/docs/ar/dictionary/get_started.md +527 -0
- package/docs/ar/dictionary/insertion.md +185 -0
- package/docs/ar/dictionary/markdown.md +357 -0
- package/docs/ar/dictionary/nesting.md +269 -0
- package/docs/ar/dictionary/translation.md +318 -0
- package/docs/ar/how_works_intlayer.md +251 -0
- package/docs/ar/index.md +164 -0
- package/docs/ar/interest_of_intlayer.md +157 -0
- package/docs/ar/intlayer_CMS.md +355 -0
- package/docs/ar/intlayer_cli.md +458 -0
- package/docs/ar/intlayer_visual_editor.md +267 -0
- package/docs/ar/intlayer_with_angular.md +686 -0
- package/docs/ar/intlayer_with_create_react_app.md +1080 -0
- package/docs/ar/intlayer_with_express.md +427 -0
- package/docs/ar/intlayer_with_lynx+react.md +521 -0
- package/docs/ar/intlayer_with_nextjs_14.md +1269 -0
- package/docs/ar/intlayer_with_nextjs_15.md +1510 -0
- package/docs/ar/intlayer_with_nextjs_page_router.md +1496 -0
- package/docs/ar/intlayer_with_nuxt.md +822 -0
- package/docs/ar/intlayer_with_react_native+expo.md +657 -0
- package/docs/ar/intlayer_with_vite+preact.md +1691 -0
- package/docs/ar/intlayer_with_vite+react.md +1625 -0
- package/docs/ar/intlayer_with_vite+solid.md +284 -0
- package/docs/ar/intlayer_with_vite+svelte.md +282 -0
- package/docs/ar/intlayer_with_vite+vue.md +1073 -0
- package/docs/ar/introduction.md +207 -0
- package/docs/ar/mcp_server.md +174 -0
- package/docs/ar/packages/@intlayer/api/index.md +56 -0
- package/docs/ar/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ar/packages/@intlayer/cli/index.md +45 -0
- package/docs/ar/packages/@intlayer/config/index.md +140 -0
- package/docs/ar/packages/@intlayer/core/index.md +49 -0
- package/docs/ar/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ar/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ar/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ar/packages/angular-intlayer/index.md +53 -0
- package/docs/ar/packages/express-intlayer/index.md +252 -0
- package/docs/ar/packages/express-intlayer/t.md +457 -0
- package/docs/ar/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ar/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ar/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ar/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ar/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ar/packages/intlayer/getTranslation.md +192 -0
- package/docs/ar/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ar/packages/intlayer/index.md +499 -0
- package/docs/ar/packages/intlayer-cli/index.md +65 -0
- package/docs/ar/packages/intlayer-editor/index.md +137 -0
- package/docs/ar/packages/lynx-intlayer/index.md +83 -0
- package/docs/ar/packages/next-intlayer/index.md +287 -0
- package/docs/ar/packages/next-intlayer/t.md +352 -0
- package/docs/ar/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ar/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ar/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ar/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ar/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ar/packages/preact-intlayer/index.md +53 -0
- package/docs/ar/packages/react-intlayer/index.md +280 -0
- package/docs/ar/packages/react-intlayer/t.md +311 -0
- package/docs/ar/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ar/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ar/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ar/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ar/packages/react-native-intlayer/index.md +83 -0
- package/docs/ar/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ar/packages/solid-intlayer/index.md +54 -0
- package/docs/ar/packages/svelte-intlayer/index.md +53 -0
- package/docs/ar/packages/vite-intlayer/index.md +76 -0
- package/docs/ar/packages/vue-intlayer/index.md +53 -0
- package/docs/ar/per_locale_file.md +325 -0
- package/docs/ar/roadmap.md +336 -0
- package/docs/ar/vs_code_extension.md +152 -0
- package/docs/de/CI_CD.md +173 -0
- package/docs/de/autoFill.md +178 -0
- package/docs/de/configuration.md +525 -0
- package/docs/de/dictionary/condition.md +233 -0
- package/docs/de/dictionary/content_extention_customization.md +100 -0
- package/docs/de/dictionary/enumeration.md +245 -0
- package/docs/de/dictionary/file.md +222 -0
- package/docs/de/dictionary/function_fetching.md +214 -0
- package/docs/de/dictionary/get_started.md +531 -0
- package/docs/de/dictionary/insertion.md +196 -0
- package/docs/de/dictionary/markdown.md +357 -0
- package/docs/de/dictionary/nesting.md +272 -0
- package/docs/de/dictionary/translation.md +309 -0
- package/docs/de/how_works_intlayer.md +251 -0
- package/docs/de/index.md +166 -0
- package/docs/de/interest_of_intlayer.md +156 -0
- package/docs/de/intlayer_CMS.md +354 -0
- package/docs/de/intlayer_cli.md +454 -0
- package/docs/de/intlayer_visual_editor.md +267 -0
- package/docs/de/intlayer_with_angular.md +730 -0
- package/docs/de/intlayer_with_create_react_app.md +1206 -0
- package/docs/de/intlayer_with_express.md +436 -0
- package/docs/de/intlayer_with_lynx+react.md +502 -0
- package/docs/de/intlayer_with_nextjs_14.md +1266 -0
- package/docs/de/intlayer_with_nextjs_15.md +1513 -0
- package/docs/de/intlayer_with_nextjs_page_router.md +1494 -0
- package/docs/de/intlayer_with_nuxt.md +803 -0
- package/docs/de/intlayer_with_react_native+expo.md +661 -0
- package/docs/de/intlayer_with_vite+preact.md +1689 -0
- package/docs/de/intlayer_with_vite+react.md +1667 -0
- package/docs/de/intlayer_with_vite+solid.md +289 -0
- package/docs/de/intlayer_with_vite+svelte.md +285 -0
- package/docs/de/intlayer_with_vite+vue.md +1096 -0
- package/docs/de/introduction.md +211 -0
- package/docs/de/mcp_server.md +203 -0
- package/docs/de/packages/@intlayer/api/index.md +56 -0
- package/docs/de/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/de/packages/@intlayer/cli/index.md +45 -0
- package/docs/de/packages/@intlayer/config/index.md +140 -0
- package/docs/de/packages/@intlayer/core/index.md +49 -0
- package/docs/de/packages/@intlayer/design-system/index.md +45 -0
- package/docs/de/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/de/packages/@intlayer/editor/index.md +45 -0
- package/docs/de/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/de/packages/@intlayer/webpack/index.md +59 -0
- package/docs/de/packages/angular-intlayer/index.md +53 -0
- package/docs/de/packages/express-intlayer/index.md +284 -0
- package/docs/de/packages/express-intlayer/t.md +458 -0
- package/docs/de/packages/intlayer/getConfiguration.md +146 -0
- package/docs/de/packages/intlayer/getEnumeration.md +164 -0
- package/docs/de/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/de/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/de/packages/intlayer/getLocaleName.md +119 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/de/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/de/packages/intlayer/getTranslation.md +191 -0
- package/docs/de/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/de/packages/intlayer/index.md +500 -0
- package/docs/de/packages/intlayer-cli/index.md +65 -0
- package/docs/de/packages/intlayer-editor/index.md +137 -0
- package/docs/de/packages/lynx-intlayer/index.md +83 -0
- package/docs/de/packages/next-intlayer/index.md +286 -0
- package/docs/de/packages/next-intlayer/t.md +352 -0
- package/docs/de/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayerAsync.md +262 -0
- package/docs/de/packages/next-intlayer/useLocale.md +131 -0
- package/docs/de/packages/nuxt-intlayer/index.md +53 -0
- package/docs/de/packages/preact-intlayer/index.md +53 -0
- package/docs/de/packages/react-intlayer/index.md +281 -0
- package/docs/de/packages/react-intlayer/t.md +302 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +301 -0
- package/docs/de/packages/react-intlayer/useIntlayer.md +267 -0
- package/docs/de/packages/react-intlayer/useIntlayerAsync.md +256 -0
- package/docs/de/packages/react-intlayer/useLocale.md +210 -0
- package/docs/de/packages/react-native-intlayer/index.md +83 -0
- package/docs/de/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/de/packages/solid-intlayer/index.md +54 -0
- package/docs/de/packages/svelte-intlayer/index.md +53 -0
- package/docs/de/packages/vite-intlayer/index.md +76 -0
- package/docs/de/packages/vue-intlayer/index.md +53 -0
- package/docs/de/per_locale_file.md +323 -0
- package/docs/de/roadmap.md +353 -0
- package/docs/de/vs_code_extension.md +152 -0
- package/docs/en/CI_CD.md +174 -0
- package/docs/en/autoFill.md +181 -0
- package/docs/en/configuration.md +530 -0
- package/docs/en/dictionary/condition.md +239 -0
- package/docs/en/dictionary/content_extention_customization.md +102 -0
- package/docs/en/dictionary/enumeration.md +247 -0
- package/docs/en/dictionary/file.md +224 -0
- package/docs/en/dictionary/function_fetching.md +216 -0
- package/docs/en/dictionary/get_started.md +529 -0
- package/docs/en/dictionary/insertion.md +193 -0
- package/docs/en/dictionary/markdown.md +381 -0
- package/docs/en/dictionary/nesting.md +275 -0
- package/docs/en/dictionary/translation.md +311 -0
- package/docs/en/how_works_intlayer.md +256 -0
- package/docs/en/index.md +165 -0
- package/docs/en/interest_of_intlayer.md +156 -0
- package/docs/en/intlayer_CMS.md +360 -0
- package/docs/en/intlayer_cli.md +465 -0
- package/docs/en/intlayer_visual_editor.md +269 -0
- package/docs/en/intlayer_with_angular.md +693 -0
- package/docs/en/intlayer_with_create_react_app.md +1221 -0
- package/docs/en/intlayer_with_express.md +415 -0
- package/docs/en/intlayer_with_lynx+react.md +510 -0
- package/docs/en/intlayer_with_nextjs_14.md +1462 -0
- package/docs/en/intlayer_with_nextjs_15.md +1506 -0
- package/docs/en/intlayer_with_nextjs_page_router.md +1489 -0
- package/docs/en/intlayer_with_nuxt.md +772 -0
- package/docs/en/intlayer_with_react_native+expo.md +659 -0
- package/docs/en/intlayer_with_vite+preact.md +1666 -0
- package/docs/en/intlayer_with_vite+react.md +1622 -0
- package/docs/en/intlayer_with_vite+solid.md +283 -0
- package/docs/en/intlayer_with_vite+svelte.md +283 -0
- package/docs/en/intlayer_with_vite+vue.md +1037 -0
- package/docs/en/introduction.md +209 -0
- package/docs/en/mcp_server.md +215 -0
- package/docs/en/packages/@intlayer/api/index.md +58 -0
- package/docs/en/packages/@intlayer/chokidar/index.md +57 -0
- package/docs/en/packages/@intlayer/cli/index.md +47 -0
- package/docs/en/packages/@intlayer/config/index.md +142 -0
- package/docs/en/packages/@intlayer/core/index.md +51 -0
- package/docs/en/packages/@intlayer/design-system/index.md +47 -0
- package/docs/en/packages/@intlayer/dictionary-entry/index.md +47 -0
- package/docs/en/packages/@intlayer/editor/index.md +47 -0
- package/docs/en/packages/@intlayer/editor-react/index.md +47 -0
- package/docs/en/packages/@intlayer/webpack/index.md +61 -0
- package/docs/en/packages/angular-intlayer/index.md +55 -0
- package/docs/en/packages/express-intlayer/index.md +254 -0
- package/docs/en/packages/express-intlayer/t.md +459 -0
- package/docs/en/packages/intlayer/getConfiguration.md +148 -0
- package/docs/en/packages/intlayer/getEnumeration.md +166 -0
- package/docs/en/packages/intlayer/getHTMLTextDir.md +125 -0
- package/docs/en/packages/intlayer/getLocaleLang.md +85 -0
- package/docs/en/packages/intlayer/getLocaleName.md +121 -0
- package/docs/en/packages/intlayer/getLocalizedUrl.md +249 -0
- package/docs/en/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +78 -0
- package/docs/en/packages/intlayer/getTranslation.md +194 -0
- package/docs/en/packages/intlayer/getTranslationContent.md +193 -0
- package/docs/en/packages/intlayer/index.md +501 -0
- package/docs/en/packages/intlayer-cli/index.md +67 -0
- package/docs/en/packages/intlayer-editor/index.md +139 -0
- package/docs/en/packages/lynx-intlayer/index.md +85 -0
- package/docs/en/packages/next-intlayer/index.md +288 -0
- package/docs/en/packages/next-intlayer/t.md +354 -0
- package/docs/en/packages/next-intlayer/useDictionary.md +270 -0
- package/docs/en/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/en/packages/next-intlayer/useIntlayerAsync.md +239 -0
- package/docs/en/packages/next-intlayer/useLocale.md +133 -0
- package/docs/en/packages/nuxt-intlayer/index.md +55 -0
- package/docs/en/packages/preact-intlayer/index.md +55 -0
- package/docs/en/packages/react-intlayer/index.md +282 -0
- package/docs/en/packages/react-intlayer/t.md +304 -0
- package/docs/en/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/en/packages/react-intlayer/useIntlayer.md +253 -0
- package/docs/en/packages/react-intlayer/useIntlayerAsync.md +254 -0
- package/docs/en/packages/react-intlayer/useLocale.md +212 -0
- package/docs/en/packages/react-native-intlayer/index.md +85 -0
- package/docs/en/packages/react-scripts-intlayer/index.md +82 -0
- package/docs/en/packages/solid-intlayer/index.md +56 -0
- package/docs/en/packages/svelte-intlayer/index.md +55 -0
- package/docs/en/packages/vite-intlayer/index.md +78 -0
- package/docs/en/packages/vue-intlayer/index.md +55 -0
- package/docs/en/per_locale_file.md +321 -0
- package/docs/en/roadmap.md +340 -0
- package/docs/en/vs_code_extension.md +154 -0
- package/docs/en-GB/CI_CD.md +172 -0
- package/docs/en-GB/autoFill.md +178 -0
- package/docs/en-GB/configuration.md +525 -0
- package/docs/en-GB/dictionary/condition.md +237 -0
- package/docs/en-GB/dictionary/content_extention_customization.md +100 -0
- package/docs/en-GB/dictionary/enumeration.md +245 -0
- package/docs/en-GB/dictionary/file.md +222 -0
- package/docs/en-GB/dictionary/function_fetching.md +214 -0
- package/docs/en-GB/dictionary/get_started.md +591 -0
- package/docs/en-GB/dictionary/insertion.md +219 -0
- package/docs/en-GB/dictionary/markdown.md +379 -0
- package/docs/en-GB/dictionary/nesting.md +273 -0
- package/docs/en-GB/dictionary/translation.md +309 -0
- package/docs/en-GB/how_works_intlayer.md +267 -0
- package/docs/en-GB/index.md +163 -0
- package/docs/en-GB/interest_of_intlayer.md +163 -0
- package/docs/en-GB/intlayer_CMS.md +366 -0
- package/docs/en-GB/intlayer_cli.md +455 -0
- package/docs/en-GB/intlayer_visual_editor.md +267 -0
- package/docs/en-GB/intlayer_with_angular.md +744 -0
- package/docs/en-GB/intlayer_with_create_react_app.md +1371 -0
- package/docs/en-GB/intlayer_with_express.md +435 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +551 -0
- package/docs/en-GB/intlayer_with_nextjs_14.md +1457 -0
- package/docs/en-GB/intlayer_with_nextjs_15.md +1531 -0
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +1493 -0
- package/docs/en-GB/intlayer_with_nuxt.md +807 -0
- package/docs/en-GB/intlayer_with_react_native+expo.md +659 -0
- package/docs/en-GB/intlayer_with_vite+preact.md +1676 -0
- package/docs/en-GB/intlayer_with_vite+react.md +1684 -0
- package/docs/en-GB/intlayer_with_vite+solid.md +283 -0
- package/docs/en-GB/intlayer_with_vite+svelte.md +281 -0
- package/docs/en-GB/intlayer_with_vite+vue.md +1139 -0
- package/docs/en-GB/introduction.md +207 -0
- package/docs/en-GB/mcp_server.md +174 -0
- package/docs/en-GB/packages/@intlayer/api/index.md +56 -0
- package/docs/en-GB/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/en-GB/packages/@intlayer/cli/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/config/index.md +140 -0
- package/docs/en-GB/packages/@intlayer/core/index.md +49 -0
- package/docs/en-GB/packages/@intlayer/design-system/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/webpack/index.md +60 -0
- package/docs/en-GB/packages/angular-intlayer/index.md +53 -0
- package/docs/en-GB/packages/express-intlayer/index.md +264 -0
- package/docs/en-GB/packages/express-intlayer/t.md +457 -0
- package/docs/en-GB/packages/intlayer/getConfiguration.md +146 -0
- package/docs/en-GB/packages/intlayer/getEnumeration.md +164 -0
- package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/en-GB/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/en-GB/packages/intlayer/getLocaleName.md +119 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +275 -0
- package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +229 -0
- package/docs/en-GB/packages/intlayer/getTranslationContent.md +204 -0
- package/docs/en-GB/packages/intlayer/index.md +533 -0
- package/docs/en-GB/packages/intlayer-cli/index.md +65 -0
- package/docs/en-GB/packages/intlayer-editor/index.md +137 -0
- package/docs/en-GB/packages/lynx-intlayer/index.md +89 -0
- package/docs/en-GB/packages/next-intlayer/index.md +315 -0
- package/docs/en-GB/packages/next-intlayer/t.md +360 -0
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +274 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +269 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/en-GB/packages/next-intlayer/useLocale.md +131 -0
- package/docs/en-GB/packages/nuxt-intlayer/index.md +53 -0
- package/docs/en-GB/packages/preact-intlayer/index.md +53 -0
- package/docs/en-GB/packages/react-intlayer/index.md +280 -0
- package/docs/en-GB/packages/react-intlayer/t.md +303 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +293 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/en-GB/packages/react-intlayer/useLocale.md +209 -0
- package/docs/en-GB/packages/react-native-intlayer/index.md +83 -0
- package/docs/en-GB/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/en-GB/packages/solid-intlayer/index.md +54 -0
- package/docs/en-GB/packages/svelte-intlayer/index.md +53 -0
- package/docs/en-GB/packages/vite-intlayer/index.md +76 -0
- package/docs/en-GB/packages/vue-intlayer/index.md +53 -0
- package/docs/en-GB/per_locale_file.md +319 -0
- package/docs/en-GB/roadmap.md +337 -0
- package/docs/en-GB/vs_code_extension.md +152 -0
- package/docs/es/CI_CD.md +172 -0
- package/docs/es/autoFill.md +179 -0
- package/docs/es/configuration.md +524 -0
- package/docs/es/dictionary/condition.md +233 -0
- package/docs/es/dictionary/content_extention_customization.md +100 -0
- package/docs/es/dictionary/enumeration.md +246 -0
- package/docs/es/dictionary/file.md +222 -0
- package/docs/es/dictionary/function_fetching.md +214 -0
- package/docs/es/dictionary/get_started.md +527 -0
- package/docs/es/dictionary/insertion.md +185 -0
- package/docs/es/dictionary/markdown.md +358 -0
- package/docs/es/dictionary/nesting.md +269 -0
- package/docs/es/dictionary/translation.md +309 -0
- package/docs/es/how_works_intlayer.md +256 -0
- package/docs/es/index.md +165 -0
- package/docs/es/interest_of_intlayer.md +157 -0
- package/docs/es/intlayer_CMS.md +354 -0
- package/docs/es/intlayer_cli.md +454 -0
- package/docs/es/intlayer_visual_editor.md +291 -0
- package/docs/es/intlayer_with_angular.md +695 -0
- package/docs/es/intlayer_with_create_react_app.md +1207 -0
- package/docs/es/intlayer_with_express.md +440 -0
- package/docs/es/intlayer_with_lynx+react.md +506 -0
- package/docs/es/intlayer_with_nextjs_14.md +1501 -0
- package/docs/es/intlayer_with_nextjs_15.md +1505 -0
- package/docs/es/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/es/intlayer_with_nuxt.md +794 -0
- package/docs/es/intlayer_with_react_native+expo.md +658 -0
- package/docs/es/intlayer_with_vite+preact.md +1693 -0
- package/docs/es/intlayer_with_vite+react.md +1620 -0
- package/docs/es/intlayer_with_vite+solid.md +288 -0
- package/docs/es/intlayer_with_vite+svelte.md +285 -0
- package/docs/es/intlayer_with_vite+vue.md +1121 -0
- package/docs/es/introduction.md +209 -0
- package/docs/es/mcp_server.md +174 -0
- package/docs/es/packages/@intlayer/api/index.md +56 -0
- package/docs/es/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/es/packages/@intlayer/cli/index.md +45 -0
- package/docs/es/packages/@intlayer/config/index.md +140 -0
- package/docs/es/packages/@intlayer/core/index.md +49 -0
- package/docs/es/packages/@intlayer/design-system/index.md +45 -0
- package/docs/es/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/es/packages/@intlayer/editor/index.md +45 -0
- package/docs/es/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/es/packages/@intlayer/webpack/index.md +59 -0
- package/docs/es/packages/angular-intlayer/index.md +53 -0
- package/docs/es/packages/express-intlayer/index.md +252 -0
- package/docs/es/packages/express-intlayer/t.md +468 -0
- package/docs/es/packages/intlayer/getConfiguration.md +146 -0
- package/docs/es/packages/intlayer/getEnumeration.md +164 -0
- package/docs/es/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/es/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/es/packages/intlayer/getLocaleName.md +119 -0
- package/docs/es/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/es/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/es/packages/intlayer/getTranslation.md +192 -0
- package/docs/es/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/es/packages/intlayer/index.md +507 -0
- package/docs/es/packages/intlayer-cli/index.md +65 -0
- package/docs/es/packages/intlayer-editor/index.md +139 -0
- package/docs/es/packages/lynx-intlayer/index.md +83 -0
- package/docs/es/packages/next-intlayer/index.md +286 -0
- package/docs/es/packages/next-intlayer/t.md +352 -0
- package/docs/es/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/es/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/es/packages/next-intlayer/useIntlayerAsync.md +240 -0
- package/docs/es/packages/next-intlayer/useLocale.md +131 -0
- package/docs/es/packages/nuxt-intlayer/index.md +53 -0
- package/docs/es/packages/preact-intlayer/index.md +53 -0
- package/docs/es/packages/react-intlayer/index.md +280 -0
- package/docs/es/packages/react-intlayer/t.md +303 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +285 -0
- package/docs/es/packages/react-intlayer/useIntlayer.md +253 -0
- package/docs/es/packages/react-intlayer/useIntlayerAsync.md +276 -0
- package/docs/es/packages/react-intlayer/useLocale.md +210 -0
- package/docs/es/packages/react-native-intlayer/index.md +83 -0
- package/docs/es/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/es/packages/solid-intlayer/index.md +54 -0
- package/docs/es/packages/svelte-intlayer/index.md +53 -0
- package/docs/es/packages/vite-intlayer/index.md +76 -0
- package/docs/es/packages/vue-intlayer/index.md +53 -0
- package/docs/es/per_locale_file.md +321 -0
- package/docs/es/roadmap.md +337 -0
- package/docs/es/vs_code_extension.md +152 -0
- package/docs/fr/CI_CD.md +172 -0
- package/docs/fr/autoFill.md +178 -0
- package/docs/fr/configuration.md +525 -0
- package/docs/fr/dictionary/condition.md +233 -0
- package/docs/fr/dictionary/content_extention_customization.md +100 -0
- package/docs/fr/dictionary/enumeration.md +245 -0
- package/docs/fr/dictionary/file.md +222 -0
- package/docs/fr/dictionary/function_fetching.md +214 -0
- package/docs/fr/dictionary/get_started.md +527 -0
- package/docs/fr/dictionary/insertion.md +185 -0
- package/docs/fr/dictionary/markdown.md +350 -0
- package/docs/fr/dictionary/nesting.md +269 -0
- package/docs/fr/dictionary/translation.md +309 -0
- package/docs/fr/how_works_intlayer.md +253 -0
- package/docs/fr/index.md +163 -0
- package/docs/fr/interest_of_intlayer.md +156 -0
- package/docs/fr/intlayer_CMS.md +355 -0
- package/docs/fr/intlayer_cli.md +477 -0
- package/docs/fr/intlayer_visual_editor.md +267 -0
- package/docs/fr/intlayer_with_angular.md +701 -0
- package/docs/fr/intlayer_with_create_react_app.md +1214 -0
- package/docs/fr/intlayer_with_express.md +408 -0
- package/docs/fr/intlayer_with_lynx+react.md +507 -0
- package/docs/fr/intlayer_with_nextjs_14.md +1266 -0
- package/docs/fr/intlayer_with_nextjs_15.md +1553 -0
- package/docs/fr/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/fr/intlayer_with_nuxt.md +803 -0
- package/docs/fr/intlayer_with_react_native+expo.md +659 -0
- package/docs/fr/intlayer_with_vite+preact.md +1669 -0
- package/docs/fr/intlayer_with_vite+react.md +1645 -0
- package/docs/fr/intlayer_with_vite+solid.md +288 -0
- package/docs/fr/intlayer_with_vite+svelte.md +284 -0
- package/docs/fr/intlayer_with_vite+vue.md +1068 -0
- package/docs/fr/introduction.md +209 -0
- package/docs/fr/mcp_server.md +174 -0
- package/docs/fr/packages/@intlayer/api/index.md +56 -0
- package/docs/fr/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/fr/packages/@intlayer/cli/index.md +45 -0
- package/docs/fr/packages/@intlayer/config/index.md +140 -0
- package/docs/fr/packages/@intlayer/core/index.md +49 -0
- package/docs/fr/packages/@intlayer/design-system/index.md +45 -0
- package/docs/fr/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/fr/packages/@intlayer/webpack/index.md +59 -0
- package/docs/fr/packages/angular-intlayer/index.md +53 -0
- package/docs/fr/packages/express-intlayer/index.md +284 -0
- package/docs/fr/packages/express-intlayer/t.md +469 -0
- package/docs/fr/packages/intlayer/getConfiguration.md +146 -0
- package/docs/fr/packages/intlayer/getEnumeration.md +164 -0
- package/docs/fr/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/fr/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/fr/packages/intlayer/getLocaleName.md +119 -0
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/fr/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/fr/packages/intlayer/getTranslation.md +192 -0
- package/docs/fr/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/fr/packages/intlayer/index.md +500 -0
- package/docs/fr/packages/intlayer-cli/index.md +65 -0
- package/docs/fr/packages/intlayer-editor/index.md +139 -0
- package/docs/fr/packages/lynx-intlayer/index.md +83 -0
- package/docs/fr/packages/next-intlayer/index.md +286 -0
- package/docs/fr/packages/next-intlayer/t.md +352 -0
- package/docs/fr/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/fr/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/fr/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/fr/packages/next-intlayer/useLocale.md +131 -0
- package/docs/fr/packages/nuxt-intlayer/index.md +53 -0
- package/docs/fr/packages/preact-intlayer/index.md +53 -0
- package/docs/fr/packages/react-intlayer/index.md +280 -0
- package/docs/fr/packages/react-intlayer/t.md +302 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +286 -0
- package/docs/fr/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/fr/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/fr/packages/react-intlayer/useLocale.md +210 -0
- package/docs/fr/packages/react-native-intlayer/index.md +83 -0
- package/docs/fr/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/fr/packages/solid-intlayer/index.md +54 -0
- package/docs/fr/packages/svelte-intlayer/index.md +53 -0
- package/docs/fr/packages/vite-intlayer/index.md +76 -0
- package/docs/fr/packages/vue-intlayer/index.md +53 -0
- package/docs/fr/per_locale_file.md +325 -0
- package/docs/fr/roadmap.md +337 -0
- package/docs/fr/vs_code_extension.md +152 -0
- package/docs/hi/CI_CD.md +173 -0
- package/docs/hi/autoFill.md +179 -0
- package/docs/hi/configuration.md +527 -0
- package/docs/hi/dictionary/condition.md +233 -0
- package/docs/hi/dictionary/content_extention_customization.md +100 -0
- package/docs/hi/dictionary/enumeration.md +247 -0
- package/docs/hi/dictionary/file.md +222 -0
- package/docs/hi/dictionary/function_fetching.md +214 -0
- package/docs/hi/dictionary/get_started.md +527 -0
- package/docs/hi/dictionary/insertion.md +192 -0
- package/docs/hi/dictionary/markdown.md +358 -0
- package/docs/hi/dictionary/nesting.md +269 -0
- package/docs/hi/dictionary/translation.md +316 -0
- package/docs/hi/how_works_intlayer.md +251 -0
- package/docs/hi/index.md +166 -0
- package/docs/hi/interest_of_intlayer.md +154 -0
- package/docs/hi/intlayer_CMS.md +354 -0
- package/docs/hi/intlayer_cli.md +454 -0
- package/docs/hi/intlayer_visual_editor.md +267 -0
- package/docs/hi/intlayer_with_angular.md +676 -0
- package/docs/hi/intlayer_with_create_react_app.md +1401 -0
- package/docs/hi/intlayer_with_express.md +461 -0
- package/docs/hi/intlayer_with_lynx+react.md +542 -0
- package/docs/hi/intlayer_with_nextjs_14.md +1291 -0
- package/docs/hi/intlayer_with_nextjs_15.md +1513 -0
- package/docs/hi/intlayer_with_nextjs_page_router.md +1487 -0
- package/docs/hi/intlayer_with_nuxt.md +825 -0
- package/docs/hi/intlayer_with_react_native+expo.md +659 -0
- package/docs/hi/intlayer_with_vite+preact.md +1709 -0
- package/docs/hi/intlayer_with_vite+react.md +1626 -0
- package/docs/hi/intlayer_with_vite+solid.md +287 -0
- package/docs/hi/intlayer_with_vite+svelte.md +276 -0
- package/docs/hi/intlayer_with_vite+vue.md +1053 -0
- package/docs/hi/introduction.md +212 -0
- package/docs/hi/mcp_server.md +174 -0
- package/docs/hi/packages/@intlayer/api/index.md +56 -0
- package/docs/hi/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/hi/packages/@intlayer/cli/index.md +45 -0
- package/docs/hi/packages/@intlayer/config/index.md +140 -0
- package/docs/hi/packages/@intlayer/core/index.md +49 -0
- package/docs/hi/packages/@intlayer/design-system/index.md +45 -0
- package/docs/hi/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/hi/packages/@intlayer/webpack/index.md +59 -0
- package/docs/hi/packages/angular-intlayer/index.md +53 -0
- package/docs/hi/packages/express-intlayer/index.md +252 -0
- package/docs/hi/packages/express-intlayer/t.md +457 -0
- package/docs/hi/packages/intlayer/getConfiguration.md +146 -0
- package/docs/hi/packages/intlayer/getEnumeration.md +164 -0
- package/docs/hi/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/hi/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/hi/packages/intlayer/getLocaleName.md +119 -0
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/hi/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/hi/packages/intlayer/getTranslation.md +192 -0
- package/docs/hi/packages/intlayer/getTranslationContent.md +190 -0
- package/docs/hi/packages/intlayer/index.md +499 -0
- package/docs/hi/packages/intlayer-cli/index.md +65 -0
- package/docs/hi/packages/intlayer-editor/index.md +137 -0
- package/docs/hi/packages/lynx-intlayer/index.md +83 -0
- package/docs/hi/packages/next-intlayer/index.md +287 -0
- package/docs/hi/packages/next-intlayer/t.md +353 -0
- package/docs/hi/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/hi/packages/next-intlayer/useLocale.md +131 -0
- package/docs/hi/packages/nuxt-intlayer/index.md +53 -0
- package/docs/hi/packages/preact-intlayer/index.md +53 -0
- package/docs/hi/packages/react-intlayer/index.md +280 -0
- package/docs/hi/packages/react-intlayer/t.md +297 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/hi/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/hi/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/hi/packages/react-intlayer/useLocale.md +210 -0
- package/docs/hi/packages/react-native-intlayer/index.md +83 -0
- package/docs/hi/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/hi/packages/solid-intlayer/index.md +54 -0
- package/docs/hi/packages/svelte-intlayer/index.md +53 -0
- package/docs/hi/packages/vite-intlayer/index.md +76 -0
- package/docs/hi/packages/vue-intlayer/index.md +53 -0
- package/docs/hi/per_locale_file.md +323 -0
- package/docs/hi/roadmap.md +337 -0
- package/docs/hi/vs_code_extension.md +152 -0
- package/docs/it/CI_CD.md +172 -0
- package/docs/it/autoFill.md +179 -0
- package/docs/it/configuration.md +524 -0
- package/docs/it/dictionary/condition.md +233 -0
- package/docs/it/dictionary/content_extention_customization.md +113 -0
- package/docs/it/dictionary/enumeration.md +252 -0
- package/docs/it/dictionary/file.md +222 -0
- package/docs/it/dictionary/function_fetching.md +214 -0
- package/docs/it/dictionary/get_started.md +573 -0
- package/docs/it/dictionary/insertion.md +185 -0
- package/docs/it/dictionary/markdown.md +357 -0
- package/docs/it/dictionary/nesting.md +269 -0
- package/docs/it/dictionary/translation.md +309 -0
- package/docs/it/how_works_intlayer.md +255 -0
- package/docs/it/index.md +166 -0
- package/docs/it/interest_of_intlayer.md +156 -0
- package/docs/it/intlayer_CMS.md +352 -0
- package/docs/it/intlayer_cli.md +454 -0
- package/docs/it/intlayer_visual_editor.md +267 -0
- package/docs/it/intlayer_with_angular.md +742 -0
- package/docs/it/intlayer_with_create_react_app.md +1156 -0
- package/docs/it/intlayer_with_express.md +415 -0
- package/docs/it/intlayer_with_lynx+react.md +520 -0
- package/docs/it/intlayer_with_nextjs_14.md +1277 -0
- package/docs/it/intlayer_with_nextjs_15.md +1528 -0
- package/docs/it/intlayer_with_nextjs_page_router.md +1492 -0
- package/docs/it/intlayer_with_nuxt.md +809 -0
- package/docs/it/intlayer_with_react_native+expo.md +661 -0
- package/docs/it/intlayer_with_vite+preact.md +1698 -0
- package/docs/it/intlayer_with_vite+react.md +1667 -0
- package/docs/it/intlayer_with_vite+solid.md +287 -0
- package/docs/it/intlayer_with_vite+svelte.md +284 -0
- package/docs/it/intlayer_with_vite+vue.md +1112 -0
- package/docs/it/introduction.md +209 -0
- package/docs/it/mcp_server.md +174 -0
- package/docs/it/packages/@intlayer/api/index.md +56 -0
- package/docs/it/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/it/packages/@intlayer/cli/index.md +45 -0
- package/docs/it/packages/@intlayer/config/index.md +140 -0
- package/docs/it/packages/@intlayer/core/index.md +49 -0
- package/docs/it/packages/@intlayer/design-system/index.md +45 -0
- package/docs/it/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/it/packages/@intlayer/editor/index.md +45 -0
- package/docs/it/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/it/packages/@intlayer/webpack/index.md +59 -0
- package/docs/it/packages/angular-intlayer/index.md +53 -0
- package/docs/it/packages/express-intlayer/index.md +228 -0
- package/docs/it/packages/express-intlayer/t.md +457 -0
- package/docs/it/packages/intlayer/getConfiguration.md +146 -0
- package/docs/it/packages/intlayer/getEnumeration.md +164 -0
- package/docs/it/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/it/packages/intlayer/getLocaleLang.md +84 -0
- package/docs/it/packages/intlayer/getLocaleName.md +119 -0
- package/docs/it/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/it/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/it/packages/intlayer/getTranslation.md +191 -0
- package/docs/it/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/it/packages/intlayer/index.md +500 -0
- package/docs/it/packages/intlayer-cli/index.md +65 -0
- package/docs/it/packages/intlayer-editor/index.md +139 -0
- package/docs/it/packages/lynx-intlayer/index.md +83 -0
- package/docs/it/packages/next-intlayer/index.md +286 -0
- package/docs/it/packages/next-intlayer/t.md +356 -0
- package/docs/it/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/it/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/it/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/it/packages/next-intlayer/useLocale.md +131 -0
- package/docs/it/packages/nuxt-intlayer/index.md +53 -0
- package/docs/it/packages/preact-intlayer/index.md +53 -0
- package/docs/it/packages/react-intlayer/index.md +281 -0
- package/docs/it/packages/react-intlayer/t.md +302 -0
- package/docs/it/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/it/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/it/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/it/packages/react-intlayer/useLocale.md +210 -0
- package/docs/it/packages/react-native-intlayer/index.md +83 -0
- package/docs/it/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/it/packages/solid-intlayer/index.md +54 -0
- package/docs/it/packages/svelte-intlayer/index.md +53 -0
- package/docs/it/packages/vite-intlayer/index.md +76 -0
- package/docs/it/packages/vue-intlayer/index.md +53 -0
- package/docs/it/per_locale_file.md +325 -0
- package/docs/it/roadmap.md +337 -0
- package/docs/it/vs_code_extension.md +153 -0
- package/docs/ja/CI_CD.md +172 -0
- package/docs/ja/autoFill.md +179 -0
- package/docs/ja/configuration.md +525 -0
- package/docs/ja/dictionary/condition.md +233 -0
- package/docs/ja/dictionary/content_extention_customization.md +113 -0
- package/docs/ja/dictionary/enumeration.md +247 -0
- package/docs/ja/dictionary/file.md +232 -0
- package/docs/ja/dictionary/function_fetching.md +241 -0
- package/docs/ja/dictionary/get_started.md +576 -0
- package/docs/ja/dictionary/insertion.md +191 -0
- package/docs/ja/dictionary/markdown.md +357 -0
- package/docs/ja/dictionary/nesting.md +269 -0
- package/docs/ja/dictionary/translation.md +372 -0
- package/docs/ja/how_works_intlayer.md +254 -0
- package/docs/ja/index.md +164 -0
- package/docs/ja/interest_of_intlayer.md +160 -0
- package/docs/ja/intlayer_CMS.md +355 -0
- package/docs/ja/intlayer_cli.md +458 -0
- package/docs/ja/intlayer_visual_editor.md +272 -0
- package/docs/ja/intlayer_with_angular.md +671 -0
- package/docs/ja/intlayer_with_create_react_app.md +1236 -0
- package/docs/ja/intlayer_with_express.md +414 -0
- package/docs/ja/intlayer_with_lynx+react.md +521 -0
- package/docs/ja/intlayer_with_nextjs_14.md +1495 -0
- package/docs/ja/intlayer_with_nextjs_15.md +1532 -0
- package/docs/ja/intlayer_with_nextjs_page_router.md +1490 -0
- package/docs/ja/intlayer_with_nuxt.md +803 -0
- package/docs/ja/intlayer_with_react_native+expo.md +700 -0
- package/docs/ja/intlayer_with_vite+preact.md +1684 -0
- package/docs/ja/intlayer_with_vite+react.md +1671 -0
- package/docs/ja/intlayer_with_vite+solid.md +310 -0
- package/docs/ja/intlayer_with_vite+svelte.md +286 -0
- package/docs/ja/intlayer_with_vite+vue.md +1078 -0
- package/docs/ja/introduction.md +208 -0
- package/docs/ja/mcp_server.md +174 -0
- package/docs/ja/packages/@intlayer/api/index.md +56 -0
- package/docs/ja/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ja/packages/@intlayer/cli/index.md +45 -0
- package/docs/ja/packages/@intlayer/config/index.md +140 -0
- package/docs/ja/packages/@intlayer/core/index.md +49 -0
- package/docs/ja/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ja/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ja/packages/@intlayer/webpack/index.md +60 -0
- package/docs/ja/packages/angular-intlayer/index.md +53 -0
- package/docs/ja/packages/express-intlayer/index.md +284 -0
- package/docs/ja/packages/express-intlayer/t.md +473 -0
- package/docs/ja/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ja/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ja/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/ja/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ja/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +274 -0
- package/docs/ja/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ja/packages/intlayer/getTranslation.md +192 -0
- package/docs/ja/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ja/packages/intlayer/index.md +503 -0
- package/docs/ja/packages/intlayer-cli/index.md +65 -0
- package/docs/ja/packages/intlayer-editor/index.md +137 -0
- package/docs/ja/packages/lynx-intlayer/index.md +83 -0
- package/docs/ja/packages/next-intlayer/index.md +286 -0
- package/docs/ja/packages/next-intlayer/t.md +353 -0
- package/docs/ja/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ja/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ja/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ja/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ja/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ja/packages/preact-intlayer/index.md +53 -0
- package/docs/ja/packages/react-intlayer/index.md +287 -0
- package/docs/ja/packages/react-intlayer/t.md +302 -0
- package/docs/ja/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ja/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/ja/packages/react-intlayer/useIntlayerAsync.md +268 -0
- package/docs/ja/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ja/packages/react-native-intlayer/index.md +83 -0
- package/docs/ja/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ja/packages/solid-intlayer/index.md +54 -0
- package/docs/ja/packages/svelte-intlayer/index.md +53 -0
- package/docs/ja/packages/vite-intlayer/index.md +76 -0
- package/docs/ja/packages/vue-intlayer/index.md +53 -0
- package/docs/ja/per_locale_file.md +321 -0
- package/docs/ja/roadmap.md +337 -0
- package/docs/ja/vs_code_extension.md +152 -0
- package/docs/ko/CI_CD.md +172 -0
- package/docs/ko/autoFill.md +178 -0
- package/docs/ko/configuration.md +524 -0
- package/docs/ko/dictionary/condition.md +233 -0
- package/docs/ko/dictionary/content_extention_customization.md +100 -0
- package/docs/ko/dictionary/enumeration.md +247 -0
- package/docs/ko/dictionary/file.md +232 -0
- package/docs/ko/dictionary/function_fetching.md +212 -0
- package/docs/ko/dictionary/get_started.md +530 -0
- package/docs/ko/dictionary/insertion.md +197 -0
- package/docs/ko/dictionary/markdown.md +357 -0
- package/docs/ko/dictionary/nesting.md +269 -0
- package/docs/ko/dictionary/translation.md +339 -0
- package/docs/ko/how_works_intlayer.md +251 -0
- package/docs/ko/index.md +164 -0
- package/docs/ko/interest_of_intlayer.md +159 -0
- package/docs/ko/intlayer_CMS.md +356 -0
- package/docs/ko/intlayer_cli.md +457 -0
- package/docs/ko/intlayer_visual_editor.md +269 -0
- package/docs/ko/intlayer_with_angular.md +687 -0
- package/docs/ko/intlayer_with_create_react_app.md +1234 -0
- package/docs/ko/intlayer_with_express.md +434 -0
- package/docs/ko/intlayer_with_lynx+react.md +525 -0
- package/docs/ko/intlayer_with_nextjs_14.md +1481 -0
- package/docs/ko/intlayer_with_nextjs_15.md +1551 -0
- package/docs/ko/intlayer_with_nextjs_page_router.md +1514 -0
- package/docs/ko/intlayer_with_nuxt.md +807 -0
- package/docs/ko/intlayer_with_react_native+expo.md +703 -0
- package/docs/ko/intlayer_with_vite+preact.md +1733 -0
- package/docs/ko/intlayer_with_vite+react.md +1623 -0
- package/docs/ko/intlayer_with_vite+solid.md +285 -0
- package/docs/ko/intlayer_with_vite+svelte.md +373 -0
- package/docs/ko/intlayer_with_vite+vue.md +1082 -0
- package/docs/ko/introduction.md +209 -0
- package/docs/ko/mcp_server.md +174 -0
- package/docs/ko/packages/@intlayer/api/index.md +56 -0
- package/docs/ko/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ko/packages/@intlayer/cli/index.md +45 -0
- package/docs/ko/packages/@intlayer/config/index.md +140 -0
- package/docs/ko/packages/@intlayer/core/index.md +49 -0
- package/docs/ko/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ko/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ko/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ko/packages/angular-intlayer/index.md +53 -0
- package/docs/ko/packages/express-intlayer/index.md +285 -0
- package/docs/ko/packages/express-intlayer/t.md +509 -0
- package/docs/ko/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ko/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ko/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ko/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ko/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +259 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +261 -0
- package/docs/ko/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ko/packages/intlayer/getTranslation.md +192 -0
- package/docs/ko/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ko/packages/intlayer/index.md +499 -0
- package/docs/ko/packages/intlayer-cli/index.md +65 -0
- package/docs/ko/packages/intlayer-editor/index.md +137 -0
- package/docs/ko/packages/lynx-intlayer/index.md +83 -0
- package/docs/ko/packages/next-intlayer/index.md +287 -0
- package/docs/ko/packages/next-intlayer/t.md +354 -0
- package/docs/ko/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ko/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ko/packages/next-intlayer/useIntlayerAsync.md +260 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +136 -0
- package/docs/ko/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ko/packages/preact-intlayer/index.md +53 -0
- package/docs/ko/packages/react-intlayer/index.md +287 -0
- package/docs/ko/packages/react-intlayer/t.md +345 -0
- package/docs/ko/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/ko/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ko/packages/react-intlayer/useIntlayerAsync.md +271 -0
- package/docs/ko/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ko/packages/react-native-intlayer/index.md +83 -0
- package/docs/ko/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ko/packages/solid-intlayer/index.md +54 -0
- package/docs/ko/packages/svelte-intlayer/index.md +53 -0
- package/docs/ko/packages/vite-intlayer/index.md +76 -0
- package/docs/ko/packages/vue-intlayer/index.md +53 -0
- package/docs/ko/per_locale_file.md +321 -0
- package/docs/ko/roadmap.md +337 -0
- package/docs/ko/vs_code_extension.md +152 -0
- package/docs/pt/CI_CD.md +172 -0
- package/docs/pt/autoFill.md +178 -0
- package/docs/pt/configuration.md +526 -0
- package/docs/pt/dictionary/condition.md +233 -0
- package/docs/pt/dictionary/content_extention_customization.md +100 -0
- package/docs/pt/dictionary/enumeration.md +245 -0
- package/docs/pt/dictionary/file.md +224 -0
- package/docs/pt/dictionary/function_fetching.md +214 -0
- package/docs/pt/dictionary/get_started.md +532 -0
- package/docs/pt/dictionary/insertion.md +195 -0
- package/docs/pt/dictionary/markdown.md +359 -0
- package/docs/pt/dictionary/nesting.md +269 -0
- package/docs/pt/dictionary/translation.md +309 -0
- package/docs/pt/how_works_intlayer.md +252 -0
- package/docs/pt/index.md +166 -0
- package/docs/pt/interest_of_intlayer.md +156 -0
- package/docs/pt/intlayer_CMS.md +352 -0
- package/docs/pt/intlayer_cli.md +454 -0
- package/docs/pt/intlayer_visual_editor.md +269 -0
- package/docs/pt/intlayer_with_angular.md +715 -0
- package/docs/pt/intlayer_with_create_react_app.md +1209 -0
- package/docs/pt/intlayer_with_express.md +434 -0
- package/docs/pt/intlayer_with_lynx+react.md +520 -0
- package/docs/pt/intlayer_with_nextjs_14.md +1277 -0
- package/docs/pt/intlayer_with_nextjs_15.md +1512 -0
- package/docs/pt/intlayer_with_nextjs_page_router.md +1525 -0
- package/docs/pt/intlayer_with_nuxt.md +818 -0
- package/docs/pt/intlayer_with_react_native+expo.md +657 -0
- package/docs/pt/intlayer_with_vite+preact.md +1693 -0
- package/docs/pt/intlayer_with_vite+react.md +1635 -0
- package/docs/pt/intlayer_with_vite+solid.md +285 -0
- package/docs/pt/intlayer_with_vite+svelte.md +284 -0
- package/docs/pt/intlayer_with_vite+vue.md +1073 -0
- package/docs/pt/introduction.md +222 -0
- package/docs/pt/mcp_server.md +174 -0
- package/docs/pt/packages/@intlayer/api/index.md +56 -0
- package/docs/pt/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/pt/packages/@intlayer/cli/index.md +45 -0
- package/docs/pt/packages/@intlayer/config/index.md +140 -0
- package/docs/pt/packages/@intlayer/core/index.md +49 -0
- package/docs/pt/packages/@intlayer/design-system/index.md +45 -0
- package/docs/pt/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/pt/packages/@intlayer/webpack/index.md +60 -0
- package/docs/pt/packages/angular-intlayer/index.md +53 -0
- package/docs/pt/packages/express-intlayer/index.md +255 -0
- package/docs/pt/packages/express-intlayer/t.md +457 -0
- package/docs/pt/packages/intlayer/getConfiguration.md +146 -0
- package/docs/pt/packages/intlayer/getEnumeration.md +164 -0
- package/docs/pt/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/pt/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/pt/packages/intlayer/getLocaleName.md +119 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/pt/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/pt/packages/intlayer/getTranslation.md +192 -0
- package/docs/pt/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/pt/packages/intlayer/index.md +500 -0
- package/docs/pt/packages/intlayer-cli/index.md +65 -0
- package/docs/pt/packages/intlayer-editor/index.md +139 -0
- package/docs/pt/packages/lynx-intlayer/index.md +83 -0
- package/docs/pt/packages/next-intlayer/index.md +286 -0
- package/docs/pt/packages/next-intlayer/t.md +352 -0
- package/docs/pt/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/pt/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/pt/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/pt/packages/next-intlayer/useLocale.md +131 -0
- package/docs/pt/packages/nuxt-intlayer/index.md +53 -0
- package/docs/pt/packages/preact-intlayer/index.md +53 -0
- package/docs/pt/packages/react-intlayer/index.md +280 -0
- package/docs/pt/packages/react-intlayer/t.md +302 -0
- package/docs/pt/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/pt/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/pt/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/pt/packages/react-intlayer/useLocale.md +210 -0
- package/docs/pt/packages/react-native-intlayer/index.md +83 -0
- package/docs/pt/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/pt/packages/solid-intlayer/index.md +54 -0
- package/docs/pt/packages/svelte-intlayer/index.md +53 -0
- package/docs/pt/packages/vite-intlayer/index.md +76 -0
- package/docs/pt/packages/vue-intlayer/index.md +53 -0
- package/docs/pt/per_locale_file.md +323 -0
- package/docs/pt/roadmap.md +337 -0
- package/docs/pt/vs_code_extension.md +152 -0
- package/docs/ru/CI_CD.md +172 -0
- package/docs/ru/autoFill.md +179 -0
- package/docs/ru/configuration.md +524 -0
- package/docs/ru/dictionary/condition.md +233 -0
- package/docs/ru/dictionary/content_extention_customization.md +100 -0
- package/docs/ru/dictionary/enumeration.md +247 -0
- package/docs/ru/dictionary/file.md +225 -0
- package/docs/ru/dictionary/function_fetching.md +212 -0
- package/docs/ru/dictionary/get_started.md +575 -0
- package/docs/ru/dictionary/insertion.md +185 -0
- package/docs/ru/dictionary/markdown.md +359 -0
- package/docs/ru/dictionary/nesting.md +269 -0
- package/docs/ru/dictionary/translation.md +310 -0
- package/docs/ru/how_works_intlayer.md +251 -0
- package/docs/ru/index.md +163 -0
- package/docs/ru/interest_of_intlayer.md +154 -0
- package/docs/ru/intlayer_CMS.md +357 -0
- package/docs/ru/intlayer_cli.md +456 -0
- package/docs/ru/intlayer_visual_editor.md +267 -0
- package/docs/ru/intlayer_with_angular.md +717 -0
- package/docs/ru/intlayer_with_create_react_app.md +1271 -0
- package/docs/ru/intlayer_with_express.md +454 -0
- package/docs/ru/intlayer_with_lynx+react.md +524 -0
- package/docs/ru/intlayer_with_nextjs_14.md +1281 -0
- package/docs/ru/intlayer_with_nextjs_15.md +1546 -0
- package/docs/ru/intlayer_with_nextjs_page_router.md +1516 -0
- package/docs/ru/intlayer_with_nuxt.md +816 -0
- package/docs/ru/intlayer_with_react_native+expo.md +660 -0
- package/docs/ru/intlayer_with_vite+preact.md +1697 -0
- package/docs/ru/intlayer_with_vite+react.md +1655 -0
- package/docs/ru/intlayer_with_vite+solid.md +287 -0
- package/docs/ru/intlayer_with_vite+svelte.md +285 -0
- package/docs/ru/intlayer_with_vite+vue.md +1073 -0
- package/docs/ru/introduction.md +212 -0
- package/docs/ru/mcp_server.md +174 -0
- package/docs/ru/packages/@intlayer/api/index.md +56 -0
- package/docs/ru/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ru/packages/@intlayer/cli/index.md +45 -0
- package/docs/ru/packages/@intlayer/config/index.md +140 -0
- package/docs/ru/packages/@intlayer/core/index.md +49 -0
- package/docs/ru/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ru/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ru/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ru/packages/angular-intlayer/index.md +53 -0
- package/docs/ru/packages/express-intlayer/index.md +253 -0
- package/docs/ru/packages/express-intlayer/t.md +459 -0
- package/docs/ru/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ru/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ru/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ru/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ru/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/ru/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ru/packages/intlayer/getTranslation.md +192 -0
- package/docs/ru/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ru/packages/intlayer/index.md +499 -0
- package/docs/ru/packages/intlayer-cli/index.md +65 -0
- package/docs/ru/packages/intlayer-editor/index.md +139 -0
- package/docs/ru/packages/lynx-intlayer/index.md +83 -0
- package/docs/ru/packages/next-intlayer/index.md +286 -0
- package/docs/ru/packages/next-intlayer/t.md +354 -0
- package/docs/ru/packages/next-intlayer/useDictionary.md +269 -0
- package/docs/ru/packages/next-intlayer/useIntlayer.md +266 -0
- package/docs/ru/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ru/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ru/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ru/packages/preact-intlayer/index.md +53 -0
- package/docs/ru/packages/react-intlayer/index.md +281 -0
- package/docs/ru/packages/react-intlayer/t.md +304 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ru/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/ru/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ru/packages/react-intlayer/useLocale.md +206 -0
- package/docs/ru/packages/react-native-intlayer/index.md +83 -0
- package/docs/ru/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ru/packages/solid-intlayer/index.md +54 -0
- package/docs/ru/packages/svelte-intlayer/index.md +53 -0
- package/docs/ru/packages/vite-intlayer/index.md +76 -0
- package/docs/ru/packages/vue-intlayer/index.md +53 -0
- package/docs/ru/per_locale_file.md +325 -0
- package/docs/ru/roadmap.md +337 -0
- package/docs/ru/vs_code_extension.md +153 -0
- package/docs/zh/CI_CD.md +172 -0
- package/docs/zh/autoFill.md +179 -0
- package/docs/zh/configuration.md +526 -0
- package/docs/zh/dictionary/condition.md +233 -0
- package/docs/zh/dictionary/content_extention_customization.md +117 -0
- package/docs/zh/dictionary/enumeration.md +246 -0
- package/docs/zh/dictionary/file.md +234 -0
- package/docs/zh/dictionary/function_fetching.md +239 -0
- package/docs/zh/dictionary/get_started.md +533 -0
- package/docs/zh/dictionary/insertion.md +272 -0
- package/docs/zh/dictionary/markdown.md +357 -0
- package/docs/zh/dictionary/nesting.md +269 -0
- package/docs/zh/dictionary/translation.md +337 -0
- package/docs/zh/how_works_intlayer.md +257 -0
- package/docs/zh/index.md +183 -0
- package/docs/zh/interest_of_intlayer.md +160 -0
- package/docs/zh/intlayer_CMS.md +356 -0
- package/docs/zh/intlayer_cli.md +452 -0
- package/docs/zh/intlayer_visual_editor.md +267 -0
- package/docs/zh/intlayer_with_angular.md +717 -0
- package/docs/zh/intlayer_with_create_react_app.md +1257 -0
- package/docs/zh/intlayer_with_express.md +433 -0
- package/docs/zh/intlayer_with_lynx+react.md +520 -0
- package/docs/zh/intlayer_with_nextjs_14.md +1477 -0
- package/docs/zh/intlayer_with_nextjs_15.md +1532 -0
- package/docs/zh/intlayer_with_nextjs_page_router.md +1484 -0
- package/docs/zh/intlayer_with_nuxt.md +839 -0
- package/docs/zh/intlayer_with_react_native+expo.md +704 -0
- package/docs/zh/intlayer_with_vite+preact.md +1738 -0
- package/docs/zh/intlayer_with_vite+react.md +1671 -0
- package/docs/zh/intlayer_with_vite+solid.md +284 -0
- package/docs/zh/intlayer_with_vite+svelte.md +283 -0
- package/docs/zh/intlayer_with_vite+vue.md +1088 -0
- package/docs/zh/introduction.md +208 -0
- package/docs/zh/mcp_server.md +175 -0
- package/docs/zh/packages/@intlayer/api/index.md +56 -0
- package/docs/zh/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/zh/packages/@intlayer/cli/index.md +45 -0
- package/docs/zh/packages/@intlayer/config/index.md +140 -0
- package/docs/zh/packages/@intlayer/core/index.md +49 -0
- package/docs/zh/packages/@intlayer/design-system/index.md +45 -0
- package/docs/zh/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/zh/packages/@intlayer/webpack/index.md +59 -0
- package/docs/zh/packages/angular-intlayer/index.md +53 -0
- package/docs/zh/packages/express-intlayer/index.md +284 -0
- package/docs/zh/packages/express-intlayer/t.md +459 -0
- package/docs/zh/packages/intlayer/getConfiguration.md +146 -0
- package/docs/zh/packages/intlayer/getEnumeration.md +164 -0
- package/docs/zh/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/zh/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/zh/packages/intlayer/getLocaleName.md +119 -0
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +259 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +228 -0
- package/docs/zh/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/zh/packages/intlayer/getTranslation.md +192 -0
- package/docs/zh/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/zh/packages/intlayer/index.md +499 -0
- package/docs/zh/packages/intlayer-cli/index.md +65 -0
- package/docs/zh/packages/intlayer-editor/index.md +137 -0
- package/docs/zh/packages/lynx-intlayer/index.md +83 -0
- package/docs/zh/packages/next-intlayer/index.md +286 -0
- package/docs/zh/packages/next-intlayer/t.md +354 -0
- package/docs/zh/packages/next-intlayer/useDictionary.md +270 -0
- package/docs/zh/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/zh/packages/next-intlayer/useIntlayerAsync.md +239 -0
- package/docs/zh/packages/next-intlayer/useLocale.md +131 -0
- package/docs/zh/packages/nuxt-intlayer/index.md +53 -0
- package/docs/zh/packages/preact-intlayer/index.md +53 -0
- package/docs/zh/packages/react-intlayer/index.md +287 -0
- package/docs/zh/packages/react-intlayer/t.md +298 -0
- package/docs/zh/packages/react-intlayer/useDictionary.md +312 -0
- package/docs/zh/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/zh/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/zh/packages/react-intlayer/useLocale.md +210 -0
- package/docs/zh/packages/react-native-intlayer/index.md +83 -0
- package/docs/zh/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/zh/packages/solid-intlayer/index.md +54 -0
- package/docs/zh/packages/svelte-intlayer/index.md +53 -0
- package/docs/zh/packages/vite-intlayer/index.md +76 -0
- package/docs/zh/packages/vue-intlayer/index.md +53 -0
- package/docs/zh/per_locale_file.md +323 -0
- package/docs/zh/roadmap.md +337 -0
- package/docs/zh/vs_code_extension.md +152 -0
- package/frequent_questions/ar/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ar/array_as_content_declaration.md +72 -0
- package/frequent_questions/ar/build_dictionaries.md +59 -0
- package/frequent_questions/ar/build_error_CI_CD.md +75 -0
- package/frequent_questions/ar/customized_locale_list.md +65 -0
- package/frequent_questions/ar/domain_routing.md +115 -0
- package/frequent_questions/ar/esbuild_error.md +30 -0
- package/frequent_questions/ar/get_locale_cookie.md +143 -0
- package/frequent_questions/ar/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ar/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ar/static_rendering.md +46 -0
- package/frequent_questions/ar/translated_path_url.md +56 -0
- package/frequent_questions/ar/unknown_command.md +98 -0
- package/frequent_questions/de/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/de/array_as_content_declaration.md +72 -0
- package/frequent_questions/de/build_dictionaries.md +59 -0
- package/frequent_questions/de/build_error_CI_CD.md +75 -0
- package/frequent_questions/de/customized_locale_list.md +65 -0
- package/frequent_questions/de/domain_routing.md +114 -0
- package/frequent_questions/de/esbuild_error.md +30 -0
- package/frequent_questions/de/get_locale_cookie.md +143 -0
- package/frequent_questions/de/intlayer_command_undefined.md +157 -0
- package/frequent_questions/de/locale_incorect_in_url.md +86 -0
- package/frequent_questions/de/static_rendering.md +46 -0
- package/frequent_questions/de/translated_path_url.md +56 -0
- package/frequent_questions/de/unknown_command.md +98 -0
- package/frequent_questions/en/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en/array_as_content_declaration.md +72 -0
- package/frequent_questions/en/build_dictionaries.md +59 -0
- package/frequent_questions/en/build_error_CI_CD.md +75 -0
- package/frequent_questions/en/customized_locale_list.md +65 -0
- package/frequent_questions/en/domain_routing.md +114 -0
- package/frequent_questions/en/esbuild_error.md +30 -0
- package/frequent_questions/en/get_locale_cookie.md +143 -0
- package/frequent_questions/en/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en/static_rendering.md +46 -0
- package/frequent_questions/en/translated_path_url.md +56 -0
- package/frequent_questions/en/unknown_command.md +98 -0
- package/frequent_questions/en-GB/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en-GB/array_as_content_declaration.md +72 -0
- package/frequent_questions/en-GB/build_dictionaries.md +59 -0
- package/frequent_questions/en-GB/build_error_CI_CD.md +75 -0
- package/frequent_questions/en-GB/customized_locale_list.md +65 -0
- package/frequent_questions/en-GB/domain_routing.md +114 -0
- package/frequent_questions/en-GB/esbuild_error.md +30 -0
- package/frequent_questions/en-GB/get_locale_cookie.md +144 -0
- package/frequent_questions/en-GB/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en-GB/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en-GB/static_rendering.md +46 -0
- package/frequent_questions/en-GB/translated_path_url.md +56 -0
- package/frequent_questions/en-GB/unknown_command.md +98 -0
- package/frequent_questions/es/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/es/array_as_content_declaration.md +72 -0
- package/frequent_questions/es/build_dictionaries.md +59 -0
- package/frequent_questions/es/build_error_CI_CD.md +75 -0
- package/frequent_questions/es/customized_locale_list.md +65 -0
- package/frequent_questions/es/domain_routing.md +114 -0
- package/frequent_questions/es/esbuild_error.md +30 -0
- package/frequent_questions/es/get_locale_cookie.md +143 -0
- package/frequent_questions/es/intlayer_command_undefined.md +157 -0
- package/frequent_questions/es/locale_incorect_in_url.md +90 -0
- package/frequent_questions/es/static_rendering.md +46 -0
- package/frequent_questions/es/translated_path_url.md +56 -0
- package/frequent_questions/es/unknown_command.md +98 -0
- package/frequent_questions/fr/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/fr/array_as_content_declaration.md +73 -0
- package/frequent_questions/fr/build_dictionaries.md +59 -0
- package/frequent_questions/fr/build_error_CI_CD.md +75 -0
- package/frequent_questions/fr/customized_locale_list.md +65 -0
- package/frequent_questions/fr/domain_routing.md +114 -0
- package/frequent_questions/fr/esbuild_error.md +30 -0
- package/frequent_questions/fr/get_locale_cookie.md +143 -0
- package/frequent_questions/fr/intlayer_command_undefined.md +157 -0
- package/frequent_questions/fr/locale_incorect_in_url.md +79 -0
- package/frequent_questions/fr/static_rendering.md +46 -0
- package/frequent_questions/fr/translated_path_url.md +56 -0
- package/frequent_questions/fr/unknown_command.md +98 -0
- package/frequent_questions/hi/SSR_Next_no_[locale].md +107 -0
- package/frequent_questions/hi/array_as_content_declaration.md +72 -0
- package/frequent_questions/hi/build_dictionaries.md +59 -0
- package/frequent_questions/hi/build_error_CI_CD.md +75 -0
- package/frequent_questions/hi/customized_locale_list.md +65 -0
- package/frequent_questions/hi/domain_routing.md +115 -0
- package/frequent_questions/hi/esbuild_error.md +30 -0
- package/frequent_questions/hi/get_locale_cookie.md +144 -0
- package/frequent_questions/hi/intlayer_command_undefined.md +156 -0
- package/frequent_questions/hi/locale_incorect_in_url.md +74 -0
- package/frequent_questions/hi/static_rendering.md +46 -0
- package/frequent_questions/hi/translated_path_url.md +56 -0
- package/frequent_questions/hi/unknown_command.md +98 -0
- package/frequent_questions/it/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/it/array_as_content_declaration.md +72 -0
- package/frequent_questions/it/build_dictionaries.md +59 -0
- package/frequent_questions/it/build_error_CI_CD.md +75 -0
- package/frequent_questions/it/customized_locale_list.md +65 -0
- package/frequent_questions/it/domain_routing.md +114 -0
- package/frequent_questions/it/esbuild_error.md +30 -0
- package/frequent_questions/it/get_locale_cookie.md +144 -0
- package/frequent_questions/it/intlayer_command_undefined.md +157 -0
- package/frequent_questions/it/locale_incorect_in_url.md +74 -0
- package/frequent_questions/it/static_rendering.md +46 -0
- package/frequent_questions/it/translated_path_url.md +56 -0
- package/frequent_questions/it/unknown_command.md +98 -0
- package/frequent_questions/ja/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ja/array_as_content_declaration.md +72 -0
- package/frequent_questions/ja/build_dictionaries.md +59 -0
- package/frequent_questions/ja/build_error_CI_CD.md +75 -0
- package/frequent_questions/ja/customized_locale_list.md +65 -0
- package/frequent_questions/ja/domain_routing.md +114 -0
- package/frequent_questions/ja/esbuild_error.md +30 -0
- package/frequent_questions/ja/get_locale_cookie.md +144 -0
- package/frequent_questions/ja/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ja/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ja/static_rendering.md +46 -0
- package/frequent_questions/ja/translated_path_url.md +56 -0
- package/frequent_questions/ja/unknown_command.md +98 -0
- package/frequent_questions/ko/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ko/array_as_content_declaration.md +72 -0
- package/frequent_questions/ko/build_dictionaries.md +59 -0
- package/frequent_questions/ko/build_error_CI_CD.md +75 -0
- package/frequent_questions/ko/customized_locale_list.md +65 -0
- package/frequent_questions/ko/domain_routing.md +114 -0
- package/frequent_questions/ko/esbuild_error.md +30 -0
- package/frequent_questions/ko/get_locale_cookie.md +144 -0
- package/frequent_questions/ko/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ko/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ko/static_rendering.md +46 -0
- package/frequent_questions/ko/translated_path_url.md +56 -0
- package/frequent_questions/ko/unknown_command.md +98 -0
- package/frequent_questions/pt/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/pt/array_as_content_declaration.md +72 -0
- package/frequent_questions/pt/build_dictionaries.md +59 -0
- package/frequent_questions/pt/build_error_CI_CD.md +75 -0
- package/frequent_questions/pt/customized_locale_list.md +65 -0
- package/frequent_questions/pt/domain_routing.md +114 -0
- package/frequent_questions/pt/esbuild_error.md +30 -0
- package/frequent_questions/pt/get_locale_cookie.md +143 -0
- package/frequent_questions/pt/intlayer_command_undefined.md +157 -0
- package/frequent_questions/pt/locale_incorect_in_url.md +74 -0
- package/frequent_questions/pt/static_rendering.md +46 -0
- package/frequent_questions/pt/translated_path_url.md +56 -0
- package/frequent_questions/pt/unknown_command.md +98 -0
- package/frequent_questions/ru/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ru/array_as_content_declaration.md +72 -0
- package/frequent_questions/ru/build_dictionaries.md +59 -0
- package/frequent_questions/ru/build_error_CI_CD.md +75 -0
- package/frequent_questions/ru/customized_locale_list.md +65 -0
- package/frequent_questions/ru/domain_routing.md +114 -0
- package/frequent_questions/ru/esbuild_error.md +30 -0
- package/frequent_questions/ru/get_locale_cookie.md +143 -0
- package/frequent_questions/ru/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ru/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ru/static_rendering.md +46 -0
- package/frequent_questions/ru/translated_path_url.md +56 -0
- package/frequent_questions/ru/unknown_command.md +98 -0
- package/frequent_questions/zh/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/zh/array_as_content_declaration.md +72 -0
- package/frequent_questions/zh/build_dictionaries.md +59 -0
- package/frequent_questions/zh/build_error_CI_CD.md +75 -0
- package/frequent_questions/zh/customized_locale_list.md +65 -0
- package/frequent_questions/zh/domain_routing.md +114 -0
- package/frequent_questions/zh/esbuild_error.md +30 -0
- package/frequent_questions/zh/get_locale_cookie.md +162 -0
- package/frequent_questions/zh/intlayer_command_undefined.md +156 -0
- package/frequent_questions/zh/locale_incorect_in_url.md +74 -0
- package/frequent_questions/zh/static_rendering.md +46 -0
- package/frequent_questions/zh/translated_path_url.md +56 -0
- package/frequent_questions/zh/unknown_command.md +98 -0
- package/legal/ar/privacy_notice.md +83 -0
- package/legal/ar/terms_of_service.md +55 -0
- package/legal/de/privacy_notice.md +83 -0
- package/legal/de/terms_of_service.md +55 -0
- package/legal/en/privacy_notice.md +83 -0
- package/legal/en/terms_of_service.md +55 -0
- package/legal/en-GB/privacy_notice.md +83 -0
- package/legal/en-GB/terms_of_service.md +55 -0
- package/legal/es/privacy_notice.md +83 -0
- package/legal/es/terms_of_service.md +55 -0
- package/legal/fr/privacy_notice.md +83 -0
- package/legal/fr/terms_of_service.md +55 -0
- package/legal/hi/privacy_notice.md +83 -0
- package/legal/hi/terms_of_service.md +55 -0
- package/legal/it/privacy_notice.md +83 -0
- package/legal/it/terms_of_service.md +55 -0
- package/legal/ja/privacy_notice.md +83 -0
- package/legal/ja/terms_of_service.md +55 -0
- package/legal/ko/privacy_notice.md +83 -0
- package/legal/ko/terms_of_service.md +55 -0
- package/legal/pt/privacy_notice.md +83 -0
- package/legal/pt/terms_of_service.md +55 -0
- package/legal/ru/privacy_notice.md +83 -0
- package/legal/ru/terms_of_service.md +55 -0
- package/legal/zh/privacy_notice.md +83 -0
- package/legal/zh/terms_of_service.md +55 -0
- package/package.json +39 -28
- package/src/blog.ts +51 -0
- package/src/common.ts +199 -0
- package/src/doc.ts +48 -0
- package/src/frequentQuestions.ts +57 -0
- package/src/generated/blog.entry.ts +1664 -0
- package/src/generated/docs.entry.ts +5930 -0
- package/src/generated/frequentQuestions.entry.ts +1136 -0
- package/src/generated/legal.entry.ts +94 -0
- package/src/index.ts +4 -0
- package/src/legal.ts +51 -0
- package/ar/CI_CD.md +0 -149
- package/ar/autoFill.md +0 -156
- package/ar/concept/content/file.md +0 -1
- package/ar/configuration.md +0 -492
- package/ar/dictionary/condition.md +0 -213
- package/ar/dictionary/content_extention_customization.md +0 -81
- package/ar/dictionary/enumeration.md +0 -221
- package/ar/dictionary/file.md +0 -209
- package/ar/dictionary/function_fetching.md +0 -190
- package/ar/dictionary/get_started.md +0 -490
- package/ar/dictionary/insertion.md +0 -161
- package/ar/dictionary/markdown.md +0 -343
- package/ar/dictionary/nesting.md +0 -249
- package/ar/dictionary/translation.md +0 -307
- package/ar/header.md +0 -7
- package/ar/how_works_intlayer.md +0 -219
- package/ar/index.md +0 -125
- package/ar/interest_of_intlayer.md +0 -132
- package/ar/intlayer_CMS.md +0 -328
- package/ar/intlayer_cli.md +0 -258
- package/ar/intlayer_visual_editor.md +0 -210
- package/ar/intlayer_with_angular.md +0 -3
- package/ar/intlayer_with_create_react_app.md +0 -1183
- package/ar/intlayer_with_express.md +0 -270
- package/ar/intlayer_with_lynx+react.md +0 -482
- package/ar/intlayer_with_nextjs_14.md +0 -1247
- package/ar/intlayer_with_nextjs_15.md +0 -1298
- package/ar/intlayer_with_nextjs_page_router.md +0 -1087
- package/ar/intlayer_with_nuxt.md +0 -792
- package/ar/intlayer_with_react_native+expo.md +0 -542
- package/ar/intlayer_with_vite+preact.md +0 -1668
- package/ar/intlayer_with_vite+react.md +0 -1572
- package/ar/intlayer_with_vite+solid.md +0 -3
- package/ar/intlayer_with_vite+svelte.md +0 -3
- package/ar/intlayer_with_vite+vue.md +0 -1009
- package/ar/introduction.md +0 -190
- package/ar/mcp_server.md +0 -150
- package/ar/packages/@intlayer/api/index.md +0 -31
- package/ar/packages/@intlayer/chokidar/index.md +0 -31
- package/ar/packages/@intlayer/cli/index.md +0 -1
- package/ar/packages/@intlayer/config/index.md +0 -116
- package/ar/packages/@intlayer/core/index.md +0 -25
- package/ar/packages/@intlayer/design-system/index.md +0 -21
- package/ar/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ar/packages/@intlayer/editor/index.md +0 -21
- package/ar/packages/@intlayer/editor-react/index.md +0 -21
- package/ar/packages/@intlayer/webpack/index.md +0 -35
- package/ar/packages/angular-intlayer/index.md +0 -3
- package/ar/packages/express-intlayer/index.md +0 -232
- package/ar/packages/express-intlayer/t.md +0 -448
- package/ar/packages/intlayer/getConfiguration.md +0 -120
- package/ar/packages/intlayer/getEnumeration.md +0 -138
- package/ar/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ar/packages/intlayer/getLocaleLang.md +0 -61
- package/ar/packages/intlayer/getLocaleName.md +0 -93
- package/ar/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ar/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ar/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ar/packages/intlayer/getTranslation.md +0 -175
- package/ar/packages/intlayer/getTranslationContent.md +0 -175
- package/ar/packages/intlayer/index.md +0 -254
- package/ar/packages/intlayer-cli/index.md +0 -41
- package/ar/packages/intlayer-editor/index.md +0 -113
- package/ar/packages/lynx-intlayer/index.md +0 -58
- package/ar/packages/next-intlayer/index.md +0 -267
- package/ar/packages/next-intlayer/t.md +0 -341
- package/ar/packages/next-intlayer/useDictionary.md +0 -248
- package/ar/packages/next-intlayer/useIntlayer.md +0 -237
- package/ar/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ar/packages/next-intlayer/useLocale.md +0 -105
- package/ar/packages/nuxt-intlayer/index.md +0 -29
- package/ar/packages/preact-intlayer/index.md +0 -3
- package/ar/packages/react-intlayer/index.md +0 -261
- package/ar/packages/react-intlayer/t.md +0 -283
- package/ar/packages/react-intlayer/useDictionary.md +0 -268
- package/ar/packages/react-intlayer/useIntlayer.md +0 -225
- package/ar/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ar/packages/react-intlayer/useLocale.md +0 -184
- package/ar/packages/react-native-intlayer/index.md +0 -57
- package/ar/packages/react-scripts-intlayer/index.md +0 -57
- package/ar/packages/solid-intlayer/index.md +0 -3
- package/ar/packages/svelte-intlayer/index.md +0 -3
- package/ar/packages/vite-intlayer/index.md +0 -53
- package/ar/packages/vue-intlayer/index.md +0 -3
- package/ar/per_locale_file.md +0 -298
- package/ar/privacy_notice.md +0 -61
- package/ar/roadmap.md +0 -208
- package/ar/terms_of_service.md +0 -33
- package/ar/vs_code_extension.md +0 -139
- package/de/CI_CD.md +0 -149
- package/de/angular-intlayer/index.md +0 -3
- package/de/autoFill.md +0 -156
- package/de/configuration.md +0 -501
- package/de/dictionary/condition.md +0 -213
- package/de/dictionary/content_extention_customization.md +0 -81
- package/de/dictionary/enumeration.md +0 -221
- package/de/dictionary/file.md +0 -207
- package/de/dictionary/function_fetching.md +0 -190
- package/de/dictionary/get_started.md +0 -466
- package/de/dictionary/insertion.md +0 -167
- package/de/dictionary/markdown.md +0 -345
- package/de/dictionary/nesting.md +0 -252
- package/de/dictionary/translation.md +0 -287
- package/de/header.md +0 -5
- package/de/how_works_intlayer.md +0 -216
- package/de/index.md +0 -125
- package/de/insertion.md +0 -0
- package/de/interest_of_intlayer.md +0 -132
- package/de/intlayer_CMS.md +0 -334
- package/de/intlayer_cli.md +0 -274
- package/de/intlayer_visual_editor.md +0 -210
- package/de/intlayer_with_angular.md +0 -3
- package/de/intlayer_with_create_react_app.md +0 -1187
- package/de/intlayer_with_express.md +0 -268
- package/de/intlayer_with_lynx+react.md +0 -482
- package/de/intlayer_with_nextjs_14.md +0 -1245
- package/de/intlayer_with_nextjs_15.md +0 -1293
- package/de/intlayer_with_nextjs_page_router.md +0 -1075
- package/de/intlayer_with_nuxt.md +0 -791
- package/de/intlayer_with_react_native+expo.md +0 -542
- package/de/intlayer_with_vite+preact.md +0 -1690
- package/de/intlayer_with_vite+react.md +0 -1574
- package/de/intlayer_with_vite+solid.md +0 -3
- package/de/intlayer_with_vite+svelte.md +0 -3
- package/de/intlayer_with_vite+vue.md +0 -1011
- package/de/introduction.md +0 -186
- package/de/mcp_server.md +0 -150
- package/de/packages/@intlayer/api/index.md +0 -31
- package/de/packages/@intlayer/chokidar/index.md +0 -31
- package/de/packages/@intlayer/cli/index.md +0 -21
- package/de/packages/@intlayer/config/index.md +0 -116
- package/de/packages/@intlayer/core/index.md +0 -25
- package/de/packages/@intlayer/design-system/index.md +0 -21
- package/de/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/de/packages/@intlayer/editor/index.md +0 -21
- package/de/packages/@intlayer/editor-react/index.md +0 -21
- package/de/packages/@intlayer/webpack/index.md +0 -35
- package/de/packages/angular-intlayer/index.md +0 -31
- package/de/packages/express-intlayer/index.md +0 -229
- package/de/packages/express-intlayer/t.md +0 -432
- package/de/packages/intlayer/getConfiguration.md +0 -120
- package/de/packages/intlayer/getEnumeration.md +0 -140
- package/de/packages/intlayer/getHTMLTextDir.md +0 -97
- package/de/packages/intlayer/getLocaleLang.md +0 -57
- package/de/packages/intlayer/getLocaleName.md +0 -93
- package/de/packages/intlayer/getLocalizedUrl.md +0 -221
- package/de/packages/intlayer/getMultilingualUrls.md +0 -198
- package/de/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/de/packages/intlayer/getTranslation.md +0 -166
- package/de/packages/intlayer/getTranslationContent.md +0 -166
- package/de/packages/intlayer/index.md +0 -478
- package/de/packages/intlayer-cli/index.md +0 -41
- package/de/packages/intlayer-editor/index.md +0 -113
- package/de/packages/lynx-intlayer/index.md +0 -58
- package/de/packages/next-intlayer/index.md +0 -263
- package/de/packages/next-intlayer/t.md +0 -325
- package/de/packages/next-intlayer/useDictionary.md +0 -242
- package/de/packages/next-intlayer/useIntlayer.md +0 -237
- package/de/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/de/packages/next-intlayer/useLocale.md +0 -105
- package/de/packages/nuxt-intlayer/index.md +0 -29
- package/de/packages/preact-intlayer/index.md +0 -3
- package/de/packages/react-intlayer/index.md +0 -260
- package/de/packages/react-intlayer/t.md +0 -277
- package/de/packages/react-intlayer/useDictionary.md +0 -260
- package/de/packages/react-intlayer/useIntlayer.md +0 -225
- package/de/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/de/packages/react-intlayer/useLocale.md +0 -184
- package/de/packages/react-native-intlayer/index.md +0 -57
- package/de/packages/react-scripts-intlayer/index.md +0 -57
- package/de/packages/solid-intlayer/index.md +0 -3
- package/de/packages/svelte-intlayer/index.md +0 -3
- package/de/packages/vite-intlayer/index.md +0 -53
- package/de/packages/vue-intlayer/index.md +0 -3
- package/de/per_locale_file.md +0 -298
- package/de/privacy_notice.md +0 -61
- package/de/roadmap.md +0 -206
- package/de/terms_of_service.md +0 -33
- package/de/vs_code_extension.md +0 -139
- package/en/CI_CD.md +0 -149
- package/en/autoFill.md +0 -156
- package/en/configuration.md +0 -506
- package/en/dictionary/condition.md +0 -213
- package/en/dictionary/content_extention_customization.md +0 -81
- package/en/dictionary/enumeration.md +0 -221
- package/en/dictionary/file.md +0 -198
- package/en/dictionary/function_fetching.md +0 -190
- package/en/dictionary/get_started.md +0 -504
- package/en/dictionary/insertion.md +0 -167
- package/en/dictionary/markdown.md +0 -355
- package/en/dictionary/nesting.md +0 -249
- package/en/dictionary/translation.md +0 -285
- package/en/frequent_questions/build_dictionaries.md +0 -37
- package/en/frequent_questions/domain_routing.md +0 -92
- package/en/frequent_questions/esbuild_error.md +0 -9
- package/en/frequent_questions/get_locale_cookie.md +0 -121
- package/en/frequent_questions/intlayer_command_undefined.md +0 -135
- package/en/frequent_questions/locale_incorect_in_url.md +0 -52
- package/en/frequent_questions/static_rendering.md +0 -24
- package/en/frequent_questions/unknown_command.md +0 -76
- package/en/header.md +0 -5
- package/en/how_works_intlayer.md +0 -233
- package/en/index.md +0 -139
- package/en/interest_of_intlayer.md +0 -133
- package/en/intlayer_CMS.md +0 -334
- package/en/intlayer_cli.md +0 -309
- package/en/intlayer_visual_editor.md +0 -244
- package/en/intlayer_with_angular.md +0 -668
- package/en/intlayer_with_create_react_app.md +0 -1196
- package/en/intlayer_with_express.md +0 -391
- package/en/intlayer_with_lynx+react.md +0 -483
- package/en/intlayer_with_nextjs_14.md +0 -1432
- package/en/intlayer_with_nextjs_15.md +0 -1478
- package/en/intlayer_with_nextjs_page_router.md +0 -1461
- package/en/intlayer_with_nuxt.md +0 -737
- package/en/intlayer_with_react_native+expo.md +0 -633
- package/en/intlayer_with_vite+preact.md +0 -1640
- package/en/intlayer_with_vite+react.md +0 -1595
- package/en/intlayer_with_vite+solid.md +0 -257
- package/en/intlayer_with_vite+svelte.md +0 -257
- package/en/intlayer_with_vite+vue.md +0 -1011
- package/en/introduction.md +0 -185
- package/en/mcp_server.md +0 -150
- package/en/packages/@intlayer/api/index.md +0 -31
- package/en/packages/@intlayer/chokidar/index.md +0 -31
- package/en/packages/@intlayer/cli/index.md +0 -21
- package/en/packages/@intlayer/config/index.md +0 -116
- package/en/packages/@intlayer/core/index.md +0 -25
- package/en/packages/@intlayer/design-system/index.md +0 -21
- package/en/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en/packages/@intlayer/editor/index.md +0 -21
- package/en/packages/@intlayer/editor-react/index.md +0 -21
- package/en/packages/@intlayer/webpack/index.md +0 -35
- package/en/packages/angular-intlayer/index.md +0 -31
- package/en/packages/express-intlayer/index.md +0 -229
- package/en/packages/express-intlayer/t.md +0 -432
- package/en/packages/intlayer/getConfiguration.md +0 -120
- package/en/packages/intlayer/getEnumeration.md +0 -138
- package/en/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en/packages/intlayer/getLocaleLang.md +0 -57
- package/en/packages/intlayer/getLocaleName.md +0 -93
- package/en/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en/packages/intlayer/getTranslation.md +0 -166
- package/en/packages/intlayer/getTranslationContent.md +0 -166
- package/en/packages/intlayer/index.md +0 -476
- package/en/packages/intlayer-cli/index.md +0 -41
- package/en/packages/intlayer-editor/index.md +0 -113
- package/en/packages/lynx-intlayer/index.md +0 -60
- package/en/packages/next-intlayer/index.md +0 -263
- package/en/packages/next-intlayer/t.md +0 -326
- package/en/packages/next-intlayer/useDictionary.md +0 -242
- package/en/packages/next-intlayer/useIntlayer.md +0 -237
- package/en/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en/packages/next-intlayer/useLocale.md +0 -105
- package/en/packages/nuxt-intlayer/index.md +0 -31
- package/en/packages/preact-intlayer/index.md +0 -31
- package/en/packages/react-intlayer/index.md +0 -257
- package/en/packages/react-intlayer/t.md +0 -277
- package/en/packages/react-intlayer/useDictionary.md +0 -260
- package/en/packages/react-intlayer/useIntlayer.md +0 -225
- package/en/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en/packages/react-intlayer/useLocale.md +0 -184
- package/en/packages/react-native-intlayer/index.md +0 -59
- package/en/packages/react-scripts-intlayer/index.md +0 -57
- package/en/packages/solid-intlayer/index.md +0 -31
- package/en/packages/svelte-intlayer/index.md +0 -31
- package/en/packages/vite-intlayer/index.md +0 -53
- package/en/packages/vue-intlayer/index.md +0 -31
- package/en/per_locale_file.md +0 -297
- package/en/privacy_notice.md +0 -61
- package/en/roadmap.md +0 -270
- package/en/t.md +0 -163
- package/en/terms_of_service.md +0 -33
- package/en/vs_code_extension.md +0 -129
- package/en-GB/CI_CD.md +0 -149
- package/en-GB/autoFill.md +0 -0
- package/en-GB/configuration.md +0 -490
- package/en-GB/dictionary/condition.md +0 -213
- package/en-GB/dictionary/content_extention_customization.md +0 -83
- package/en-GB/dictionary/enumeration.md +0 -221
- package/en-GB/dictionary/file.md +0 -201
- package/en-GB/dictionary/function_fetching.md +0 -190
- package/en-GB/dictionary/get_started.md +0 -466
- package/en-GB/dictionary/insertion.md +0 -167
- package/en-GB/dictionary/markdown.md +0 -343
- package/en-GB/dictionary/nesting.md +0 -249
- package/en-GB/dictionary/translation.md +0 -285
- package/en-GB/header.md +0 -1
- package/en-GB/how_works_intlayer.md +0 -229
- package/en-GB/index.md +0 -142
- package/en-GB/interest_of_intlayer.md +0 -123
- package/en-GB/intlayer_CMS.md +0 -334
- package/en-GB/intlayer_cli.md +0 -239
- package/en-GB/intlayer_visual_editor.md +0 -210
- package/en-GB/intlayer_with_angular.md +0 -3
- package/en-GB/intlayer_with_create_react_app.md +0 -1179
- package/en-GB/intlayer_with_express.md +0 -267
- package/en-GB/intlayer_with_lynx+react.md +0 -484
- package/en-GB/intlayer_with_nextjs_14.md +0 -1254
- package/en-GB/intlayer_with_nextjs_15.md +0 -1295
- package/en-GB/intlayer_with_nextjs_page_router.md +0 -1075
- package/en-GB/intlayer_with_nuxt.md +0 -795
- package/en-GB/intlayer_with_react_native+expo.md +0 -542
- package/en-GB/intlayer_with_vite+preact.md +0 -1637
- package/en-GB/intlayer_with_vite+react.md +0 -1427
- package/en-GB/intlayer_with_vite+solid.md +0 -3
- package/en-GB/intlayer_with_vite+svelte.md +0 -3
- package/en-GB/intlayer_with_vite+vue.md +0 -999
- package/en-GB/introduction.md +0 -201
- package/en-GB/mcp_server.md +0 -150
- package/en-GB/packages/@intlayer/api/index.md +0 -31
- package/en-GB/packages/@intlayer/chokidar/index.md +0 -31
- package/en-GB/packages/@intlayer/cli/index.md +0 -21
- package/en-GB/packages/@intlayer/config/index.md +0 -116
- package/en-GB/packages/@intlayer/core/index.md +0 -25
- package/en-GB/packages/@intlayer/design-system/index.md +0 -21
- package/en-GB/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en-GB/packages/@intlayer/editor/index.md +0 -21
- package/en-GB/packages/@intlayer/editor-react/index.md +0 -21
- package/en-GB/packages/@intlayer/webpack/index.md +0 -35
- package/en-GB/packages/angular-intlayer/index.md +0 -3
- package/en-GB/packages/express-intlayer/index.md +0 -229
- package/en-GB/packages/express-intlayer/t.md +0 -432
- package/en-GB/packages/intlayer/getConfiguration.md +0 -120
- package/en-GB/packages/intlayer/getEnumeration.md +0 -140
- package/en-GB/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en-GB/packages/intlayer/getLocaleLang.md +0 -57
- package/en-GB/packages/intlayer/getLocaleName.md +0 -93
- package/en-GB/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en-GB/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en-GB/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en-GB/packages/intlayer/getTranslation.md +0 -166
- package/en-GB/packages/intlayer/getTranslationContent.md +0 -166
- package/en-GB/packages/intlayer/index.md +0 -476
- package/en-GB/packages/intlayer-cli/index.md +0 -41
- package/en-GB/packages/intlayer-editor/index.md +0 -113
- package/en-GB/packages/lynx-intlayer/index.md +0 -58
- package/en-GB/packages/next-intlayer/index.md +0 -263
- package/en-GB/packages/next-intlayer/t.md +0 -326
- package/en-GB/packages/next-intlayer/useDictionary.md +0 -242
- package/en-GB/packages/next-intlayer/useIntlayer.md +0 -237
- package/en-GB/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en-GB/packages/next-intlayer/useLocale.md +0 -105
- package/en-GB/packages/nuxt-intlayer/index.md +0 -31
- package/en-GB/packages/preact-intlayer/index.md +0 -3
- package/en-GB/packages/react-intlayer/index.md +0 -257
- package/en-GB/packages/react-intlayer/t.md +0 -277
- package/en-GB/packages/react-intlayer/useDictionary.md +0 -260
- package/en-GB/packages/react-intlayer/useIntlayer.md +0 -225
- package/en-GB/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en-GB/packages/react-intlayer/useLocale.md +0 -184
- package/en-GB/packages/react-native-intlayer/index.md +0 -57
- package/en-GB/packages/react-scripts-intlayer/index.md +0 -57
- package/en-GB/packages/solid-intlayer/index.md +0 -3
- package/en-GB/packages/svelte-intlayer/index.md +0 -3
- package/en-GB/packages/vite-intlayer/index.md +0 -53
- package/en-GB/packages/vue-intlayer/index.md +0 -3
- package/en-GB/per_locale_file.md +0 -298
- package/en-GB/privacy_notice.md +0 -57
- package/en-GB/roadmap.md +0 -206
- package/en-GB/terms_of_service.md +0 -33
- package/en-GB/vs_code_extension.md +0 -139
- package/es/CI_CD.md +0 -149
- package/es/autoFill.md +0 -156
- package/es/configuration.md +0 -503
- package/es/dictionary/condition.md +0 -213
- package/es/dictionary/content_extention_customization.md +0 -81
- package/es/dictionary/enumeration.md +0 -221
- package/es/dictionary/file.md +0 -206
- package/es/dictionary/function_fetching.md +0 -190
- package/es/dictionary/get_started.md +0 -466
- package/es/dictionary/insertion.md +0 -161
- package/es/dictionary/markdown.md +0 -338
- package/es/dictionary/nesting.md +0 -249
- package/es/dictionary/translation.md +0 -287
- package/es/header.md +0 -5
- package/es/how_works_intlayer.md +0 -217
- package/es/index.md +0 -122
- package/es/interest_of_intlayer.md +0 -132
- package/es/intlayer_CMS.md +0 -334
- package/es/intlayer_cli.md +0 -274
- package/es/intlayer_visual_editor.md +0 -210
- package/es/intlayer_with_angular.md +0 -3
- package/es/intlayer_with_create_react_app.md +0 -1179
- package/es/intlayer_with_express.md +0 -276
- package/es/intlayer_with_lynx+react.md +0 -475
- package/es/intlayer_with_nextjs_14.md +0 -1245
- package/es/intlayer_with_nextjs_15.md +0 -1295
- package/es/intlayer_with_nextjs_page_router.md +0 -1076
- package/es/intlayer_with_nuxt.md +0 -731
- package/es/intlayer_with_react_native+expo.md +0 -183
- package/es/intlayer_with_vite+preact.md +0 -1626
- package/es/intlayer_with_vite+react.md +0 -1582
- package/es/intlayer_with_vite+solid.md +0 -3
- package/es/intlayer_with_vite+svelte.md +0 -3
- package/es/intlayer_with_vite+vue.md +0 -960
- package/es/introduction.md +0 -184
- package/es/mcp_server.md +0 -150
- package/es/packages/@intlayer/api/index.md +0 -31
- package/es/packages/@intlayer/chokidar/index.md +0 -31
- package/es/packages/@intlayer/cli/index.md +0 -21
- package/es/packages/@intlayer/config/index.md +0 -116
- package/es/packages/@intlayer/core/index.md +0 -25
- package/es/packages/@intlayer/design-system/index.md +0 -21
- package/es/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/es/packages/@intlayer/editor/index.md +0 -21
- package/es/packages/@intlayer/editor-react/index.md +0 -21
- package/es/packages/@intlayer/webpack/index.md +0 -35
- package/es/packages/angular-intlayer/index.md +0 -3
- package/es/packages/express-intlayer/index.md +0 -229
- package/es/packages/express-intlayer/t.md +0 -432
- package/es/packages/intlayer/getConfiguration.md +0 -120
- package/es/packages/intlayer/getEnumeration.md +0 -138
- package/es/packages/intlayer/getHTMLTextDir.md +0 -97
- package/es/packages/intlayer/getLocaleLang.md +0 -57
- package/es/packages/intlayer/getLocaleName.md +0 -93
- package/es/packages/intlayer/getLocalizedUrl.md +0 -221
- package/es/packages/intlayer/getMultilingualUrls.md +0 -198
- package/es/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/es/packages/intlayer/getTranslation.md +0 -166
- package/es/packages/intlayer/getTranslationContent.md +0 -166
- package/es/packages/intlayer/index.md +0 -478
- package/es/packages/intlayer-cli/index.md +0 -41
- package/es/packages/intlayer-editor/index.md +0 -115
- package/es/packages/lynx-intlayer/index.md +0 -58
- package/es/packages/next-intlayer/index.md +0 -263
- package/es/packages/next-intlayer/t.md +0 -325
- package/es/packages/next-intlayer/useDictionary.md +0 -242
- package/es/packages/next-intlayer/useIntlayer.md +0 -237
- package/es/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/es/packages/next-intlayer/useLocale.md +0 -105
- package/es/packages/nuxt-intlayer/index.md +0 -29
- package/es/packages/preact-intlayer/index.md +0 -3
- package/es/packages/react-intlayer/index.md +0 -263
- package/es/packages/react-intlayer/t.md +0 -277
- package/es/packages/react-intlayer/useDictionary.md +0 -270
- package/es/packages/react-intlayer/useIntlayer.md +0 -225
- package/es/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/es/packages/react-intlayer/useLocale.md +0 -184
- package/es/packages/react-native-intlayer/index.md +0 -57
- package/es/packages/react-scripts-intlayer/index.md +0 -57
- package/es/packages/solid-intlayer/index.md +0 -3
- package/es/packages/svelte-intlayer/index.md +0 -5
- package/es/packages/vite-intlayer/index.md +0 -53
- package/es/packages/vue-intlayer/index.md +0 -3
- package/es/per_locale_file.md +0 -293
- package/es/privacy_notice.md +0 -61
- package/es/roadmap.md +0 -157
- package/es/terms_of_service.md +0 -33
- package/es/vs_code_extension.md +0 -139
- package/fr/CI_CD.md +0 -149
- package/fr/autoFill.md +0 -156
- package/fr/configuration.md +0 -481
- package/fr/dictionary/condition.md +0 -213
- package/fr/dictionary/content_extention_customization.md +0 -81
- package/fr/dictionary/enumeration.md +0 -221
- package/fr/dictionary/file.md +0 -206
- package/fr/dictionary/function_fetching.md +0 -190
- package/fr/dictionary/get_started.md +0 -466
- package/fr/dictionary/insertion.md +0 -161
- package/fr/dictionary/markdown.md +0 -335
- package/fr/dictionary/nesting.md +0 -249
- package/fr/dictionary/translation.md +0 -287
- package/fr/header.md +0 -5
- package/fr/how_works_intlayer.md +0 -217
- package/fr/index.md +0 -122
- package/fr/interest_of_intlayer.md +0 -132
- package/fr/intlayer_CMS.md +0 -334
- package/fr/intlayer_cli.md +0 -274
- package/fr/intlayer_visual_editor.md +0 -210
- package/fr/intlayer_with_angular.md +0 -3
- package/fr/intlayer_with_create_react_app.md +0 -1179
- package/fr/intlayer_with_express.md +0 -270
- package/fr/intlayer_with_lynx+react.md +0 -466
- package/fr/intlayer_with_nextjs_14.md +0 -1245
- package/fr/intlayer_with_nextjs_15.md +0 -1295
- package/fr/intlayer_with_nextjs_page_router.md +0 -1073
- package/fr/intlayer_with_nuxt.md +0 -731
- package/fr/intlayer_with_react_native+expo.md +0 -538
- package/fr/intlayer_with_vite+preact.md +0 -1610
- package/fr/intlayer_with_vite+react.md +0 -1579
- package/fr/intlayer_with_vite+solid.md +0 -3
- package/fr/intlayer_with_vite+svelte.md +0 -3
- package/fr/intlayer_with_vite+vue.md +0 -962
- package/fr/introduction.md +0 -190
- package/fr/mcp_server.md +0 -152
- package/fr/packages/@intlayer/api/index.md +0 -31
- package/fr/packages/@intlayer/chokidar/index.md +0 -31
- package/fr/packages/@intlayer/cli/index.md +0 -21
- package/fr/packages/@intlayer/config/index.md +0 -116
- package/fr/packages/@intlayer/core/index.md +0 -25
- package/fr/packages/@intlayer/design-system/index.md +0 -21
- package/fr/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/fr/packages/@intlayer/editor/index.md +0 -21
- package/fr/packages/@intlayer/editor-react/index.md +0 -21
- package/fr/packages/@intlayer/webpack/index.md +0 -35
- package/fr/packages/angular-intlayer/index.md +0 -3
- package/fr/packages/express-intlayer/index.md +0 -238
- package/fr/packages/express-intlayer/t.md +0 -432
- package/fr/packages/intlayer/getConfiguration.md +0 -120
- package/fr/packages/intlayer/getEnumeration.md +0 -138
- package/fr/packages/intlayer/getHTMLTextDir.md +0 -97
- package/fr/packages/intlayer/getLocaleLang.md +0 -57
- package/fr/packages/intlayer/getLocaleName.md +0 -93
- package/fr/packages/intlayer/getLocalizedUrl.md +0 -221
- package/fr/packages/intlayer/getMultilingualUrls.md +0 -198
- package/fr/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/fr/packages/intlayer/getTranslation.md +0 -166
- package/fr/packages/intlayer/getTranslationContent.md +0 -166
- package/fr/packages/intlayer/index.md +0 -476
- package/fr/packages/intlayer-cli/index.md +0 -41
- package/fr/packages/intlayer-editor/index.md +0 -115
- package/fr/packages/lynx-intlayer/index.md +0 -58
- package/fr/packages/next-intlayer/index.md +0 -266
- package/fr/packages/next-intlayer/t.md +0 -325
- package/fr/packages/next-intlayer/useDictionary.md +0 -242
- package/fr/packages/next-intlayer/useIntlayer.md +0 -237
- package/fr/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/fr/packages/next-intlayer/useLocale.md +0 -105
- package/fr/packages/nuxt-intlayer/index.md +0 -29
- package/fr/packages/preact-intlayer/index.md +0 -3
- package/fr/packages/react-intlayer/index.md +0 -257
- package/fr/packages/react-intlayer/t.md +0 -277
- package/fr/packages/react-intlayer/useDictionary.md +0 -269
- package/fr/packages/react-intlayer/useIntlayer.md +0 -234
- package/fr/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/fr/packages/react-intlayer/useLocale.md +0 -184
- package/fr/packages/react-native-intlayer/index.md +0 -57
- package/fr/packages/react-scripts-intlayer/index.md +0 -57
- package/fr/packages/solid-intlayer/index.md +0 -3
- package/fr/packages/svelte-intlayer/index.md +0 -3
- package/fr/packages/vite-intlayer/index.md +0 -53
- package/fr/packages/vue-intlayer/index.md +0 -3
- package/fr/per_locale_file.md +0 -297
- package/fr/privacy_notice.md +0 -57
- package/fr/roadmap.md +0 -206
- package/fr/terms_of_service.md +0 -33
- package/fr/vs_code_extension.md +0 -139
- package/hi/CI_CD.md +0 -149
- package/hi/autoFill.md +0 -156
- package/hi/configuration.md +0 -509
- package/hi/dictionary/condition.md +0 -213
- package/hi/dictionary/content_extention_customization.md +0 -81
- package/hi/dictionary/enumeration.md +0 -221
- package/hi/dictionary/file.md +0 -209
- package/hi/dictionary/function_fetching.md +0 -188
- package/hi/dictionary/get_started.md +0 -490
- package/hi/dictionary/insertion.md +0 -167
- package/hi/dictionary/markdown.md +0 -344
- package/hi/dictionary/nesting.md +0 -249
- package/hi/dictionary/translation.md +0 -307
- package/hi/header.md +0 -7
- package/hi/how_works_intlayer.md +0 -217
- package/hi/index.md +0 -125
- package/hi/interest_of_intlayer.md +0 -132
- package/hi/intlayer_CMS.md +0 -334
- package/hi/intlayer_cli.md +0 -274
- package/hi/intlayer_visual_editor.md +0 -210
- package/hi/intlayer_with_angular.md +0 -3
- package/hi/intlayer_with_create_react_app.md +0 -1382
- package/hi/intlayer_with_express.md +0 -273
- package/hi/intlayer_with_lynx+react.md +0 -456
- package/hi/intlayer_with_nextjs_14.md +0 -1270
- package/hi/intlayer_with_nextjs_15.md +0 -1306
- package/hi/intlayer_with_nextjs_page_router.md +0 -1085
- package/hi/intlayer_with_nuxt.md +0 -784
- package/hi/intlayer_with_react_native+expo.md +0 -557
- package/hi/intlayer_with_vite+preact.md +0 -1527
- package/hi/intlayer_with_vite+react.md +0 -1530
- package/hi/intlayer_with_vite+solid.md +0 -3
- package/hi/intlayer_with_vite+svelte.md +0 -3
- package/hi/intlayer_with_vite+vue.md +0 -852
- package/hi/introduction.md +0 -190
- package/hi/mcp_server.md +0 -150
- package/hi/packages/@intlayer/api/index.md +0 -31
- package/hi/packages/@intlayer/chokidar/index.md +0 -31
- package/hi/packages/@intlayer/cli/index.md +0 -21
- package/hi/packages/@intlayer/config/index.md +0 -116
- package/hi/packages/@intlayer/core/index.md +0 -25
- package/hi/packages/@intlayer/design-system/index.md +0 -21
- package/hi/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/hi/packages/@intlayer/editor/index.md +0 -21
- package/hi/packages/@intlayer/editor-react/index.md +0 -21
- package/hi/packages/@intlayer/webpack/index.md +0 -35
- package/hi/packages/angular-intlayer/index.md +0 -3
- package/hi/packages/express-intlayer/index.md +0 -232
- package/hi/packages/express-intlayer/t.md +0 -445
- package/hi/packages/intlayer/getConfiguration.md +0 -120
- package/hi/packages/intlayer/getEnumeration.md +0 -138
- package/hi/packages/intlayer/getHTMLTextDir.md +0 -97
- package/hi/packages/intlayer/getLocaleLang.md +0 -57
- package/hi/packages/intlayer/getLocaleName.md +0 -93
- package/hi/packages/intlayer/getLocalizedUrl.md +0 -221
- package/hi/packages/intlayer/getMultilingualUrls.md +0 -198
- package/hi/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/hi/packages/intlayer/getTranslation.md +0 -175
- package/hi/packages/intlayer/getTranslationContent.md +0 -175
- package/hi/packages/intlayer/index.md +0 -314
- package/hi/packages/intlayer-cli/index.md +0 -41
- package/hi/packages/intlayer-editor/index.md +0 -113
- package/hi/packages/lynx-intlayer/index.md +0 -58
- package/hi/packages/next-intlayer/index.md +0 -270
- package/hi/packages/next-intlayer/t.md +0 -337
- package/hi/packages/next-intlayer/useDictionary.md +0 -248
- package/hi/packages/next-intlayer/useIntlayer.md +0 -237
- package/hi/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/hi/packages/next-intlayer/useLocale.md +0 -105
- package/hi/packages/nuxt-intlayer/index.md +0 -29
- package/hi/packages/preact-intlayer/index.md +0 -3
- package/hi/packages/react-intlayer/index.md +0 -261
- package/hi/packages/react-intlayer/t.md +0 -283
- package/hi/packages/react-intlayer/useDictionary.md +0 -268
- package/hi/packages/react-intlayer/useIntlayer.md +0 -225
- package/hi/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/hi/packages/react-intlayer/useLocale.md +0 -184
- package/hi/packages/react-native-intlayer/index.md +0 -57
- package/hi/packages/react-scripts-intlayer/index.md +0 -57
- package/hi/packages/solid-intlayer/index.md +0 -3
- package/hi/packages/svelte-intlayer/index.md +0 -3
- package/hi/packages/vite-intlayer/index.md +0 -53
- package/hi/packages/vue-intlayer/index.md +0 -3
- package/hi/per_locale_file.md +0 -298
- package/hi/privacy_notice.md +0 -61
- package/hi/roadmap.md +0 -206
- package/hi/terms_of_service.md +0 -33
- package/hi/vs_code_extension.md +0 -139
- package/index.cjs +0 -1295
- package/index.d.ts +0 -102
- package/it/CI_CD.md +0 -149
- package/it/autoFill.md +0 -156
- package/it/configuration.md +0 -503
- package/it/dictionary/condition.md +0 -213
- package/it/dictionary/content_extention_customization.md +0 -81
- package/it/dictionary/enumeration.md +0 -221
- package/it/dictionary/file.md +0 -207
- package/it/dictionary/function_fetching.md +0 -190
- package/it/dictionary/get_started.md +0 -466
- package/it/dictionary/insertion.md +0 -161
- package/it/dictionary/markdown.md +0 -343
- package/it/dictionary/nesting.md +0 -249
- package/it/dictionary/translation.md +0 -287
- package/it/header.md +0 -7
- package/it/how_works_intlayer.md +0 -217
- package/it/index.md +0 -125
- package/it/interest_of_intlayer.md +0 -132
- package/it/intlayer_CMS.md +0 -334
- package/it/intlayer_cli.md +0 -274
- package/it/intlayer_visual_editor.md +0 -210
- package/it/intlayer_with_angular.md +0 -3
- package/it/intlayer_with_create_react_app.md +0 -407
- package/it/intlayer_with_express.md +0 -267
- package/it/intlayer_with_lynx+react.md +0 -482
- package/it/intlayer_with_nextjs_14.md +0 -1256
- package/it/intlayer_with_nextjs_15.md +0 -1306
- package/it/intlayer_with_nextjs_page_router.md +0 -1083
- package/it/intlayer_with_nuxt.md +0 -793
- package/it/intlayer_with_react_native+expo.md +0 -264
- package/it/intlayer_with_vite+preact.md +0 -1670
- package/it/intlayer_with_vite+react.md +0 -1570
- package/it/intlayer_with_vite+solid.md +0 -3
- package/it/intlayer_with_vite+svelte.md +0 -3
- package/it/intlayer_with_vite+vue.md +0 -998
- package/it/introduction.md +0 -192
- package/it/mcp_server.md +0 -152
- package/it/packages/@intlayer/api/index.md +0 -31
- package/it/packages/@intlayer/chokidar/index.md +0 -31
- package/it/packages/@intlayer/cli/index.md +0 -21
- package/it/packages/@intlayer/config/index.md +0 -116
- package/it/packages/@intlayer/core/index.md +0 -25
- package/it/packages/@intlayer/design-system/index.md +0 -21
- package/it/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/it/packages/@intlayer/editor/index.md +0 -21
- package/it/packages/@intlayer/editor-react/index.md +0 -21
- package/it/packages/@intlayer/webpack/index.md +0 -35
- package/it/packages/angular-intlayer/index.md +0 -3
- package/it/packages/express-intlayer/index.md +0 -229
- package/it/packages/express-intlayer/t.md +0 -432
- package/it/packages/intlayer/getConfiguration.md +0 -120
- package/it/packages/intlayer/getEnumeration.md +0 -138
- package/it/packages/intlayer/getHTMLTextDir.md +0 -97
- package/it/packages/intlayer/getLocaleLang.md +0 -57
- package/it/packages/intlayer/getLocaleName.md +0 -93
- package/it/packages/intlayer/getLocalizedUrl.md +0 -221
- package/it/packages/intlayer/getMultilingualUrls.md +0 -200
- package/it/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/it/packages/intlayer/getTranslation.md +0 -166
- package/it/packages/intlayer/getTranslationContent.md +0 -166
- package/it/packages/intlayer/index.md +0 -479
- package/it/packages/intlayer-cli/index.md +0 -41
- package/it/packages/intlayer-editor/index.md +0 -113
- package/it/packages/lynx-intlayer/index.md +0 -58
- package/it/packages/next-intlayer/index.md +0 -267
- package/it/packages/next-intlayer/t.md +0 -326
- package/it/packages/next-intlayer/useDictionary.md +0 -242
- package/it/packages/next-intlayer/useIntlayer.md +0 -237
- package/it/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/it/packages/next-intlayer/useLocale.md +0 -105
- package/it/packages/nuxt-intlayer/index.md +0 -29
- package/it/packages/preact-intlayer/index.md +0 -3
- package/it/packages/react-intlayer/index.md +0 -260
- package/it/packages/react-intlayer/t.md +0 -277
- package/it/packages/react-intlayer/useDictionary.md +0 -260
- package/it/packages/react-intlayer/useIntlayer.md +0 -225
- package/it/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/it/packages/react-intlayer/useLocale.md +0 -184
- package/it/packages/react-native-intlayer/index.md +0 -57
- package/it/packages/react-scripts-intlayer/index.md +0 -57
- package/it/packages/solid-intlayer/index.md +0 -5
- package/it/packages/svelte-intlayer/index.md +0 -3
- package/it/packages/vite-intlayer/index.md +0 -53
- package/it/packages/vue-intlayer/index.md +0 -5
- package/it/per_locale_file.md +0 -298
- package/it/privacy_notice.md +0 -61
- package/it/roadmap.md +0 -206
- package/it/terms_of_service.md +0 -33
- package/it/vs_code_extension.md +0 -139
- package/ja/CI_CD.md +0 -149
- package/ja/autoFill.md +0 -156
- package/ja/configuration.md +0 -507
- package/ja/dictionary/condition.md +0 -213
- package/ja/dictionary/content_extention_customization.md +0 -81
- package/ja/dictionary/enumeration.md +0 -221
- package/ja/dictionary/file.md +0 -209
- package/ja/dictionary/function_fetching.md +0 -190
- package/ja/dictionary/get_started.md +0 -466
- package/ja/dictionary/insertion.md +0 -161
- package/ja/dictionary/markdown.md +0 -343
- package/ja/dictionary/nesting.md +0 -249
- package/ja/dictionary/translation.md +0 -287
- package/ja/header.md +0 -7
- package/ja/how_works_intlayer.md +0 -217
- package/ja/index.md +0 -125
- package/ja/interest_of_intlayer.md +0 -132
- package/ja/intlayer_CMS.md +0 -334
- package/ja/intlayer_cli.md +0 -274
- package/ja/intlayer_visual_editor.md +0 -213
- package/ja/intlayer_with_angular.md +0 -3
- package/ja/intlayer_with_create_react_app.md +0 -1173
- package/ja/intlayer_with_express.md +0 -267
- package/ja/intlayer_with_lynx+react.md +0 -482
- package/ja/intlayer_with_nextjs_14.md +0 -1243
- package/ja/intlayer_with_nextjs_15.md +0 -1295
- package/ja/intlayer_with_nextjs_page_router.md +0 -1073
- package/ja/intlayer_with_nuxt.md +0 -792
- package/ja/intlayer_with_react_native+expo.md +0 -540
- package/ja/intlayer_with_vite+preact.md +0 -1590
- package/ja/intlayer_with_vite+react.md +0 -1545
- package/ja/intlayer_with_vite+solid.md +0 -3
- package/ja/intlayer_with_vite+svelte.md +0 -3
- package/ja/intlayer_with_vite+vue.md +0 -995
- package/ja/introduction.md +0 -186
- package/ja/mcp_server.md +0 -150
- package/ja/packages/@intlayer/api/index.md +0 -31
- package/ja/packages/@intlayer/chokidar/index.md +0 -31
- package/ja/packages/@intlayer/cli/index.md +0 -21
- package/ja/packages/@intlayer/config/index.md +0 -116
- package/ja/packages/@intlayer/core/index.md +0 -25
- package/ja/packages/@intlayer/design-system/index.md +0 -21
- package/ja/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ja/packages/@intlayer/editor/index.md +0 -21
- package/ja/packages/@intlayer/editor-react/index.md +0 -21
- package/ja/packages/@intlayer/webpack/index.md +0 -35
- package/ja/packages/angular-intlayer/index.md +0 -3
- package/ja/packages/express-intlayer/index.md +0 -229
- package/ja/packages/express-intlayer/t.md +0 -432
- package/ja/packages/intlayer/getConfiguration.md +0 -120
- package/ja/packages/intlayer/getEnumeration.md +0 -140
- package/ja/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ja/packages/intlayer/getLocaleLang.md +0 -59
- package/ja/packages/intlayer/getLocaleName.md +0 -93
- package/ja/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ja/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ja/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ja/packages/intlayer/getTranslation.md +0 -166
- package/ja/packages/intlayer/getTranslationContent.md +0 -166
- package/ja/packages/intlayer/index.md +0 -479
- package/ja/packages/intlayer-cli/index.md +0 -41
- package/ja/packages/intlayer-editor/index.md +0 -115
- package/ja/packages/lynx-intlayer/index.md +0 -58
- package/ja/packages/next-intlayer/index.md +0 -263
- package/ja/packages/next-intlayer/t.md +0 -326
- package/ja/packages/next-intlayer/useDictionary.md +0 -242
- package/ja/packages/next-intlayer/useIntlayer.md +0 -237
- package/ja/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ja/packages/next-intlayer/useLocale.md +0 -105
- package/ja/packages/nuxt-intlayer/index.md +0 -29
- package/ja/packages/preact-intlayer/index.md +0 -3
- package/ja/packages/react-intlayer/index.md +0 -257
- package/ja/packages/react-intlayer/t.md +0 -277
- package/ja/packages/react-intlayer/useDictionary.md +0 -260
- package/ja/packages/react-intlayer/useIntlayer.md +0 -225
- package/ja/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ja/packages/react-intlayer/useLocale.md +0 -184
- package/ja/packages/react-native-intlayer/index.md +0 -57
- package/ja/packages/react-scripts-intlayer/index.md +0 -57
- package/ja/packages/solid-intlayer/index.md +0 -3
- package/ja/packages/svelte-intlayer/index.md +0 -3
- package/ja/packages/vite-intlayer/index.md +0 -53
- package/ja/packages/vue-intlayer/index.md +0 -3
- package/ja/per_locale_file.md +0 -298
- package/ja/privacy_notice.md +0 -57
- package/ja/roadmap.md +0 -206
- package/ja/terms_of_service.md +0 -33
- package/ja/vs_code_extension.md +0 -139
- package/ko/CI_CD.md +0 -149
- package/ko/autoFill.md +0 -156
- package/ko/configuration.md +0 -507
- package/ko/dictionary/condition.md +0 -213
- package/ko/dictionary/content_extention_customization.md +0 -81
- package/ko/dictionary/enumeration.md +0 -221
- package/ko/dictionary/file.md +0 -207
- package/ko/dictionary/function_fetching.md +0 -190
- package/ko/dictionary/get_started.md +0 -466
- package/ko/dictionary/insertion.md +0 -167
- package/ko/dictionary/markdown.md +0 -343
- package/ko/dictionary/nesting.md +0 -249
- package/ko/dictionary/translation.md +0 -287
- package/ko/header.md +0 -7
- package/ko/how_works_intlayer.md +0 -216
- package/ko/index.md +0 -125
- package/ko/interest_of_intlayer.md +0 -132
- package/ko/intlayer_CMS.md +0 -334
- package/ko/intlayer_cli.md +0 -274
- package/ko/intlayer_visual_editor.md +0 -210
- package/ko/intlayer_with_angular.md +0 -3
- package/ko/intlayer_with_create_react_app.md +0 -1173
- package/ko/intlayer_with_express.md +0 -267
- package/ko/intlayer_with_lynx+react.md +0 -482
- package/ko/intlayer_with_nextjs_14.md +0 -1254
- package/ko/intlayer_with_nextjs_15.md +0 -1306
- package/ko/intlayer_with_nextjs_page_router.md +0 -1085
- package/ko/intlayer_with_nuxt.md +0 -784
- package/ko/intlayer_with_react_native+expo.md +0 -540
- package/ko/intlayer_with_vite+preact.md +0 -1671
- package/ko/intlayer_with_vite+react.md +0 -1572
- package/ko/intlayer_with_vite+solid.md +0 -3
- package/ko/intlayer_with_vite+svelte.md +0 -3
- package/ko/intlayer_with_vite+vue.md +0 -998
- package/ko/introduction.md +0 -186
- package/ko/mcp_server.md +0 -150
- package/ko/packages/@intlayer/api/index.md +0 -31
- package/ko/packages/@intlayer/chokidar/index.md +0 -31
- package/ko/packages/@intlayer/cli/index.md +0 -21
- package/ko/packages/@intlayer/config/index.md +0 -116
- package/ko/packages/@intlayer/core/index.md +0 -25
- package/ko/packages/@intlayer/design-system/index.md +0 -21
- package/ko/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ko/packages/@intlayer/editor/index.md +0 -21
- package/ko/packages/@intlayer/editor-react/index.md +0 -21
- package/ko/packages/@intlayer/webpack/index.md +0 -35
- package/ko/packages/angular-intlayer/index.md +0 -5
- package/ko/packages/express-intlayer/index.md +0 -229
- package/ko/packages/express-intlayer/t.md +0 -432
- package/ko/packages/intlayer/getConfiguration.md +0 -120
- package/ko/packages/intlayer/getEnumeration.md +0 -138
- package/ko/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ko/packages/intlayer/getLocaleLang.md +0 -57
- package/ko/packages/intlayer/getLocaleName.md +0 -93
- package/ko/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ko/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ko/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ko/packages/intlayer/getTranslation.md +0 -166
- package/ko/packages/intlayer/getTranslationContent.md +0 -166
- package/ko/packages/intlayer/index.md +0 -480
- package/ko/packages/intlayer-cli/index.md +0 -41
- package/ko/packages/intlayer-editor/index.md +0 -113
- package/ko/packages/lynx-intlayer/index.md +0 -58
- package/ko/packages/next-intlayer/index.md +0 -267
- package/ko/packages/next-intlayer/t.md +0 -337
- package/ko/packages/next-intlayer/useDictionary.md +0 -242
- package/ko/packages/next-intlayer/useIntlayer.md +0 -237
- package/ko/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ko/packages/next-intlayer/useLocale.md +0 -105
- package/ko/packages/nuxt-intlayer/index.md +0 -31
- package/ko/packages/preact-intlayer/index.md +0 -3
- package/ko/packages/react-intlayer/index.md +0 -260
- package/ko/packages/react-intlayer/t.md +0 -277
- package/ko/packages/react-intlayer/useDictionary.md +0 -268
- package/ko/packages/react-intlayer/useIntlayer.md +0 -225
- package/ko/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ko/packages/react-intlayer/useLocale.md +0 -184
- package/ko/packages/react-native-intlayer/index.md +0 -57
- package/ko/packages/react-scripts-intlayer/index.md +0 -57
- package/ko/packages/solid-intlayer/index.md +0 -3
- package/ko/packages/svelte-intlayer/index.md +0 -3
- package/ko/packages/vite-intlayer/index.md +0 -53
- package/ko/packages/vue-intlayer/index.md +0 -3
- package/ko/per_locale_file.md +0 -300
- package/ko/privacy_notice.md +0 -61
- package/ko/roadmap.md +0 -206
- package/ko/terms_of_service.md +0 -33
- package/ko/vs_code_extension.md +0 -139
- package/pt/CI_CD.md +0 -149
- package/pt/autoFill.md +0 -156
- package/pt/configuration.md +0 -503
- package/pt/dictionary/condition.md +0 -213
- package/pt/dictionary/content_extention_customization.md +0 -81
- package/pt/dictionary/enumeration.md +0 -221
- package/pt/dictionary/file.md +0 -210
- package/pt/dictionary/function_fetching.md +0 -190
- package/pt/dictionary/get_started.md +0 -490
- package/pt/dictionary/insertion.md +0 -161
- package/pt/dictionary/markdown.md +0 -339
- package/pt/dictionary/nesting.md +0 -249
- package/pt/dictionary/translation.md +0 -322
- package/pt/header.md +0 -7
- package/pt/how_works_intlayer.md +0 -216
- package/pt/index.md +0 -125
- package/pt/interest_of_intlayer.md +0 -132
- package/pt/intlayer_CMS.md +0 -334
- package/pt/intlayer_cli.md +0 -274
- package/pt/intlayer_visual_editor.md +0 -210
- package/pt/intlayer_with_angular.md +0 -3
- package/pt/intlayer_with_create_react_app.md +0 -1191
- package/pt/intlayer_with_express.md +0 -270
- package/pt/intlayer_with_lynx+react.md +0 -467
- package/pt/intlayer_with_nextjs_14.md +0 -1256
- package/pt/intlayer_with_nextjs_15.md +0 -1306
- package/pt/intlayer_with_nextjs_page_router.md +0 -1097
- package/pt/intlayer_with_nuxt.md +0 -792
- package/pt/intlayer_with_react_native+expo.md +0 -262
- package/pt/intlayer_with_vite+preact.md +0 -1652
- package/pt/intlayer_with_vite+react.md +0 -1611
- package/pt/intlayer_with_vite+solid.md +0 -3
- package/pt/intlayer_with_vite+svelte.md +0 -3
- package/pt/intlayer_with_vite+vue.md +0 -993
- package/pt/introduction.md +0 -193
- package/pt/mcp_server.md +0 -150
- package/pt/packages/@intlayer/api/index.md +0 -31
- package/pt/packages/@intlayer/chokidar/index.md +0 -31
- package/pt/packages/@intlayer/cli/index.md +0 -21
- package/pt/packages/@intlayer/config/index.md +0 -116
- package/pt/packages/@intlayer/core/index.md +0 -25
- package/pt/packages/@intlayer/design-system/index.md +0 -21
- package/pt/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/pt/packages/@intlayer/editor/index.md +0 -21
- package/pt/packages/@intlayer/editor-react/index.md +0 -21
- package/pt/packages/@intlayer/webpack/index.md +0 -35
- package/pt/packages/angular-intlayer/index.md +0 -3
- package/pt/packages/express-intlayer/index.md +0 -232
- package/pt/packages/express-intlayer/t.md +0 -267
- package/pt/packages/intlayer/getConfiguration.md +0 -120
- package/pt/packages/intlayer/getEnumeration.md +0 -138
- package/pt/packages/intlayer/getHTMLTextDir.md +0 -97
- package/pt/packages/intlayer/getLocaleLang.md +0 -57
- package/pt/packages/intlayer/getLocaleName.md +0 -93
- package/pt/packages/intlayer/getLocalizedUrl.md +0 -221
- package/pt/packages/intlayer/getMultilingualUrls.md +0 -198
- package/pt/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/pt/packages/intlayer/getTranslation.md +0 -175
- package/pt/packages/intlayer/getTranslationContent.md +0 -177
- package/pt/packages/intlayer/index.md +0 -484
- package/pt/packages/intlayer-cli/index.md +0 -41
- package/pt/packages/intlayer-editor/index.md +0 -113
- package/pt/packages/lynx-intlayer/index.md +0 -58
- package/pt/packages/next-intlayer/index.md +0 -270
- package/pt/packages/next-intlayer/t.md +0 -341
- package/pt/packages/next-intlayer/useDictionary.md +0 -248
- package/pt/packages/next-intlayer/useIntlayer.md +0 -237
- package/pt/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/pt/packages/next-intlayer/useLocale.md +0 -105
- package/pt/packages/nuxt-intlayer/index.md +0 -29
- package/pt/packages/preact-intlayer/index.md +0 -3
- package/pt/packages/react-intlayer/index.md +0 -261
- package/pt/packages/react-intlayer/t.md +0 -289
- package/pt/packages/react-intlayer/useDictionary.md +0 -268
- package/pt/packages/react-intlayer/useIntlayer.md +0 -225
- package/pt/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/pt/packages/react-intlayer/useLocale.md +0 -184
- package/pt/packages/react-native-intlayer/index.md +0 -57
- package/pt/packages/react-scripts-intlayer/index.md +0 -57
- package/pt/packages/solid-intlayer/index.md +0 -3
- package/pt/packages/svelte-intlayer/index.md +0 -3
- package/pt/packages/vite-intlayer/index.md +0 -53
- package/pt/packages/vue-intlayer/index.md +0 -3
- package/pt/per_locale_file.md +0 -298
- package/pt/privacy_notice.md +0 -61
- package/pt/roadmap.md +0 -206
- package/pt/terms_of_service.md +0 -33
- package/pt/vs_code_extension.md +0 -139
- package/ru/CI_CD.md +0 -149
- package/ru/autoFill.md +0 -156
- package/ru/configuration.md +0 -507
- package/ru/dictionary/condition.md +0 -213
- package/ru/dictionary/content_extention_customization.md +0 -81
- package/ru/dictionary/enumeration.md +0 -221
- package/ru/dictionary/file.md +0 -209
- package/ru/dictionary/function_fetching.md +0 -188
- package/ru/dictionary/get_started.md +0 -311
- package/ru/dictionary/insertion.md +0 -161
- package/ru/dictionary/markdown.md +0 -339
- package/ru/dictionary/nesting.md +0 -249
- package/ru/dictionary/translation.md +0 -322
- package/ru/environment/angular.md +0 -3
- package/ru/header.md +0 -7
- package/ru/how_works_intlayer.md +0 -217
- package/ru/index.md +0 -125
- package/ru/interest_of_intlayer.md +0 -132
- package/ru/intlayer_CMS.md +0 -334
- package/ru/intlayer_cli.md +0 -274
- package/ru/intlayer_visual_editor.md +0 -210
- package/ru/intlayer_with_angular.md +0 -3
- package/ru/intlayer_with_create_react_app.md +0 -1183
- package/ru/intlayer_with_express.md +0 -273
- package/ru/intlayer_with_lynx+react.md +0 -482
- package/ru/intlayer_with_nextjs_14.md +0 -1261
- package/ru/intlayer_with_nextjs_15.md +0 -1305
- package/ru/intlayer_with_nextjs_page_router.md +0 -1088
- package/ru/intlayer_with_nuxt.md +0 -792
- package/ru/intlayer_with_react_native+expo.md +0 -540
- package/ru/intlayer_with_vite+preact.md +0 -1652
- package/ru/intlayer_with_vite+react.md +0 -1536
- package/ru/intlayer_with_vite+solid.md +0 -3
- package/ru/intlayer_with_vite+svelte.md +0 -3
- package/ru/intlayer_with_vite+vue.md +0 -995
- package/ru/introduction.md +0 -190
- package/ru/mcp_server.md +0 -152
- package/ru/packages/@intlayer/api/index.md +0 -31
- package/ru/packages/@intlayer/chokidar/index.md +0 -31
- package/ru/packages/@intlayer/cli/index.md +0 -23
- package/ru/packages/@intlayer/config/index.md +0 -116
- package/ru/packages/@intlayer/core/index.md +0 -25
- package/ru/packages/@intlayer/design-system/index.md +0 -21
- package/ru/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ru/packages/@intlayer/editor/index.md +0 -21
- package/ru/packages/@intlayer/editor-react/index.md +0 -21
- package/ru/packages/@intlayer/webpack/index.md +0 -35
- package/ru/packages/angular-intlayer/index.md +0 -3
- package/ru/packages/express-intlayer/index.md +0 -235
- package/ru/packages/express-intlayer/t.md +0 -445
- package/ru/packages/intlayer/getConfiguration.md +0 -120
- package/ru/packages/intlayer/getEnumeration.md +0 -140
- package/ru/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ru/packages/intlayer/getLocaleLang.md +0 -59
- package/ru/packages/intlayer/getLocaleName.md +0 -93
- package/ru/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ru/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ru/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ru/packages/intlayer/getTranslation.md +0 -177
- package/ru/packages/intlayer/getTranslationContent.md +0 -175
- package/ru/packages/intlayer/index.md +0 -275
- package/ru/packages/intlayer-cli/index.md +0 -41
- package/ru/packages/intlayer-editor/index.md +0 -115
- package/ru/packages/lynx-intlayer/index.md +0 -58
- package/ru/packages/next-intlayer/index.md +0 -267
- package/ru/packages/next-intlayer/t.md +0 -340
- package/ru/packages/next-intlayer/useDictionary.md +0 -248
- package/ru/packages/next-intlayer/useIntlayer.md +0 -237
- package/ru/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ru/packages/next-intlayer/useLocale.md +0 -105
- package/ru/packages/nuxt-intlayer/index.md +0 -31
- package/ru/packages/preact-intlayer/index.md +0 -3
- package/ru/packages/react-intlayer/index.md +0 -261
- package/ru/packages/react-intlayer/t.md +0 -289
- package/ru/packages/react-intlayer/useDictionary.md +0 -268
- package/ru/packages/react-intlayer/useIntlayer.md +0 -225
- package/ru/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ru/packages/react-intlayer/useLocale.md +0 -184
- package/ru/packages/react-native-intlayer/index.md +0 -57
- package/ru/packages/react-scripts-intlayer/index.md +0 -57
- package/ru/packages/solid-intlayer/index.md +0 -3
- package/ru/packages/svelte-intlayer/index.md +0 -3
- package/ru/packages/vite-intlayer/index.md +0 -53
- package/ru/packages/vue-intlayer/index.md +0 -3
- package/ru/per_locale_file.md +0 -298
- package/ru/privacy_notice.md +0 -61
- package/ru/roadmap.md +0 -206
- package/ru/terms_of_service.md +0 -33
- package/ru/vs_code_extension.md +0 -139
- package/zh/CI_CD.md +0 -149
- package/zh/autoFill.md +0 -156
- package/zh/configuration.md +0 -484
- package/zh/dictionary/condition.md +0 -213
- package/zh/dictionary/content_extention_customization.md +0 -81
- package/zh/dictionary/enumeration.md +0 -221
- package/zh/dictionary/file.md +0 -209
- package/zh/dictionary/function_fetching.md +0 -188
- package/zh/dictionary/get_started.md +0 -490
- package/zh/dictionary/insertion.md +0 -161
- package/zh/dictionary/markdown.md +0 -342
- package/zh/dictionary/nesting.md +0 -249
- package/zh/dictionary/translation.md +0 -287
- package/zh/header.md +0 -7
- package/zh/how_works_intlayer.md +0 -217
- package/zh/index.md +0 -125
- package/zh/interest_of_intlayer.md +0 -132
- package/zh/intlayer_CMS.md +0 -334
- package/zh/intlayer_cli.md +0 -274
- package/zh/intlayer_visual_editor.md +0 -210
- package/zh/intlayer_with_angular.md +0 -3
- package/zh/intlayer_with_create_react_app.md +0 -1183
- package/zh/intlayer_with_express.md +0 -267
- package/zh/intlayer_with_lynx+react.md +0 -484
- package/zh/intlayer_with_nextjs_14.md +0 -1273
- package/zh/intlayer_with_nextjs_15.md +0 -1309
- package/zh/intlayer_with_nextjs_page_router.md +0 -1085
- package/zh/intlayer_with_nuxt.md +0 -784
- package/zh/intlayer_with_react_native+expo.md +0 -542
- package/zh/intlayer_with_vite+preact.md +0 -1670
- package/zh/intlayer_with_vite+react.md +0 -1567
- package/zh/intlayer_with_vite+solid.md +0 -3
- package/zh/intlayer_with_vite+svelte.md +0 -3
- package/zh/intlayer_with_vite+vue.md +0 -999
- package/zh/introduction.md +0 -186
- package/zh/mcp_server.md +0 -152
- package/zh/packages/@intlayer/api/index.md +0 -31
- package/zh/packages/@intlayer/chokidar/index.md +0 -31
- package/zh/packages/@intlayer/cli/index.md +0 -21
- package/zh/packages/@intlayer/config/index.md +0 -116
- package/zh/packages/@intlayer/core/index.md +0 -25
- package/zh/packages/@intlayer/design-system/index.md +0 -21
- package/zh/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/zh/packages/@intlayer/editor/index.md +0 -21
- package/zh/packages/@intlayer/editor-react/index.md +0 -21
- package/zh/packages/@intlayer/webpack/index.md +0 -35
- package/zh/packages/angular-intlayer/index.md +0 -3
- package/zh/packages/express-intlayer/index.md +0 -229
- package/zh/packages/express-intlayer/t.md +0 -432
- package/zh/packages/intlayer/getConfiguration.md +0 -120
- package/zh/packages/intlayer/getEnumeration.md +0 -140
- package/zh/packages/intlayer/getHTMLTextDir.md +0 -97
- package/zh/packages/intlayer/getLocaleLang.md +0 -57
- package/zh/packages/intlayer/getLocaleName.md +0 -93
- package/zh/packages/intlayer/getLocalizedUrl.md +0 -221
- package/zh/packages/intlayer/getMultilingualUrls.md +0 -198
- package/zh/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/zh/packages/intlayer/getTranslation.md +0 -166
- package/zh/packages/intlayer/getTranslationContent.md +0 -166
- package/zh/packages/intlayer/index.md +0 -360
- package/zh/packages/intlayer-cli/index.md +0 -41
- package/zh/packages/intlayer-editor/index.md +0 -113
- package/zh/packages/lynx-intlayer/index.md +0 -60
- package/zh/packages/next-intlayer/index.md +0 -267
- package/zh/packages/next-intlayer/t.md +0 -338
- package/zh/packages/next-intlayer/useDictionary.md +0 -242
- package/zh/packages/next-intlayer/useIntlayer.md +0 -237
- package/zh/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/zh/packages/next-intlayer/useLocale.md +0 -105
- package/zh/packages/nuxt-intlayer/index.md +0 -31
- package/zh/packages/preact-intlayer/index.md +0 -3
- package/zh/packages/react-intlayer/index.md +0 -257
- package/zh/packages/react-intlayer/t.md +0 -271
- package/zh/packages/react-intlayer/useDictionary.md +0 -260
- package/zh/packages/react-intlayer/useIntlayer.md +0 -225
- package/zh/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/zh/packages/react-intlayer/useLocale.md +0 -184
- package/zh/packages/react-native-intlayer/index.md +0 -57
- package/zh/packages/react-scripts-intlayer/index.md +0 -57
- package/zh/packages/solid-intlayer/index.md +0 -3
- package/zh/packages/svelte-intlayer/index.md +0 -3
- package/zh/packages/vite-intlayer/index.md +0 -53
- package/zh/packages/vue-intlayer/index.md +0 -3
- package/zh/per_locale_file.md +0 -298
- package/zh/privacy_notice.md +0 -61
- package/zh/roadmap.md +0 -206
- package/zh/terms_of_service.md +0 -33
- package/zh/vs_code_extension.md +0 -139
|
@@ -0,0 +1,1693 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-04-18
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Traduce tu sitio web con Vite y Preact (i18n)
|
|
5
|
+
description: Descubre cómo hacer tu sitio web con Vite y Preact multilingüe. Sigue la documentación para internacionalizar (i18n) y traducirlo.
|
|
6
|
+
keywords:
|
|
7
|
+
- Internacionalización
|
|
8
|
+
- Documentación
|
|
9
|
+
- Intlayer
|
|
10
|
+
- Vite
|
|
11
|
+
- Preact
|
|
12
|
+
- JavaScript
|
|
13
|
+
slugs:
|
|
14
|
+
- doc
|
|
15
|
+
- environment
|
|
16
|
+
- vite-and-preact
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Comenzando con la internacionalización (i18n) usando Intlayer, Vite y Preact
|
|
20
|
+
|
|
21
|
+
> Este paquete está en desarrollo. Consulta el [issue](https://github.com/aymericzip/intlayer/issues/118) para más información. Muestra tu interés en Intlayer para Preact dando like al issue.
|
|
22
|
+
|
|
23
|
+
Consulta la [Plantilla de Aplicación](https://github.com/aymericzip/intlayer-vite-preact-template) en GitHub.
|
|
24
|
+
|
|
25
|
+
## ¿Qué es Intlayer?
|
|
26
|
+
|
|
27
|
+
**Intlayer** es una biblioteca innovadora y de código abierto para internacionalización (i18n) diseñada para simplificar el soporte multilingüe en aplicaciones web modernas.
|
|
28
|
+
|
|
29
|
+
Con Intlayer, puedes:
|
|
30
|
+
|
|
31
|
+
- **Gestionar fácilmente las traducciones** usando diccionarios declarativos a nivel de componente.
|
|
32
|
+
- **Localizar dinámicamente metadatos**, rutas y contenido.
|
|
33
|
+
- **Garantizar soporte para TypeScript** con tipos autogenerados, mejorando la autocompletación y la detección de errores.
|
|
34
|
+
- **Benefíciate de funciones avanzadas**, como la detección y el cambio dinámico de la configuración regional.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Guía paso a paso para configurar Intlayer en una aplicación Vite y Preact
|
|
39
|
+
|
|
40
|
+
### Paso 1: Instalar dependencias
|
|
41
|
+
|
|
42
|
+
Instala los paquetes necesarios usando npm:
|
|
43
|
+
|
|
44
|
+
```bash packageManager="npm"
|
|
45
|
+
npm install intlayer preact-intlayer
|
|
46
|
+
npm install --save-dev vite-intlayer
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```bash packageManager="pnpm"
|
|
50
|
+
pnpm add intlayer preact-intlayer
|
|
51
|
+
pnpm add --save-dev vite-intlayer
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```bash packageManager="yarn"
|
|
55
|
+
yarn add intlayer preact-intlayer
|
|
56
|
+
yarn add --save-dev vite-intlayer
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- **intlayer**
|
|
60
|
+
|
|
61
|
+
- **intlayer**
|
|
62
|
+
|
|
63
|
+
El paquete principal que proporciona herramientas de internacionalización para la gestión de configuración, traducción, [declaración de contenido](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/dictionary/get_started.md), transpilación y [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_cli.md).
|
|
64
|
+
|
|
65
|
+
- **preact-intlayer**
|
|
66
|
+
El paquete que integra Intlayer con la aplicación Preact. Proporciona proveedores de contexto y hooks para la internacionalización en Preact.
|
|
67
|
+
|
|
68
|
+
- **vite-intlayer**
|
|
69
|
+
Incluye el plugin de Vite para integrar Intlayer con el [empaquetador Vite](https://vite.dev/guide/why.html#why-bundle-for-production), así como middleware para detectar la configuración regional preferida del usuario, gestionar cookies y manejar la redirección de URLs.
|
|
70
|
+
|
|
71
|
+
### Paso 2: Configuración de tu proyecto
|
|
72
|
+
|
|
73
|
+
Crea un archivo de configuración para configurar los idiomas de tu aplicación:
|
|
74
|
+
|
|
75
|
+
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
76
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
77
|
+
|
|
78
|
+
const config: IntlayerConfig = {
|
|
79
|
+
internationalization: {
|
|
80
|
+
locales: [
|
|
81
|
+
Locales.ENGLISH,
|
|
82
|
+
Locales.FRENCH,
|
|
83
|
+
Locales.SPANISH,
|
|
84
|
+
// Tus otros locales
|
|
85
|
+
],
|
|
86
|
+
defaultLocale: Locales.ENGLISH,
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export default config;
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
```javascript fileName="intlayer.config.mjs" codeFormat="esm"
|
|
94
|
+
import { Locales } from "intlayer";
|
|
95
|
+
|
|
96
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
97
|
+
const config = {
|
|
98
|
+
internationalization: {
|
|
99
|
+
locales: [
|
|
100
|
+
Locales.ENGLISH,
|
|
101
|
+
Locales.FRENCH,
|
|
102
|
+
Locales.SPANISH,
|
|
103
|
+
// Tus otros locales
|
|
104
|
+
],
|
|
105
|
+
defaultLocale: Locales.ENGLISH,
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export default config;
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
|
|
113
|
+
const { Locales } = require("intlayer");
|
|
114
|
+
|
|
115
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
116
|
+
const config = {
|
|
117
|
+
internationalization: {
|
|
118
|
+
locales: [
|
|
119
|
+
Locales.ENGLISH,
|
|
120
|
+
Locales.FRENCH,
|
|
121
|
+
Locales.SPANISH,
|
|
122
|
+
// Tus otros locales
|
|
123
|
+
],
|
|
124
|
+
defaultLocale: Locales.ENGLISH,
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
module.exports = config;
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
> A través de este archivo de configuración, puedes configurar URLs localizadas, redirección en middleware, nombres de cookies, la ubicación y extensión de tus declaraciones de contenido, deshabilitar los logs de Intlayer en la consola, y más. Para una lista completa de los parámetros disponibles, consulta la [documentación de configuración](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/configuration.md).
|
|
132
|
+
|
|
133
|
+
### Paso 3: Integra Intlayer en tu configuración de Vite
|
|
134
|
+
|
|
135
|
+
Agrega el plugin de intlayer en tu configuración.
|
|
136
|
+
|
|
137
|
+
```typescript fileName="vite.config.ts" codeFormat="typescript"
|
|
138
|
+
import { defineConfig } from "vite";
|
|
139
|
+
import preact from "@preact/preset-vite";
|
|
140
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
141
|
+
|
|
142
|
+
// https://vitejs.dev/config/
|
|
143
|
+
export default defineConfig({
|
|
144
|
+
plugins: [preact(), intlayerPlugin()],
|
|
145
|
+
});
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
```javascript fileName="vite.config.mjs" codeFormat="esm"
|
|
149
|
+
import { defineConfig } from "vite";
|
|
150
|
+
import preact from "@preact/preset-vite";
|
|
151
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
152
|
+
|
|
153
|
+
// https://vitejs.dev/config/
|
|
154
|
+
export default defineConfig({
|
|
155
|
+
plugins: [preact(), intlayerPlugin()],
|
|
156
|
+
});
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
```javascript fileName="vite.config.cjs" codeFormat="commonjs"
|
|
160
|
+
const { defineConfig } = require("vite");
|
|
161
|
+
const preact = require("@preact/preset-vite");
|
|
162
|
+
const { intlayerPlugin } = require("vite-intlayer");
|
|
163
|
+
|
|
164
|
+
// https://vitejs.dev/config/
|
|
165
|
+
module.exports = defineConfig({
|
|
166
|
+
plugins: [preact(), intlayerPlugin()],
|
|
167
|
+
});
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
> El plugin `intlayerPlugin()` de Vite se utiliza para integrar Intlayer con Vite. Garantiza la construcción de archivos de declaración de contenido y los supervisa en modo de desarrollo. Define variables de entorno de Intlayer dentro de la aplicación Vite. Además, proporciona alias para optimizar el rendimiento.
|
|
171
|
+
|
|
172
|
+
### Paso 4: Declara Tu Contenido
|
|
173
|
+
|
|
174
|
+
Crea y administra tus declaraciones de contenido para almacenar traducciones:
|
|
175
|
+
|
|
176
|
+
```tsx fileName="src/app.content.tsx" contentDeclarationFormat="typescript"
|
|
177
|
+
import { t, type Dictionary } from "intlayer";
|
|
178
|
+
import type { ComponentChildren } from "preact";
|
|
179
|
+
|
|
180
|
+
const appContent = {
|
|
181
|
+
key: "app",
|
|
182
|
+
content: {
|
|
183
|
+
viteLogo: t({
|
|
184
|
+
en: "Vite logo",
|
|
185
|
+
fr: "Logo Vite",
|
|
186
|
+
es: "Logo Vite",
|
|
187
|
+
}),
|
|
188
|
+
preactLogo: t({
|
|
189
|
+
en: "Preact logo",
|
|
190
|
+
fr: "Logo Preact",
|
|
191
|
+
es: "Logo Preact",
|
|
192
|
+
}),
|
|
193
|
+
|
|
194
|
+
title: "Vite + Preact",
|
|
195
|
+
|
|
196
|
+
count: t({
|
|
197
|
+
en: "count is ",
|
|
198
|
+
fr: "le compte est ",
|
|
199
|
+
es: "el recuento es ",
|
|
200
|
+
}),
|
|
201
|
+
|
|
202
|
+
edit: t<ComponentChildren>({
|
|
203
|
+
en: (
|
|
204
|
+
<>
|
|
205
|
+
Edita <code>src/app.tsx</code> y guarda para probar HMR
|
|
206
|
+
</>
|
|
207
|
+
),
|
|
208
|
+
fr: (
|
|
209
|
+
<>
|
|
210
|
+
Éditez <code>src/app.tsx</code> et enregistrez pour tester HMR
|
|
211
|
+
</>
|
|
212
|
+
),
|
|
213
|
+
es: (
|
|
214
|
+
<>
|
|
215
|
+
Edita <code>src/app.tsx</code> y guarda para probar HMR
|
|
216
|
+
</>
|
|
217
|
+
),
|
|
218
|
+
}),
|
|
219
|
+
|
|
220
|
+
readTheDocs: t({
|
|
221
|
+
en: "Haz clic en los logotipos de Vite y Preact para obtener más información",
|
|
222
|
+
fr: "Cliquez sur les logos Vite et Preact pour en savoir plus",
|
|
223
|
+
es: "Haz clic en los logotipos de Vite y Preact para obtener más información",
|
|
224
|
+
}),
|
|
225
|
+
},
|
|
226
|
+
} satisfies Dictionary;
|
|
227
|
+
|
|
228
|
+
export default appContent;
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
```javascript fileName="src/app.content.mjs" contentDeclarationFormat="esm"
|
|
232
|
+
import { t } from "intlayer";
|
|
233
|
+
// import { h } from 'preact'; // Necesario si usas JSX directamente en .mjs
|
|
234
|
+
|
|
235
|
+
/** @type {import('intlayer').Dictionary} */
|
|
236
|
+
const appContent = {
|
|
237
|
+
key: "app",
|
|
238
|
+
content: {
|
|
239
|
+
viteLogo: t({
|
|
240
|
+
en: "Vite logo",
|
|
241
|
+
fr: "Logo Vite",
|
|
242
|
+
es: "Logo Vite",
|
|
243
|
+
}),
|
|
244
|
+
preactLogo: t({
|
|
245
|
+
en: "Preact logo",
|
|
246
|
+
fr: "Logo Preact",
|
|
247
|
+
es: "Logo Preact",
|
|
248
|
+
}),
|
|
249
|
+
|
|
250
|
+
title: "Vite + Preact",
|
|
251
|
+
|
|
252
|
+
count: t({
|
|
253
|
+
en: "count is ",
|
|
254
|
+
fr: "le compte est ",
|
|
255
|
+
es: "el recuento es ",
|
|
256
|
+
}),
|
|
257
|
+
|
|
258
|
+
edit: t({
|
|
259
|
+
en: "Edita src/app.jsx y guarda para probar HMR",
|
|
260
|
+
fr: "Éditez src/app.jsx et enregistrez pour tester HMR",
|
|
261
|
+
es: "Edita src/app.jsx y guarda para probar HMR",
|
|
262
|
+
}),
|
|
263
|
+
|
|
264
|
+
readTheDocs: t({
|
|
265
|
+
en: "Haz clic en los logotipos de Vite y Preact para obtener más información",
|
|
266
|
+
fr: "Cliquez sur les logos Vite et Preact pour en savoir plus",
|
|
267
|
+
es: "Haz clic en los logotipos de Vite y Preact para obtener más información",
|
|
268
|
+
}),
|
|
269
|
+
},
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export default appContent;
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
```javascript fileName="src/app.content.cjs" contentDeclarationFormat="commonjs"
|
|
276
|
+
const { t } = require("intlayer");
|
|
277
|
+
// const { h } = require('preact'); // Necesario si usas JSX directamente en .cjs
|
|
278
|
+
|
|
279
|
+
/** @type {import('intlayer').Dictionary} */
|
|
280
|
+
const appContent = {
|
|
281
|
+
key: "app",
|
|
282
|
+
content: {
|
|
283
|
+
viteLogo: t({
|
|
284
|
+
en: "Vite logo",
|
|
285
|
+
fr: "Logo Vite",
|
|
286
|
+
es: "Logo Vite",
|
|
287
|
+
}),
|
|
288
|
+
preactLogo: t({
|
|
289
|
+
en: "Preact logo",
|
|
290
|
+
fr: "Logo Preact",
|
|
291
|
+
es: "Logo Preact",
|
|
292
|
+
}),
|
|
293
|
+
|
|
294
|
+
title: "Vite + Preact",
|
|
295
|
+
|
|
296
|
+
count: t({
|
|
297
|
+
en: "count is ",
|
|
298
|
+
fr: "le compte est ",
|
|
299
|
+
es: "el recuento es ",
|
|
300
|
+
}),
|
|
301
|
+
|
|
302
|
+
edit: t({
|
|
303
|
+
en: "Edit src/app.tsx and save to test HMR",
|
|
304
|
+
fr: "Éditez src/app.tsx et enregistrez pour tester HMR",
|
|
305
|
+
es: "Edita src/app.tsx y guarda para probar HMR",
|
|
306
|
+
}),
|
|
307
|
+
|
|
308
|
+
readTheDocs: t({
|
|
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
|
+
"en": "Vite logo",
|
|
328
|
+
"fr": "Logo Vite",
|
|
329
|
+
"es": "Logo Vite"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"preactLogo": {
|
|
333
|
+
"nodeType": "translation",
|
|
334
|
+
"translation": {
|
|
335
|
+
"en": "Preact logo",
|
|
336
|
+
"fr": "Logo Preact",
|
|
337
|
+
"es": "Logo Preact"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"title": {
|
|
341
|
+
"nodeType": "translation",
|
|
342
|
+
"translation": {
|
|
343
|
+
"en": "Vite + Preact",
|
|
344
|
+
"fr": "Vite + Preact",
|
|
345
|
+
"es": "Vite + Preact"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"count": {
|
|
349
|
+
"nodeType": "translation",
|
|
350
|
+
"translation": {
|
|
351
|
+
"en": "count is ",
|
|
352
|
+
"fr": "le compte est ",
|
|
353
|
+
"es": "el recuento es "
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"edit": {
|
|
357
|
+
"nodeType": "translation",
|
|
358
|
+
"translation": {
|
|
359
|
+
"en": "Edit src/app.tsx and save to test HMR",
|
|
360
|
+
"fr": "Éditez src/app.tsx et enregistrez pour tester HMR",
|
|
361
|
+
"es": "Edita src/app.tsx y guarda para probar HMR"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"readTheDocs": {
|
|
365
|
+
"nodeType": "translation",
|
|
366
|
+
"translation": {
|
|
367
|
+
"en": "Click on the Vite and Preact logos to learn more",
|
|
368
|
+
"fr": "Cliquez sur les logos Vite et Preact pour en savoir plus",
|
|
369
|
+
"es": "Haga clic en los logotipos de Vite y Preact para obtener más información"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
"translation": {
|
|
375
|
+
"en": "Edit src/app.tsx and save to test HMR",
|
|
376
|
+
"fr": "Éditez src/app.tsx et enregistrez pour tester HMR",
|
|
377
|
+
"es": "Edita src/app.tsx y guarda para probar HMR"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"readTheDocs": {
|
|
381
|
+
"nodeType": "translation",
|
|
382
|
+
"translation": {
|
|
383
|
+
"en": "Click on the Vite and Preact logos to learn more",
|
|
384
|
+
"fr": "Cliquez sur les logos Vite et Preact pour en savoir plus",
|
|
385
|
+
"es": "Haz clic en los logotipos de Vite y Preact para obtener más información"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
> Tus declaraciones de contenido pueden definirse en cualquier parte de tu aplicación siempre que estén incluidas en el directorio `contentDir` (por defecto, `./src`). Y coincidan con la extensión de archivo de declaración de contenido (por defecto, `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`).
|
|
393
|
+
|
|
394
|
+
> Para más detalles, consulta la [documentación de declaración de contenido](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/dictionary/get_started.md).
|
|
395
|
+
|
|
396
|
+
> Si tu archivo de contenido incluye código TSX, es posible que necesites importar `import { h } from "preact";` o asegurarte de que tu pragma JSX esté configurado correctamente para Preact.
|
|
397
|
+
|
|
398
|
+
### Paso 5: Utiliza Intlayer en tu Código
|
|
399
|
+
|
|
400
|
+
Accede a tus diccionarios de contenido en toda tu aplicación:
|
|
401
|
+
|
|
402
|
+
```tsx {6,10} fileName="src/app.tsx" codeFormat="typescript"
|
|
403
|
+
import { useState } from "preact/hooks";
|
|
404
|
+
import type { FunctionalComponent } from "preact";
|
|
405
|
+
import preactLogo from "./assets/preact.svg"; // Suponiendo que tienes un preact.svg
|
|
406
|
+
import viteLogo from "/vite.svg";
|
|
407
|
+
import "./app.css"; // Suponiendo que tu archivo CSS se llama app.css
|
|
408
|
+
import { IntlayerProvider, useIntlayer } from "preact-intlayer";
|
|
409
|
+
|
|
410
|
+
const AppContent: FunctionalComponent = () => {
|
|
411
|
+
const [count, setCount] = useState(0);
|
|
412
|
+
const content = useIntlayer("app");
|
|
413
|
+
|
|
414
|
+
return (
|
|
415
|
+
<>
|
|
416
|
+
<div>
|
|
417
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
418
|
+
<img src={viteLogo} class="logo" alt={content.viteLogo.value} />
|
|
419
|
+
</a>
|
|
420
|
+
<a href="https://preactjs.com" target="_blank">
|
|
421
|
+
<img
|
|
422
|
+
src={preactLogo}
|
|
423
|
+
class="logo preact"
|
|
424
|
+
alt={content.preactLogo.value}
|
|
425
|
+
/>
|
|
426
|
+
</a>
|
|
427
|
+
</div>
|
|
428
|
+
<h1>{content.title}</h1>
|
|
429
|
+
<div class="card">
|
|
430
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
431
|
+
{content.count}
|
|
432
|
+
{count}
|
|
433
|
+
</button>
|
|
434
|
+
<p>{content.edit}</p>
|
|
435
|
+
</div>
|
|
436
|
+
<p class="read-the-docs">{content.readTheDocs}</p>
|
|
437
|
+
</>
|
|
438
|
+
);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
const App: FunctionalComponent = () => (
|
|
442
|
+
<IntlayerProvider>
|
|
443
|
+
<AppContent />
|
|
444
|
+
</IntlayerProvider>
|
|
445
|
+
);
|
|
446
|
+
|
|
447
|
+
export default App;
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
```jsx {5,9} fileName="src/app.jsx" codeFormat="esm"
|
|
451
|
+
import { useState } from "preact/hooks";
|
|
452
|
+
import preactLogo from "./assets/preact.svg";
|
|
453
|
+
import viteLogo from "/vite.svg";
|
|
454
|
+
import "./app.css";
|
|
455
|
+
import { IntlayerProvider, useIntlayer } from "preact-intlayer";
|
|
456
|
+
|
|
457
|
+
const AppContent = () => {
|
|
458
|
+
const [count, setCount] = useState(0);
|
|
459
|
+
const content = useIntlayer("app");
|
|
460
|
+
|
|
461
|
+
return (
|
|
462
|
+
<>
|
|
463
|
+
<div>
|
|
464
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
465
|
+
<img src={viteLogo} class="logo" alt={content.viteLogo.value} />
|
|
466
|
+
</a>
|
|
467
|
+
<a href="https://preactjs.com" target="_blank">
|
|
468
|
+
<img
|
|
469
|
+
src={preactLogo}
|
|
470
|
+
class="logo preact"
|
|
471
|
+
alt={content.preactLogo.value}
|
|
472
|
+
/>
|
|
473
|
+
</a>
|
|
474
|
+
</div>
|
|
475
|
+
<h1>{content.title}</h1>
|
|
476
|
+
<div class="card">
|
|
477
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
478
|
+
{content.count}
|
|
479
|
+
{count}
|
|
480
|
+
</button>
|
|
481
|
+
<p>{content.edit}</p>
|
|
482
|
+
</div>
|
|
483
|
+
<p class="read-the-docs">{content.readTheDocs}</p>
|
|
484
|
+
</>
|
|
485
|
+
);
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
const App = () => (
|
|
489
|
+
<IntlayerProvider>
|
|
490
|
+
<AppContent />
|
|
491
|
+
</IntlayerProvider>
|
|
492
|
+
);
|
|
493
|
+
|
|
494
|
+
export default App;
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
```jsx {5,9} fileName="src/app.cjsx" codeFormat="commonjs"
|
|
498
|
+
const { useState } = require("preact/hooks");
|
|
499
|
+
const preactLogo = require("./assets/preact.svg");
|
|
500
|
+
const viteLogo = require("/vite.svg");
|
|
501
|
+
require("./app.css");
|
|
502
|
+
const { IntlayerProvider, useIntlayer } = require("preact-intlayer");
|
|
503
|
+
|
|
504
|
+
const AppContent = () => {
|
|
505
|
+
const [count, setCount] = useState(0);
|
|
506
|
+
const content = useIntlayer("app");
|
|
507
|
+
|
|
508
|
+
return (
|
|
509
|
+
<>
|
|
510
|
+
<div>
|
|
511
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
512
|
+
<img src={viteLogo} class="logo" alt={content.viteLogo.value} />
|
|
513
|
+
</a>
|
|
514
|
+
<a href="https://preactjs.com" target="_blank">
|
|
515
|
+
<img
|
|
516
|
+
src={preactLogo}
|
|
517
|
+
class="logo preact"
|
|
518
|
+
alt={content.preactLogo.value}
|
|
519
|
+
/>
|
|
520
|
+
</a>
|
|
521
|
+
</div>
|
|
522
|
+
<h1>{content.title}</h1>
|
|
523
|
+
<div class="card">
|
|
524
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
525
|
+
{content.count}
|
|
526
|
+
{count}
|
|
527
|
+
</button>
|
|
528
|
+
<p>{content.edit}</p>
|
|
529
|
+
</div>
|
|
530
|
+
<p class="read-the-docs">{content.readTheDocs}</p>
|
|
531
|
+
</>
|
|
532
|
+
);
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
const App = () => (
|
|
536
|
+
<IntlayerProvider>
|
|
537
|
+
<AppContent />
|
|
538
|
+
</IntlayerProvider>
|
|
539
|
+
);
|
|
540
|
+
|
|
541
|
+
module.exports = App;
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
> Si desea usar su contenido en un atributo de tipo `string`, como `alt`, `title`, `href`, `aria-label`, etc., debe llamar al valor de la función, así:
|
|
545
|
+
|
|
546
|
+
> ```jsx
|
|
547
|
+
> <img src={content.image.src.value} alt={content.image.value} />
|
|
548
|
+
> ```
|
|
549
|
+
|
|
550
|
+
> Nota: En Preact, `className` se escribe típicamente como `class`.
|
|
551
|
+
|
|
552
|
+
> Para aprender más sobre el hook `useIntlayer`, consulta la [documentación](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/useIntlayer.md) (La API es similar para `preact-intlayer`).
|
|
553
|
+
|
|
554
|
+
### (Opcional) Paso 6: Cambiar el idioma de tu contenido
|
|
555
|
+
|
|
556
|
+
Para cambiar el idioma de tu contenido, puedes usar la función `setLocale` proporcionada por el hook `useLocale`. Esta función te permite establecer la configuración regional de la aplicación y actualizar el contenido en consecuencia.
|
|
557
|
+
|
|
558
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
559
|
+
import type { FunctionalComponent } from "preact";
|
|
560
|
+
import { Locales } from "intlayer";
|
|
561
|
+
import { useLocale } from "preact-intlayer";
|
|
562
|
+
|
|
563
|
+
const LocaleSwitcher: FunctionalComponent = () => {
|
|
564
|
+
const { setLocale } = useLocale();
|
|
565
|
+
|
|
566
|
+
return (
|
|
567
|
+
<button onClick={() => setLocale(Locales.ENGLISH)}>
|
|
568
|
+
Cambiar idioma a inglés
|
|
569
|
+
</button>
|
|
570
|
+
);
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
export default LocaleSwitcher;
|
|
574
|
+
```
|
|
575
|
+
|
|
576
|
+
```jsx fileName="src/components/LocaleSwitcher.jsx" codeFormat="esm"
|
|
577
|
+
import { Locales } from "intlayer";
|
|
578
|
+
import { useLocale } from "preact-intlayer";
|
|
579
|
+
|
|
580
|
+
const LocaleSwitcher = () => {
|
|
581
|
+
const { setLocale } = useLocale();
|
|
582
|
+
|
|
583
|
+
return (
|
|
584
|
+
<button onClick={() => setLocale(Locales.ENGLISH)}>
|
|
585
|
+
Cambiar idioma a inglés
|
|
586
|
+
</button>
|
|
587
|
+
);
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
export default LocaleSwitcher;
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
```jsx fileName="src/components/LocaleSwitcher.cjsx" codeFormat="commonjs"
|
|
594
|
+
const { Locales } = require("intlayer");
|
|
595
|
+
const { useLocale } = require("preact-intlayer");
|
|
596
|
+
|
|
597
|
+
const LocaleSwitcher = () => {
|
|
598
|
+
const { setLocale } = useLocale();
|
|
599
|
+
|
|
600
|
+
return (
|
|
601
|
+
<button onClick={() => setLocale(Locales.ENGLISH)}>
|
|
602
|
+
Cambiar idioma a inglés
|
|
603
|
+
</button>
|
|
604
|
+
);
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
module.exports = LocaleSwitcher;
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
> Para aprender más sobre el hook `useLocale`, consulta la [documentación](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/useLocale.md) (La API es similar para `preact-intlayer`).
|
|
611
|
+
|
|
612
|
+
### (Opcional) Paso 7: Añadir enrutamiento localizado a tu aplicación
|
|
613
|
+
|
|
614
|
+
El propósito de este paso es crear rutas únicas para cada idioma. Esto es útil para SEO y URLs amigables con SEO.
|
|
615
|
+
Ejemplo:
|
|
616
|
+
|
|
617
|
+
```plaintext
|
|
618
|
+
- https://example.com/about
|
|
619
|
+
- https://example.com/es/about
|
|
620
|
+
- https://example.com/fr/about
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
> Por defecto, las rutas no tienen prefijo para la configuración regional predeterminada. Si desea prefijar la configuración regional predeterminada, puede establecer la opción `middleware.prefixDefault` en `true` en su configuración. Consulte la [documentación de configuración](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/configuration.md) para obtener más información.
|
|
624
|
+
|
|
625
|
+
Para agregar enrutamiento localizado a su aplicación, puede crear un componente `LocaleRouter` que envuelva las rutas de su aplicación y gestione el enrutamiento basado en la configuración regional. Aquí hay un ejemplo usando [preact-iso](https://github.com/preactjs/preact-iso):
|
|
626
|
+
|
|
627
|
+
Primero, instale `preact-iso`:
|
|
628
|
+
|
|
629
|
+
```bash packageManager="npm"
|
|
630
|
+
npm install preact-iso
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
```bash packageManager="pnpm"
|
|
634
|
+
pnpm add preact-iso
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
```bash packageManager="yarn"
|
|
638
|
+
yarn add preact-iso
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
```tsx fileName="src/components/LocaleRouter.tsx" codeFormat="typescript"
|
|
642
|
+
import { type Locales, configuration, getPathWithoutLocale } from "intlayer";
|
|
643
|
+
import { ComponentChildren, FunctionalComponent } from "preact";
|
|
644
|
+
import { IntlayerProvider } from "preact-intlayer";
|
|
645
|
+
import { LocationProvider, useLocation } from "preact-iso";
|
|
646
|
+
import { useEffect } from "preact/hooks";
|
|
647
|
+
|
|
648
|
+
const { internationalization, middleware } = configuration;
|
|
649
|
+
const { locales, defaultLocale } = internationalization;
|
|
650
|
+
|
|
651
|
+
const Navigate: FunctionalComponent<{ to: string; replace?: boolean }> = ({
|
|
652
|
+
to,
|
|
653
|
+
replace,
|
|
654
|
+
}) => {
|
|
655
|
+
const { route } = useLocation();
|
|
656
|
+
useEffect(() => {
|
|
657
|
+
route(to, replace);
|
|
658
|
+
}, [to, replace, route]);
|
|
659
|
+
return null;
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
/**
|
|
664
|
+
* Un componente que maneja la localización y envuelve a los hijos con el contexto de configuración regional apropiado.
|
|
665
|
+
* Gestiona la detección y validación de la configuración regional basada en la URL.
|
|
666
|
+
*/
|
|
667
|
+
const AppLocalized: FunctionalComponent<{
|
|
668
|
+
children: ComponentChildren;
|
|
669
|
+
locale?: Locales;
|
|
670
|
+
}> = ({ children, locale }) => {
|
|
671
|
+
const { path: pathname, url } = useLocation();
|
|
672
|
+
|
|
673
|
+
if (!url) {
|
|
674
|
+
return null;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
const search = url.substring(pathname.length);
|
|
678
|
+
|
|
679
|
+
// Determina la configuración regional actual, usando la predeterminada si no se proporciona
|
|
680
|
+
const currentLocale = locale ?? defaultLocale;
|
|
681
|
+
|
|
682
|
+
// Elimina el prefijo de la configuración regional del path para construir una ruta base
|
|
683
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
684
|
+
pathname // Ruta URL actual
|
|
685
|
+
);
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Si middleware.prefixDefault es verdadero, el locale por defecto siempre debe tener prefijo.
|
|
689
|
+
*/
|
|
690
|
+
if (middleware.prefixDefault) {
|
|
691
|
+
// Validar el locale
|
|
692
|
+
if (!locale || !locales.includes(locale)) {
|
|
693
|
+
// Redirigir al locale por defecto con la ruta actualizada
|
|
694
|
+
return (
|
|
695
|
+
<Navigate
|
|
696
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
697
|
+
replace // Reemplazar la entrada actual del historial con la nueva
|
|
698
|
+
/>
|
|
699
|
+
);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
// Envolver los children con IntlayerProvider y establecer el locale actual
|
|
703
|
+
return (
|
|
704
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
705
|
+
);
|
|
706
|
+
} else {
|
|
707
|
+
/**
|
|
708
|
+
* Cuando middleware.prefixDefault es falso, el locale por defecto no tiene prefijo.
|
|
709
|
+
* Asegúrese de que la configuración regional actual sea válida y no sea la configuración regional predeterminada.
|
|
710
|
+
*/
|
|
711
|
+
if (
|
|
712
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
713
|
+
!locales
|
|
714
|
+
.filter(
|
|
715
|
+
(loc) => loc.toString() !== defaultLocale.toString() // Excluir la configuración regional predeterminada
|
|
716
|
+
)
|
|
717
|
+
.includes(currentLocale) // Verificar si la configuración regional actual está en la lista de configuraciones regionales válidas
|
|
718
|
+
) {
|
|
719
|
+
// Redirigir a la ruta sin el prefijo de configuración regional
|
|
720
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// Envolver los hijos con IntlayerProvider y establecer la configuración regional actual
|
|
724
|
+
return (
|
|
725
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
726
|
+
);
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
const RouterContent: FunctionalComponent<{
|
|
731
|
+
children: ComponentChildren;
|
|
732
|
+
}> = ({ children }) => {
|
|
733
|
+
const { path } = useLocation();
|
|
734
|
+
|
|
735
|
+
if (!path) {
|
|
736
|
+
return null;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
const pathLocale = path.split("/")[1] as Locales;
|
|
740
|
+
|
|
741
|
+
const isLocaleRoute = locales
|
|
742
|
+
.filter((locale) => middleware.prefixDefault || locale !== defaultLocale)
|
|
743
|
+
.some((locale) => locale.toString() === pathLocale);
|
|
744
|
+
|
|
745
|
+
if (isLocaleRoute) {
|
|
746
|
+
return <AppLocalized locale={pathLocale}>{children}</AppLocalized>;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
return (
|
|
750
|
+
<AppLocalized
|
|
751
|
+
locale={!middleware.prefixDefault ? defaultLocale : undefined}
|
|
752
|
+
>
|
|
753
|
+
{children}
|
|
754
|
+
</AppLocalized>
|
|
755
|
+
);
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Un componente de enrutador que configura rutas específicas por locale.
|
|
760
|
+
* Utiliza preact-iso para gestionar la navegación y renderizar componentes localizados.
|
|
761
|
+
*/
|
|
762
|
+
export const LocaleRouter: FunctionalComponent<{
|
|
763
|
+
children: ComponentChildren;
|
|
764
|
+
}> = ({ children }) => (
|
|
765
|
+
<LocationProvider>
|
|
766
|
+
<RouterContent>{children}</RouterContent>
|
|
767
|
+
</LocationProvider>
|
|
768
|
+
);
|
|
769
|
+
```
|
|
770
|
+
|
|
771
|
+
```jsx fileName="src/components/LocaleRouter.jsx" codeFormat="esm"
|
|
772
|
+
// Importando las dependencias y funciones necesarias
|
|
773
|
+
import { configuration, getPathWithoutLocale } from "intlayer";
|
|
774
|
+
import { IntlayerProvider } from "preact-intlayer";
|
|
775
|
+
import { LocationProvider, useLocation } from "preact-iso";
|
|
776
|
+
import { useEffect } from "preact/hooks";
|
|
777
|
+
import { h } from "preact"; // Requerido para JSX
|
|
778
|
+
|
|
779
|
+
// Desestructurando la configuración de Intlayer
|
|
780
|
+
const { internationalization, middleware } = configuration;
|
|
781
|
+
const { locales, defaultLocale } = internationalization;
|
|
782
|
+
|
|
783
|
+
const Navigate = ({ to, replace }) => {
|
|
784
|
+
const { route } = useLocation();
|
|
785
|
+
useEffect(() => {
|
|
786
|
+
route(to, replace);
|
|
787
|
+
}, [to, replace, route]);
|
|
788
|
+
return null;
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Un componente que maneja la localización y envuelve a los hijos con el contexto de idioma apropiado.
|
|
793
|
+
* Gestiona la detección y validación del idioma basado en la URL.
|
|
794
|
+
*/
|
|
795
|
+
const AppLocalized = ({ children, locale }) => {
|
|
796
|
+
const { path: pathname, url } = useLocation();
|
|
797
|
+
|
|
798
|
+
if (!url) {
|
|
799
|
+
return null;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
const search = url.substring(pathname.length);
|
|
803
|
+
|
|
804
|
+
// Determina el idioma actual, usando el predeterminado si no se proporciona
|
|
805
|
+
const currentLocale = locale ?? defaultLocale;
|
|
806
|
+
|
|
807
|
+
// Elimina el prefijo del idioma de la ruta para construir una ruta base
|
|
808
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
809
|
+
pathname // Ruta actual de la URL
|
|
810
|
+
);
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Si middleware.prefixDefault es true, el idioma predeterminado siempre debe tener prefijo.
|
|
814
|
+
*/
|
|
815
|
+
if (middleware.prefixDefault) {
|
|
816
|
+
// Validar la localización
|
|
817
|
+
if (!locale || !locales.includes(locale)) {
|
|
818
|
+
// Redirigir a la localización por defecto con la ruta actualizada
|
|
819
|
+
return (
|
|
820
|
+
<Navigate
|
|
821
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
822
|
+
replace // Reemplazar la entrada actual del historial con la nueva
|
|
823
|
+
/>
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
// Envolver los hijos con IntlayerProvider y establecer la localización actual
|
|
828
|
+
return (
|
|
829
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
830
|
+
);
|
|
831
|
+
} else {
|
|
832
|
+
/**
|
|
833
|
+
* Cuando middleware.prefixDefault es falso, la localización por defecto no se antepone.
|
|
834
|
+
* Asegurarse de que la localización actual sea válida y no la localización por defecto.
|
|
835
|
+
*/
|
|
836
|
+
if (
|
|
837
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
838
|
+
!locales
|
|
839
|
+
.filter(
|
|
840
|
+
(loc) => loc.toString() !== defaultLocale.toString() // Excluir la configuración regional predeterminada
|
|
841
|
+
)
|
|
842
|
+
.includes(currentLocale) // Verificar si la configuración regional actual está en la lista de configuraciones regionales válidas
|
|
843
|
+
) {
|
|
844
|
+
// Redirigir a la ruta sin el prefijo de configuración regional
|
|
845
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
// Envolver los hijos con IntlayerProvider y establecer la configuración regional actual
|
|
849
|
+
return (
|
|
850
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
const RouterContent = ({ children }) => {
|
|
856
|
+
const { path } = useLocation();
|
|
857
|
+
|
|
858
|
+
if (!path) {
|
|
859
|
+
return null;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
const pathLocale = path.split("/")[1];
|
|
863
|
+
|
|
864
|
+
const isLocaleRoute = locales
|
|
865
|
+
.filter((locale) => middleware.prefixDefault || locale !== defaultLocale)
|
|
866
|
+
.some((locale) => locale.toString() === pathLocale);
|
|
867
|
+
|
|
868
|
+
if (isLocaleRoute) {
|
|
869
|
+
return <AppLocalized locale={pathLocale}>{children}</AppLocalized>;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
return (
|
|
873
|
+
<AppLocalized
|
|
874
|
+
locale={!middleware.prefixDefault ? defaultLocale : undefined}
|
|
875
|
+
>
|
|
876
|
+
{children}
|
|
877
|
+
</AppLocalized>
|
|
878
|
+
);
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Un componente de enrutador que configura rutas específicas por locale.
|
|
883
|
+
* Utiliza preact-iso para gestionar la navegación y renderizar componentes localizados.
|
|
884
|
+
*/
|
|
885
|
+
export const LocaleRouter = ({ children }) => (
|
|
886
|
+
<LocationProvider>
|
|
887
|
+
<RouterContent>{children}</RouterContent>
|
|
888
|
+
</LocationProvider>
|
|
889
|
+
);
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
```jsx fileName="src/components/LocaleRouter.cjsx" codeFormat="commonjs"
|
|
893
|
+
// Importando las dependencias y funciones necesarias
|
|
894
|
+
const { configuration, getPathWithoutLocale } = require("intlayer");
|
|
895
|
+
const { IntlayerProvider } = require("preact-intlayer");
|
|
896
|
+
const { LocationProvider, useLocation } = require("preact-iso");
|
|
897
|
+
const { useEffect } = require("preact/hooks");
|
|
898
|
+
const { h } = require("preact"); // Requerido para JSX
|
|
899
|
+
|
|
900
|
+
// Desestructurando configuración de Intlayer
|
|
901
|
+
const { internationalization, middleware } = configuration;
|
|
902
|
+
const { locales, defaultLocale } = internationalization;
|
|
903
|
+
|
|
904
|
+
const Navigate = ({ to, replace }) => {
|
|
905
|
+
const { route } = useLocation();
|
|
906
|
+
useEffect(() => {
|
|
907
|
+
route(to, replace);
|
|
908
|
+
}, [to, replace, route]);
|
|
909
|
+
return null;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Un componente que maneja la localización y envuelve a los hijos con el contexto de idioma apropiado.
|
|
914
|
+
* Gestiona la detección y validación del idioma basado en la URL.
|
|
915
|
+
*/
|
|
916
|
+
const AppLocalized = ({ children, locale }) => {
|
|
917
|
+
const { path: pathname, url } = useLocation();
|
|
918
|
+
|
|
919
|
+
if (!url) {
|
|
920
|
+
return null;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
const search = url.substring(pathname.length);
|
|
924
|
+
|
|
925
|
+
// Determinar la configuración regional actual, usando la predeterminada si no se proporciona
|
|
926
|
+
const currentLocale = locale ?? defaultLocale;
|
|
927
|
+
|
|
928
|
+
// Eliminar el prefijo de la configuración regional de la ruta para construir una ruta base
|
|
929
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
930
|
+
pathname // Ruta URL actual
|
|
931
|
+
);
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Si middleware.prefixDefault es true, la configuración regional predeterminada siempre debe tener prefijo.
|
|
935
|
+
*/
|
|
936
|
+
if (middleware.prefixDefault) {
|
|
937
|
+
// Validar la configuración regional
|
|
938
|
+
if (!locale || !locales.includes(locale)) {
|
|
939
|
+
// Redirigir a la configuración regional predeterminada con la ruta actualizada
|
|
940
|
+
return (
|
|
941
|
+
<Navigate
|
|
942
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
943
|
+
replace // Reemplaza la entrada actual del historial con la nueva
|
|
944
|
+
/>
|
|
945
|
+
);
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
// Envuelve los hijos con IntlayerProvider y establece la localidad actual
|
|
949
|
+
return (
|
|
950
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
951
|
+
);
|
|
952
|
+
} else {
|
|
953
|
+
/**
|
|
954
|
+
* Cuando middleware.prefixDefault es falso, la localidad por defecto no se antepone.
|
|
955
|
+
* Asegúrate de que la localidad actual sea válida y no la localidad por defecto.
|
|
956
|
+
*/
|
|
957
|
+
if (
|
|
958
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
959
|
+
!locales
|
|
960
|
+
.filter(
|
|
961
|
+
(loc) => loc.toString() !== defaultLocale.toString() // Excluir la localidad por defecto
|
|
962
|
+
)
|
|
963
|
+
.includes(currentLocale) // Verifica si la localidad actual está en la lista de localidades válidas
|
|
964
|
+
) {
|
|
965
|
+
// Redirige a la ruta sin el prefijo de localidad
|
|
966
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
// Envuelve los hijos con IntlayerProvider y establece la localidad actual
|
|
970
|
+
return (
|
|
971
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
972
|
+
);
|
|
973
|
+
}
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
const RouterContent = ({ children }) => {
|
|
977
|
+
const { path } = useLocation();
|
|
978
|
+
|
|
979
|
+
if (!path) {
|
|
980
|
+
return null;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
const pathLocale = path.split("/")[1];
|
|
984
|
+
|
|
985
|
+
const isLocaleRoute = locales
|
|
986
|
+
.filter((locale) => middleware.prefixDefault || locale !== defaultLocale)
|
|
987
|
+
.some((locale) => locale.toString() === pathLocale);
|
|
988
|
+
|
|
989
|
+
if (isLocaleRoute) {
|
|
990
|
+
return <AppLocalized locale={pathLocale}>{children}</AppLocalized>;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
return (
|
|
994
|
+
<AppLocalized
|
|
995
|
+
locale={!middleware.prefixDefault ? defaultLocale : undefined}
|
|
996
|
+
>
|
|
997
|
+
{children}
|
|
998
|
+
</AppLocalized>
|
|
999
|
+
);
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Un componente de enrutador que configura rutas específicas por idioma.
|
|
1004
|
+
* Utiliza preact-iso para gestionar la navegación y renderizar componentes localizados.
|
|
1005
|
+
*/
|
|
1006
|
+
const LocaleRouter = ({ children }) => (
|
|
1007
|
+
<LocationProvider>
|
|
1008
|
+
<RouterContent>{children}</RouterContent>
|
|
1009
|
+
</LocationProvider>
|
|
1010
|
+
);
|
|
1011
|
+
|
|
1012
|
+
module.exports = { LocaleRouter };
|
|
1013
|
+
```
|
|
1014
|
+
|
|
1015
|
+
Luego, puedes usar el componente `LocaleRouter` en tu aplicación:
|
|
1016
|
+
|
|
1017
|
+
```tsx fileName="src/app.tsx" codeFormat="typescript"
|
|
1018
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
1019
|
+
import type { FunctionalComponent } from "preact";
|
|
1020
|
+
// ... Tu componente AppContent (definido en el Paso 5)
|
|
1021
|
+
|
|
1022
|
+
const App: FunctionalComponent = () => (
|
|
1023
|
+
<LocaleRouter>
|
|
1024
|
+
<AppContent />
|
|
1025
|
+
</LocaleRouter>
|
|
1026
|
+
);
|
|
1027
|
+
|
|
1028
|
+
export default App;
|
|
1029
|
+
```
|
|
1030
|
+
|
|
1031
|
+
```jsx fileName="src/app.jsx" codeFormat="esm"
|
|
1032
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
1033
|
+
// ... Tu componente AppContent (definido en el Paso 5)
|
|
1034
|
+
|
|
1035
|
+
const App = () => (
|
|
1036
|
+
<LocaleRouter>
|
|
1037
|
+
<AppContent />
|
|
1038
|
+
</LocaleRouter>
|
|
1039
|
+
);
|
|
1040
|
+
|
|
1041
|
+
export default App;
|
|
1042
|
+
```
|
|
1043
|
+
|
|
1044
|
+
```jsx fileName="src/app.cjsx" codeFormat="commonjs"
|
|
1045
|
+
const { LocaleRouter } = require("./components/LocaleRouter");
|
|
1046
|
+
// ... Tu componente AppContent (definido en el Paso 5)
|
|
1047
|
+
|
|
1048
|
+
const App = () => (
|
|
1049
|
+
<LocaleRouter>
|
|
1050
|
+
<AppContent />
|
|
1051
|
+
</LocaleRouter>
|
|
1052
|
+
);
|
|
1053
|
+
|
|
1054
|
+
module.exports = App;
|
|
1055
|
+
```
|
|
1056
|
+
|
|
1057
|
+
En paralelo, también puedes usar el `intLayerMiddlewarePlugin` para agregar enrutamiento del lado del servidor a tu aplicación. Este plugin detectará automáticamente la configuración regional actual basada en la URL y establecerá la cookie de configuración regional apropiada. Si no se especifica ninguna configuración regional, el plugin determinará la configuración regional más adecuada según las preferencias de idioma del navegador del usuario. Si no se detecta ninguna configuración regional, redirigirá a la configuración regional predeterminada.
|
|
1058
|
+
|
|
1059
|
+
```typescript {3,7} fileName="vite.config.ts" codeFormat="typescript"
|
|
1060
|
+
import { defineConfig } from "vite";
|
|
1061
|
+
import preact from "@preact/preset-vite";
|
|
1062
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1063
|
+
|
|
1064
|
+
// https://vitejs.dev/config/
|
|
1065
|
+
export default defineConfig({
|
|
1066
|
+
plugins: [preact(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1067
|
+
});
|
|
1068
|
+
```
|
|
1069
|
+
|
|
1070
|
+
```javascript {3,7} fileName="vite.config.mjs" codeFormat="esm"
|
|
1071
|
+
import { defineConfig } from "vite";
|
|
1072
|
+
import preact from "@preact/preset-vite";
|
|
1073
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1074
|
+
|
|
1075
|
+
// https://vitejs.dev/config/
|
|
1076
|
+
export default defineConfig({
|
|
1077
|
+
plugins: [preact(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1078
|
+
});
|
|
1079
|
+
```
|
|
1080
|
+
|
|
1081
|
+
```javascript {3,7} fileName="vite.config.cjs" codeFormat="commonjs"
|
|
1082
|
+
const { defineConfig } = require("vite");
|
|
1083
|
+
const preact = require("@preact/preset-vite");
|
|
1084
|
+
const { intlayerPlugin, intLayerMiddlewarePlugin } = require("vite-intlayer");
|
|
1085
|
+
|
|
1086
|
+
// https://vitejs.dev/config/
|
|
1087
|
+
module.exports = defineConfig({
|
|
1088
|
+
plugins: [preact(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1089
|
+
});
|
|
1090
|
+
```
|
|
1091
|
+
|
|
1092
|
+
### (Opcional) Paso 8: Cambiar la URL cuando cambia la configuración regional
|
|
1093
|
+
|
|
1094
|
+
Para cambiar la URL cuando cambia la configuración regional, puedes usar la propiedad `onLocaleChange` proporcionada por el hook `useLocale`. Paralelamente, puedes usar `useLocation` y `route` de `preact-iso` para actualizar la ruta de la URL.
|
|
1095
|
+
|
|
1096
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
1097
|
+
import { useLocation, route } from "preact-iso";
|
|
1098
|
+
import {
|
|
1099
|
+
Locales,
|
|
1100
|
+
getHTMLTextDir,
|
|
1101
|
+
getLocaleName,
|
|
1102
|
+
getLocalizedUrl,
|
|
1103
|
+
} from "intlayer";
|
|
1104
|
+
import { useLocale } from "preact-intlayer";
|
|
1105
|
+
import type { FunctionalComponent } from "preact";
|
|
1106
|
+
|
|
1107
|
+
const LocaleSwitcher: FunctionalComponent = () => {
|
|
1108
|
+
const location = useLocation();
|
|
1109
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1110
|
+
onLocaleChange: (newLocale) => {
|
|
1111
|
+
const currentFullPath = location.url; // preact-iso proporciona la URL completa
|
|
1112
|
+
// Construir la URL con la configuración regional actualizada
|
|
1113
|
+
// Ejemplo: /es/about?foo=bar
|
|
1114
|
+
const pathWithLocale = getLocalizedUrl(currentFullPath, newLocale);
|
|
1115
|
+
|
|
1116
|
+
// Actualizar la ruta de la URL
|
|
1117
|
+
route(pathWithLocale, true); // true para reemplazar
|
|
1118
|
+
},
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
return (
|
|
1122
|
+
<div>
|
|
1123
|
+
<button popovertarget="localePopover">{getLocaleName(locale)}</button>
|
|
1124
|
+
<div id="localePopover" popover="auto">
|
|
1125
|
+
{availableLocales.map((localeItem) => (
|
|
1126
|
+
<a
|
|
1127
|
+
href={getLocalizedUrl(location.url, localeItem)}
|
|
1128
|
+
hreflang={localeItem}
|
|
1129
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1130
|
+
onClick={(e) => {
|
|
1131
|
+
e.preventDefault();
|
|
1132
|
+
setLocale(localeItem);
|
|
1133
|
+
// La navegación programática después de establecer el idioma será manejada por onLocaleChange
|
|
1134
|
+
}}
|
|
1135
|
+
key={localeItem}
|
|
1136
|
+
>
|
|
1137
|
+
<span>
|
|
1138
|
+
{/* Idioma local - por ejemplo FR */}
|
|
1139
|
+
{localeItem}
|
|
1140
|
+
</span>
|
|
1141
|
+
<span>
|
|
1142
|
+
{/* Idioma en su propio idioma local - por ejemplo Français */}
|
|
1143
|
+
{getLocaleName(localeItem, localeItem)}
|
|
1144
|
+
</span>
|
|
1145
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1146
|
+
{/* Idioma en el idioma local actual - por ejemplo Francés con el idioma local establecido en Locales.SPANISH */}
|
|
1147
|
+
{getLocaleName(localeItem, locale)}
|
|
1148
|
+
</span>
|
|
1149
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1150
|
+
{/* Idioma en inglés - por ejemplo French */}
|
|
1151
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1152
|
+
</span>
|
|
1153
|
+
</a>
|
|
1154
|
+
))}
|
|
1155
|
+
</div>
|
|
1156
|
+
</div>
|
|
1157
|
+
);
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
export default LocaleSwitcher;
|
|
1161
|
+
```
|
|
1162
|
+
|
|
1163
|
+
```jsx fileName="src/components/LocaleSwitcher.jsx" codeFormat="esm"
|
|
1164
|
+
import { useLocation, route } from "preact-iso";
|
|
1165
|
+
import {
|
|
1166
|
+
Locales,
|
|
1167
|
+
getHTMLTextDir,
|
|
1168
|
+
getLocaleName,
|
|
1169
|
+
getLocalizedUrl,
|
|
1170
|
+
} from "intlayer";
|
|
1171
|
+
import { useLocale } from "preact-intlayer";
|
|
1172
|
+
import { h } from "preact"; // Para JSX
|
|
1173
|
+
|
|
1174
|
+
const LocaleSwitcher = () => {
|
|
1175
|
+
const location = useLocation();
|
|
1176
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1177
|
+
onLocaleChange: (newLocale) => {
|
|
1178
|
+
const currentFullPath = location.url;
|
|
1179
|
+
const pathWithLocale = getLocalizedUrl(currentFullPath, newLocale);
|
|
1180
|
+
route(pathWithLocale, true);
|
|
1181
|
+
},
|
|
1182
|
+
});
|
|
1183
|
+
|
|
1184
|
+
return (
|
|
1185
|
+
<div>
|
|
1186
|
+
<button popovertarget="localePopover">{getLocaleName(locale)}</button>
|
|
1187
|
+
<div id="localePopover" popover="auto">
|
|
1188
|
+
{availableLocales.map((localeItem) => (
|
|
1189
|
+
<a
|
|
1190
|
+
href={getLocalizedUrl(location.url, localeItem)}
|
|
1191
|
+
hreflang={localeItem}
|
|
1192
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1193
|
+
onClick={(e) => {
|
|
1194
|
+
e.preventDefault();
|
|
1195
|
+
setLocale(localeItem);
|
|
1196
|
+
}}
|
|
1197
|
+
key={localeItem}
|
|
1198
|
+
>
|
|
1199
|
+
<span>{localeItem}</span>
|
|
1200
|
+
<span>{getLocaleName(localeItem, localeItem)}</span>
|
|
1201
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1202
|
+
{getLocaleName(localeItem, locale)}
|
|
1203
|
+
</span>
|
|
1204
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1205
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1206
|
+
</span>
|
|
1207
|
+
</a>
|
|
1208
|
+
))}
|
|
1209
|
+
</div>
|
|
1210
|
+
</div>
|
|
1211
|
+
);
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
export default LocaleSwitcher;
|
|
1215
|
+
```
|
|
1216
|
+
|
|
1217
|
+
```jsx fileName="src/components/LocaleSwitcher.cjsx" codeFormat="commonjs"
|
|
1218
|
+
const { useLocation, route } = require("preact-iso");
|
|
1219
|
+
const {
|
|
1220
|
+
Locales,
|
|
1221
|
+
getHTMLTextDir,
|
|
1222
|
+
getLocaleName,
|
|
1223
|
+
getLocalizedUrl,
|
|
1224
|
+
} = require("intlayer");
|
|
1225
|
+
const { useLocale } = require("preact-intlayer");
|
|
1226
|
+
const { h } = require("preact"); // Para JSX
|
|
1227
|
+
|
|
1228
|
+
const LocaleSwitcher = () => {
|
|
1229
|
+
const location = useLocation();
|
|
1230
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1231
|
+
onLocaleChange: (newLocale) => {
|
|
1232
|
+
const currentFullPath = location.url;
|
|
1233
|
+
const pathWithLocale = getLocalizedUrl(currentFullPath, newLocale);
|
|
1234
|
+
route(pathWithLocale, true);
|
|
1235
|
+
},
|
|
1236
|
+
});
|
|
1237
|
+
|
|
1238
|
+
return (
|
|
1239
|
+
<div>
|
|
1240
|
+
<button popovertarget="localePopover">{getLocaleName(locale)}</button>
|
|
1241
|
+
<div id="localePopover" popover="auto">
|
|
1242
|
+
{availableLocales.map((localeItem) => (
|
|
1243
|
+
<a
|
|
1244
|
+
href={getLocalizedUrl(location.url, localeItem)}
|
|
1245
|
+
hreflang={localeItem}
|
|
1246
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1247
|
+
onClick={(e) => {
|
|
1248
|
+
e.preventDefault();
|
|
1249
|
+
setLocale(localeItem);
|
|
1250
|
+
}}
|
|
1251
|
+
key={localeItem}
|
|
1252
|
+
>
|
|
1253
|
+
<span>{localeItem}</span>
|
|
1254
|
+
<span>{getLocaleName(localeItem, localeItem)}</span>
|
|
1255
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1256
|
+
{getLocaleName(localeItem, locale)}
|
|
1257
|
+
</span>
|
|
1258
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1259
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1260
|
+
</span>
|
|
1261
|
+
</a>
|
|
1262
|
+
))}
|
|
1263
|
+
</div>
|
|
1264
|
+
</div>
|
|
1265
|
+
);
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
module.exports = LocaleSwitcher;
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
> Referencias de documentación:
|
|
1272
|
+
>
|
|
1273
|
+
> > - [`useLocale` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/react-intlayer/useLocale.md) (la API es similar para `preact-intlayer`)
|
|
1274
|
+
> > - [`getLocaleName` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/intlayer/getLocaleName.md)
|
|
1275
|
+
> > - [`getLocalizedUrl` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/intlayer/getLocalizedUrl.md)
|
|
1276
|
+
> > - [`getHTMLTextDir` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/packages/intlayer/getHTMLTextDir.md)
|
|
1277
|
+
> > - [atributo `hreflang`](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)
|
|
1278
|
+
> > - [atributo `lang`](https://developer.mozilla.org/es/docs/Web/HTML/Atributos_globales/lang)
|
|
1279
|
+
> > - [atributo `dir`](https://developer.mozilla.org/es/docs/Web/HTML/Atributos_globales/dir)
|
|
1280
|
+
> > - [atributo `aria-current`](https://developer.mozilla.org/es/docs/Web/Accessibility/ARIA/Atributos/aria-current)
|
|
1281
|
+
> > - [API Popover](https://developer.mozilla.org/es/docs/Web/API/Popover_API) la.org/en-US/docs/Web/HTML/Global_attributes/dir)> - [atributo `aria-current`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)> - [API Popover](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
1282
|
+
|
|
1283
|
+
A continuación se muestra el **Paso 9** actualizado con explicaciones adicionales y ejemplos de código refinados:
|
|
1284
|
+
|
|
1285
|
+
---
|
|
1286
|
+
|
|
1287
|
+
### (Opcional) Paso 9: Cambiar los atributos de idioma y dirección del HTML
|
|
1288
|
+
|
|
1289
|
+
Cuando tu aplicación soporta múltiples idiomas, es crucial actualizar los atributos `lang` y `dir` de la etiqueta `<html>` para que coincidan con la configuración regional actual. Hacer esto garantiza:
|
|
1290
|
+
|
|
1291
|
+
- **Accesibilidad**: Los lectores de pantalla y tecnologías de asistencia dependen del atributo `lang` correcto para pronunciar e interpretar el contenido con precisión.
|
|
1292
|
+
- **Renderizado de texto**: El atributo `dir` (dirección) asegura que el texto se muestre en el orden adecuado (por ejemplo, de izquierda a derecha para inglés, de derecha a izquierda para árabe o hebreo), lo cual es esencial para la legibilidad.
|
|
1293
|
+
- **SEO**: Los motores de búsqueda utilizan el atributo `lang` para determinar el idioma de su página, ayudando a mostrar el contenido localizado correcto en los resultados de búsqueda.
|
|
1294
|
+
|
|
1295
|
+
Al actualizar estos atributos dinámicamente cuando cambia la configuración regional, garantiza una experiencia coherente y accesible para los usuarios en todos los idiomas compatibles.
|
|
1296
|
+
|
|
1297
|
+
#### Implementación del Hook
|
|
1298
|
+
|
|
1299
|
+
Cree un hook personalizado para gestionar los atributos HTML. El hook escucha los cambios de configuración regional y actualiza los atributos en consecuencia:
|
|
1300
|
+
|
|
1301
|
+
```tsx fileName="src/hooks/useI18nHTMLAttributes.tsx" codeFormat="typescript"
|
|
1302
|
+
import { useEffect } from "preact/hooks";
|
|
1303
|
+
import { useLocale } from "preact-intlayer";
|
|
1304
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Actualiza los atributos `lang` y `dir` del elemento <html> según la configuración regional actual.
|
|
1308
|
+
* - `lang`: Informa a los navegadores y motores de búsqueda sobre el idioma de la página.
|
|
1309
|
+
* - `dir`: Asegura el orden correcto de lectura (por ejemplo, 'ltr' para inglés, 'rtl' para árabe).
|
|
1310
|
+
*
|
|
1311
|
+
* Esta actualización dinámica es esencial para una correcta representación del texto, accesibilidad y SEO.
|
|
1312
|
+
*/
|
|
1313
|
+
export const useI18nHTMLAttributes = () => {
|
|
1314
|
+
const { locale } = useLocale();
|
|
1315
|
+
|
|
1316
|
+
useEffect(() => {
|
|
1317
|
+
// Actualiza el atributo de idioma al locale actual.
|
|
1318
|
+
document.documentElement.lang = locale;
|
|
1319
|
+
|
|
1320
|
+
// Establece la dirección del texto según el locale actual.
|
|
1321
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1322
|
+
}, [locale]);
|
|
1323
|
+
};
|
|
1324
|
+
```
|
|
1325
|
+
|
|
1326
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.jsx" codeFormat="esm"
|
|
1327
|
+
import { useEffect } from "preact/hooks";
|
|
1328
|
+
import { useLocale } from "preact-intlayer";
|
|
1329
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Actualiza los atributos `lang` y `dir` del elemento HTML <html> según la configuración regional actual.
|
|
1333
|
+
*/
|
|
1334
|
+
export const useI18nHTMLAttributes = () => {
|
|
1335
|
+
const { locale } = useLocale();
|
|
1336
|
+
|
|
1337
|
+
useEffect(() => {
|
|
1338
|
+
document.documentElement.lang = locale;
|
|
1339
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1340
|
+
}, [locale]);
|
|
1341
|
+
};
|
|
1342
|
+
```
|
|
1343
|
+
|
|
1344
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.cjsx" codeFormat="commonjs"
|
|
1345
|
+
const { useEffect } = require("preact/hooks");
|
|
1346
|
+
const { useLocale } = require("preact-intlayer");
|
|
1347
|
+
const { getHTMLTextDir } = require("intlayer");
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Actualiza los atributos `lang` y `dir` del elemento HTML <html> según la configuración regional actual.
|
|
1351
|
+
*/
|
|
1352
|
+
const useI18nHTMLAttributes = () => {
|
|
1353
|
+
const { locale } = useLocale();
|
|
1354
|
+
|
|
1355
|
+
useEffect(() => {
|
|
1356
|
+
document.documentElement.lang = locale;
|
|
1357
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1358
|
+
}, [locale]);
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
module.exports = { useI18nHTMLAttributes };
|
|
1362
|
+
```
|
|
1363
|
+
|
|
1364
|
+
#### Uso del Hook en Tu Aplicación
|
|
1365
|
+
|
|
1366
|
+
Integra el hook en tu componente principal para que los atributos HTML se actualicen cada vez que cambie la configuración regional:
|
|
1367
|
+
|
|
1368
|
+
```tsx fileName="src/app.tsx" codeFormat="typescript"
|
|
1369
|
+
import type { FunctionalComponent } from "preact";
|
|
1370
|
+
import { IntlayerProvider } from "preact-intlayer"; // useIntlayer ya importado si AppContent lo necesita
|
|
1371
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1372
|
+
import "./app.css";
|
|
1373
|
+
// Definición de AppContent del Paso 5
|
|
1374
|
+
|
|
1375
|
+
const AppWithHooks: FunctionalComponent = () => {
|
|
1376
|
+
// Aplicar el hook para actualizar los atributos lang y dir de la etiqueta <html> según la configuración regional.
|
|
1377
|
+
useI18nHTMLAttributes();
|
|
1378
|
+
|
|
1379
|
+
// Suponiendo que AppContent es tu componente principal de visualización de contenido del Paso 5
|
|
1380
|
+
return <AppContent />;
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
const App: FunctionalComponent = () => (
|
|
1384
|
+
<IntlayerProvider>
|
|
1385
|
+
<AppWithHooks />
|
|
1386
|
+
</IntlayerProvider>
|
|
1387
|
+
);
|
|
1388
|
+
|
|
1389
|
+
export default App;
|
|
1390
|
+
```
|
|
1391
|
+
|
|
1392
|
+
```jsx fileName="src/app.jsx" codeFormat="esm"
|
|
1393
|
+
import { IntlayerProvider } from "preact-intlayer";
|
|
1394
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1395
|
+
import "./app.css";
|
|
1396
|
+
// Definición de AppContent del Paso 5
|
|
1397
|
+
|
|
1398
|
+
const AppWithHooks = () => {
|
|
1399
|
+
useI18nHTMLAttributes();
|
|
1400
|
+
return <AppContent />;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
const App = () => (
|
|
1404
|
+
<IntlayerProvider>
|
|
1405
|
+
<AppWithHooks />
|
|
1406
|
+
</IntlayerProvider>
|
|
1407
|
+
);
|
|
1408
|
+
|
|
1409
|
+
export default App;
|
|
1410
|
+
```
|
|
1411
|
+
|
|
1412
|
+
```jsx fileName="src/app.cjsx" codeFormat="commonjs"
|
|
1413
|
+
const { IntlayerProvider } = require("preact-intlayer");
|
|
1414
|
+
const { useI18nHTMLAttributes } = require("./hooks/useI18nHTMLAttributes");
|
|
1415
|
+
require("./app.css");
|
|
1416
|
+
// Definición de AppContent del Paso 5
|
|
1417
|
+
|
|
1418
|
+
const AppWithHooks = () => {
|
|
1419
|
+
useI18nHTMLAttributes();
|
|
1420
|
+
return <AppContent />;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
const App = () => (
|
|
1424
|
+
<IntlayerProvider>
|
|
1425
|
+
<AppWithHooks />
|
|
1426
|
+
</IntlayerProvider>
|
|
1427
|
+
);
|
|
1428
|
+
|
|
1429
|
+
module.exports = App;
|
|
1430
|
+
```
|
|
1431
|
+
|
|
1432
|
+
Al aplicar estos cambios, tu aplicación:
|
|
1433
|
+
|
|
1434
|
+
- Asegurará que el atributo de **idioma** (`lang`) refleje correctamente la configuración regional actual, lo cual es importante para el SEO y el comportamiento del navegador.
|
|
1435
|
+
- Ajustará la **dirección del texto** (`dir`) según la configuración regional, mejorando la legibilidad y usabilidad para idiomas con diferentes órdenes de lectura.
|
|
1436
|
+
- Proporcionar una experiencia más **accesible**, ya que las tecnologías de asistencia dependen de estos atributos para funcionar de manera óptima.
|
|
1437
|
+
|
|
1438
|
+
### (Opcional) Paso 10: Creación de un Componente de Enlace Localizado
|
|
1439
|
+
|
|
1440
|
+
Para asegurar que la navegación de tu aplicación respete la configuración regional actual, puedes crear un componente personalizado `Link`. Este componente antepone automáticamente a las URLs internas el idioma actual.
|
|
1441
|
+
|
|
1442
|
+
Este comportamiento es útil por varias razones:
|
|
1443
|
+
|
|
1444
|
+
- **SEO y Experiencia de Usuario**: Las URLs localizadas ayudan a los motores de búsqueda a indexar correctamente las páginas específicas por idioma y proporcionan a los usuarios contenido en su idioma preferido.
|
|
1445
|
+
- **Consistencia**: Al usar un enlace localizado en toda tu aplicación, garantizas que la navegación se mantenga dentro de la configuración regional actual, evitando cambios inesperados de idioma.
|
|
1446
|
+
- **Mantenibilidad**: Centralizar la lógica de localización en un solo componente simplifica la gestión de las URLs.
|
|
1447
|
+
|
|
1448
|
+
Para Preact con `preact-iso`, normalmente se usan etiquetas `<a>` estándar para la navegación, y `preact-iso` se encarga del enrutamiento. Si necesitas navegación programática al hacer clic (por ejemplo, para realizar acciones antes de navegar), puedes usar la función `route` de `useLocation`. Aquí tienes cómo crear un componente de ancla personalizado que localiza las URLs:
|
|
1449
|
+
|
|
1450
|
+
```tsx fileName="src/components/LocalizedLink.tsx" codeFormat="typescript"
|
|
1451
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1452
|
+
import { useLocale, useLocation, route } from "preact-intlayer"; // Asumiendo que useLocation y route pueden venir de preact-iso vía preact-intlayer si están reexportados, o importarlos directamente
|
|
1453
|
+
// Si no se reexporta, importar directamente: import { useLocation, route } from "preact-iso";
|
|
1454
|
+
import type { JSX } from "preact"; // Para HTMLAttributes
|
|
1455
|
+
import { forwardRef } from "preact/compat"; // Para reenviar refs
|
|
1456
|
+
|
|
1457
|
+
export interface LocalizedLinkProps
|
|
1458
|
+
extends JSX.HTMLAttributes<HTMLAnchorElement> {
|
|
1459
|
+
href: string;
|
|
1460
|
+
replace?: boolean; // Opcional: para reemplazar el estado del historial
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Función utilitaria para verificar si una URL dada es externa.
|
|
1465
|
+
* Si la URL comienza con http:// o https://, se considera externa.
|
|
1466
|
+
*/
|
|
1467
|
+
export const checkIsExternalLink = (href?: string): boolean =>
|
|
1468
|
+
/^https?:\/\//.test(href ?? "");
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Un componente Link personalizado que adapta el atributo href según la localidad actual.
|
|
1472
|
+
* Para enlaces internos, utiliza `getLocalizedUrl` para anteponer la URL con la configuración regional (por ejemplo, /fr/about).
|
|
1473
|
+
* Esto asegura que la navegación se mantenga dentro del mismo contexto de idioma.
|
|
1474
|
+
* Utiliza una etiqueta estándar <a> pero puede activar la navegación del lado del cliente usando `route` de preact-iso.
|
|
1475
|
+
*/
|
|
1476
|
+
export const LocalizedLink = forwardRef<HTMLAnchorElement, LocalizedLinkProps>(
|
|
1477
|
+
({ href, children, onClick, replace = false, ...props }, ref) => {
|
|
1478
|
+
const { locale } = useLocale();
|
|
1479
|
+
const location = useLocation(); // de preact-iso
|
|
1480
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1481
|
+
|
|
1482
|
+
const hrefI18n =
|
|
1483
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1484
|
+
|
|
1485
|
+
const handleClick = (event: JSX.TargetedMouseEvent<HTMLAnchorElement>) => {
|
|
1486
|
+
if (onClick) {
|
|
1487
|
+
onClick(event);
|
|
1488
|
+
}
|
|
1489
|
+
if (
|
|
1490
|
+
!isExternalLink &&
|
|
1491
|
+
href && // Asegura que href esté definido
|
|
1492
|
+
event.button === 0 && // Clic izquierdo
|
|
1493
|
+
!event.metaKey &&
|
|
1494
|
+
!event.ctrlKey &&
|
|
1495
|
+
!event.shiftKey &&
|
|
1496
|
+
!event.altKey && // Verificación estándar de modificadores
|
|
1497
|
+
!props.target // No apunta a una nueva pestaña/ventana
|
|
1498
|
+
) {
|
|
1499
|
+
event.preventDefault();
|
|
1500
|
+
if (location.url !== hrefI18n) {
|
|
1501
|
+
// Navega solo si la URL es diferente
|
|
1502
|
+
route(hrefI18n, replace); // Usa route de preact-iso
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
|
+
return (
|
|
1508
|
+
<a href={hrefI18n} ref={ref} onClick={handleClick} {...props}>
|
|
1509
|
+
{children}
|
|
1510
|
+
</a>
|
|
1511
|
+
);
|
|
1512
|
+
}
|
|
1513
|
+
);
|
|
1514
|
+
```
|
|
1515
|
+
|
|
1516
|
+
```jsx fileName="src/components/LocalizedLink.jsx" codeFormat="esm"
|
|
1517
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1518
|
+
import { useLocale } from "preact-intlayer";
|
|
1519
|
+
import { useLocation, route } from "preact-iso"; // Importar desde preact-iso
|
|
1520
|
+
import { forwardRef } from "preact/compat";
|
|
1521
|
+
import { h } from "preact"; // Para JSX
|
|
1522
|
+
|
|
1523
|
+
export const checkIsExternalLink = (href) => /^https?:\/\//.test(href ?? "");
|
|
1524
|
+
|
|
1525
|
+
export const LocalizedLink = forwardRef(
|
|
1526
|
+
({ href, children, onClick, replace = false, ...props }, ref) => {
|
|
1527
|
+
const { locale } = useLocale();
|
|
1528
|
+
const location = useLocation();
|
|
1529
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1530
|
+
|
|
1531
|
+
const hrefI18n =
|
|
1532
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1533
|
+
|
|
1534
|
+
const handleClick = (event) => {
|
|
1535
|
+
if (onClick) {
|
|
1536
|
+
onClick(event);
|
|
1537
|
+
}
|
|
1538
|
+
if (
|
|
1539
|
+
!isExternalLink &&
|
|
1540
|
+
href &&
|
|
1541
|
+
event.button === 0 &&
|
|
1542
|
+
!event.metaKey &&
|
|
1543
|
+
!event.ctrlKey &&
|
|
1544
|
+
!event.shiftKey &&
|
|
1545
|
+
!event.altKey &&
|
|
1546
|
+
!props.target
|
|
1547
|
+
) {
|
|
1548
|
+
event.preventDefault();
|
|
1549
|
+
if (location.url !== hrefI18n) {
|
|
1550
|
+
route(hrefI18n, replace);
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
return (
|
|
1556
|
+
<a href={hrefI18n} ref={ref} onClick={handleClick} {...props}>
|
|
1557
|
+
{children}
|
|
1558
|
+
</a>
|
|
1559
|
+
);
|
|
1560
|
+
}
|
|
1561
|
+
);
|
|
1562
|
+
```
|
|
1563
|
+
|
|
1564
|
+
```jsx fileName="src/components/LocalizedLink.cjsx" codeFormat="commonjs"
|
|
1565
|
+
const { getLocalizedUrl } = require("intlayer");
|
|
1566
|
+
const { useLocale } = require("preact-intlayer");
|
|
1567
|
+
const { useLocation, route } = require("preact-iso"); // Importado desde preact-iso
|
|
1568
|
+
const { forwardRef } = require("preact/compat");
|
|
1569
|
+
const { h } = require("preact"); // Para JSX
|
|
1570
|
+
|
|
1571
|
+
const checkIsExternalLink = (href) => /^https?:\/\//.test(href ?? "");
|
|
1572
|
+
|
|
1573
|
+
// Comprueba si el enlace es externo mediante una expresión regular
|
|
1574
|
+
const LocalizedLink = forwardRef(
|
|
1575
|
+
({ href, children, onClick, replace = false, ...props }, ref) => {
|
|
1576
|
+
const { locale } = useLocale(); // Obtiene la configuración regional actual
|
|
1577
|
+
const location = useLocation(); // Obtiene la ubicación actual
|
|
1578
|
+
const isExternalLink = checkIsExternalLink(href); // Verifica si el enlace es externo
|
|
1579
|
+
|
|
1580
|
+
// Si el enlace no es externo, obtiene la URL localizada
|
|
1581
|
+
const hrefI18n =
|
|
1582
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1583
|
+
|
|
1584
|
+
const handleClick = (event) => {
|
|
1585
|
+
if (onClick) {
|
|
1586
|
+
onClick(event);
|
|
1587
|
+
}
|
|
1588
|
+
if (
|
|
1589
|
+
!isExternalLink &&
|
|
1590
|
+
href &&
|
|
1591
|
+
event.button === 0 &&
|
|
1592
|
+
!event.metaKey &&
|
|
1593
|
+
!event.ctrlKey &&
|
|
1594
|
+
!event.shiftKey &&
|
|
1595
|
+
!event.altKey &&
|
|
1596
|
+
!props.target
|
|
1597
|
+
) {
|
|
1598
|
+
event.preventDefault();
|
|
1599
|
+
if (location.url !== hrefI18n) {
|
|
1600
|
+
route(hrefI18n, replace);
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
return (
|
|
1606
|
+
<a href={hrefI18n} ref={ref} onClick={handleClick} {...props}>
|
|
1607
|
+
{children}
|
|
1608
|
+
</a>
|
|
1609
|
+
);
|
|
1610
|
+
}
|
|
1611
|
+
);
|
|
1612
|
+
|
|
1613
|
+
module.exports = { LocalizedLink, checkIsExternalLink };
|
|
1614
|
+
```
|
|
1615
|
+
|
|
1616
|
+
#### Cómo Funciona
|
|
1617
|
+
|
|
1618
|
+
- **Detección de Enlaces Externos**:
|
|
1619
|
+
La función auxiliar `checkIsExternalLink` determina si una URL es externa. Los enlaces externos se dejan sin cambios.
|
|
1620
|
+
- **Obtención de la Configuración Regional Actual**:
|
|
1621
|
+
El hook `useLocale` proporciona la configuración regional actual.
|
|
1622
|
+
- **Localización de la URL**:
|
|
1623
|
+
Para enlaces internos, `getLocalizedUrl` añade el prefijo de la configuración regional actual a la URL.
|
|
1624
|
+
- **Navegación del Lado del Cliente**:
|
|
1625
|
+
La función `handleClick` verifica si es un enlace interno y si se debe prevenir la navegación estándar. Si es así, utiliza la función `route` de `preact-iso` (obtenida mediante `useLocation` o importada directamente) para realizar la navegación del lado del cliente. Esto proporciona un comportamiento similar a una SPA sin recargas completas de la página.
|
|
1626
|
+
- **Devolviendo el Enlace**:
|
|
1627
|
+
El componente devuelve un elemento `<a>` con la URL localizada y el manejador de clic personalizado.
|
|
1628
|
+
|
|
1629
|
+
### Configurar TypeScript
|
|
1630
|
+
|
|
1631
|
+
Intlayer utiliza la ampliación de módulos para aprovechar los beneficios de TypeScript y fortalecer tu base de código.
|
|
1632
|
+
|
|
1633
|
+

|
|
1634
|
+
|
|
1635
|
+

|
|
1636
|
+
|
|
1637
|
+
Asegúrate de que tu configuración de TypeScript incluya los tipos autogenerados.
|
|
1638
|
+
|
|
1639
|
+
```json5 fileName="tsconfig.json"
|
|
1640
|
+
{
|
|
1641
|
+
// ... Tus configuraciones existentes de TypeScript
|
|
1642
|
+
"compilerOptions": {
|
|
1643
|
+
// ...
|
|
1644
|
+
"jsx": "react-jsx",
|
|
1645
|
+
"jsxImportSource": "preact", // Recomendado para Preact 10+
|
|
1646
|
+
// ...
|
|
1647
|
+
},
|
|
1648
|
+
"include": [
|
|
1649
|
+
// ... Tus configuraciones existentes de TypeScript
|
|
1650
|
+
".intlayer/**/*.ts", // Incluir los tipos autogenerados
|
|
1651
|
+
],
|
|
1652
|
+
}
|
|
1653
|
+
```
|
|
1654
|
+
|
|
1655
|
+
> Asegúrate de que tu `tsconfig.json` esté configurado para Preact, especialmente `jsx` y `jsxImportSource` o `jsxFactory`/`jsxFragmentFactory` para versiones antiguas de Preact si no usas los valores predeterminados de `preset-vite`.
|
|
1656
|
+
|
|
1657
|
+
### Configuración de Git
|
|
1658
|
+
|
|
1659
|
+
Se recomienda ignorar los archivos generados por Intlayer. Esto te permite evitar comprometerlos en tu repositorio Git.
|
|
1660
|
+
|
|
1661
|
+
Para hacer esto, puedes agregar las siguientes instrucciones a tu archivo `.gitignore`:
|
|
1662
|
+
|
|
1663
|
+
```plaintext
|
|
1664
|
+
# Ignorar los archivos generados por Intlayer
|
|
1665
|
+
.intlayer
|
|
1666
|
+
```
|
|
1667
|
+
|
|
1668
|
+
### Extensión de VS Code
|
|
1669
|
+
|
|
1670
|
+
Para mejorar tu experiencia de desarrollo con Intlayer, puedes instalar la **Extensión oficial de Intlayer para VS Code**.
|
|
1671
|
+
|
|
1672
|
+
[Instalar desde el Marketplace de VS Code](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
1673
|
+
|
|
1674
|
+
Esta extensión proporciona:
|
|
1675
|
+
|
|
1676
|
+
- **Autocompletado** para las claves de traducción.
|
|
1677
|
+
- **Detección de errores en tiempo real** para traducciones faltantes.
|
|
1678
|
+
- **Vistas previas en línea** del contenido traducido.
|
|
1679
|
+
- **Acciones rápidas** para crear y actualizar traducciones fácilmente.
|
|
1680
|
+
|
|
1681
|
+
Para más detalles sobre cómo usar la extensión, consulta la [documentación de la Extensión de Intlayer para VS Code](https://intlayer.org/doc/vs-code-extension).
|
|
1682
|
+
|
|
1683
|
+
---
|
|
1684
|
+
|
|
1685
|
+
### Ir Más Allá
|
|
1686
|
+
|
|
1687
|
+
Para ir más allá, puedes implementar el [editor visual](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_visual_editor.md) o externalizar tu contenido usando el [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/es/intlayer_CMS.md).
|
|
1688
|
+
|
|
1689
|
+
---
|
|
1690
|
+
|
|
1691
|
+
## Historial del Documento
|
|
1692
|
+
|
|
1693
|
+
- 5.5.10 - 2025-06-29: Historial inicial
|