@intlayer/docs 5.5.9 → 5.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog/ar/index.md +69 -0
- package/blog/ar/internationalization_and_SEO.md +314 -0
- package/blog/ar/intlayer_with_i18next.md +162 -0
- package/blog/ar/intlayer_with_next-i18next.md +368 -0
- package/blog/ar/intlayer_with_next-intl.md +394 -0
- package/blog/ar/intlayer_with_react-i18next.md +346 -0
- package/blog/ar/intlayer_with_react-intl.md +325 -0
- package/blog/ar/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ar/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ar/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ar/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ar/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ar/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ar/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/ar/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ar/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ar/what_is_internationalization.md +165 -0
- package/blog/de/index.md +69 -0
- package/blog/de/internationalization_and_SEO.md +277 -0
- package/blog/de/intlayer_with_i18next.md +162 -0
- package/blog/de/intlayer_with_next-i18next.md +368 -0
- package/blog/de/intlayer_with_next-intl.md +394 -0
- package/blog/de/intlayer_with_react-i18next.md +346 -0
- package/blog/de/intlayer_with_react-intl.md +325 -0
- package/blog/de/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/de/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/de/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/de/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/de/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/de/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/de/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/de/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/de/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/de/what_is_internationalization.md +165 -0
- package/blog/en/index.md +69 -0
- package/blog/en/internationalization_and_SEO.md +275 -0
- package/blog/en/intlayer_with_i18next.md +162 -0
- package/blog/en/intlayer_with_next-i18next.md +368 -0
- package/blog/en/intlayer_with_next-intl.md +394 -0
- package/blog/en/intlayer_with_react-i18next.md +346 -0
- package/blog/en/intlayer_with_react-intl.md +345 -0
- package/blog/en/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/en/list_i18n_technologies/frameworks/flutter.md +150 -0
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +293 -0
- package/blog/en/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en/what_is_internationalization.md +166 -0
- package/blog/en-GB/index.md +69 -0
- package/blog/en-GB/internationalization_and_SEO.md +275 -0
- package/blog/en-GB/intlayer_with_i18next.md +162 -0
- package/blog/en-GB/intlayer_with_next-i18next.md +364 -0
- package/blog/en-GB/intlayer_with_next-intl.md +394 -0
- package/blog/en-GB/intlayer_with_react-i18next.md +346 -0
- package/blog/en-GB/intlayer_with_react-intl.md +325 -0
- package/blog/en-GB/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/en-GB/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/en-GB/what_is_internationalization.md +165 -0
- package/blog/es/index.md +69 -0
- package/blog/es/internationalization_and_SEO.md +298 -0
- package/blog/es/intlayer_with_i18next.md +162 -0
- package/blog/es/intlayer_with_next-i18next.md +368 -0
- package/blog/es/intlayer_with_next-intl.md +394 -0
- package/blog/es/intlayer_with_react-i18next.md +346 -0
- package/blog/es/intlayer_with_react-intl.md +325 -0
- package/blog/es/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/es/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/es/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/es/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/es/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/es/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/es/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/es/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/es/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/es/what_is_internationalization.md +165 -0
- package/blog/fr/index.md +69 -0
- package/blog/fr/internationalization_and_SEO.md +277 -0
- package/blog/fr/intlayer_with_i18next.md +162 -0
- package/blog/fr/intlayer_with_next-i18next.md +368 -0
- package/blog/fr/intlayer_with_next-intl.md +394 -0
- package/blog/fr/intlayer_with_react-i18next.md +346 -0
- package/blog/fr/intlayer_with_react-intl.md +325 -0
- package/blog/fr/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/fr/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/fr/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/fr/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/fr/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/fr/list_i18n_technologies/frameworks/react.md +155 -0
- package/blog/fr/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/fr/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/fr/what_is_internationalization.md +165 -0
- package/blog/hi/index.md +69 -0
- package/blog/hi/internationalization_and_SEO.md +296 -0
- package/blog/hi/intlayer_with_i18next.md +162 -0
- package/blog/hi/intlayer_with_next-i18next.md +368 -0
- package/blog/hi/intlayer_with_next-intl.md +294 -0
- package/blog/hi/intlayer_with_react-i18next.md +346 -0
- package/blog/hi/intlayer_with_react-intl.md +325 -0
- package/blog/hi/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/hi/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/hi/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/hi/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/hi/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/hi/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/hi/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/hi/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/hi/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/hi/what_is_internationalization.md +165 -0
- package/blog/it/index.md +69 -0
- package/blog/it/internationalization_and_SEO.md +296 -0
- package/blog/it/intlayer_with_i18next.md +162 -0
- package/blog/it/intlayer_with_next-i18next.md +368 -0
- package/blog/it/intlayer_with_next-intl.md +394 -0
- package/blog/it/intlayer_with_react-i18next.md +346 -0
- package/blog/it/intlayer_with_react-intl.md +325 -0
- package/blog/it/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/it/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/it/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/it/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/it/list_i18n_technologies/frameworks/flutter.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/it/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/it/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/it/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/it/what_is_internationalization.md +165 -0
- package/blog/ja/index.md +69 -0
- package/blog/ja/internationalization_and_SEO.md +277 -0
- package/blog/ja/intlayer_with_i18next.md +162 -0
- package/blog/ja/intlayer_with_next-i18next.md +364 -0
- package/blog/ja/intlayer_with_next-intl.md +394 -0
- package/blog/ja/intlayer_with_react-i18next.md +346 -0
- package/blog/ja/intlayer_with_react-intl.md +325 -0
- package/blog/ja/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ja/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ja/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ja/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ja/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/ja/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ja/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ja/list_i18n_technologies/frameworks/svelte.md +127 -0
- package/blog/ja/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ja/what_is_internationalization.md +165 -0
- package/blog/ko/index.md +69 -0
- package/blog/ko/internationalization_and_SEO.md +277 -0
- package/blog/ko/intlayer_with_i18next.md +162 -0
- package/blog/ko/intlayer_with_next-i18next.md +368 -0
- package/blog/ko/intlayer_with_next-intl.md +394 -0
- package/blog/ko/intlayer_with_react-i18next.md +346 -0
- package/blog/ko/intlayer_with_react-intl.md +325 -0
- package/blog/ko/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ko/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ko/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ko/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/ko/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ko/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ko/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ko/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ko/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +284 -0
- package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ko/what_is_internationalization.md +167 -0
- package/blog/pt/index.md +69 -0
- package/blog/pt/internationalization_and_SEO.md +317 -0
- package/blog/pt/intlayer_with_i18next.md +162 -0
- package/blog/pt/intlayer_with_next-i18next.md +364 -0
- package/blog/pt/intlayer_with_next-intl.md +312 -0
- package/blog/pt/intlayer_with_react-i18next.md +98 -0
- package/blog/pt/intlayer_with_react-intl.md +327 -0
- package/blog/pt/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/pt/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/pt/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/pt/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/pt/list_i18n_technologies/frameworks/flutter.md +147 -0
- package/blog/pt/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/pt/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/pt/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/pt/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/pt/what_is_internationalization.md +165 -0
- package/blog/ru/index.md +69 -0
- package/blog/ru/internationalization_and_SEO.md +298 -0
- package/blog/ru/intlayer_with_i18next.md +162 -0
- package/blog/ru/intlayer_with_next-i18next.md +368 -0
- package/blog/ru/intlayer_with_next-intl.md +394 -0
- package/blog/ru/intlayer_with_react-i18next.md +346 -0
- package/blog/ru/intlayer_with_react-intl.md +325 -0
- package/blog/ru/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/ru/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/ru/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/ru/list_i18n_technologies/frameworks/angular.md +125 -0
- package/blog/ru/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/ru/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/ru/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/ru/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/ru/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/ru/what_is_internationalization.md +165 -0
- package/blog/zh/index.md +69 -0
- package/blog/zh/internationalization_and_SEO.md +298 -0
- package/blog/zh/intlayer_with_i18next.md +162 -0
- package/blog/zh/intlayer_with_next-i18next.md +368 -0
- package/blog/zh/intlayer_with_next-intl.md +394 -0
- package/blog/zh/intlayer_with_react-i18next.md +346 -0
- package/blog/zh/intlayer_with_react-intl.md +166 -0
- package/blog/zh/list_i18n_technologies/CMS/drupal.md +143 -0
- package/blog/zh/list_i18n_technologies/CMS/wix.md +167 -0
- package/blog/zh/list_i18n_technologies/CMS/wordpress.md +188 -0
- package/blog/zh/list_i18n_technologies/frameworks/angular.md +123 -0
- package/blog/zh/list_i18n_technologies/frameworks/flutter.md +149 -0
- package/blog/zh/list_i18n_technologies/frameworks/react-native.md +221 -0
- package/blog/zh/list_i18n_technologies/frameworks/react.md +153 -0
- package/blog/zh/list_i18n_technologies/frameworks/svelte.md +129 -0
- package/blog/zh/list_i18n_technologies/frameworks/vue.md +130 -0
- package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +285 -0
- package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +194 -0
- package/blog/zh/what_is_internationalization.md +165 -0
- package/dist/cjs/blog.cjs +46 -0
- package/dist/cjs/blog.cjs.map +1 -0
- package/dist/cjs/common.cjs +142 -0
- package/dist/cjs/common.cjs.map +1 -0
- package/dist/cjs/doc.cjs +46 -0
- package/dist/cjs/doc.cjs.map +1 -0
- package/dist/cjs/frequentQuestions.cjs +46 -0
- package/dist/cjs/frequentQuestions.cjs.map +1 -0
- package/dist/cjs/generated/blog.entry.cjs +788 -0
- package/dist/cjs/generated/blog.entry.cjs.map +1 -0
- package/dist/cjs/generated/docs.entry.cjs +3300 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs +527 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -0
- package/dist/cjs/generated/legal.entry.cjs +117 -0
- package/dist/cjs/generated/legal.entry.cjs.map +1 -0
- package/dist/cjs/index.cjs +29 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/legal.cjs +46 -0
- package/dist/cjs/legal.cjs.map +1 -0
- package/dist/esm/blog.mjs +25 -0
- package/dist/esm/blog.mjs.map +1 -0
- package/dist/esm/common.mjs +113 -0
- package/dist/esm/common.mjs.map +1 -0
- package/dist/esm/doc.mjs +25 -0
- package/dist/esm/doc.mjs.map +1 -0
- package/dist/esm/frequentQuestions.mjs +25 -0
- package/dist/esm/frequentQuestions.mjs.map +1 -0
- package/dist/esm/generated/blog.entry.mjs +764 -0
- package/dist/esm/generated/blog.entry.mjs.map +1 -0
- package/dist/esm/generated/docs.entry.mjs +3276 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs +503 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -0
- package/dist/esm/generated/legal.entry.mjs +93 -0
- package/dist/esm/generated/legal.entry.mjs.map +1 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/legal.mjs +25 -0
- package/dist/esm/legal.mjs.map +1 -0
- package/dist/types/blog.d.ts +13 -0
- package/dist/types/blog.d.ts.map +1 -0
- package/dist/types/common.d.ts +24 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/doc.d.ts +13 -0
- package/dist/types/doc.d.ts.map +1 -0
- package/dist/types/frequentQuestions.d.ts +13 -0
- package/dist/types/frequentQuestions.d.ts.map +1 -0
- package/dist/types/generated/blog.entry.d.ts +23 -0
- package/dist/types/generated/blog.entry.d.ts.map +1 -0
- package/dist/types/generated/docs.entry.d.ts +89 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts +16 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -0
- package/dist/types/generated/legal.entry.d.ts +6 -0
- package/dist/types/generated/legal.entry.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/legal.d.ts +13 -0
- package/dist/types/legal.d.ts.map +1 -0
- package/docs/ar/CI_CD.md +173 -0
- package/docs/ar/autoFill.md +200 -0
- package/docs/ar/configuration.md +529 -0
- package/docs/ar/dictionary/condition.md +233 -0
- package/docs/ar/dictionary/content_extention_customization.md +100 -0
- package/docs/ar/dictionary/enumeration.md +246 -0
- package/docs/ar/dictionary/file.md +226 -0
- package/docs/ar/dictionary/function_fetching.md +216 -0
- package/docs/ar/dictionary/get_started.md +527 -0
- package/docs/ar/dictionary/insertion.md +185 -0
- package/docs/ar/dictionary/markdown.md +357 -0
- package/docs/ar/dictionary/nesting.md +269 -0
- package/docs/ar/dictionary/translation.md +318 -0
- package/docs/ar/how_works_intlayer.md +251 -0
- package/docs/ar/index.md +164 -0
- package/docs/ar/interest_of_intlayer.md +157 -0
- package/docs/ar/intlayer_CMS.md +355 -0
- package/docs/ar/intlayer_cli.md +458 -0
- package/docs/ar/intlayer_visual_editor.md +267 -0
- package/docs/ar/intlayer_with_angular.md +686 -0
- package/docs/ar/intlayer_with_create_react_app.md +1080 -0
- package/docs/ar/intlayer_with_express.md +427 -0
- package/docs/ar/intlayer_with_lynx+react.md +521 -0
- package/docs/ar/intlayer_with_nextjs_14.md +1269 -0
- package/docs/ar/intlayer_with_nextjs_15.md +1510 -0
- package/docs/ar/intlayer_with_nextjs_page_router.md +1496 -0
- package/docs/ar/intlayer_with_nuxt.md +822 -0
- package/docs/ar/intlayer_with_react_native+expo.md +657 -0
- package/docs/ar/intlayer_with_vite+preact.md +1691 -0
- package/docs/ar/intlayer_with_vite+react.md +1633 -0
- package/docs/ar/intlayer_with_vite+solid.md +284 -0
- package/docs/ar/intlayer_with_vite+svelte.md +282 -0
- package/docs/ar/intlayer_with_vite+vue.md +1073 -0
- package/docs/ar/introduction.md +207 -0
- package/docs/ar/mcp_server.md +174 -0
- package/docs/ar/packages/@intlayer/api/index.md +56 -0
- package/docs/ar/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ar/packages/@intlayer/cli/index.md +45 -0
- package/docs/ar/packages/@intlayer/config/index.md +140 -0
- package/docs/ar/packages/@intlayer/core/index.md +49 -0
- package/docs/ar/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ar/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor/index.md +45 -0
- package/docs/ar/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ar/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ar/packages/angular-intlayer/index.md +53 -0
- package/docs/ar/packages/express-intlayer/index.md +252 -0
- package/docs/ar/packages/express-intlayer/t.md +457 -0
- package/docs/ar/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ar/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ar/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ar/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ar/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ar/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ar/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/ar/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ar/packages/intlayer/getTranslation.md +192 -0
- package/docs/ar/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ar/packages/intlayer/index.md +499 -0
- package/docs/ar/packages/intlayer-cli/index.md +65 -0
- package/docs/ar/packages/intlayer-editor/index.md +137 -0
- package/docs/ar/packages/lynx-intlayer/index.md +83 -0
- package/docs/ar/packages/next-intlayer/index.md +287 -0
- package/docs/ar/packages/next-intlayer/t.md +352 -0
- package/docs/ar/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ar/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ar/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ar/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ar/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ar/packages/preact-intlayer/index.md +53 -0
- package/docs/ar/packages/react-intlayer/index.md +280 -0
- package/docs/ar/packages/react-intlayer/t.md +311 -0
- package/docs/ar/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ar/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ar/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ar/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ar/packages/react-native-intlayer/index.md +83 -0
- package/docs/ar/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ar/packages/solid-intlayer/index.md +54 -0
- package/docs/ar/packages/svelte-intlayer/index.md +53 -0
- package/docs/ar/packages/vite-intlayer/index.md +76 -0
- package/docs/ar/packages/vue-intlayer/index.md +53 -0
- package/docs/ar/per_locale_file.md +325 -0
- package/docs/ar/roadmap.md +336 -0
- package/docs/ar/vs_code_extension.md +152 -0
- package/docs/de/CI_CD.md +173 -0
- package/docs/de/autoFill.md +178 -0
- package/docs/de/configuration.md +525 -0
- package/docs/de/dictionary/condition.md +233 -0
- package/docs/de/dictionary/content_extention_customization.md +100 -0
- package/docs/de/dictionary/enumeration.md +245 -0
- package/docs/de/dictionary/file.md +222 -0
- package/docs/de/dictionary/function_fetching.md +214 -0
- package/docs/de/dictionary/get_started.md +531 -0
- package/docs/de/dictionary/insertion.md +196 -0
- package/docs/de/dictionary/markdown.md +357 -0
- package/docs/de/dictionary/nesting.md +272 -0
- package/docs/de/dictionary/translation.md +309 -0
- package/docs/de/how_works_intlayer.md +251 -0
- package/docs/de/index.md +166 -0
- package/docs/de/interest_of_intlayer.md +156 -0
- package/docs/de/intlayer_CMS.md +354 -0
- package/docs/de/intlayer_cli.md +454 -0
- package/docs/de/intlayer_visual_editor.md +267 -0
- package/docs/de/intlayer_with_angular.md +730 -0
- package/docs/de/intlayer_with_create_react_app.md +1206 -0
- package/docs/de/intlayer_with_express.md +436 -0
- package/docs/de/intlayer_with_lynx+react.md +502 -0
- package/docs/de/intlayer_with_nextjs_14.md +1266 -0
- package/docs/de/intlayer_with_nextjs_15.md +1513 -0
- package/docs/de/intlayer_with_nextjs_page_router.md +1494 -0
- package/docs/de/intlayer_with_nuxt.md +803 -0
- package/docs/de/intlayer_with_react_native+expo.md +661 -0
- package/docs/de/intlayer_with_vite+preact.md +1689 -0
- package/docs/de/intlayer_with_vite+react.md +1688 -0
- package/docs/de/intlayer_with_vite+solid.md +289 -0
- package/docs/de/intlayer_with_vite+svelte.md +285 -0
- package/docs/de/intlayer_with_vite+vue.md +1096 -0
- package/docs/de/introduction.md +211 -0
- package/docs/de/mcp_server.md +203 -0
- package/docs/de/packages/@intlayer/api/index.md +56 -0
- package/docs/de/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/de/packages/@intlayer/cli/index.md +45 -0
- package/docs/de/packages/@intlayer/config/index.md +140 -0
- package/docs/de/packages/@intlayer/core/index.md +49 -0
- package/docs/de/packages/@intlayer/design-system/index.md +45 -0
- package/docs/de/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/de/packages/@intlayer/editor/index.md +45 -0
- package/docs/de/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/de/packages/@intlayer/webpack/index.md +59 -0
- package/docs/de/packages/angular-intlayer/index.md +53 -0
- package/docs/de/packages/express-intlayer/index.md +284 -0
- package/docs/de/packages/express-intlayer/t.md +458 -0
- package/docs/de/packages/intlayer/getConfiguration.md +146 -0
- package/docs/de/packages/intlayer/getEnumeration.md +164 -0
- package/docs/de/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/de/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/de/packages/intlayer/getLocaleName.md +119 -0
- package/docs/de/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/de/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/de/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/de/packages/intlayer/getTranslation.md +191 -0
- package/docs/de/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/de/packages/intlayer/index.md +500 -0
- package/docs/de/packages/intlayer-cli/index.md +65 -0
- package/docs/de/packages/intlayer-editor/index.md +137 -0
- package/docs/de/packages/lynx-intlayer/index.md +83 -0
- package/docs/de/packages/next-intlayer/index.md +286 -0
- package/docs/de/packages/next-intlayer/t.md +352 -0
- package/docs/de/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/de/packages/next-intlayer/useIntlayerAsync.md +262 -0
- package/docs/de/packages/next-intlayer/useLocale.md +131 -0
- package/docs/de/packages/nuxt-intlayer/index.md +53 -0
- package/docs/de/packages/preact-intlayer/index.md +53 -0
- package/docs/de/packages/react-intlayer/index.md +281 -0
- package/docs/de/packages/react-intlayer/t.md +302 -0
- package/docs/de/packages/react-intlayer/useDictionary.md +301 -0
- package/docs/de/packages/react-intlayer/useIntlayer.md +267 -0
- package/docs/de/packages/react-intlayer/useIntlayerAsync.md +256 -0
- package/docs/de/packages/react-intlayer/useLocale.md +210 -0
- package/docs/de/packages/react-native-intlayer/index.md +83 -0
- package/docs/de/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/de/packages/solid-intlayer/index.md +54 -0
- package/docs/de/packages/svelte-intlayer/index.md +53 -0
- package/docs/de/packages/vite-intlayer/index.md +76 -0
- package/docs/de/packages/vue-intlayer/index.md +53 -0
- package/docs/de/per_locale_file.md +323 -0
- package/docs/de/roadmap.md +353 -0
- package/docs/de/vs_code_extension.md +152 -0
- package/docs/en/CI_CD.md +172 -0
- package/docs/en/autoFill.md +179 -0
- package/docs/en/configuration.md +527 -0
- package/docs/en/dictionary/condition.md +237 -0
- package/docs/en/dictionary/content_extention_customization.md +100 -0
- package/docs/en/dictionary/enumeration.md +245 -0
- package/docs/en/dictionary/file.md +222 -0
- package/docs/en/dictionary/function_fetching.md +214 -0
- package/docs/en/dictionary/get_started.md +527 -0
- package/docs/en/dictionary/insertion.md +191 -0
- package/docs/en/dictionary/markdown.md +379 -0
- package/docs/en/dictionary/nesting.md +273 -0
- package/docs/en/dictionary/translation.md +309 -0
- package/docs/en/how_works_intlayer.md +254 -0
- package/docs/en/index.md +163 -0
- package/docs/en/interest_of_intlayer.md +154 -0
- package/docs/en/intlayer_CMS.md +358 -0
- package/docs/en/intlayer_cli.md +463 -0
- package/docs/en/intlayer_visual_editor.md +267 -0
- package/docs/en/intlayer_with_angular.md +691 -0
- package/docs/en/intlayer_with_create_react_app.md +1219 -0
- package/docs/en/intlayer_with_express.md +413 -0
- package/docs/en/intlayer_with_lynx+react.md +508 -0
- package/docs/en/intlayer_with_nextjs_14.md +1457 -0
- package/docs/en/intlayer_with_nextjs_15.md +1502 -0
- package/docs/en/intlayer_with_nextjs_page_router.md +1485 -0
- package/docs/en/intlayer_with_nuxt.md +770 -0
- package/docs/en/intlayer_with_react_native+expo.md +657 -0
- package/docs/en/intlayer_with_vite+preact.md +1664 -0
- package/docs/en/intlayer_with_vite+react.md +1620 -0
- package/docs/en/intlayer_with_vite+solid.md +281 -0
- package/docs/en/intlayer_with_vite+svelte.md +281 -0
- package/docs/en/intlayer_with_vite+vue.md +1035 -0
- package/docs/en/introduction.md +207 -0
- package/docs/en/mcp_server.md +174 -0
- package/docs/en/packages/@intlayer/api/index.md +56 -0
- package/docs/en/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/en/packages/@intlayer/cli/index.md +45 -0
- package/docs/en/packages/@intlayer/config/index.md +140 -0
- package/docs/en/packages/@intlayer/core/index.md +49 -0
- package/docs/en/packages/@intlayer/design-system/index.md +45 -0
- package/docs/en/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/en/packages/@intlayer/editor/index.md +45 -0
- package/docs/en/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/en/packages/@intlayer/webpack/index.md +59 -0
- package/docs/en/packages/angular-intlayer/index.md +53 -0
- package/docs/en/packages/express-intlayer/index.md +252 -0
- package/docs/en/packages/express-intlayer/t.md +457 -0
- package/docs/en/packages/intlayer/getConfiguration.md +146 -0
- package/docs/en/packages/intlayer/getEnumeration.md +164 -0
- package/docs/en/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/en/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/en/packages/intlayer/getLocaleName.md +119 -0
- package/docs/en/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/en/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/en/packages/intlayer/getTranslation.md +192 -0
- package/docs/en/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/en/packages/intlayer/index.md +499 -0
- package/docs/en/packages/intlayer-cli/index.md +65 -0
- package/docs/en/packages/intlayer-editor/index.md +137 -0
- package/docs/en/packages/lynx-intlayer/index.md +83 -0
- package/docs/en/packages/next-intlayer/index.md +286 -0
- package/docs/en/packages/next-intlayer/t.md +352 -0
- package/docs/en/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/en/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/en/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/en/packages/next-intlayer/useLocale.md +131 -0
- package/docs/en/packages/nuxt-intlayer/index.md +53 -0
- package/docs/en/packages/preact-intlayer/index.md +53 -0
- package/docs/en/packages/react-intlayer/index.md +280 -0
- package/docs/en/packages/react-intlayer/t.md +302 -0
- package/docs/en/packages/react-intlayer/useDictionary.md +285 -0
- package/docs/en/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/en/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/en/packages/react-intlayer/useLocale.md +210 -0
- package/docs/en/packages/react-native-intlayer/index.md +83 -0
- package/docs/en/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/en/packages/solid-intlayer/index.md +54 -0
- package/docs/en/packages/svelte-intlayer/index.md +53 -0
- package/docs/en/packages/vite-intlayer/index.md +76 -0
- package/docs/en/packages/vue-intlayer/index.md +53 -0
- package/docs/en/per_locale_file.md +319 -0
- package/docs/en/roadmap.md +337 -0
- package/docs/en/vs_code_extension.md +152 -0
- package/docs/en-GB/CI_CD.md +172 -0
- package/docs/en-GB/autoFill.md +178 -0
- package/docs/en-GB/configuration.md +525 -0
- package/docs/en-GB/dictionary/condition.md +237 -0
- package/docs/en-GB/dictionary/content_extention_customization.md +100 -0
- package/docs/en-GB/dictionary/enumeration.md +245 -0
- package/docs/en-GB/dictionary/file.md +222 -0
- package/docs/en-GB/dictionary/function_fetching.md +214 -0
- package/docs/en-GB/dictionary/get_started.md +591 -0
- package/docs/en-GB/dictionary/insertion.md +219 -0
- package/docs/en-GB/dictionary/markdown.md +379 -0
- package/docs/en-GB/dictionary/nesting.md +273 -0
- package/docs/en-GB/dictionary/translation.md +309 -0
- package/docs/en-GB/how_works_intlayer.md +267 -0
- package/docs/en-GB/index.md +163 -0
- package/docs/en-GB/interest_of_intlayer.md +163 -0
- package/docs/en-GB/intlayer_CMS.md +366 -0
- package/docs/en-GB/intlayer_cli.md +455 -0
- package/docs/en-GB/intlayer_visual_editor.md +267 -0
- package/docs/en-GB/intlayer_with_angular.md +744 -0
- package/docs/en-GB/intlayer_with_create_react_app.md +1371 -0
- package/docs/en-GB/intlayer_with_express.md +435 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +551 -0
- package/docs/en-GB/intlayer_with_nextjs_14.md +1457 -0
- package/docs/en-GB/intlayer_with_nextjs_15.md +1531 -0
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +1493 -0
- package/docs/en-GB/intlayer_with_nuxt.md +807 -0
- package/docs/en-GB/intlayer_with_react_native+expo.md +659 -0
- package/docs/en-GB/intlayer_with_vite+preact.md +1676 -0
- package/docs/en-GB/intlayer_with_vite+react.md +1703 -0
- package/docs/en-GB/intlayer_with_vite+solid.md +283 -0
- package/docs/en-GB/intlayer_with_vite+svelte.md +281 -0
- package/docs/en-GB/intlayer_with_vite+vue.md +1139 -0
- package/docs/en-GB/introduction.md +207 -0
- package/docs/en-GB/mcp_server.md +174 -0
- package/docs/en-GB/packages/@intlayer/api/index.md +56 -0
- package/docs/en-GB/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/en-GB/packages/@intlayer/cli/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/config/index.md +140 -0
- package/docs/en-GB/packages/@intlayer/core/index.md +49 -0
- package/docs/en-GB/packages/@intlayer/design-system/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/en-GB/packages/@intlayer/webpack/index.md +60 -0
- package/docs/en-GB/packages/angular-intlayer/index.md +53 -0
- package/docs/en-GB/packages/express-intlayer/index.md +264 -0
- package/docs/en-GB/packages/express-intlayer/t.md +457 -0
- package/docs/en-GB/packages/intlayer/getConfiguration.md +146 -0
- package/docs/en-GB/packages/intlayer/getEnumeration.md +164 -0
- package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/en-GB/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/en-GB/packages/intlayer/getLocaleName.md +119 -0
- package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +275 -0
- package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/en-GB/packages/intlayer/getTranslation.md +229 -0
- package/docs/en-GB/packages/intlayer/getTranslationContent.md +204 -0
- package/docs/en-GB/packages/intlayer/index.md +533 -0
- package/docs/en-GB/packages/intlayer-cli/index.md +65 -0
- package/docs/en-GB/packages/intlayer-editor/index.md +137 -0
- package/docs/en-GB/packages/lynx-intlayer/index.md +89 -0
- package/docs/en-GB/packages/next-intlayer/index.md +315 -0
- package/docs/en-GB/packages/next-intlayer/t.md +360 -0
- package/docs/en-GB/packages/next-intlayer/useDictionary.md +274 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayer.md +269 -0
- package/docs/en-GB/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/en-GB/packages/next-intlayer/useLocale.md +131 -0
- package/docs/en-GB/packages/nuxt-intlayer/index.md +53 -0
- package/docs/en-GB/packages/preact-intlayer/index.md +53 -0
- package/docs/en-GB/packages/react-intlayer/index.md +280 -0
- package/docs/en-GB/packages/react-intlayer/t.md +303 -0
- package/docs/en-GB/packages/react-intlayer/useDictionary.md +293 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/en-GB/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/en-GB/packages/react-intlayer/useLocale.md +209 -0
- package/docs/en-GB/packages/react-native-intlayer/index.md +83 -0
- package/docs/en-GB/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/en-GB/packages/solid-intlayer/index.md +54 -0
- package/docs/en-GB/packages/svelte-intlayer/index.md +53 -0
- package/docs/en-GB/packages/vite-intlayer/index.md +76 -0
- package/docs/en-GB/packages/vue-intlayer/index.md +53 -0
- package/docs/en-GB/per_locale_file.md +319 -0
- package/docs/en-GB/roadmap.md +337 -0
- package/docs/en-GB/vs_code_extension.md +152 -0
- package/docs/es/CI_CD.md +172 -0
- package/docs/es/autoFill.md +179 -0
- package/docs/es/configuration.md +524 -0
- package/docs/es/dictionary/condition.md +233 -0
- package/docs/es/dictionary/content_extention_customization.md +100 -0
- package/docs/es/dictionary/enumeration.md +246 -0
- package/docs/es/dictionary/file.md +222 -0
- package/docs/es/dictionary/function_fetching.md +214 -0
- package/docs/es/dictionary/get_started.md +527 -0
- package/docs/es/dictionary/insertion.md +185 -0
- package/docs/es/dictionary/markdown.md +358 -0
- package/docs/es/dictionary/nesting.md +269 -0
- package/docs/es/dictionary/translation.md +309 -0
- package/docs/es/how_works_intlayer.md +256 -0
- package/docs/es/index.md +165 -0
- package/docs/es/interest_of_intlayer.md +157 -0
- package/docs/es/intlayer_CMS.md +354 -0
- package/docs/es/intlayer_cli.md +454 -0
- package/docs/es/intlayer_visual_editor.md +291 -0
- package/docs/es/intlayer_with_angular.md +695 -0
- package/docs/es/intlayer_with_create_react_app.md +1207 -0
- package/docs/es/intlayer_with_express.md +440 -0
- package/docs/es/intlayer_with_lynx+react.md +506 -0
- package/docs/es/intlayer_with_nextjs_14.md +1501 -0
- package/docs/es/intlayer_with_nextjs_15.md +1505 -0
- package/docs/es/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/es/intlayer_with_nuxt.md +794 -0
- package/docs/es/intlayer_with_react_native+expo.md +658 -0
- package/docs/es/intlayer_with_vite+preact.md +1693 -0
- package/docs/es/intlayer_with_vite+react.md +1623 -0
- package/docs/es/intlayer_with_vite+solid.md +288 -0
- package/docs/es/intlayer_with_vite+svelte.md +285 -0
- package/docs/es/intlayer_with_vite+vue.md +1121 -0
- package/docs/es/introduction.md +209 -0
- package/docs/es/mcp_server.md +174 -0
- package/docs/es/packages/@intlayer/api/index.md +56 -0
- package/docs/es/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/es/packages/@intlayer/cli/index.md +45 -0
- package/docs/es/packages/@intlayer/config/index.md +140 -0
- package/docs/es/packages/@intlayer/core/index.md +49 -0
- package/docs/es/packages/@intlayer/design-system/index.md +45 -0
- package/docs/es/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/es/packages/@intlayer/editor/index.md +45 -0
- package/docs/es/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/es/packages/@intlayer/webpack/index.md +59 -0
- package/docs/es/packages/angular-intlayer/index.md +53 -0
- package/docs/es/packages/express-intlayer/index.md +252 -0
- package/docs/es/packages/express-intlayer/t.md +468 -0
- package/docs/es/packages/intlayer/getConfiguration.md +146 -0
- package/docs/es/packages/intlayer/getEnumeration.md +164 -0
- package/docs/es/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/es/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/es/packages/intlayer/getLocaleName.md +119 -0
- package/docs/es/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/es/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/es/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/es/packages/intlayer/getTranslation.md +192 -0
- package/docs/es/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/es/packages/intlayer/index.md +507 -0
- package/docs/es/packages/intlayer-cli/index.md +65 -0
- package/docs/es/packages/intlayer-editor/index.md +139 -0
- package/docs/es/packages/lynx-intlayer/index.md +83 -0
- package/docs/es/packages/next-intlayer/index.md +286 -0
- package/docs/es/packages/next-intlayer/t.md +352 -0
- package/docs/es/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/es/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/es/packages/next-intlayer/useIntlayerAsync.md +240 -0
- package/docs/es/packages/next-intlayer/useLocale.md +131 -0
- package/docs/es/packages/nuxt-intlayer/index.md +53 -0
- package/docs/es/packages/preact-intlayer/index.md +53 -0
- package/docs/es/packages/react-intlayer/index.md +280 -0
- package/docs/es/packages/react-intlayer/t.md +303 -0
- package/docs/es/packages/react-intlayer/useDictionary.md +285 -0
- package/docs/es/packages/react-intlayer/useIntlayer.md +253 -0
- package/docs/es/packages/react-intlayer/useIntlayerAsync.md +276 -0
- package/docs/es/packages/react-intlayer/useLocale.md +210 -0
- package/docs/es/packages/react-native-intlayer/index.md +83 -0
- package/docs/es/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/es/packages/solid-intlayer/index.md +54 -0
- package/docs/es/packages/svelte-intlayer/index.md +53 -0
- package/docs/es/packages/vite-intlayer/index.md +76 -0
- package/docs/es/packages/vue-intlayer/index.md +53 -0
- package/docs/es/per_locale_file.md +321 -0
- package/docs/es/roadmap.md +337 -0
- package/docs/es/vs_code_extension.md +152 -0
- package/docs/fr/CI_CD.md +172 -0
- package/docs/fr/autoFill.md +178 -0
- package/docs/fr/configuration.md +525 -0
- package/docs/fr/dictionary/condition.md +233 -0
- package/docs/fr/dictionary/content_extention_customization.md +100 -0
- package/docs/fr/dictionary/enumeration.md +245 -0
- package/docs/fr/dictionary/file.md +222 -0
- package/docs/fr/dictionary/function_fetching.md +214 -0
- package/docs/fr/dictionary/get_started.md +527 -0
- package/docs/fr/dictionary/insertion.md +185 -0
- package/docs/fr/dictionary/markdown.md +350 -0
- package/docs/fr/dictionary/nesting.md +269 -0
- package/docs/fr/dictionary/translation.md +309 -0
- package/docs/fr/how_works_intlayer.md +253 -0
- package/docs/fr/index.md +163 -0
- package/docs/fr/interest_of_intlayer.md +156 -0
- package/docs/fr/intlayer_CMS.md +355 -0
- package/docs/fr/intlayer_cli.md +477 -0
- package/docs/fr/intlayer_visual_editor.md +267 -0
- package/docs/fr/intlayer_with_angular.md +701 -0
- package/docs/fr/intlayer_with_create_react_app.md +1214 -0
- package/docs/fr/intlayer_with_express.md +408 -0
- package/docs/fr/intlayer_with_lynx+react.md +507 -0
- package/docs/fr/intlayer_with_nextjs_14.md +1266 -0
- package/docs/fr/intlayer_with_nextjs_15.md +1553 -0
- package/docs/fr/intlayer_with_nextjs_page_router.md +1486 -0
- package/docs/fr/intlayer_with_nuxt.md +803 -0
- package/docs/fr/intlayer_with_react_native+expo.md +659 -0
- package/docs/fr/intlayer_with_vite+preact.md +1669 -0
- package/docs/fr/intlayer_with_vite+react.md +1637 -0
- package/docs/fr/intlayer_with_vite+solid.md +288 -0
- package/docs/fr/intlayer_with_vite+svelte.md +284 -0
- package/docs/fr/intlayer_with_vite+vue.md +1068 -0
- package/docs/fr/introduction.md +209 -0
- package/docs/fr/mcp_server.md +174 -0
- package/docs/fr/packages/@intlayer/api/index.md +56 -0
- package/docs/fr/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/fr/packages/@intlayer/cli/index.md +45 -0
- package/docs/fr/packages/@intlayer/config/index.md +140 -0
- package/docs/fr/packages/@intlayer/core/index.md +49 -0
- package/docs/fr/packages/@intlayer/design-system/index.md +45 -0
- package/docs/fr/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor/index.md +45 -0
- package/docs/fr/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/fr/packages/@intlayer/webpack/index.md +59 -0
- package/docs/fr/packages/angular-intlayer/index.md +53 -0
- package/docs/fr/packages/express-intlayer/index.md +284 -0
- package/docs/fr/packages/express-intlayer/t.md +469 -0
- package/docs/fr/packages/intlayer/getConfiguration.md +146 -0
- package/docs/fr/packages/intlayer/getEnumeration.md +164 -0
- package/docs/fr/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/fr/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/fr/packages/intlayer/getLocaleName.md +119 -0
- package/docs/fr/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/fr/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/fr/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/fr/packages/intlayer/getTranslation.md +192 -0
- package/docs/fr/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/fr/packages/intlayer/index.md +500 -0
- package/docs/fr/packages/intlayer-cli/index.md +65 -0
- package/docs/fr/packages/intlayer-editor/index.md +139 -0
- package/docs/fr/packages/lynx-intlayer/index.md +83 -0
- package/docs/fr/packages/next-intlayer/index.md +286 -0
- package/docs/fr/packages/next-intlayer/t.md +352 -0
- package/docs/fr/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/fr/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/fr/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/fr/packages/next-intlayer/useLocale.md +131 -0
- package/docs/fr/packages/nuxt-intlayer/index.md +53 -0
- package/docs/fr/packages/preact-intlayer/index.md +53 -0
- package/docs/fr/packages/react-intlayer/index.md +280 -0
- package/docs/fr/packages/react-intlayer/t.md +302 -0
- package/docs/fr/packages/react-intlayer/useDictionary.md +286 -0
- package/docs/fr/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/fr/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/fr/packages/react-intlayer/useLocale.md +210 -0
- package/docs/fr/packages/react-native-intlayer/index.md +83 -0
- package/docs/fr/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/fr/packages/solid-intlayer/index.md +54 -0
- package/docs/fr/packages/svelte-intlayer/index.md +53 -0
- package/docs/fr/packages/vite-intlayer/index.md +76 -0
- package/docs/fr/packages/vue-intlayer/index.md +53 -0
- package/docs/fr/per_locale_file.md +325 -0
- package/docs/fr/roadmap.md +337 -0
- package/docs/fr/vs_code_extension.md +152 -0
- package/docs/hi/CI_CD.md +173 -0
- package/docs/hi/autoFill.md +179 -0
- package/docs/hi/configuration.md +527 -0
- package/docs/hi/dictionary/condition.md +233 -0
- package/docs/hi/dictionary/content_extention_customization.md +100 -0
- package/docs/hi/dictionary/enumeration.md +247 -0
- package/docs/hi/dictionary/file.md +222 -0
- package/docs/hi/dictionary/function_fetching.md +214 -0
- package/docs/hi/dictionary/get_started.md +527 -0
- package/docs/hi/dictionary/insertion.md +192 -0
- package/docs/hi/dictionary/markdown.md +358 -0
- package/docs/hi/dictionary/nesting.md +269 -0
- package/docs/hi/dictionary/translation.md +316 -0
- package/docs/hi/how_works_intlayer.md +251 -0
- package/docs/hi/index.md +166 -0
- package/docs/hi/interest_of_intlayer.md +154 -0
- package/docs/hi/intlayer_CMS.md +354 -0
- package/docs/hi/intlayer_cli.md +454 -0
- package/docs/hi/intlayer_visual_editor.md +267 -0
- package/docs/hi/intlayer_with_angular.md +676 -0
- package/docs/hi/intlayer_with_create_react_app.md +1401 -0
- package/docs/hi/intlayer_with_express.md +461 -0
- package/docs/hi/intlayer_with_lynx+react.md +542 -0
- package/docs/hi/intlayer_with_nextjs_14.md +1291 -0
- package/docs/hi/intlayer_with_nextjs_15.md +1513 -0
- package/docs/hi/intlayer_with_nextjs_page_router.md +1487 -0
- package/docs/hi/intlayer_with_nuxt.md +825 -0
- package/docs/hi/intlayer_with_react_native+expo.md +659 -0
- package/docs/hi/intlayer_with_vite+preact.md +1709 -0
- package/docs/hi/intlayer_with_vite+react.md +1626 -0
- package/docs/hi/intlayer_with_vite+solid.md +287 -0
- package/docs/hi/intlayer_with_vite+svelte.md +276 -0
- package/docs/hi/intlayer_with_vite+vue.md +1053 -0
- package/docs/hi/introduction.md +212 -0
- package/docs/hi/mcp_server.md +174 -0
- package/docs/hi/packages/@intlayer/api/index.md +56 -0
- package/docs/hi/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/hi/packages/@intlayer/cli/index.md +45 -0
- package/docs/hi/packages/@intlayer/config/index.md +140 -0
- package/docs/hi/packages/@intlayer/core/index.md +49 -0
- package/docs/hi/packages/@intlayer/design-system/index.md +45 -0
- package/docs/hi/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor/index.md +45 -0
- package/docs/hi/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/hi/packages/@intlayer/webpack/index.md +59 -0
- package/docs/hi/packages/angular-intlayer/index.md +53 -0
- package/docs/hi/packages/express-intlayer/index.md +252 -0
- package/docs/hi/packages/express-intlayer/t.md +457 -0
- package/docs/hi/packages/intlayer/getConfiguration.md +146 -0
- package/docs/hi/packages/intlayer/getEnumeration.md +164 -0
- package/docs/hi/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/hi/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/hi/packages/intlayer/getLocaleName.md +119 -0
- package/docs/hi/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/hi/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/hi/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/hi/packages/intlayer/getTranslation.md +192 -0
- package/docs/hi/packages/intlayer/getTranslationContent.md +190 -0
- package/docs/hi/packages/intlayer/index.md +499 -0
- package/docs/hi/packages/intlayer-cli/index.md +65 -0
- package/docs/hi/packages/intlayer-editor/index.md +137 -0
- package/docs/hi/packages/lynx-intlayer/index.md +83 -0
- package/docs/hi/packages/next-intlayer/index.md +287 -0
- package/docs/hi/packages/next-intlayer/t.md +353 -0
- package/docs/hi/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayer.md +268 -0
- package/docs/hi/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/hi/packages/next-intlayer/useLocale.md +131 -0
- package/docs/hi/packages/nuxt-intlayer/index.md +53 -0
- package/docs/hi/packages/preact-intlayer/index.md +53 -0
- package/docs/hi/packages/react-intlayer/index.md +280 -0
- package/docs/hi/packages/react-intlayer/t.md +297 -0
- package/docs/hi/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/hi/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/hi/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/hi/packages/react-intlayer/useLocale.md +210 -0
- package/docs/hi/packages/react-native-intlayer/index.md +83 -0
- package/docs/hi/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/hi/packages/solid-intlayer/index.md +54 -0
- package/docs/hi/packages/svelte-intlayer/index.md +53 -0
- package/docs/hi/packages/vite-intlayer/index.md +76 -0
- package/docs/hi/packages/vue-intlayer/index.md +53 -0
- package/docs/hi/per_locale_file.md +323 -0
- package/docs/hi/roadmap.md +337 -0
- package/docs/hi/vs_code_extension.md +152 -0
- package/docs/it/CI_CD.md +172 -0
- package/docs/it/autoFill.md +179 -0
- package/docs/it/configuration.md +524 -0
- package/docs/it/dictionary/condition.md +233 -0
- package/docs/it/dictionary/content_extention_customization.md +113 -0
- package/docs/it/dictionary/enumeration.md +252 -0
- package/docs/it/dictionary/file.md +222 -0
- package/docs/it/dictionary/function_fetching.md +214 -0
- package/docs/it/dictionary/get_started.md +573 -0
- package/docs/it/dictionary/insertion.md +185 -0
- package/docs/it/dictionary/markdown.md +357 -0
- package/docs/it/dictionary/nesting.md +269 -0
- package/docs/it/dictionary/translation.md +309 -0
- package/docs/it/how_works_intlayer.md +255 -0
- package/docs/it/index.md +166 -0
- package/docs/it/interest_of_intlayer.md +156 -0
- package/docs/it/intlayer_CMS.md +352 -0
- package/docs/it/intlayer_cli.md +454 -0
- package/docs/it/intlayer_visual_editor.md +267 -0
- package/docs/it/intlayer_with_angular.md +742 -0
- package/docs/it/intlayer_with_create_react_app.md +1156 -0
- package/docs/it/intlayer_with_express.md +415 -0
- package/docs/it/intlayer_with_lynx+react.md +520 -0
- package/docs/it/intlayer_with_nextjs_14.md +1277 -0
- package/docs/it/intlayer_with_nextjs_15.md +1528 -0
- package/docs/it/intlayer_with_nextjs_page_router.md +1492 -0
- package/docs/it/intlayer_with_nuxt.md +809 -0
- package/docs/it/intlayer_with_react_native+expo.md +661 -0
- package/docs/it/intlayer_with_vite+preact.md +1698 -0
- package/docs/it/intlayer_with_vite+react.md +1623 -0
- package/docs/it/intlayer_with_vite+solid.md +287 -0
- package/docs/it/intlayer_with_vite+svelte.md +284 -0
- package/docs/it/intlayer_with_vite+vue.md +1112 -0
- package/docs/it/introduction.md +209 -0
- package/docs/it/mcp_server.md +174 -0
- package/docs/it/packages/@intlayer/api/index.md +56 -0
- package/docs/it/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/it/packages/@intlayer/cli/index.md +45 -0
- package/docs/it/packages/@intlayer/config/index.md +140 -0
- package/docs/it/packages/@intlayer/core/index.md +49 -0
- package/docs/it/packages/@intlayer/design-system/index.md +45 -0
- package/docs/it/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/it/packages/@intlayer/editor/index.md +45 -0
- package/docs/it/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/it/packages/@intlayer/webpack/index.md +59 -0
- package/docs/it/packages/angular-intlayer/index.md +53 -0
- package/docs/it/packages/express-intlayer/index.md +228 -0
- package/docs/it/packages/express-intlayer/t.md +457 -0
- package/docs/it/packages/intlayer/getConfiguration.md +146 -0
- package/docs/it/packages/intlayer/getEnumeration.md +164 -0
- package/docs/it/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/it/packages/intlayer/getLocaleLang.md +84 -0
- package/docs/it/packages/intlayer/getLocaleName.md +119 -0
- package/docs/it/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/it/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/it/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/it/packages/intlayer/getTranslation.md +191 -0
- package/docs/it/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/it/packages/intlayer/index.md +500 -0
- package/docs/it/packages/intlayer-cli/index.md +65 -0
- package/docs/it/packages/intlayer-editor/index.md +139 -0
- package/docs/it/packages/lynx-intlayer/index.md +83 -0
- package/docs/it/packages/next-intlayer/index.md +286 -0
- package/docs/it/packages/next-intlayer/t.md +356 -0
- package/docs/it/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/it/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/it/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/it/packages/next-intlayer/useLocale.md +131 -0
- package/docs/it/packages/nuxt-intlayer/index.md +53 -0
- package/docs/it/packages/preact-intlayer/index.md +53 -0
- package/docs/it/packages/react-intlayer/index.md +281 -0
- package/docs/it/packages/react-intlayer/t.md +302 -0
- package/docs/it/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/it/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/it/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/it/packages/react-intlayer/useLocale.md +210 -0
- package/docs/it/packages/react-native-intlayer/index.md +83 -0
- package/docs/it/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/it/packages/solid-intlayer/index.md +54 -0
- package/docs/it/packages/svelte-intlayer/index.md +53 -0
- package/docs/it/packages/vite-intlayer/index.md +76 -0
- package/docs/it/packages/vue-intlayer/index.md +53 -0
- package/docs/it/per_locale_file.md +325 -0
- package/docs/it/roadmap.md +337 -0
- package/docs/it/vs_code_extension.md +153 -0
- package/docs/ja/CI_CD.md +172 -0
- package/docs/ja/autoFill.md +179 -0
- package/docs/ja/configuration.md +525 -0
- package/docs/ja/dictionary/condition.md +233 -0
- package/docs/ja/dictionary/content_extention_customization.md +113 -0
- package/docs/ja/dictionary/enumeration.md +247 -0
- package/docs/ja/dictionary/file.md +232 -0
- package/docs/ja/dictionary/function_fetching.md +241 -0
- package/docs/ja/dictionary/get_started.md +576 -0
- package/docs/ja/dictionary/insertion.md +191 -0
- package/docs/ja/dictionary/markdown.md +357 -0
- package/docs/ja/dictionary/nesting.md +269 -0
- package/docs/ja/dictionary/translation.md +372 -0
- package/docs/ja/how_works_intlayer.md +254 -0
- package/docs/ja/index.md +164 -0
- package/docs/ja/interest_of_intlayer.md +160 -0
- package/docs/ja/intlayer_CMS.md +355 -0
- package/docs/ja/intlayer_cli.md +458 -0
- package/docs/ja/intlayer_visual_editor.md +272 -0
- package/docs/ja/intlayer_with_angular.md +671 -0
- package/docs/ja/intlayer_with_create_react_app.md +1236 -0
- package/docs/ja/intlayer_with_express.md +414 -0
- package/docs/ja/intlayer_with_lynx+react.md +521 -0
- package/docs/ja/intlayer_with_nextjs_14.md +1495 -0
- package/docs/ja/intlayer_with_nextjs_15.md +1532 -0
- package/docs/ja/intlayer_with_nextjs_page_router.md +1490 -0
- package/docs/ja/intlayer_with_nuxt.md +803 -0
- package/docs/ja/intlayer_with_react_native+expo.md +700 -0
- package/docs/ja/intlayer_with_vite+preact.md +1684 -0
- package/docs/ja/intlayer_with_vite+react.md +1736 -0
- package/docs/ja/intlayer_with_vite+solid.md +310 -0
- package/docs/ja/intlayer_with_vite+svelte.md +286 -0
- package/docs/ja/intlayer_with_vite+vue.md +1078 -0
- package/docs/ja/introduction.md +208 -0
- package/docs/ja/mcp_server.md +174 -0
- package/docs/ja/packages/@intlayer/api/index.md +56 -0
- package/docs/ja/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ja/packages/@intlayer/cli/index.md +45 -0
- package/docs/ja/packages/@intlayer/config/index.md +140 -0
- package/docs/ja/packages/@intlayer/core/index.md +49 -0
- package/docs/ja/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ja/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor/index.md +45 -0
- package/docs/ja/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ja/packages/@intlayer/webpack/index.md +60 -0
- package/docs/ja/packages/angular-intlayer/index.md +53 -0
- package/docs/ja/packages/express-intlayer/index.md +284 -0
- package/docs/ja/packages/express-intlayer/t.md +473 -0
- package/docs/ja/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ja/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ja/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/ja/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ja/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ja/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ja/packages/intlayer/getMultilingualUrls.md +274 -0
- package/docs/ja/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ja/packages/intlayer/getTranslation.md +192 -0
- package/docs/ja/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ja/packages/intlayer/index.md +503 -0
- package/docs/ja/packages/intlayer-cli/index.md +65 -0
- package/docs/ja/packages/intlayer-editor/index.md +137 -0
- package/docs/ja/packages/lynx-intlayer/index.md +83 -0
- package/docs/ja/packages/next-intlayer/index.md +286 -0
- package/docs/ja/packages/next-intlayer/t.md +353 -0
- package/docs/ja/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ja/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ja/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ja/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ja/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ja/packages/preact-intlayer/index.md +53 -0
- package/docs/ja/packages/react-intlayer/index.md +287 -0
- package/docs/ja/packages/react-intlayer/t.md +302 -0
- package/docs/ja/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ja/packages/react-intlayer/useIntlayer.md +255 -0
- package/docs/ja/packages/react-intlayer/useIntlayerAsync.md +268 -0
- package/docs/ja/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ja/packages/react-native-intlayer/index.md +83 -0
- package/docs/ja/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ja/packages/solid-intlayer/index.md +54 -0
- package/docs/ja/packages/svelte-intlayer/index.md +53 -0
- package/docs/ja/packages/vite-intlayer/index.md +76 -0
- package/docs/ja/packages/vue-intlayer/index.md +53 -0
- package/docs/ja/per_locale_file.md +321 -0
- package/docs/ja/roadmap.md +337 -0
- package/docs/ja/vs_code_extension.md +152 -0
- package/docs/ko/CI_CD.md +172 -0
- package/docs/ko/autoFill.md +178 -0
- package/docs/ko/configuration.md +524 -0
- package/docs/ko/dictionary/condition.md +233 -0
- package/docs/ko/dictionary/content_extention_customization.md +100 -0
- package/docs/ko/dictionary/enumeration.md +247 -0
- package/docs/ko/dictionary/file.md +232 -0
- package/docs/ko/dictionary/function_fetching.md +212 -0
- package/docs/ko/dictionary/get_started.md +530 -0
- package/docs/ko/dictionary/insertion.md +197 -0
- package/docs/ko/dictionary/markdown.md +357 -0
- package/docs/ko/dictionary/nesting.md +269 -0
- package/docs/ko/dictionary/translation.md +339 -0
- package/docs/ko/how_works_intlayer.md +251 -0
- package/docs/ko/index.md +164 -0
- package/docs/ko/interest_of_intlayer.md +159 -0
- package/docs/ko/intlayer_CMS.md +356 -0
- package/docs/ko/intlayer_cli.md +457 -0
- package/docs/ko/intlayer_visual_editor.md +269 -0
- package/docs/ko/intlayer_with_angular.md +687 -0
- package/docs/ko/intlayer_with_create_react_app.md +1234 -0
- package/docs/ko/intlayer_with_express.md +434 -0
- package/docs/ko/intlayer_with_lynx+react.md +525 -0
- package/docs/ko/intlayer_with_nextjs_14.md +1481 -0
- package/docs/ko/intlayer_with_nextjs_15.md +1551 -0
- package/docs/ko/intlayer_with_nextjs_page_router.md +1514 -0
- package/docs/ko/intlayer_with_nuxt.md +807 -0
- package/docs/ko/intlayer_with_react_native+expo.md +703 -0
- package/docs/ko/intlayer_with_vite+preact.md +1733 -0
- package/docs/ko/intlayer_with_vite+react.md +1655 -0
- package/docs/ko/intlayer_with_vite+solid.md +285 -0
- package/docs/ko/intlayer_with_vite+svelte.md +373 -0
- package/docs/ko/intlayer_with_vite+vue.md +1082 -0
- package/docs/ko/introduction.md +209 -0
- package/docs/ko/mcp_server.md +174 -0
- package/docs/ko/packages/@intlayer/api/index.md +56 -0
- package/docs/ko/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ko/packages/@intlayer/cli/index.md +45 -0
- package/docs/ko/packages/@intlayer/config/index.md +140 -0
- package/docs/ko/packages/@intlayer/core/index.md +49 -0
- package/docs/ko/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ko/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor/index.md +45 -0
- package/docs/ko/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ko/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ko/packages/angular-intlayer/index.md +53 -0
- package/docs/ko/packages/express-intlayer/index.md +285 -0
- package/docs/ko/packages/express-intlayer/t.md +509 -0
- package/docs/ko/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ko/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ko/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ko/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ko/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +281 -0
- package/docs/ko/packages/intlayer/getMultilingualUrls.md +261 -0
- package/docs/ko/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ko/packages/intlayer/getTranslation.md +192 -0
- package/docs/ko/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ko/packages/intlayer/index.md +499 -0
- package/docs/ko/packages/intlayer-cli/index.md +65 -0
- package/docs/ko/packages/intlayer-editor/index.md +137 -0
- package/docs/ko/packages/lynx-intlayer/index.md +83 -0
- package/docs/ko/packages/next-intlayer/index.md +287 -0
- package/docs/ko/packages/next-intlayer/t.md +354 -0
- package/docs/ko/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/ko/packages/next-intlayer/useIntlayer.md +263 -0
- package/docs/ko/packages/next-intlayer/useIntlayerAsync.md +260 -0
- package/docs/ko/packages/next-intlayer/useLocale.md +136 -0
- package/docs/ko/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ko/packages/preact-intlayer/index.md +53 -0
- package/docs/ko/packages/react-intlayer/index.md +287 -0
- package/docs/ko/packages/react-intlayer/t.md +345 -0
- package/docs/ko/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/ko/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/ko/packages/react-intlayer/useIntlayerAsync.md +271 -0
- package/docs/ko/packages/react-intlayer/useLocale.md +210 -0
- package/docs/ko/packages/react-native-intlayer/index.md +83 -0
- package/docs/ko/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ko/packages/solid-intlayer/index.md +54 -0
- package/docs/ko/packages/svelte-intlayer/index.md +53 -0
- package/docs/ko/packages/vite-intlayer/index.md +76 -0
- package/docs/ko/packages/vue-intlayer/index.md +53 -0
- package/docs/ko/per_locale_file.md +321 -0
- package/docs/ko/roadmap.md +337 -0
- package/docs/ko/vs_code_extension.md +152 -0
- package/docs/pt/CI_CD.md +172 -0
- package/docs/pt/autoFill.md +178 -0
- package/docs/pt/configuration.md +526 -0
- package/docs/pt/dictionary/condition.md +233 -0
- package/docs/pt/dictionary/content_extention_customization.md +100 -0
- package/docs/pt/dictionary/enumeration.md +245 -0
- package/docs/pt/dictionary/file.md +224 -0
- package/docs/pt/dictionary/function_fetching.md +214 -0
- package/docs/pt/dictionary/get_started.md +532 -0
- package/docs/pt/dictionary/insertion.md +195 -0
- package/docs/pt/dictionary/markdown.md +359 -0
- package/docs/pt/dictionary/nesting.md +269 -0
- package/docs/pt/dictionary/translation.md +309 -0
- package/docs/pt/how_works_intlayer.md +252 -0
- package/docs/pt/index.md +166 -0
- package/docs/pt/interest_of_intlayer.md +156 -0
- package/docs/pt/intlayer_CMS.md +352 -0
- package/docs/pt/intlayer_cli.md +454 -0
- package/docs/pt/intlayer_visual_editor.md +269 -0
- package/docs/pt/intlayer_with_angular.md +715 -0
- package/docs/pt/intlayer_with_create_react_app.md +1209 -0
- package/docs/pt/intlayer_with_express.md +434 -0
- package/docs/pt/intlayer_with_lynx+react.md +520 -0
- package/docs/pt/intlayer_with_nextjs_14.md +1277 -0
- package/docs/pt/intlayer_with_nextjs_15.md +1512 -0
- package/docs/pt/intlayer_with_nextjs_page_router.md +1525 -0
- package/docs/pt/intlayer_with_nuxt.md +818 -0
- package/docs/pt/intlayer_with_react_native+expo.md +657 -0
- package/docs/pt/intlayer_with_vite+preact.md +1693 -0
- package/docs/pt/intlayer_with_vite+react.md +1657 -0
- package/docs/pt/intlayer_with_vite+solid.md +285 -0
- package/docs/pt/intlayer_with_vite+svelte.md +284 -0
- package/docs/pt/intlayer_with_vite+vue.md +1073 -0
- package/docs/pt/introduction.md +222 -0
- package/docs/pt/mcp_server.md +174 -0
- package/docs/pt/packages/@intlayer/api/index.md +56 -0
- package/docs/pt/packages/@intlayer/chokidar/index.md +56 -0
- package/docs/pt/packages/@intlayer/cli/index.md +45 -0
- package/docs/pt/packages/@intlayer/config/index.md +140 -0
- package/docs/pt/packages/@intlayer/core/index.md +49 -0
- package/docs/pt/packages/@intlayer/design-system/index.md +45 -0
- package/docs/pt/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor/index.md +45 -0
- package/docs/pt/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/pt/packages/@intlayer/webpack/index.md +60 -0
- package/docs/pt/packages/angular-intlayer/index.md +53 -0
- package/docs/pt/packages/express-intlayer/index.md +255 -0
- package/docs/pt/packages/express-intlayer/t.md +457 -0
- package/docs/pt/packages/intlayer/getConfiguration.md +146 -0
- package/docs/pt/packages/intlayer/getEnumeration.md +164 -0
- package/docs/pt/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/pt/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/pt/packages/intlayer/getLocaleName.md +119 -0
- package/docs/pt/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/pt/packages/intlayer/getMultilingualUrls.md +224 -0
- package/docs/pt/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/pt/packages/intlayer/getTranslation.md +192 -0
- package/docs/pt/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/pt/packages/intlayer/index.md +500 -0
- package/docs/pt/packages/intlayer-cli/index.md +65 -0
- package/docs/pt/packages/intlayer-editor/index.md +139 -0
- package/docs/pt/packages/lynx-intlayer/index.md +83 -0
- package/docs/pt/packages/next-intlayer/index.md +286 -0
- package/docs/pt/packages/next-intlayer/t.md +352 -0
- package/docs/pt/packages/next-intlayer/useDictionary.md +268 -0
- package/docs/pt/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/pt/packages/next-intlayer/useIntlayerAsync.md +238 -0
- package/docs/pt/packages/next-intlayer/useLocale.md +131 -0
- package/docs/pt/packages/nuxt-intlayer/index.md +53 -0
- package/docs/pt/packages/preact-intlayer/index.md +53 -0
- package/docs/pt/packages/react-intlayer/index.md +280 -0
- package/docs/pt/packages/react-intlayer/t.md +302 -0
- package/docs/pt/packages/react-intlayer/useDictionary.md +287 -0
- package/docs/pt/packages/react-intlayer/useIntlayer.md +256 -0
- package/docs/pt/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/pt/packages/react-intlayer/useLocale.md +210 -0
- package/docs/pt/packages/react-native-intlayer/index.md +83 -0
- package/docs/pt/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/pt/packages/solid-intlayer/index.md +54 -0
- package/docs/pt/packages/svelte-intlayer/index.md +53 -0
- package/docs/pt/packages/vite-intlayer/index.md +76 -0
- package/docs/pt/packages/vue-intlayer/index.md +53 -0
- package/docs/pt/per_locale_file.md +323 -0
- package/docs/pt/roadmap.md +337 -0
- package/docs/pt/vs_code_extension.md +152 -0
- package/docs/ru/CI_CD.md +172 -0
- package/docs/ru/autoFill.md +179 -0
- package/docs/ru/configuration.md +524 -0
- package/docs/ru/dictionary/condition.md +233 -0
- package/docs/ru/dictionary/content_extention_customization.md +100 -0
- package/docs/ru/dictionary/enumeration.md +247 -0
- package/docs/ru/dictionary/file.md +225 -0
- package/docs/ru/dictionary/function_fetching.md +212 -0
- package/docs/ru/dictionary/get_started.md +575 -0
- package/docs/ru/dictionary/insertion.md +185 -0
- package/docs/ru/dictionary/markdown.md +359 -0
- package/docs/ru/dictionary/nesting.md +269 -0
- package/docs/ru/dictionary/translation.md +310 -0
- package/docs/ru/how_works_intlayer.md +251 -0
- package/docs/ru/index.md +163 -0
- package/docs/ru/interest_of_intlayer.md +154 -0
- package/docs/ru/intlayer_CMS.md +357 -0
- package/docs/ru/intlayer_cli.md +456 -0
- package/docs/ru/intlayer_visual_editor.md +267 -0
- package/docs/ru/intlayer_with_angular.md +717 -0
- package/docs/ru/intlayer_with_create_react_app.md +1271 -0
- package/docs/ru/intlayer_with_express.md +454 -0
- package/docs/ru/intlayer_with_lynx+react.md +524 -0
- package/docs/ru/intlayer_with_nextjs_14.md +1281 -0
- package/docs/ru/intlayer_with_nextjs_15.md +1546 -0
- package/docs/ru/intlayer_with_nextjs_page_router.md +1516 -0
- package/docs/ru/intlayer_with_nuxt.md +816 -0
- package/docs/ru/intlayer_with_react_native+expo.md +660 -0
- package/docs/ru/intlayer_with_vite+preact.md +1697 -0
- package/docs/ru/intlayer_with_vite+react.md +1640 -0
- package/docs/ru/intlayer_with_vite+solid.md +287 -0
- package/docs/ru/intlayer_with_vite+svelte.md +285 -0
- package/docs/ru/intlayer_with_vite+vue.md +1073 -0
- package/docs/ru/introduction.md +212 -0
- package/docs/ru/mcp_server.md +174 -0
- package/docs/ru/packages/@intlayer/api/index.md +56 -0
- package/docs/ru/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/ru/packages/@intlayer/cli/index.md +45 -0
- package/docs/ru/packages/@intlayer/config/index.md +140 -0
- package/docs/ru/packages/@intlayer/core/index.md +49 -0
- package/docs/ru/packages/@intlayer/design-system/index.md +45 -0
- package/docs/ru/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor/index.md +45 -0
- package/docs/ru/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/ru/packages/@intlayer/webpack/index.md +59 -0
- package/docs/ru/packages/angular-intlayer/index.md +53 -0
- package/docs/ru/packages/express-intlayer/index.md +253 -0
- package/docs/ru/packages/express-intlayer/t.md +459 -0
- package/docs/ru/packages/intlayer/getConfiguration.md +146 -0
- package/docs/ru/packages/intlayer/getEnumeration.md +164 -0
- package/docs/ru/packages/intlayer/getHTMLTextDir.md +123 -0
- package/docs/ru/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/ru/packages/intlayer/getLocaleName.md +119 -0
- package/docs/ru/packages/intlayer/getLocalizedUrl.md +247 -0
- package/docs/ru/packages/intlayer/getMultilingualUrls.md +226 -0
- package/docs/ru/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/ru/packages/intlayer/getTranslation.md +192 -0
- package/docs/ru/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/ru/packages/intlayer/index.md +499 -0
- package/docs/ru/packages/intlayer-cli/index.md +65 -0
- package/docs/ru/packages/intlayer-editor/index.md +139 -0
- package/docs/ru/packages/lynx-intlayer/index.md +83 -0
- package/docs/ru/packages/next-intlayer/index.md +286 -0
- package/docs/ru/packages/next-intlayer/t.md +354 -0
- package/docs/ru/packages/next-intlayer/useDictionary.md +269 -0
- package/docs/ru/packages/next-intlayer/useIntlayer.md +266 -0
- package/docs/ru/packages/next-intlayer/useIntlayerAsync.md +237 -0
- package/docs/ru/packages/next-intlayer/useLocale.md +131 -0
- package/docs/ru/packages/nuxt-intlayer/index.md +53 -0
- package/docs/ru/packages/preact-intlayer/index.md +53 -0
- package/docs/ru/packages/react-intlayer/index.md +281 -0
- package/docs/ru/packages/react-intlayer/t.md +304 -0
- package/docs/ru/packages/react-intlayer/useDictionary.md +289 -0
- package/docs/ru/packages/react-intlayer/useIntlayer.md +260 -0
- package/docs/ru/packages/react-intlayer/useIntlayerAsync.md +252 -0
- package/docs/ru/packages/react-intlayer/useLocale.md +206 -0
- package/docs/ru/packages/react-native-intlayer/index.md +83 -0
- package/docs/ru/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/ru/packages/solid-intlayer/index.md +54 -0
- package/docs/ru/packages/svelte-intlayer/index.md +53 -0
- package/docs/ru/packages/vite-intlayer/index.md +76 -0
- package/docs/ru/packages/vue-intlayer/index.md +53 -0
- package/docs/ru/per_locale_file.md +325 -0
- package/docs/ru/roadmap.md +337 -0
- package/docs/ru/vs_code_extension.md +153 -0
- package/docs/zh/CI_CD.md +172 -0
- package/docs/zh/autoFill.md +179 -0
- package/docs/zh/configuration.md +526 -0
- package/docs/zh/dictionary/condition.md +233 -0
- package/docs/zh/dictionary/content_extention_customization.md +117 -0
- package/docs/zh/dictionary/enumeration.md +246 -0
- package/docs/zh/dictionary/file.md +234 -0
- package/docs/zh/dictionary/function_fetching.md +239 -0
- package/docs/zh/dictionary/get_started.md +533 -0
- package/docs/zh/dictionary/insertion.md +272 -0
- package/docs/zh/dictionary/markdown.md +357 -0
- package/docs/zh/dictionary/nesting.md +269 -0
- package/docs/zh/dictionary/translation.md +337 -0
- package/docs/zh/how_works_intlayer.md +257 -0
- package/docs/zh/index.md +183 -0
- package/docs/zh/interest_of_intlayer.md +160 -0
- package/docs/zh/intlayer_CMS.md +356 -0
- package/docs/zh/intlayer_cli.md +452 -0
- package/docs/zh/intlayer_visual_editor.md +267 -0
- package/docs/zh/intlayer_with_angular.md +717 -0
- package/docs/zh/intlayer_with_create_react_app.md +1257 -0
- package/docs/zh/intlayer_with_express.md +433 -0
- package/docs/zh/intlayer_with_lynx+react.md +520 -0
- package/docs/zh/intlayer_with_nextjs_14.md +1477 -0
- package/docs/zh/intlayer_with_nextjs_15.md +1532 -0
- package/docs/zh/intlayer_with_nextjs_page_router.md +1484 -0
- package/docs/zh/intlayer_with_nuxt.md +839 -0
- package/docs/zh/intlayer_with_react_native+expo.md +704 -0
- package/docs/zh/intlayer_with_vite+preact.md +1738 -0
- package/docs/zh/intlayer_with_vite+react.md +1708 -0
- package/docs/zh/intlayer_with_vite+solid.md +284 -0
- package/docs/zh/intlayer_with_vite+svelte.md +283 -0
- package/docs/zh/intlayer_with_vite+vue.md +1088 -0
- package/docs/zh/introduction.md +208 -0
- package/docs/zh/mcp_server.md +175 -0
- package/docs/zh/packages/@intlayer/api/index.md +56 -0
- package/docs/zh/packages/@intlayer/chokidar/index.md +55 -0
- package/docs/zh/packages/@intlayer/cli/index.md +45 -0
- package/docs/zh/packages/@intlayer/config/index.md +140 -0
- package/docs/zh/packages/@intlayer/core/index.md +49 -0
- package/docs/zh/packages/@intlayer/design-system/index.md +45 -0
- package/docs/zh/packages/@intlayer/dictionary-entry/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor/index.md +45 -0
- package/docs/zh/packages/@intlayer/editor-react/index.md +45 -0
- package/docs/zh/packages/@intlayer/webpack/index.md +59 -0
- package/docs/zh/packages/angular-intlayer/index.md +53 -0
- package/docs/zh/packages/express-intlayer/index.md +284 -0
- package/docs/zh/packages/express-intlayer/t.md +459 -0
- package/docs/zh/packages/intlayer/getConfiguration.md +146 -0
- package/docs/zh/packages/intlayer/getEnumeration.md +164 -0
- package/docs/zh/packages/intlayer/getHTMLTextDir.md +124 -0
- package/docs/zh/packages/intlayer/getLocaleLang.md +83 -0
- package/docs/zh/packages/intlayer/getLocaleName.md +119 -0
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +281 -0
- package/docs/zh/packages/intlayer/getMultilingualUrls.md +228 -0
- package/docs/zh/packages/intlayer/getPathWithoutLocale.md +76 -0
- package/docs/zh/packages/intlayer/getTranslation.md +192 -0
- package/docs/zh/packages/intlayer/getTranslationContent.md +191 -0
- package/docs/zh/packages/intlayer/index.md +499 -0
- package/docs/zh/packages/intlayer-cli/index.md +65 -0
- package/docs/zh/packages/intlayer-editor/index.md +137 -0
- package/docs/zh/packages/lynx-intlayer/index.md +83 -0
- package/docs/zh/packages/next-intlayer/index.md +286 -0
- package/docs/zh/packages/next-intlayer/t.md +354 -0
- package/docs/zh/packages/next-intlayer/useDictionary.md +270 -0
- package/docs/zh/packages/next-intlayer/useIntlayer.md +265 -0
- package/docs/zh/packages/next-intlayer/useIntlayerAsync.md +239 -0
- package/docs/zh/packages/next-intlayer/useLocale.md +131 -0
- package/docs/zh/packages/nuxt-intlayer/index.md +53 -0
- package/docs/zh/packages/preact-intlayer/index.md +53 -0
- package/docs/zh/packages/react-intlayer/index.md +287 -0
- package/docs/zh/packages/react-intlayer/t.md +298 -0
- package/docs/zh/packages/react-intlayer/useDictionary.md +312 -0
- package/docs/zh/packages/react-intlayer/useIntlayer.md +251 -0
- package/docs/zh/packages/react-intlayer/useIntlayerAsync.md +257 -0
- package/docs/zh/packages/react-intlayer/useLocale.md +210 -0
- package/docs/zh/packages/react-native-intlayer/index.md +83 -0
- package/docs/zh/packages/react-scripts-intlayer/index.md +80 -0
- package/docs/zh/packages/solid-intlayer/index.md +54 -0
- package/docs/zh/packages/svelte-intlayer/index.md +53 -0
- package/docs/zh/packages/vite-intlayer/index.md +76 -0
- package/docs/zh/packages/vue-intlayer/index.md +53 -0
- package/docs/zh/per_locale_file.md +323 -0
- package/docs/zh/roadmap.md +337 -0
- package/docs/zh/vs_code_extension.md +152 -0
- package/frequent_questions/ar/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ar/array_as_content_declaration.md +72 -0
- package/frequent_questions/ar/build_dictionaries.md +59 -0
- package/frequent_questions/ar/customized_locale_list.md +65 -0
- package/frequent_questions/ar/domain_routing.md +115 -0
- package/frequent_questions/ar/esbuild_error.md +30 -0
- package/frequent_questions/ar/get_locale_cookie.md +143 -0
- package/frequent_questions/ar/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ar/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ar/static_rendering.md +46 -0
- package/frequent_questions/ar/translated_path_url.md +56 -0
- package/frequent_questions/ar/unknown_command.md +98 -0
- package/frequent_questions/de/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/de/array_as_content_declaration.md +72 -0
- package/frequent_questions/de/build_dictionaries.md +59 -0
- package/frequent_questions/de/customized_locale_list.md +65 -0
- package/frequent_questions/de/domain_routing.md +114 -0
- package/frequent_questions/de/esbuild_error.md +30 -0
- package/frequent_questions/de/get_locale_cookie.md +143 -0
- package/frequent_questions/de/intlayer_command_undefined.md +157 -0
- package/frequent_questions/de/locale_incorect_in_url.md +86 -0
- package/frequent_questions/de/static_rendering.md +46 -0
- package/frequent_questions/de/translated_path_url.md +56 -0
- package/frequent_questions/de/unknown_command.md +98 -0
- package/frequent_questions/en/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en/array_as_content_declaration.md +72 -0
- package/frequent_questions/en/build_dictionaries.md +59 -0
- package/frequent_questions/en/customized_locale_list.md +65 -0
- package/frequent_questions/en/domain_routing.md +114 -0
- package/frequent_questions/en/esbuild_error.md +30 -0
- package/frequent_questions/en/get_locale_cookie.md +143 -0
- package/frequent_questions/en/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en/static_rendering.md +46 -0
- package/frequent_questions/en/translated_path_url.md +56 -0
- package/frequent_questions/en/unknown_command.md +98 -0
- package/frequent_questions/en-GB/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/en-GB/array_as_content_declaration.md +72 -0
- package/frequent_questions/en-GB/build_dictionaries.md +59 -0
- package/frequent_questions/en-GB/customized_locale_list.md +65 -0
- package/frequent_questions/en-GB/domain_routing.md +114 -0
- package/frequent_questions/en-GB/esbuild_error.md +30 -0
- package/frequent_questions/en-GB/get_locale_cookie.md +144 -0
- package/frequent_questions/en-GB/intlayer_command_undefined.md +157 -0
- package/frequent_questions/en-GB/locale_incorect_in_url.md +74 -0
- package/frequent_questions/en-GB/static_rendering.md +46 -0
- package/frequent_questions/en-GB/translated_path_url.md +56 -0
- package/frequent_questions/en-GB/unknown_command.md +98 -0
- package/frequent_questions/es/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/es/array_as_content_declaration.md +72 -0
- package/frequent_questions/es/build_dictionaries.md +59 -0
- package/frequent_questions/es/customized_locale_list.md +65 -0
- package/frequent_questions/es/domain_routing.md +114 -0
- package/frequent_questions/es/esbuild_error.md +30 -0
- package/frequent_questions/es/get_locale_cookie.md +143 -0
- package/frequent_questions/es/intlayer_command_undefined.md +157 -0
- package/frequent_questions/es/locale_incorect_in_url.md +90 -0
- package/frequent_questions/es/static_rendering.md +46 -0
- package/frequent_questions/es/translated_path_url.md +56 -0
- package/frequent_questions/es/unknown_command.md +98 -0
- package/frequent_questions/fr/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/fr/array_as_content_declaration.md +73 -0
- package/frequent_questions/fr/build_dictionaries.md +59 -0
- package/frequent_questions/fr/customized_locale_list.md +65 -0
- package/frequent_questions/fr/domain_routing.md +114 -0
- package/frequent_questions/fr/esbuild_error.md +30 -0
- package/frequent_questions/fr/get_locale_cookie.md +143 -0
- package/frequent_questions/fr/intlayer_command_undefined.md +157 -0
- package/frequent_questions/fr/locale_incorect_in_url.md +79 -0
- package/frequent_questions/fr/static_rendering.md +46 -0
- package/frequent_questions/fr/translated_path_url.md +56 -0
- package/frequent_questions/fr/unknown_command.md +98 -0
- package/frequent_questions/hi/SSR_Next_no_[locale].md +107 -0
- package/frequent_questions/hi/array_as_content_declaration.md +72 -0
- package/frequent_questions/hi/build_dictionaries.md +59 -0
- package/frequent_questions/hi/customized_locale_list.md +65 -0
- package/frequent_questions/hi/domain_routing.md +115 -0
- package/frequent_questions/hi/esbuild_error.md +30 -0
- package/frequent_questions/hi/get_locale_cookie.md +144 -0
- package/frequent_questions/hi/intlayer_command_undefined.md +156 -0
- package/frequent_questions/hi/locale_incorect_in_url.md +74 -0
- package/frequent_questions/hi/static_rendering.md +46 -0
- package/frequent_questions/hi/translated_path_url.md +56 -0
- package/frequent_questions/hi/unknown_command.md +98 -0
- package/frequent_questions/it/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/it/array_as_content_declaration.md +72 -0
- package/frequent_questions/it/build_dictionaries.md +59 -0
- package/frequent_questions/it/customized_locale_list.md +65 -0
- package/frequent_questions/it/domain_routing.md +114 -0
- package/frequent_questions/it/esbuild_error.md +30 -0
- package/frequent_questions/it/get_locale_cookie.md +144 -0
- package/frequent_questions/it/intlayer_command_undefined.md +157 -0
- package/frequent_questions/it/locale_incorect_in_url.md +74 -0
- package/frequent_questions/it/static_rendering.md +46 -0
- package/frequent_questions/it/translated_path_url.md +56 -0
- package/frequent_questions/it/unknown_command.md +98 -0
- package/frequent_questions/ja/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ja/array_as_content_declaration.md +72 -0
- package/frequent_questions/ja/build_dictionaries.md +59 -0
- package/frequent_questions/ja/customized_locale_list.md +65 -0
- package/frequent_questions/ja/domain_routing.md +114 -0
- package/frequent_questions/ja/esbuild_error.md +30 -0
- package/frequent_questions/ja/get_locale_cookie.md +144 -0
- package/frequent_questions/ja/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ja/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ja/static_rendering.md +46 -0
- package/frequent_questions/ja/translated_path_url.md +56 -0
- package/frequent_questions/ja/unknown_command.md +98 -0
- package/frequent_questions/ko/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ko/array_as_content_declaration.md +72 -0
- package/frequent_questions/ko/build_dictionaries.md +59 -0
- package/frequent_questions/ko/customized_locale_list.md +65 -0
- package/frequent_questions/ko/domain_routing.md +114 -0
- package/frequent_questions/ko/esbuild_error.md +30 -0
- package/frequent_questions/ko/get_locale_cookie.md +144 -0
- package/frequent_questions/ko/intlayer_command_undefined.md +156 -0
- package/frequent_questions/ko/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ko/static_rendering.md +46 -0
- package/frequent_questions/ko/translated_path_url.md +56 -0
- package/frequent_questions/ko/unknown_command.md +98 -0
- package/frequent_questions/pt/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/pt/array_as_content_declaration.md +72 -0
- package/frequent_questions/pt/build_dictionaries.md +59 -0
- package/frequent_questions/pt/customized_locale_list.md +65 -0
- package/frequent_questions/pt/domain_routing.md +114 -0
- package/frequent_questions/pt/esbuild_error.md +30 -0
- package/frequent_questions/pt/get_locale_cookie.md +143 -0
- package/frequent_questions/pt/intlayer_command_undefined.md +157 -0
- package/frequent_questions/pt/locale_incorect_in_url.md +74 -0
- package/frequent_questions/pt/static_rendering.md +46 -0
- package/frequent_questions/pt/translated_path_url.md +56 -0
- package/frequent_questions/pt/unknown_command.md +98 -0
- package/frequent_questions/ru/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/ru/array_as_content_declaration.md +72 -0
- package/frequent_questions/ru/build_dictionaries.md +59 -0
- package/frequent_questions/ru/customized_locale_list.md +65 -0
- package/frequent_questions/ru/domain_routing.md +114 -0
- package/frequent_questions/ru/esbuild_error.md +30 -0
- package/frequent_questions/ru/get_locale_cookie.md +143 -0
- package/frequent_questions/ru/intlayer_command_undefined.md +157 -0
- package/frequent_questions/ru/locale_incorect_in_url.md +74 -0
- package/frequent_questions/ru/static_rendering.md +46 -0
- package/frequent_questions/ru/translated_path_url.md +56 -0
- package/frequent_questions/ru/unknown_command.md +98 -0
- package/frequent_questions/zh/SSR_Next_no_[locale].md +105 -0
- package/frequent_questions/zh/array_as_content_declaration.md +72 -0
- package/frequent_questions/zh/build_dictionaries.md +59 -0
- package/frequent_questions/zh/customized_locale_list.md +65 -0
- package/frequent_questions/zh/domain_routing.md +114 -0
- package/frequent_questions/zh/esbuild_error.md +30 -0
- package/frequent_questions/zh/get_locale_cookie.md +162 -0
- package/frequent_questions/zh/intlayer_command_undefined.md +156 -0
- package/frequent_questions/zh/locale_incorect_in_url.md +74 -0
- package/frequent_questions/zh/static_rendering.md +46 -0
- package/frequent_questions/zh/translated_path_url.md +56 -0
- package/frequent_questions/zh/unknown_command.md +98 -0
- package/package.json +38 -28
- package/src/blog.ts +49 -0
- package/src/common.ts +183 -0
- package/src/doc.ts +46 -0
- package/src/frequentQuestions.ts +55 -0
- package/src/generated/blog.entry.ts +767 -0
- package/src/generated/docs.entry.ts +3279 -0
- package/src/generated/frequentQuestions.entry.ts +506 -0
- package/src/generated/legal.entry.ts +96 -0
- package/src/index.ts +4 -0
- package/src/legal.ts +49 -0
- package/ar/CI_CD.md +0 -149
- package/ar/autoFill.md +0 -157
- package/ar/concept/content/file.md +0 -1
- package/ar/configuration.md +0 -492
- package/ar/dictionary/condition.md +0 -213
- package/ar/dictionary/content_extention_customization.md +0 -81
- package/ar/dictionary/enumeration.md +0 -221
- package/ar/dictionary/file.md +0 -209
- package/ar/dictionary/function_fetching.md +0 -190
- package/ar/dictionary/get_started.md +0 -490
- package/ar/dictionary/insertion.md +0 -161
- package/ar/dictionary/markdown.md +0 -343
- package/ar/dictionary/nesting.md +0 -249
- package/ar/dictionary/translation.md +0 -307
- package/ar/header.md +0 -7
- package/ar/how_works_intlayer.md +0 -219
- package/ar/index.md +0 -125
- package/ar/interest_of_intlayer.md +0 -132
- package/ar/intlayer_CMS.md +0 -328
- package/ar/intlayer_cli.md +0 -258
- package/ar/intlayer_visual_editor.md +0 -210
- package/ar/intlayer_with_angular.md +0 -3
- package/ar/intlayer_with_create_react_app.md +0 -1196
- package/ar/intlayer_with_express.md +0 -270
- package/ar/intlayer_with_lynx+react.md +0 -482
- package/ar/intlayer_with_nextjs_14.md +0 -1260
- package/ar/intlayer_with_nextjs_15.md +0 -1311
- package/ar/intlayer_with_nextjs_page_router.md +0 -1099
- package/ar/intlayer_with_react_native+expo.md +0 -539
- package/ar/intlayer_with_vite+preact.md +0 -1679
- package/ar/intlayer_with_vite+react.md +0 -1582
- package/ar/intlayer_with_vite+solid.md +0 -3
- package/ar/intlayer_with_vite+svelte.md +0 -3
- package/ar/intlayer_with_vite+vue.md +0 -989
- package/ar/introduction.md +0 -190
- package/ar/mcp_server.md +0 -150
- package/ar/packages/@intlayer/api/index.md +0 -31
- package/ar/packages/@intlayer/chokidar/index.md +0 -31
- package/ar/packages/@intlayer/cli/index.md +0 -1
- package/ar/packages/@intlayer/config/index.md +0 -116
- package/ar/packages/@intlayer/core/index.md +0 -25
- package/ar/packages/@intlayer/design-system/index.md +0 -21
- package/ar/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ar/packages/@intlayer/editor/index.md +0 -21
- package/ar/packages/@intlayer/editor-react/index.md +0 -21
- package/ar/packages/@intlayer/webpack/index.md +0 -35
- package/ar/packages/angular-intlayer/index.md +0 -3
- package/ar/packages/express-intlayer/index.md +0 -232
- package/ar/packages/express-intlayer/t.md +0 -448
- package/ar/packages/intlayer/getConfiguration.md +0 -120
- package/ar/packages/intlayer/getEnumeration.md +0 -138
- package/ar/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ar/packages/intlayer/getLocaleLang.md +0 -61
- package/ar/packages/intlayer/getLocaleName.md +0 -93
- package/ar/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ar/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ar/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ar/packages/intlayer/getTranslation.md +0 -175
- package/ar/packages/intlayer/getTranslationContent.md +0 -175
- package/ar/packages/intlayer/index.md +0 -254
- package/ar/packages/intlayer-cli/index.md +0 -41
- package/ar/packages/intlayer-editor/index.md +0 -113
- package/ar/packages/lynx-intlayer/index.md +0 -58
- package/ar/packages/next-intlayer/index.md +0 -267
- package/ar/packages/next-intlayer/t.md +0 -341
- package/ar/packages/next-intlayer/useDictionary.md +0 -248
- package/ar/packages/next-intlayer/useIntlayer.md +0 -237
- package/ar/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ar/packages/next-intlayer/useLocale.md +0 -105
- package/ar/packages/preact-intlayer/index.md +0 -3
- package/ar/packages/react-intlayer/index.md +0 -261
- package/ar/packages/react-intlayer/t.md +0 -283
- package/ar/packages/react-intlayer/useDictionary.md +0 -268
- package/ar/packages/react-intlayer/useIntlayer.md +0 -225
- package/ar/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ar/packages/react-intlayer/useLocale.md +0 -184
- package/ar/packages/react-native-intlayer/index.md +0 -57
- package/ar/packages/react-scripts-intlayer/index.md +0 -57
- package/ar/packages/solid-intlayer/index.md +0 -3
- package/ar/packages/svelte-intlayer/index.md +0 -3
- package/ar/packages/vite-intlayer/index.md +0 -53
- package/ar/packages/vue-intlayer/index.md +0 -3
- package/ar/per_locale_file.md +0 -298
- package/ar/privacy_notice.md +0 -61
- package/ar/roadmap.md +0 -208
- package/ar/terms_of_service.md +0 -33
- package/ar/vs_code_extension.md +0 -139
- package/de/CI_CD.md +0 -149
- package/de/angular-intlayer/index.md +0 -3
- package/de/autoFill.md +0 -157
- package/de/configuration.md +0 -501
- package/de/dictionary/condition.md +0 -213
- package/de/dictionary/content_extention_customization.md +0 -81
- package/de/dictionary/enumeration.md +0 -221
- package/de/dictionary/file.md +0 -207
- package/de/dictionary/function_fetching.md +0 -190
- package/de/dictionary/get_started.md +0 -466
- package/de/dictionary/insertion.md +0 -167
- package/de/dictionary/markdown.md +0 -345
- package/de/dictionary/nesting.md +0 -252
- package/de/dictionary/translation.md +0 -287
- package/de/header.md +0 -5
- package/de/how_works_intlayer.md +0 -216
- package/de/index.md +0 -125
- package/de/insertion.md +0 -0
- package/de/interest_of_intlayer.md +0 -132
- package/de/intlayer_CMS.md +0 -334
- package/de/intlayer_cli.md +0 -274
- package/de/intlayer_visual_editor.md +0 -210
- package/de/intlayer_with_angular.md +0 -3
- package/de/intlayer_with_create_react_app.md +0 -1200
- package/de/intlayer_with_express.md +0 -268
- package/de/intlayer_with_lynx+react.md +0 -482
- package/de/intlayer_with_nextjs_14.md +0 -1258
- package/de/intlayer_with_nextjs_15.md +0 -1306
- package/de/intlayer_with_nextjs_page_router.md +0 -1087
- package/de/intlayer_with_react_native+expo.md +0 -539
- package/de/intlayer_with_vite+preact.md +0 -1701
- package/de/intlayer_with_vite+react.md +0 -1584
- package/de/intlayer_with_vite+solid.md +0 -3
- package/de/intlayer_with_vite+svelte.md +0 -3
- package/de/intlayer_with_vite+vue.md +0 -989
- package/de/introduction.md +0 -186
- package/de/mcp_server.md +0 -150
- package/de/packages/@intlayer/api/index.md +0 -31
- package/de/packages/@intlayer/chokidar/index.md +0 -31
- package/de/packages/@intlayer/cli/index.md +0 -21
- package/de/packages/@intlayer/config/index.md +0 -116
- package/de/packages/@intlayer/core/index.md +0 -25
- package/de/packages/@intlayer/design-system/index.md +0 -21
- package/de/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/de/packages/@intlayer/editor/index.md +0 -21
- package/de/packages/@intlayer/editor-react/index.md +0 -21
- package/de/packages/@intlayer/webpack/index.md +0 -35
- package/de/packages/angular-intlayer/index.md +0 -31
- package/de/packages/express-intlayer/index.md +0 -229
- package/de/packages/express-intlayer/t.md +0 -432
- package/de/packages/intlayer/getConfiguration.md +0 -120
- package/de/packages/intlayer/getEnumeration.md +0 -140
- package/de/packages/intlayer/getHTMLTextDir.md +0 -97
- package/de/packages/intlayer/getLocaleLang.md +0 -57
- package/de/packages/intlayer/getLocaleName.md +0 -93
- package/de/packages/intlayer/getLocalizedUrl.md +0 -221
- package/de/packages/intlayer/getMultilingualUrls.md +0 -198
- package/de/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/de/packages/intlayer/getTranslation.md +0 -166
- package/de/packages/intlayer/getTranslationContent.md +0 -166
- package/de/packages/intlayer/index.md +0 -478
- package/de/packages/intlayer-cli/index.md +0 -41
- package/de/packages/intlayer-editor/index.md +0 -113
- package/de/packages/lynx-intlayer/index.md +0 -58
- package/de/packages/next-intlayer/index.md +0 -263
- package/de/packages/next-intlayer/t.md +0 -325
- package/de/packages/next-intlayer/useDictionary.md +0 -242
- package/de/packages/next-intlayer/useIntlayer.md +0 -237
- package/de/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/de/packages/next-intlayer/useLocale.md +0 -105
- package/de/packages/preact-intlayer/index.md +0 -3
- package/de/packages/react-intlayer/index.md +0 -260
- package/de/packages/react-intlayer/t.md +0 -277
- package/de/packages/react-intlayer/useDictionary.md +0 -260
- package/de/packages/react-intlayer/useIntlayer.md +0 -225
- package/de/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/de/packages/react-intlayer/useLocale.md +0 -184
- package/de/packages/react-native-intlayer/index.md +0 -57
- package/de/packages/react-scripts-intlayer/index.md +0 -57
- package/de/packages/solid-intlayer/index.md +0 -3
- package/de/packages/svelte-intlayer/index.md +0 -3
- package/de/packages/vite-intlayer/index.md +0 -53
- package/de/packages/vue-intlayer/index.md +0 -3
- package/de/per_locale_file.md +0 -298
- package/de/privacy_notice.md +0 -61
- package/de/roadmap.md +0 -206
- package/de/terms_of_service.md +0 -33
- package/de/vs_code_extension.md +0 -139
- package/en/CI_CD.md +0 -149
- package/en/autoFill.md +0 -157
- package/en/configuration.md +0 -506
- package/en/dictionary/condition.md +0 -213
- package/en/dictionary/content_extention_customization.md +0 -81
- package/en/dictionary/enumeration.md +0 -221
- package/en/dictionary/file.md +0 -198
- package/en/dictionary/function_fetching.md +0 -190
- package/en/dictionary/get_started.md +0 -504
- package/en/dictionary/insertion.md +0 -167
- package/en/dictionary/markdown.md +0 -355
- package/en/dictionary/nesting.md +0 -249
- package/en/dictionary/translation.md +0 -285
- package/en/frequent_questions/build_dictionaries.md +0 -37
- package/en/frequent_questions/domain_routing.md +0 -92
- package/en/frequent_questions/esbuild_error.md +0 -9
- package/en/frequent_questions/get_locale_cookie.md +0 -121
- package/en/frequent_questions/intlayer_command_undefined.md +0 -135
- package/en/frequent_questions/locale_incorect_in_url.md +0 -52
- package/en/frequent_questions/static_rendering.md +0 -24
- package/en/frequent_questions/unknown_command.md +0 -76
- package/en/header.md +0 -5
- package/en/how_works_intlayer.md +0 -219
- package/en/index.md +0 -139
- package/en/interest_of_intlayer.md +0 -133
- package/en/intlayer_CMS.md +0 -334
- package/en/intlayer_cli.md +0 -309
- package/en/intlayer_visual_editor.md +0 -244
- package/en/intlayer_with_angular.md +0 -139
- package/en/intlayer_with_create_react_app.md +0 -1209
- package/en/intlayer_with_express.md +0 -391
- package/en/intlayer_with_lynx+react.md +0 -483
- package/en/intlayer_with_nextjs_14.md +0 -1298
- package/en/intlayer_with_nextjs_15.md +0 -1347
- package/en/intlayer_with_nextjs_page_router.md +0 -1126
- package/en/intlayer_with_react_native+expo.md +0 -630
- package/en/intlayer_with_vite+preact.md +0 -1659
- package/en/intlayer_with_vite+react.md +0 -1605
- package/en/intlayer_with_vite+solid.md +0 -254
- package/en/intlayer_with_vite+svelte.md +0 -254
- package/en/intlayer_with_vite+vue.md +0 -1000
- package/en/introduction.md +0 -185
- package/en/mcp_server.md +0 -150
- package/en/packages/@intlayer/api/index.md +0 -31
- package/en/packages/@intlayer/chokidar/index.md +0 -31
- package/en/packages/@intlayer/cli/index.md +0 -21
- package/en/packages/@intlayer/config/index.md +0 -116
- package/en/packages/@intlayer/core/index.md +0 -25
- package/en/packages/@intlayer/design-system/index.md +0 -21
- package/en/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en/packages/@intlayer/editor/index.md +0 -21
- package/en/packages/@intlayer/editor-react/index.md +0 -21
- package/en/packages/@intlayer/webpack/index.md +0 -35
- package/en/packages/angular-intlayer/index.md +0 -31
- package/en/packages/express-intlayer/index.md +0 -229
- package/en/packages/express-intlayer/t.md +0 -432
- package/en/packages/intlayer/getConfiguration.md +0 -120
- package/en/packages/intlayer/getEnumeration.md +0 -138
- package/en/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en/packages/intlayer/getLocaleLang.md +0 -57
- package/en/packages/intlayer/getLocaleName.md +0 -93
- package/en/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en/packages/intlayer/getTranslation.md +0 -166
- package/en/packages/intlayer/getTranslationContent.md +0 -166
- package/en/packages/intlayer/index.md +0 -476
- package/en/packages/intlayer-cli/index.md +0 -41
- package/en/packages/intlayer-editor/index.md +0 -113
- package/en/packages/lynx-intlayer/index.md +0 -60
- package/en/packages/next-intlayer/index.md +0 -263
- package/en/packages/next-intlayer/t.md +0 -326
- package/en/packages/next-intlayer/useDictionary.md +0 -242
- package/en/packages/next-intlayer/useIntlayer.md +0 -237
- package/en/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en/packages/next-intlayer/useLocale.md +0 -105
- package/en/packages/preact-intlayer/index.md +0 -31
- package/en/packages/react-intlayer/index.md +0 -257
- package/en/packages/react-intlayer/t.md +0 -277
- package/en/packages/react-intlayer/useDictionary.md +0 -260
- package/en/packages/react-intlayer/useIntlayer.md +0 -225
- package/en/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en/packages/react-intlayer/useLocale.md +0 -184
- package/en/packages/react-native-intlayer/index.md +0 -59
- package/en/packages/react-scripts-intlayer/index.md +0 -57
- package/en/packages/solid-intlayer/index.md +0 -31
- package/en/packages/svelte-intlayer/index.md +0 -31
- package/en/packages/vite-intlayer/index.md +0 -53
- package/en/packages/vue-intlayer/index.md +0 -31
- package/en/per_locale_file.md +0 -297
- package/en/privacy_notice.md +0 -61
- package/en/roadmap.md +0 -270
- package/en/t.md +0 -163
- package/en/terms_of_service.md +0 -33
- package/en/vs_code_extension.md +0 -129
- package/en-GB/CI_CD.md +0 -149
- package/en-GB/autoFill.md +0 -0
- package/en-GB/configuration.md +0 -490
- package/en-GB/dictionary/condition.md +0 -213
- package/en-GB/dictionary/content_extention_customization.md +0 -83
- package/en-GB/dictionary/enumeration.md +0 -221
- package/en-GB/dictionary/file.md +0 -201
- package/en-GB/dictionary/function_fetching.md +0 -190
- package/en-GB/dictionary/get_started.md +0 -466
- package/en-GB/dictionary/insertion.md +0 -167
- package/en-GB/dictionary/markdown.md +0 -343
- package/en-GB/dictionary/nesting.md +0 -249
- package/en-GB/dictionary/translation.md +0 -285
- package/en-GB/header.md +0 -1
- package/en-GB/how_works_intlayer.md +0 -217
- package/en-GB/index.md +0 -142
- package/en-GB/interest_of_intlayer.md +0 -123
- package/en-GB/intlayer_CMS.md +0 -334
- package/en-GB/intlayer_cli.md +0 -239
- package/en-GB/intlayer_visual_editor.md +0 -210
- package/en-GB/intlayer_with_angular.md +0 -3
- package/en-GB/intlayer_with_create_react_app.md +0 -1192
- package/en-GB/intlayer_with_express.md +0 -267
- package/en-GB/intlayer_with_lynx+react.md +0 -484
- package/en-GB/intlayer_with_nextjs_14.md +0 -1267
- package/en-GB/intlayer_with_nextjs_15.md +0 -1308
- package/en-GB/intlayer_with_nextjs_page_router.md +0 -1087
- package/en-GB/intlayer_with_react_native+expo.md +0 -539
- package/en-GB/intlayer_with_vite+preact.md +0 -1648
- package/en-GB/intlayer_with_vite+react.md +0 -1430
- package/en-GB/intlayer_with_vite+solid.md +0 -3
- package/en-GB/intlayer_with_vite+svelte.md +0 -3
- package/en-GB/intlayer_with_vite+vue.md +0 -993
- package/en-GB/introduction.md +0 -201
- package/en-GB/mcp_server.md +0 -150
- package/en-GB/packages/@intlayer/api/index.md +0 -31
- package/en-GB/packages/@intlayer/chokidar/index.md +0 -31
- package/en-GB/packages/@intlayer/cli/index.md +0 -21
- package/en-GB/packages/@intlayer/config/index.md +0 -116
- package/en-GB/packages/@intlayer/core/index.md +0 -25
- package/en-GB/packages/@intlayer/design-system/index.md +0 -21
- package/en-GB/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/en-GB/packages/@intlayer/editor/index.md +0 -21
- package/en-GB/packages/@intlayer/editor-react/index.md +0 -21
- package/en-GB/packages/@intlayer/webpack/index.md +0 -35
- package/en-GB/packages/angular-intlayer/index.md +0 -3
- package/en-GB/packages/express-intlayer/index.md +0 -229
- package/en-GB/packages/express-intlayer/t.md +0 -432
- package/en-GB/packages/intlayer/getConfiguration.md +0 -120
- package/en-GB/packages/intlayer/getEnumeration.md +0 -140
- package/en-GB/packages/intlayer/getHTMLTextDir.md +0 -97
- package/en-GB/packages/intlayer/getLocaleLang.md +0 -57
- package/en-GB/packages/intlayer/getLocaleName.md +0 -93
- package/en-GB/packages/intlayer/getLocalizedUrl.md +0 -221
- package/en-GB/packages/intlayer/getMultilingualUrls.md +0 -198
- package/en-GB/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/en-GB/packages/intlayer/getTranslation.md +0 -166
- package/en-GB/packages/intlayer/getTranslationContent.md +0 -166
- package/en-GB/packages/intlayer/index.md +0 -476
- package/en-GB/packages/intlayer-cli/index.md +0 -41
- package/en-GB/packages/intlayer-editor/index.md +0 -113
- package/en-GB/packages/lynx-intlayer/index.md +0 -58
- package/en-GB/packages/next-intlayer/index.md +0 -263
- package/en-GB/packages/next-intlayer/t.md +0 -326
- package/en-GB/packages/next-intlayer/useDictionary.md +0 -242
- package/en-GB/packages/next-intlayer/useIntlayer.md +0 -237
- package/en-GB/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/en-GB/packages/next-intlayer/useLocale.md +0 -105
- package/en-GB/packages/preact-intlayer/index.md +0 -3
- package/en-GB/packages/react-intlayer/index.md +0 -257
- package/en-GB/packages/react-intlayer/t.md +0 -277
- package/en-GB/packages/react-intlayer/useDictionary.md +0 -260
- package/en-GB/packages/react-intlayer/useIntlayer.md +0 -225
- package/en-GB/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/en-GB/packages/react-intlayer/useLocale.md +0 -184
- package/en-GB/packages/react-native-intlayer/index.md +0 -57
- package/en-GB/packages/react-scripts-intlayer/index.md +0 -57
- package/en-GB/packages/solid-intlayer/index.md +0 -3
- package/en-GB/packages/svelte-intlayer/index.md +0 -3
- package/en-GB/packages/vite-intlayer/index.md +0 -53
- package/en-GB/packages/vue-intlayer/index.md +0 -3
- package/en-GB/per_locale_file.md +0 -298
- package/en-GB/privacy_notice.md +0 -57
- package/en-GB/roadmap.md +0 -206
- package/en-GB/terms_of_service.md +0 -33
- package/en-GB/vs_code_extension.md +0 -139
- package/es/CI_CD.md +0 -149
- package/es/autoFill.md +0 -157
- package/es/configuration.md +0 -503
- package/es/dictionary/condition.md +0 -213
- package/es/dictionary/content_extention_customization.md +0 -81
- package/es/dictionary/enumeration.md +0 -221
- package/es/dictionary/file.md +0 -206
- package/es/dictionary/function_fetching.md +0 -190
- package/es/dictionary/get_started.md +0 -466
- package/es/dictionary/insertion.md +0 -161
- package/es/dictionary/markdown.md +0 -338
- package/es/dictionary/nesting.md +0 -249
- package/es/dictionary/translation.md +0 -287
- package/es/header.md +0 -5
- package/es/how_works_intlayer.md +0 -217
- package/es/index.md +0 -122
- package/es/interest_of_intlayer.md +0 -132
- package/es/intlayer_CMS.md +0 -334
- package/es/intlayer_cli.md +0 -274
- package/es/intlayer_visual_editor.md +0 -210
- package/es/intlayer_with_angular.md +0 -3
- package/es/intlayer_with_create_react_app.md +0 -1192
- package/es/intlayer_with_express.md +0 -276
- package/es/intlayer_with_lynx+react.md +0 -475
- package/es/intlayer_with_nextjs_14.md +0 -1258
- package/es/intlayer_with_nextjs_15.md +0 -1308
- package/es/intlayer_with_nextjs_page_router.md +0 -1088
- package/es/intlayer_with_react_native+expo.md +0 -180
- package/es/intlayer_with_vite+preact.md +0 -1637
- package/es/intlayer_with_vite+react.md +0 -1592
- package/es/intlayer_with_vite+solid.md +0 -3
- package/es/intlayer_with_vite+svelte.md +0 -3
- package/es/intlayer_with_vite+vue.md +0 -947
- package/es/introduction.md +0 -184
- package/es/mcp_server.md +0 -150
- package/es/packages/@intlayer/api/index.md +0 -31
- package/es/packages/@intlayer/chokidar/index.md +0 -31
- package/es/packages/@intlayer/cli/index.md +0 -21
- package/es/packages/@intlayer/config/index.md +0 -116
- package/es/packages/@intlayer/core/index.md +0 -25
- package/es/packages/@intlayer/design-system/index.md +0 -21
- package/es/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/es/packages/@intlayer/editor/index.md +0 -21
- package/es/packages/@intlayer/editor-react/index.md +0 -21
- package/es/packages/@intlayer/webpack/index.md +0 -35
- package/es/packages/angular-intlayer/index.md +0 -3
- package/es/packages/express-intlayer/index.md +0 -229
- package/es/packages/express-intlayer/t.md +0 -432
- package/es/packages/intlayer/getConfiguration.md +0 -120
- package/es/packages/intlayer/getEnumeration.md +0 -138
- package/es/packages/intlayer/getHTMLTextDir.md +0 -97
- package/es/packages/intlayer/getLocaleLang.md +0 -57
- package/es/packages/intlayer/getLocaleName.md +0 -93
- package/es/packages/intlayer/getLocalizedUrl.md +0 -221
- package/es/packages/intlayer/getMultilingualUrls.md +0 -198
- package/es/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/es/packages/intlayer/getTranslation.md +0 -166
- package/es/packages/intlayer/getTranslationContent.md +0 -166
- package/es/packages/intlayer/index.md +0 -478
- package/es/packages/intlayer-cli/index.md +0 -41
- package/es/packages/intlayer-editor/index.md +0 -115
- package/es/packages/lynx-intlayer/index.md +0 -58
- package/es/packages/next-intlayer/index.md +0 -263
- package/es/packages/next-intlayer/t.md +0 -325
- package/es/packages/next-intlayer/useDictionary.md +0 -242
- package/es/packages/next-intlayer/useIntlayer.md +0 -237
- package/es/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/es/packages/next-intlayer/useLocale.md +0 -105
- package/es/packages/preact-intlayer/index.md +0 -3
- package/es/packages/react-intlayer/index.md +0 -263
- package/es/packages/react-intlayer/t.md +0 -277
- package/es/packages/react-intlayer/useDictionary.md +0 -270
- package/es/packages/react-intlayer/useIntlayer.md +0 -225
- package/es/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/es/packages/react-intlayer/useLocale.md +0 -184
- package/es/packages/react-native-intlayer/index.md +0 -57
- package/es/packages/react-scripts-intlayer/index.md +0 -57
- package/es/packages/solid-intlayer/index.md +0 -3
- package/es/packages/svelte-intlayer/index.md +0 -5
- package/es/packages/vite-intlayer/index.md +0 -53
- package/es/packages/vue-intlayer/index.md +0 -3
- package/es/per_locale_file.md +0 -293
- package/es/privacy_notice.md +0 -61
- package/es/roadmap.md +0 -157
- package/es/terms_of_service.md +0 -33
- package/es/vs_code_extension.md +0 -139
- package/fr/CI_CD.md +0 -149
- package/fr/autoFill.md +0 -157
- package/fr/configuration.md +0 -481
- package/fr/dictionary/condition.md +0 -213
- package/fr/dictionary/content_extention_customization.md +0 -81
- package/fr/dictionary/enumeration.md +0 -221
- package/fr/dictionary/file.md +0 -206
- package/fr/dictionary/function_fetching.md +0 -190
- package/fr/dictionary/get_started.md +0 -466
- package/fr/dictionary/insertion.md +0 -161
- package/fr/dictionary/markdown.md +0 -335
- package/fr/dictionary/nesting.md +0 -249
- package/fr/dictionary/translation.md +0 -287
- package/fr/header.md +0 -5
- package/fr/how_works_intlayer.md +0 -217
- package/fr/index.md +0 -122
- package/fr/interest_of_intlayer.md +0 -132
- package/fr/intlayer_CMS.md +0 -334
- package/fr/intlayer_cli.md +0 -274
- package/fr/intlayer_visual_editor.md +0 -210
- package/fr/intlayer_with_angular.md +0 -3
- package/fr/intlayer_with_create_react_app.md +0 -1192
- package/fr/intlayer_with_express.md +0 -270
- package/fr/intlayer_with_lynx+react.md +0 -466
- package/fr/intlayer_with_nextjs_14.md +0 -1258
- package/fr/intlayer_with_nextjs_15.md +0 -1308
- package/fr/intlayer_with_nextjs_page_router.md +0 -1085
- package/fr/intlayer_with_react_native+expo.md +0 -535
- package/fr/intlayer_with_vite+preact.md +0 -1621
- package/fr/intlayer_with_vite+react.md +0 -1589
- package/fr/intlayer_with_vite+solid.md +0 -3
- package/fr/intlayer_with_vite+svelte.md +0 -3
- package/fr/intlayer_with_vite+vue.md +0 -947
- package/fr/introduction.md +0 -190
- package/fr/mcp_server.md +0 -152
- package/fr/packages/@intlayer/api/index.md +0 -31
- package/fr/packages/@intlayer/chokidar/index.md +0 -31
- package/fr/packages/@intlayer/cli/index.md +0 -21
- package/fr/packages/@intlayer/config/index.md +0 -116
- package/fr/packages/@intlayer/core/index.md +0 -25
- package/fr/packages/@intlayer/design-system/index.md +0 -21
- package/fr/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/fr/packages/@intlayer/editor/index.md +0 -21
- package/fr/packages/@intlayer/editor-react/index.md +0 -21
- package/fr/packages/@intlayer/webpack/index.md +0 -35
- package/fr/packages/angular-intlayer/index.md +0 -3
- package/fr/packages/express-intlayer/index.md +0 -238
- package/fr/packages/express-intlayer/t.md +0 -432
- package/fr/packages/intlayer/getConfiguration.md +0 -120
- package/fr/packages/intlayer/getEnumeration.md +0 -138
- package/fr/packages/intlayer/getHTMLTextDir.md +0 -97
- package/fr/packages/intlayer/getLocaleLang.md +0 -57
- package/fr/packages/intlayer/getLocaleName.md +0 -93
- package/fr/packages/intlayer/getLocalizedUrl.md +0 -221
- package/fr/packages/intlayer/getMultilingualUrls.md +0 -198
- package/fr/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/fr/packages/intlayer/getTranslation.md +0 -166
- package/fr/packages/intlayer/getTranslationContent.md +0 -166
- package/fr/packages/intlayer/index.md +0 -476
- package/fr/packages/intlayer-cli/index.md +0 -41
- package/fr/packages/intlayer-editor/index.md +0 -115
- package/fr/packages/lynx-intlayer/index.md +0 -58
- package/fr/packages/next-intlayer/index.md +0 -266
- package/fr/packages/next-intlayer/t.md +0 -325
- package/fr/packages/next-intlayer/useDictionary.md +0 -242
- package/fr/packages/next-intlayer/useIntlayer.md +0 -237
- package/fr/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/fr/packages/next-intlayer/useLocale.md +0 -105
- package/fr/packages/preact-intlayer/index.md +0 -3
- package/fr/packages/react-intlayer/index.md +0 -257
- package/fr/packages/react-intlayer/t.md +0 -277
- package/fr/packages/react-intlayer/useDictionary.md +0 -269
- package/fr/packages/react-intlayer/useIntlayer.md +0 -234
- package/fr/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/fr/packages/react-intlayer/useLocale.md +0 -184
- package/fr/packages/react-native-intlayer/index.md +0 -57
- package/fr/packages/react-scripts-intlayer/index.md +0 -57
- package/fr/packages/solid-intlayer/index.md +0 -3
- package/fr/packages/svelte-intlayer/index.md +0 -3
- package/fr/packages/vite-intlayer/index.md +0 -53
- package/fr/packages/vue-intlayer/index.md +0 -3
- package/fr/per_locale_file.md +0 -297
- package/fr/privacy_notice.md +0 -57
- package/fr/roadmap.md +0 -206
- package/fr/terms_of_service.md +0 -33
- package/fr/vs_code_extension.md +0 -139
- package/hi/CI_CD.md +0 -149
- package/hi/autoFill.md +0 -157
- package/hi/configuration.md +0 -509
- package/hi/dictionary/condition.md +0 -213
- package/hi/dictionary/content_extention_customization.md +0 -81
- package/hi/dictionary/enumeration.md +0 -221
- package/hi/dictionary/file.md +0 -209
- package/hi/dictionary/function_fetching.md +0 -188
- package/hi/dictionary/get_started.md +0 -490
- package/hi/dictionary/insertion.md +0 -167
- package/hi/dictionary/markdown.md +0 -344
- package/hi/dictionary/nesting.md +0 -249
- package/hi/dictionary/translation.md +0 -307
- package/hi/header.md +0 -7
- package/hi/how_works_intlayer.md +0 -217
- package/hi/index.md +0 -125
- package/hi/interest_of_intlayer.md +0 -132
- package/hi/intlayer_CMS.md +0 -334
- package/hi/intlayer_cli.md +0 -274
- package/hi/intlayer_visual_editor.md +0 -210
- package/hi/intlayer_with_angular.md +0 -3
- package/hi/intlayer_with_create_react_app.md +0 -1395
- package/hi/intlayer_with_express.md +0 -273
- package/hi/intlayer_with_lynx+react.md +0 -456
- package/hi/intlayer_with_nextjs_14.md +0 -1283
- package/hi/intlayer_with_nextjs_15.md +0 -1319
- package/hi/intlayer_with_nextjs_page_router.md +0 -1097
- package/hi/intlayer_with_react_native+expo.md +0 -554
- package/hi/intlayer_with_vite+preact.md +0 -1538
- package/hi/intlayer_with_vite+react.md +0 -1540
- package/hi/intlayer_with_vite+solid.md +0 -3
- package/hi/intlayer_with_vite+svelte.md +0 -3
- package/hi/intlayer_with_vite+vue.md +0 -840
- package/hi/introduction.md +0 -190
- package/hi/mcp_server.md +0 -150
- package/hi/packages/@intlayer/api/index.md +0 -31
- package/hi/packages/@intlayer/chokidar/index.md +0 -31
- package/hi/packages/@intlayer/cli/index.md +0 -21
- package/hi/packages/@intlayer/config/index.md +0 -116
- package/hi/packages/@intlayer/core/index.md +0 -25
- package/hi/packages/@intlayer/design-system/index.md +0 -21
- package/hi/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/hi/packages/@intlayer/editor/index.md +0 -21
- package/hi/packages/@intlayer/editor-react/index.md +0 -21
- package/hi/packages/@intlayer/webpack/index.md +0 -35
- package/hi/packages/angular-intlayer/index.md +0 -3
- package/hi/packages/express-intlayer/index.md +0 -232
- package/hi/packages/express-intlayer/t.md +0 -445
- package/hi/packages/intlayer/getConfiguration.md +0 -120
- package/hi/packages/intlayer/getEnumeration.md +0 -138
- package/hi/packages/intlayer/getHTMLTextDir.md +0 -97
- package/hi/packages/intlayer/getLocaleLang.md +0 -57
- package/hi/packages/intlayer/getLocaleName.md +0 -93
- package/hi/packages/intlayer/getLocalizedUrl.md +0 -221
- package/hi/packages/intlayer/getMultilingualUrls.md +0 -198
- package/hi/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/hi/packages/intlayer/getTranslation.md +0 -175
- package/hi/packages/intlayer/getTranslationContent.md +0 -175
- package/hi/packages/intlayer/index.md +0 -314
- package/hi/packages/intlayer-cli/index.md +0 -41
- package/hi/packages/intlayer-editor/index.md +0 -113
- package/hi/packages/lynx-intlayer/index.md +0 -58
- package/hi/packages/next-intlayer/index.md +0 -270
- package/hi/packages/next-intlayer/t.md +0 -337
- package/hi/packages/next-intlayer/useDictionary.md +0 -248
- package/hi/packages/next-intlayer/useIntlayer.md +0 -237
- package/hi/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/hi/packages/next-intlayer/useLocale.md +0 -105
- package/hi/packages/preact-intlayer/index.md +0 -3
- package/hi/packages/react-intlayer/index.md +0 -261
- package/hi/packages/react-intlayer/t.md +0 -283
- package/hi/packages/react-intlayer/useDictionary.md +0 -268
- package/hi/packages/react-intlayer/useIntlayer.md +0 -225
- package/hi/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/hi/packages/react-intlayer/useLocale.md +0 -184
- package/hi/packages/react-native-intlayer/index.md +0 -57
- package/hi/packages/react-scripts-intlayer/index.md +0 -57
- package/hi/packages/solid-intlayer/index.md +0 -3
- package/hi/packages/svelte-intlayer/index.md +0 -3
- package/hi/packages/vite-intlayer/index.md +0 -53
- package/hi/packages/vue-intlayer/index.md +0 -3
- package/hi/per_locale_file.md +0 -298
- package/hi/privacy_notice.md +0 -61
- package/hi/roadmap.md +0 -206
- package/hi/terms_of_service.md +0 -33
- package/hi/vs_code_extension.md +0 -139
- package/index.cjs +0 -1265
- package/index.d.ts +0 -100
- package/it/CI_CD.md +0 -149
- package/it/autoFill.md +0 -157
- package/it/configuration.md +0 -503
- package/it/dictionary/condition.md +0 -213
- package/it/dictionary/content_extention_customization.md +0 -81
- package/it/dictionary/enumeration.md +0 -221
- package/it/dictionary/file.md +0 -207
- package/it/dictionary/function_fetching.md +0 -190
- package/it/dictionary/get_started.md +0 -466
- package/it/dictionary/insertion.md +0 -161
- package/it/dictionary/markdown.md +0 -343
- package/it/dictionary/nesting.md +0 -249
- package/it/dictionary/translation.md +0 -287
- package/it/header.md +0 -7
- package/it/how_works_intlayer.md +0 -217
- package/it/index.md +0 -125
- package/it/interest_of_intlayer.md +0 -132
- package/it/intlayer_CMS.md +0 -334
- package/it/intlayer_cli.md +0 -274
- package/it/intlayer_visual_editor.md +0 -210
- package/it/intlayer_with_angular.md +0 -3
- package/it/intlayer_with_create_react_app.md +0 -413
- package/it/intlayer_with_express.md +0 -267
- package/it/intlayer_with_lynx+react.md +0 -482
- package/it/intlayer_with_nextjs_14.md +0 -1269
- package/it/intlayer_with_nextjs_15.md +0 -1319
- package/it/intlayer_with_nextjs_page_router.md +0 -1095
- package/it/intlayer_with_react_native+expo.md +0 -261
- package/it/intlayer_with_vite+preact.md +0 -1681
- package/it/intlayer_with_vite+react.md +0 -1580
- package/it/intlayer_with_vite+solid.md +0 -3
- package/it/intlayer_with_vite+svelte.md +0 -3
- package/it/intlayer_with_vite+vue.md +0 -989
- package/it/introduction.md +0 -192
- package/it/mcp_server.md +0 -152
- package/it/packages/@intlayer/api/index.md +0 -31
- package/it/packages/@intlayer/chokidar/index.md +0 -31
- package/it/packages/@intlayer/cli/index.md +0 -21
- package/it/packages/@intlayer/config/index.md +0 -116
- package/it/packages/@intlayer/core/index.md +0 -25
- package/it/packages/@intlayer/design-system/index.md +0 -21
- package/it/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/it/packages/@intlayer/editor/index.md +0 -21
- package/it/packages/@intlayer/editor-react/index.md +0 -21
- package/it/packages/@intlayer/webpack/index.md +0 -35
- package/it/packages/angular-intlayer/index.md +0 -3
- package/it/packages/express-intlayer/index.md +0 -229
- package/it/packages/express-intlayer/t.md +0 -432
- package/it/packages/intlayer/getConfiguration.md +0 -120
- package/it/packages/intlayer/getEnumeration.md +0 -138
- package/it/packages/intlayer/getHTMLTextDir.md +0 -97
- package/it/packages/intlayer/getLocaleLang.md +0 -57
- package/it/packages/intlayer/getLocaleName.md +0 -93
- package/it/packages/intlayer/getLocalizedUrl.md +0 -221
- package/it/packages/intlayer/getMultilingualUrls.md +0 -200
- package/it/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/it/packages/intlayer/getTranslation.md +0 -166
- package/it/packages/intlayer/getTranslationContent.md +0 -166
- package/it/packages/intlayer/index.md +0 -479
- package/it/packages/intlayer-cli/index.md +0 -41
- package/it/packages/intlayer-editor/index.md +0 -113
- package/it/packages/lynx-intlayer/index.md +0 -58
- package/it/packages/next-intlayer/index.md +0 -267
- package/it/packages/next-intlayer/t.md +0 -326
- package/it/packages/next-intlayer/useDictionary.md +0 -242
- package/it/packages/next-intlayer/useIntlayer.md +0 -237
- package/it/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/it/packages/next-intlayer/useLocale.md +0 -105
- package/it/packages/preact-intlayer/index.md +0 -3
- package/it/packages/react-intlayer/index.md +0 -260
- package/it/packages/react-intlayer/t.md +0 -277
- package/it/packages/react-intlayer/useDictionary.md +0 -260
- package/it/packages/react-intlayer/useIntlayer.md +0 -225
- package/it/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/it/packages/react-intlayer/useLocale.md +0 -184
- package/it/packages/react-native-intlayer/index.md +0 -57
- package/it/packages/react-scripts-intlayer/index.md +0 -57
- package/it/packages/solid-intlayer/index.md +0 -5
- package/it/packages/svelte-intlayer/index.md +0 -3
- package/it/packages/vite-intlayer/index.md +0 -53
- package/it/packages/vue-intlayer/index.md +0 -5
- package/it/per_locale_file.md +0 -298
- package/it/privacy_notice.md +0 -61
- package/it/roadmap.md +0 -206
- package/it/terms_of_service.md +0 -33
- package/it/vs_code_extension.md +0 -139
- package/ja/CI_CD.md +0 -149
- package/ja/autoFill.md +0 -157
- package/ja/configuration.md +0 -507
- package/ja/dictionary/condition.md +0 -213
- package/ja/dictionary/content_extention_customization.md +0 -81
- package/ja/dictionary/enumeration.md +0 -221
- package/ja/dictionary/file.md +0 -209
- package/ja/dictionary/function_fetching.md +0 -190
- package/ja/dictionary/get_started.md +0 -466
- package/ja/dictionary/insertion.md +0 -161
- package/ja/dictionary/markdown.md +0 -343
- package/ja/dictionary/nesting.md +0 -249
- package/ja/dictionary/translation.md +0 -287
- package/ja/header.md +0 -7
- package/ja/how_works_intlayer.md +0 -217
- package/ja/index.md +0 -125
- package/ja/interest_of_intlayer.md +0 -132
- package/ja/intlayer_CMS.md +0 -334
- package/ja/intlayer_cli.md +0 -274
- package/ja/intlayer_visual_editor.md +0 -213
- package/ja/intlayer_with_angular.md +0 -3
- package/ja/intlayer_with_create_react_app.md +0 -1186
- package/ja/intlayer_with_express.md +0 -267
- package/ja/intlayer_with_lynx+react.md +0 -482
- package/ja/intlayer_with_nextjs_14.md +0 -1256
- package/ja/intlayer_with_nextjs_15.md +0 -1308
- package/ja/intlayer_with_nextjs_page_router.md +0 -1085
- package/ja/intlayer_with_react_native+expo.md +0 -537
- package/ja/intlayer_with_vite+preact.md +0 -1601
- package/ja/intlayer_with_vite+react.md +0 -1555
- package/ja/intlayer_with_vite+solid.md +0 -3
- package/ja/intlayer_with_vite+svelte.md +0 -3
- package/ja/intlayer_with_vite+vue.md +0 -990
- package/ja/introduction.md +0 -186
- package/ja/mcp_server.md +0 -150
- package/ja/packages/@intlayer/api/index.md +0 -31
- package/ja/packages/@intlayer/chokidar/index.md +0 -31
- package/ja/packages/@intlayer/cli/index.md +0 -21
- package/ja/packages/@intlayer/config/index.md +0 -116
- package/ja/packages/@intlayer/core/index.md +0 -25
- package/ja/packages/@intlayer/design-system/index.md +0 -21
- package/ja/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ja/packages/@intlayer/editor/index.md +0 -21
- package/ja/packages/@intlayer/editor-react/index.md +0 -21
- package/ja/packages/@intlayer/webpack/index.md +0 -35
- package/ja/packages/angular-intlayer/index.md +0 -3
- package/ja/packages/express-intlayer/index.md +0 -229
- package/ja/packages/express-intlayer/t.md +0 -432
- package/ja/packages/intlayer/getConfiguration.md +0 -120
- package/ja/packages/intlayer/getEnumeration.md +0 -140
- package/ja/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ja/packages/intlayer/getLocaleLang.md +0 -59
- package/ja/packages/intlayer/getLocaleName.md +0 -93
- package/ja/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ja/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ja/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ja/packages/intlayer/getTranslation.md +0 -166
- package/ja/packages/intlayer/getTranslationContent.md +0 -166
- package/ja/packages/intlayer/index.md +0 -479
- package/ja/packages/intlayer-cli/index.md +0 -41
- package/ja/packages/intlayer-editor/index.md +0 -115
- package/ja/packages/lynx-intlayer/index.md +0 -58
- package/ja/packages/next-intlayer/index.md +0 -263
- package/ja/packages/next-intlayer/t.md +0 -326
- package/ja/packages/next-intlayer/useDictionary.md +0 -242
- package/ja/packages/next-intlayer/useIntlayer.md +0 -237
- package/ja/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ja/packages/next-intlayer/useLocale.md +0 -105
- package/ja/packages/preact-intlayer/index.md +0 -3
- package/ja/packages/react-intlayer/index.md +0 -257
- package/ja/packages/react-intlayer/t.md +0 -277
- package/ja/packages/react-intlayer/useDictionary.md +0 -260
- package/ja/packages/react-intlayer/useIntlayer.md +0 -225
- package/ja/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ja/packages/react-intlayer/useLocale.md +0 -184
- package/ja/packages/react-native-intlayer/index.md +0 -57
- package/ja/packages/react-scripts-intlayer/index.md +0 -57
- package/ja/packages/solid-intlayer/index.md +0 -3
- package/ja/packages/svelte-intlayer/index.md +0 -3
- package/ja/packages/vite-intlayer/index.md +0 -53
- package/ja/packages/vue-intlayer/index.md +0 -3
- package/ja/per_locale_file.md +0 -298
- package/ja/privacy_notice.md +0 -57
- package/ja/roadmap.md +0 -206
- package/ja/terms_of_service.md +0 -33
- package/ja/vs_code_extension.md +0 -139
- package/ko/CI_CD.md +0 -149
- package/ko/autoFill.md +0 -157
- package/ko/configuration.md +0 -507
- package/ko/dictionary/condition.md +0 -213
- package/ko/dictionary/content_extention_customization.md +0 -81
- package/ko/dictionary/enumeration.md +0 -221
- package/ko/dictionary/file.md +0 -207
- package/ko/dictionary/function_fetching.md +0 -190
- package/ko/dictionary/get_started.md +0 -466
- package/ko/dictionary/insertion.md +0 -167
- package/ko/dictionary/markdown.md +0 -343
- package/ko/dictionary/nesting.md +0 -249
- package/ko/dictionary/translation.md +0 -287
- package/ko/header.md +0 -7
- package/ko/how_works_intlayer.md +0 -216
- package/ko/index.md +0 -125
- package/ko/interest_of_intlayer.md +0 -132
- package/ko/intlayer_CMS.md +0 -334
- package/ko/intlayer_cli.md +0 -274
- package/ko/intlayer_visual_editor.md +0 -210
- package/ko/intlayer_with_angular.md +0 -3
- package/ko/intlayer_with_create_react_app.md +0 -1186
- package/ko/intlayer_with_express.md +0 -267
- package/ko/intlayer_with_lynx+react.md +0 -482
- package/ko/intlayer_with_nextjs_14.md +0 -1267
- package/ko/intlayer_with_nextjs_15.md +0 -1319
- package/ko/intlayer_with_nextjs_page_router.md +0 -1097
- package/ko/intlayer_with_react_native+expo.md +0 -537
- package/ko/intlayer_with_vite+preact.md +0 -1682
- package/ko/intlayer_with_vite+react.md +0 -1582
- package/ko/intlayer_with_vite+solid.md +0 -3
- package/ko/intlayer_with_vite+svelte.md +0 -3
- package/ko/intlayer_with_vite+vue.md +0 -988
- package/ko/introduction.md +0 -186
- package/ko/mcp_server.md +0 -150
- package/ko/packages/@intlayer/api/index.md +0 -31
- package/ko/packages/@intlayer/chokidar/index.md +0 -31
- package/ko/packages/@intlayer/cli/index.md +0 -21
- package/ko/packages/@intlayer/config/index.md +0 -116
- package/ko/packages/@intlayer/core/index.md +0 -25
- package/ko/packages/@intlayer/design-system/index.md +0 -21
- package/ko/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ko/packages/@intlayer/editor/index.md +0 -21
- package/ko/packages/@intlayer/editor-react/index.md +0 -21
- package/ko/packages/@intlayer/webpack/index.md +0 -35
- package/ko/packages/angular-intlayer/index.md +0 -5
- package/ko/packages/express-intlayer/index.md +0 -229
- package/ko/packages/express-intlayer/t.md +0 -432
- package/ko/packages/intlayer/getConfiguration.md +0 -120
- package/ko/packages/intlayer/getEnumeration.md +0 -138
- package/ko/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ko/packages/intlayer/getLocaleLang.md +0 -57
- package/ko/packages/intlayer/getLocaleName.md +0 -93
- package/ko/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ko/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ko/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ko/packages/intlayer/getTranslation.md +0 -166
- package/ko/packages/intlayer/getTranslationContent.md +0 -166
- package/ko/packages/intlayer/index.md +0 -480
- package/ko/packages/intlayer-cli/index.md +0 -41
- package/ko/packages/intlayer-editor/index.md +0 -113
- package/ko/packages/lynx-intlayer/index.md +0 -58
- package/ko/packages/next-intlayer/index.md +0 -267
- package/ko/packages/next-intlayer/t.md +0 -337
- package/ko/packages/next-intlayer/useDictionary.md +0 -242
- package/ko/packages/next-intlayer/useIntlayer.md +0 -237
- package/ko/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ko/packages/next-intlayer/useLocale.md +0 -105
- package/ko/packages/preact-intlayer/index.md +0 -3
- package/ko/packages/react-intlayer/index.md +0 -260
- package/ko/packages/react-intlayer/t.md +0 -277
- package/ko/packages/react-intlayer/useDictionary.md +0 -268
- package/ko/packages/react-intlayer/useIntlayer.md +0 -225
- package/ko/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ko/packages/react-intlayer/useLocale.md +0 -184
- package/ko/packages/react-native-intlayer/index.md +0 -57
- package/ko/packages/react-scripts-intlayer/index.md +0 -57
- package/ko/packages/solid-intlayer/index.md +0 -3
- package/ko/packages/svelte-intlayer/index.md +0 -3
- package/ko/packages/vite-intlayer/index.md +0 -53
- package/ko/packages/vue-intlayer/index.md +0 -3
- package/ko/per_locale_file.md +0 -300
- package/ko/privacy_notice.md +0 -61
- package/ko/roadmap.md +0 -206
- package/ko/terms_of_service.md +0 -33
- package/ko/vs_code_extension.md +0 -139
- package/pt/CI_CD.md +0 -149
- package/pt/autoFill.md +0 -157
- package/pt/configuration.md +0 -503
- package/pt/dictionary/condition.md +0 -213
- package/pt/dictionary/content_extention_customization.md +0 -81
- package/pt/dictionary/enumeration.md +0 -221
- package/pt/dictionary/file.md +0 -210
- package/pt/dictionary/function_fetching.md +0 -190
- package/pt/dictionary/get_started.md +0 -490
- package/pt/dictionary/insertion.md +0 -161
- package/pt/dictionary/markdown.md +0 -339
- package/pt/dictionary/nesting.md +0 -249
- package/pt/dictionary/translation.md +0 -322
- package/pt/header.md +0 -7
- package/pt/how_works_intlayer.md +0 -216
- package/pt/index.md +0 -125
- package/pt/interest_of_intlayer.md +0 -132
- package/pt/intlayer_CMS.md +0 -334
- package/pt/intlayer_cli.md +0 -274
- package/pt/intlayer_visual_editor.md +0 -210
- package/pt/intlayer_with_angular.md +0 -3
- package/pt/intlayer_with_create_react_app.md +0 -1204
- package/pt/intlayer_with_express.md +0 -270
- package/pt/intlayer_with_lynx+react.md +0 -467
- package/pt/intlayer_with_nextjs_14.md +0 -1269
- package/pt/intlayer_with_nextjs_15.md +0 -1319
- package/pt/intlayer_with_nextjs_page_router.md +0 -1109
- package/pt/intlayer_with_react_native+expo.md +0 -259
- package/pt/intlayer_with_vite+preact.md +0 -1663
- package/pt/intlayer_with_vite+react.md +0 -1621
- package/pt/intlayer_with_vite+solid.md +0 -3
- package/pt/intlayer_with_vite+svelte.md +0 -3
- package/pt/intlayer_with_vite+vue.md +0 -989
- package/pt/introduction.md +0 -193
- package/pt/mcp_server.md +0 -150
- package/pt/packages/@intlayer/api/index.md +0 -31
- package/pt/packages/@intlayer/chokidar/index.md +0 -31
- package/pt/packages/@intlayer/cli/index.md +0 -21
- package/pt/packages/@intlayer/config/index.md +0 -116
- package/pt/packages/@intlayer/core/index.md +0 -25
- package/pt/packages/@intlayer/design-system/index.md +0 -21
- package/pt/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/pt/packages/@intlayer/editor/index.md +0 -21
- package/pt/packages/@intlayer/editor-react/index.md +0 -21
- package/pt/packages/@intlayer/webpack/index.md +0 -35
- package/pt/packages/angular-intlayer/index.md +0 -3
- package/pt/packages/express-intlayer/index.md +0 -232
- package/pt/packages/express-intlayer/t.md +0 -267
- package/pt/packages/intlayer/getConfiguration.md +0 -120
- package/pt/packages/intlayer/getEnumeration.md +0 -138
- package/pt/packages/intlayer/getHTMLTextDir.md +0 -97
- package/pt/packages/intlayer/getLocaleLang.md +0 -57
- package/pt/packages/intlayer/getLocaleName.md +0 -93
- package/pt/packages/intlayer/getLocalizedUrl.md +0 -221
- package/pt/packages/intlayer/getMultilingualUrls.md +0 -198
- package/pt/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/pt/packages/intlayer/getTranslation.md +0 -175
- package/pt/packages/intlayer/getTranslationContent.md +0 -177
- package/pt/packages/intlayer/index.md +0 -484
- package/pt/packages/intlayer-cli/index.md +0 -41
- package/pt/packages/intlayer-editor/index.md +0 -113
- package/pt/packages/lynx-intlayer/index.md +0 -58
- package/pt/packages/next-intlayer/index.md +0 -270
- package/pt/packages/next-intlayer/t.md +0 -341
- package/pt/packages/next-intlayer/useDictionary.md +0 -248
- package/pt/packages/next-intlayer/useIntlayer.md +0 -237
- package/pt/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/pt/packages/next-intlayer/useLocale.md +0 -105
- package/pt/packages/preact-intlayer/index.md +0 -3
- package/pt/packages/react-intlayer/index.md +0 -261
- package/pt/packages/react-intlayer/t.md +0 -289
- package/pt/packages/react-intlayer/useDictionary.md +0 -268
- package/pt/packages/react-intlayer/useIntlayer.md +0 -225
- package/pt/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/pt/packages/react-intlayer/useLocale.md +0 -184
- package/pt/packages/react-native-intlayer/index.md +0 -57
- package/pt/packages/react-scripts-intlayer/index.md +0 -57
- package/pt/packages/solid-intlayer/index.md +0 -3
- package/pt/packages/svelte-intlayer/index.md +0 -3
- package/pt/packages/vite-intlayer/index.md +0 -53
- package/pt/packages/vue-intlayer/index.md +0 -3
- package/pt/per_locale_file.md +0 -298
- package/pt/privacy_notice.md +0 -61
- package/pt/roadmap.md +0 -206
- package/pt/terms_of_service.md +0 -33
- package/pt/vs_code_extension.md +0 -139
- package/ru/CI_CD.md +0 -149
- package/ru/autoFill.md +0 -157
- package/ru/configuration.md +0 -507
- package/ru/dictionary/condition.md +0 -213
- package/ru/dictionary/content_extention_customization.md +0 -81
- package/ru/dictionary/enumeration.md +0 -221
- package/ru/dictionary/file.md +0 -209
- package/ru/dictionary/function_fetching.md +0 -188
- package/ru/dictionary/get_started.md +0 -311
- package/ru/dictionary/insertion.md +0 -161
- package/ru/dictionary/markdown.md +0 -339
- package/ru/dictionary/nesting.md +0 -249
- package/ru/dictionary/translation.md +0 -322
- package/ru/environment/angular.md +0 -3
- package/ru/header.md +0 -7
- package/ru/how_works_intlayer.md +0 -217
- package/ru/index.md +0 -125
- package/ru/interest_of_intlayer.md +0 -132
- package/ru/intlayer_CMS.md +0 -334
- package/ru/intlayer_cli.md +0 -274
- package/ru/intlayer_visual_editor.md +0 -210
- package/ru/intlayer_with_angular.md +0 -3
- package/ru/intlayer_with_create_react_app.md +0 -1196
- package/ru/intlayer_with_express.md +0 -273
- package/ru/intlayer_with_lynx+react.md +0 -482
- package/ru/intlayer_with_nextjs_14.md +0 -1274
- package/ru/intlayer_with_nextjs_15.md +0 -1318
- package/ru/intlayer_with_nextjs_page_router.md +0 -1100
- package/ru/intlayer_with_react_native+expo.md +0 -537
- package/ru/intlayer_with_vite+preact.md +0 -1663
- package/ru/intlayer_with_vite+react.md +0 -1546
- package/ru/intlayer_with_vite+solid.md +0 -3
- package/ru/intlayer_with_vite+svelte.md +0 -3
- package/ru/intlayer_with_vite+vue.md +0 -987
- package/ru/introduction.md +0 -190
- package/ru/mcp_server.md +0 -152
- package/ru/packages/@intlayer/api/index.md +0 -31
- package/ru/packages/@intlayer/chokidar/index.md +0 -31
- package/ru/packages/@intlayer/cli/index.md +0 -23
- package/ru/packages/@intlayer/config/index.md +0 -116
- package/ru/packages/@intlayer/core/index.md +0 -25
- package/ru/packages/@intlayer/design-system/index.md +0 -21
- package/ru/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/ru/packages/@intlayer/editor/index.md +0 -21
- package/ru/packages/@intlayer/editor-react/index.md +0 -21
- package/ru/packages/@intlayer/webpack/index.md +0 -35
- package/ru/packages/angular-intlayer/index.md +0 -3
- package/ru/packages/express-intlayer/index.md +0 -235
- package/ru/packages/express-intlayer/t.md +0 -445
- package/ru/packages/intlayer/getConfiguration.md +0 -120
- package/ru/packages/intlayer/getEnumeration.md +0 -140
- package/ru/packages/intlayer/getHTMLTextDir.md +0 -97
- package/ru/packages/intlayer/getLocaleLang.md +0 -59
- package/ru/packages/intlayer/getLocaleName.md +0 -93
- package/ru/packages/intlayer/getLocalizedUrl.md +0 -221
- package/ru/packages/intlayer/getMultilingualUrls.md +0 -198
- package/ru/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/ru/packages/intlayer/getTranslation.md +0 -177
- package/ru/packages/intlayer/getTranslationContent.md +0 -175
- package/ru/packages/intlayer/index.md +0 -275
- package/ru/packages/intlayer-cli/index.md +0 -41
- package/ru/packages/intlayer-editor/index.md +0 -115
- package/ru/packages/lynx-intlayer/index.md +0 -58
- package/ru/packages/next-intlayer/index.md +0 -267
- package/ru/packages/next-intlayer/t.md +0 -340
- package/ru/packages/next-intlayer/useDictionary.md +0 -248
- package/ru/packages/next-intlayer/useIntlayer.md +0 -237
- package/ru/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/ru/packages/next-intlayer/useLocale.md +0 -105
- package/ru/packages/preact-intlayer/index.md +0 -3
- package/ru/packages/react-intlayer/index.md +0 -261
- package/ru/packages/react-intlayer/t.md +0 -289
- package/ru/packages/react-intlayer/useDictionary.md +0 -268
- package/ru/packages/react-intlayer/useIntlayer.md +0 -225
- package/ru/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/ru/packages/react-intlayer/useLocale.md +0 -184
- package/ru/packages/react-native-intlayer/index.md +0 -57
- package/ru/packages/react-scripts-intlayer/index.md +0 -57
- package/ru/packages/solid-intlayer/index.md +0 -3
- package/ru/packages/svelte-intlayer/index.md +0 -3
- package/ru/packages/vite-intlayer/index.md +0 -53
- package/ru/packages/vue-intlayer/index.md +0 -3
- package/ru/per_locale_file.md +0 -298
- package/ru/privacy_notice.md +0 -61
- package/ru/roadmap.md +0 -206
- package/ru/terms_of_service.md +0 -33
- package/ru/vs_code_extension.md +0 -139
- package/zh/CI_CD.md +0 -149
- package/zh/autoFill.md +0 -157
- package/zh/configuration.md +0 -484
- package/zh/dictionary/condition.md +0 -213
- package/zh/dictionary/content_extention_customization.md +0 -81
- package/zh/dictionary/enumeration.md +0 -221
- package/zh/dictionary/file.md +0 -209
- package/zh/dictionary/function_fetching.md +0 -188
- package/zh/dictionary/get_started.md +0 -490
- package/zh/dictionary/insertion.md +0 -161
- package/zh/dictionary/markdown.md +0 -342
- package/zh/dictionary/nesting.md +0 -249
- package/zh/dictionary/translation.md +0 -287
- package/zh/header.md +0 -7
- package/zh/how_works_intlayer.md +0 -217
- package/zh/index.md +0 -125
- package/zh/interest_of_intlayer.md +0 -132
- package/zh/intlayer_CMS.md +0 -334
- package/zh/intlayer_cli.md +0 -274
- package/zh/intlayer_visual_editor.md +0 -210
- package/zh/intlayer_with_angular.md +0 -3
- package/zh/intlayer_with_create_react_app.md +0 -1196
- package/zh/intlayer_with_express.md +0 -267
- package/zh/intlayer_with_lynx+react.md +0 -484
- package/zh/intlayer_with_nextjs_14.md +0 -1286
- package/zh/intlayer_with_nextjs_15.md +0 -1322
- package/zh/intlayer_with_nextjs_page_router.md +0 -1097
- package/zh/intlayer_with_react_native+expo.md +0 -539
- package/zh/intlayer_with_vite+preact.md +0 -1681
- package/zh/intlayer_with_vite+react.md +0 -1577
- package/zh/intlayer_with_vite+solid.md +0 -3
- package/zh/intlayer_with_vite+svelte.md +0 -3
- package/zh/intlayer_with_vite+vue.md +0 -988
- package/zh/introduction.md +0 -186
- package/zh/mcp_server.md +0 -152
- package/zh/packages/@intlayer/api/index.md +0 -31
- package/zh/packages/@intlayer/chokidar/index.md +0 -31
- package/zh/packages/@intlayer/cli/index.md +0 -21
- package/zh/packages/@intlayer/config/index.md +0 -116
- package/zh/packages/@intlayer/core/index.md +0 -25
- package/zh/packages/@intlayer/design-system/index.md +0 -21
- package/zh/packages/@intlayer/dictionary-entry/index.md +0 -21
- package/zh/packages/@intlayer/editor/index.md +0 -21
- package/zh/packages/@intlayer/editor-react/index.md +0 -21
- package/zh/packages/@intlayer/webpack/index.md +0 -35
- package/zh/packages/angular-intlayer/index.md +0 -3
- package/zh/packages/express-intlayer/index.md +0 -229
- package/zh/packages/express-intlayer/t.md +0 -432
- package/zh/packages/intlayer/getConfiguration.md +0 -120
- package/zh/packages/intlayer/getEnumeration.md +0 -140
- package/zh/packages/intlayer/getHTMLTextDir.md +0 -97
- package/zh/packages/intlayer/getLocaleLang.md +0 -57
- package/zh/packages/intlayer/getLocaleName.md +0 -93
- package/zh/packages/intlayer/getLocalizedUrl.md +0 -221
- package/zh/packages/intlayer/getMultilingualUrls.md +0 -198
- package/zh/packages/intlayer/getPathWithoutLocale.md +0 -50
- package/zh/packages/intlayer/getTranslation.md +0 -166
- package/zh/packages/intlayer/getTranslationContent.md +0 -166
- package/zh/packages/intlayer/index.md +0 -360
- package/zh/packages/intlayer-cli/index.md +0 -41
- package/zh/packages/intlayer-editor/index.md +0 -113
- package/zh/packages/lynx-intlayer/index.md +0 -60
- package/zh/packages/next-intlayer/index.md +0 -267
- package/zh/packages/next-intlayer/t.md +0 -338
- package/zh/packages/next-intlayer/useDictionary.md +0 -242
- package/zh/packages/next-intlayer/useIntlayer.md +0 -237
- package/zh/packages/next-intlayer/useIntlayerAsync.md +0 -211
- package/zh/packages/next-intlayer/useLocale.md +0 -105
- package/zh/packages/preact-intlayer/index.md +0 -3
- package/zh/packages/react-intlayer/index.md +0 -257
- package/zh/packages/react-intlayer/t.md +0 -271
- package/zh/packages/react-intlayer/useDictionary.md +0 -260
- package/zh/packages/react-intlayer/useIntlayer.md +0 -225
- package/zh/packages/react-intlayer/useIntlayerAsync.md +0 -226
- package/zh/packages/react-intlayer/useLocale.md +0 -184
- package/zh/packages/react-native-intlayer/index.md +0 -57
- package/zh/packages/react-scripts-intlayer/index.md +0 -57
- package/zh/packages/solid-intlayer/index.md +0 -3
- package/zh/packages/svelte-intlayer/index.md +0 -3
- package/zh/packages/vite-intlayer/index.md +0 -53
- package/zh/packages/vue-intlayer/index.md +0 -3
- package/zh/per_locale_file.md +0 -298
- package/zh/privacy_notice.md +0 -61
- package/zh/roadmap.md +0 -206
- package/zh/terms_of_service.md +0 -33
- package/zh/vs_code_extension.md +0 -139
|
@@ -0,0 +1,1703 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-03-07
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Translate your React Native and Expo mobile app (i18n)
|
|
5
|
+
description: Discover how to make your React Native and Expo mobile app multilingual. Follow the documentation to internationalise (i18n) and translate it.
|
|
6
|
+
keywords:
|
|
7
|
+
- Internationalisation
|
|
8
|
+
- Documentation
|
|
9
|
+
- Intlayer
|
|
10
|
+
- Vite
|
|
11
|
+
- React
|
|
12
|
+
- React Native
|
|
13
|
+
- JavaScript
|
|
14
|
+
slugs:
|
|
15
|
+
- doc
|
|
16
|
+
- environment
|
|
17
|
+
- react-native-and-expo
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Getting Started Internationalising (i18n) with Intlayer and Vite and React
|
|
21
|
+
|
|
22
|
+
See [Application Template](https://github.com/aymericzip/intlayer-vite-react-template) on GitHub.
|
|
23
|
+
|
|
24
|
+
## What is Intlayer?
|
|
25
|
+
|
|
26
|
+
**Intlayer** is an innovative, open-source internationalisation (i18n) library designed to simplify multilingual support in modern web applications.
|
|
27
|
+
|
|
28
|
+
With Intlayer, you can:
|
|
29
|
+
|
|
30
|
+
- **Easily manage translations** using declarative dictionaries at the component level.
|
|
31
|
+
- **Dynamically localise metadata**, routes, and content.
|
|
32
|
+
- **Ensure TypeScript support** with autogenerated types, improving autocompletion and error detection.
|
|
33
|
+
- **Benefit from advanced features**, like dynamic locale detection and switching.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Step-by-Step Guide to Set Up Intlayer in a Vite and React Application
|
|
38
|
+
|
|
39
|
+
### Step 1: Install Dependencies
|
|
40
|
+
|
|
41
|
+
Install the necessary packages using npm:
|
|
42
|
+
|
|
43
|
+
```bash packageManager="npm"
|
|
44
|
+
npm install intlayer react-intlayer
|
|
45
|
+
npm install --save-dev vite-intlayer
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash packageManager="pnpm"
|
|
49
|
+
pnpm add intlayer react-intlayer
|
|
50
|
+
pnpm add --save-dev vite-intlayer
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
```bash packageManager="yarn"
|
|
54
|
+
yarn add intlayer react-intlayer
|
|
55
|
+
yarn add --save-dev vite-intlayer
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- **intlayer**
|
|
59
|
+
|
|
60
|
+
The core package that provides internationalisation tools for configuration management, translation, [content declaration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/get_started.md), transpilation, and [CLI commands](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_cli.md).
|
|
61
|
+
|
|
62
|
+
- **react-intlayer**
|
|
63
|
+
The package that integrates Intlayer with React applications. It provides context providers and hooks for React internationalisation.
|
|
64
|
+
|
|
65
|
+
- **vite-intlayer**
|
|
66
|
+
Includes the Vite plugin for integrating Intlayer with the [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), as well as middleware for detecting the user's preferred locale, managing cookies, and handling URL redirection.
|
|
67
|
+
|
|
68
|
+
### Step 2: Configuration of your project
|
|
69
|
+
|
|
70
|
+
Create a config file to configure the languages of your application:
|
|
71
|
+
|
|
72
|
+
```typescript fileName="intlayer.config.ts" codeFormat="typescript"
|
|
73
|
+
import { Locales, type IntlayerConfig } from "intlayer";
|
|
74
|
+
|
|
75
|
+
const config: IntlayerConfig = {
|
|
76
|
+
internationalization: {
|
|
77
|
+
locales: [
|
|
78
|
+
Locales.ENGLISH,
|
|
79
|
+
Locales.FRENCH,
|
|
80
|
+
Locales.SPANISH,
|
|
81
|
+
// Your other locales
|
|
82
|
+
],
|
|
83
|
+
defaultLocale: Locales.ENGLISH,
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export default config;
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
```javascript fileName="intlayer.config.mjs" codeFormat="esm"
|
|
91
|
+
import { Locales } from "intlayer";
|
|
92
|
+
|
|
93
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
94
|
+
const config = {
|
|
95
|
+
internationalization: {
|
|
96
|
+
locales: [
|
|
97
|
+
Locales.ENGLISH,
|
|
98
|
+
Locales.FRENCH,
|
|
99
|
+
Locales.SPANISH,
|
|
100
|
+
// Your other locales
|
|
101
|
+
],
|
|
102
|
+
defaultLocale: Locales.ENGLISH,
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export default config;
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
|
|
110
|
+
const { Locales } = require("intlayer");
|
|
111
|
+
|
|
112
|
+
/** @type {import('intlayer').IntlayerConfig} */
|
|
113
|
+
const config = {
|
|
114
|
+
internationalization: {
|
|
115
|
+
locales: [
|
|
116
|
+
Locales.ENGLISH,
|
|
117
|
+
Locales.FRENCH,
|
|
118
|
+
Locales.SPANISH,
|
|
119
|
+
// Your other locales
|
|
120
|
+
],
|
|
121
|
+
defaultLocale: Locales.ENGLISH,
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
module.exports = config;
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
> Through this configuration file, you can set up localised URLs, middleware redirection, cookie names, the location and extension of your content declarations, disable Intlayer logs in the console, and more. For a complete list of available parameters, refer to the [configuration documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md).
|
|
129
|
+
|
|
130
|
+
### Step 3: Integrate Intlayer in Your Vite Configuration
|
|
131
|
+
|
|
132
|
+
Add the intlayer plugin into your configuration.
|
|
133
|
+
|
|
134
|
+
```typescript fileName="vite.config.ts" codeFormat="typescript"
|
|
135
|
+
import { defineConfig } from "vite";
|
|
136
|
+
import react from "@vitejs/plugin-react-swc";
|
|
137
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
138
|
+
|
|
139
|
+
// https://vitejs.dev/config/
|
|
140
|
+
export default defineConfig({
|
|
141
|
+
plugins: [react(), intlayerPlugin()],
|
|
142
|
+
});
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
```javascript fileName="vite.config.mjs" codeFormat="esm"
|
|
146
|
+
import { defineConfig } from "vite";
|
|
147
|
+
import react from "@vitejs/plugin-react-swc";
|
|
148
|
+
import { intlayerPlugin } from "vite-intlayer";
|
|
149
|
+
|
|
150
|
+
// https://vitejs.dev/config/
|
|
151
|
+
export default defineConfig({
|
|
152
|
+
plugins: [react(), intlayerPlugin()],
|
|
153
|
+
});
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
```javascript fileName="vite.config.cjs" codeFormat="commonjs"
|
|
157
|
+
const { defineConfig } = require("vite");
|
|
158
|
+
const react = require("@vitejs/plugin-react-swc");
|
|
159
|
+
const { intlayerPlugin } = require("vite-intlayer");
|
|
160
|
+
|
|
161
|
+
// https://vitejs.dev/config/
|
|
162
|
+
module.exports = defineConfig({
|
|
163
|
+
plugins: [react(), intlayerPlugin()],
|
|
164
|
+
});
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
> The `intlayerPlugin()` Vite plugin is used to integrate Intlayer with Vite. It ensures the building of content declaration files and monitors them in development mode. It defines Intlayer environment variables within the Vite application. Additionally, it provides aliases to optimise performance.
|
|
168
|
+
|
|
169
|
+
### Step 4: Declare Your Content
|
|
170
|
+
|
|
171
|
+
Create and manage your content declarations to store translations:
|
|
172
|
+
|
|
173
|
+
```tsx fileName="src/app.content.tsx" contentDeclarationFormat="typescript"
|
|
174
|
+
import { t, type Dictionary } from "intlayer";
|
|
175
|
+
import type { ReactNode } from "react";
|
|
176
|
+
|
|
177
|
+
const appContent = {
|
|
178
|
+
key: "app",
|
|
179
|
+
content: {
|
|
180
|
+
viteLogo: t({
|
|
181
|
+
"en-GB": "Vite logo",
|
|
182
|
+
en: "Vite logo",
|
|
183
|
+
fr: "Logo Vite",
|
|
184
|
+
es: "Logo Vite",
|
|
185
|
+
}),
|
|
186
|
+
reactLogo: t({
|
|
187
|
+
"en-GB": "React logo",
|
|
188
|
+
en: "React logo",
|
|
189
|
+
fr: "Logo React",
|
|
190
|
+
es: "Logo React",
|
|
191
|
+
}),
|
|
192
|
+
|
|
193
|
+
title: "Vite + React",
|
|
194
|
+
|
|
195
|
+
count: t({
|
|
196
|
+
"en-GB": "count is ",
|
|
197
|
+
en: "count is ",
|
|
198
|
+
fr: "le compte est ",
|
|
199
|
+
es: "el recuento es ",
|
|
200
|
+
}),
|
|
201
|
+
|
|
202
|
+
edit: t<ReactNode>({
|
|
203
|
+
"en-GB": (
|
|
204
|
+
<>
|
|
205
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
206
|
+
</>
|
|
207
|
+
),
|
|
208
|
+
en: (
|
|
209
|
+
<>
|
|
210
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
211
|
+
</>
|
|
212
|
+
),
|
|
213
|
+
fr: (
|
|
214
|
+
<>
|
|
215
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
216
|
+
</>
|
|
217
|
+
),
|
|
218
|
+
es: (
|
|
219
|
+
<>
|
|
220
|
+
Edita <code>src/App.tsx</code> y guarda para probar HMR
|
|
221
|
+
</>
|
|
222
|
+
),
|
|
223
|
+
}),
|
|
224
|
+
|
|
225
|
+
readTheDocs: t({
|
|
226
|
+
"en-GB": "Click on the Vite and React logos to learn more",
|
|
227
|
+
en: "Click on the Vite and React logos to learn more",
|
|
228
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
229
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
230
|
+
}),
|
|
231
|
+
},
|
|
232
|
+
} satisfies Dictionary;
|
|
233
|
+
|
|
234
|
+
export default appContent;
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
```javascript fileName="src/app.content.mjs" contentDeclarationFormat="esm"
|
|
238
|
+
import { t } from "intlayer";
|
|
239
|
+
|
|
240
|
+
/** @type {import('intlayer').Dictionary} */
|
|
241
|
+
const appContent = {
|
|
242
|
+
key: "app",
|
|
243
|
+
content: {
|
|
244
|
+
viteLogo: t({
|
|
245
|
+
"en-GB": "Vite logo",
|
|
246
|
+
en: "Vite logo",
|
|
247
|
+
fr: "Logo Vite",
|
|
248
|
+
es: "Logo Vite",
|
|
249
|
+
}),
|
|
250
|
+
reactLogo: t({
|
|
251
|
+
"en-GB": "React logo",
|
|
252
|
+
en: "React logo",
|
|
253
|
+
fr: "Logo React",
|
|
254
|
+
es: "Logo React",
|
|
255
|
+
}),
|
|
256
|
+
|
|
257
|
+
title: "Vite + React",
|
|
258
|
+
|
|
259
|
+
count: t({
|
|
260
|
+
"en-GB": "count is ",
|
|
261
|
+
en: "count is ",
|
|
262
|
+
fr: "le compte est ",
|
|
263
|
+
es: "el recuento es ",
|
|
264
|
+
}),
|
|
265
|
+
|
|
266
|
+
edit:
|
|
267
|
+
t <
|
|
268
|
+
ReactNode >
|
|
269
|
+
{
|
|
270
|
+
// Remember to import React if you use a React node in your content
|
|
271
|
+
"en-GB": (
|
|
272
|
+
<>
|
|
273
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
274
|
+
</>
|
|
275
|
+
),
|
|
276
|
+
fr: (
|
|
277
|
+
<>
|
|
278
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
279
|
+
</>
|
|
280
|
+
),
|
|
281
|
+
es: (
|
|
282
|
+
<>
|
|
283
|
+
Edita <code>src/App.tsx</code> y guarda para probar HMR
|
|
284
|
+
</>
|
|
285
|
+
),
|
|
286
|
+
},
|
|
287
|
+
|
|
288
|
+
readTheDocs: t({
|
|
289
|
+
"en-GB": "Click on the Vite and React logos to learn more",
|
|
290
|
+
en: "Click on the Vite and React logos to learn more",
|
|
291
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
292
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
293
|
+
}),
|
|
294
|
+
},
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
export default appContent;
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
```javascript fileName="src/app.content.cjs" contentDeclarationFormat="commonjs"
|
|
301
|
+
const { t } = require("intlayer");
|
|
302
|
+
|
|
303
|
+
/** @type {import('intlayer').Dictionary} */
|
|
304
|
+
const appContent = {
|
|
305
|
+
key: "app",
|
|
306
|
+
content: {
|
|
307
|
+
viteLogo: t({
|
|
308
|
+
"en-GB": "Vite logo",
|
|
309
|
+
fr: "Logo Vite",
|
|
310
|
+
es: "Logo Vite",
|
|
311
|
+
}),
|
|
312
|
+
reactLogo: t({
|
|
313
|
+
"en-GB": "React logo",
|
|
314
|
+
fr: "Logo React",
|
|
315
|
+
es: "Logo React",
|
|
316
|
+
}),
|
|
317
|
+
|
|
318
|
+
title: "Vite + React",
|
|
319
|
+
|
|
320
|
+
count: t({
|
|
321
|
+
"en-GB": "count is ",
|
|
322
|
+
fr: "le compte est ",
|
|
323
|
+
es: "el recuento es ",
|
|
324
|
+
}),
|
|
325
|
+
|
|
326
|
+
edit:
|
|
327
|
+
t <
|
|
328
|
+
ReactNode >
|
|
329
|
+
{
|
|
330
|
+
// Remember to import React if you use a React node in your content
|
|
331
|
+
"en-GB": (
|
|
332
|
+
<>
|
|
333
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
334
|
+
</>
|
|
335
|
+
),
|
|
336
|
+
fr: (
|
|
337
|
+
<>
|
|
338
|
+
Éditez <code>src/App.tsx</code> et enregistrez pour tester HMR
|
|
339
|
+
</>
|
|
340
|
+
),
|
|
341
|
+
es: (
|
|
342
|
+
<>
|
|
343
|
+
Edit <code>src/App.tsx</code> and save to test HMR
|
|
344
|
+
</>
|
|
345
|
+
),
|
|
346
|
+
},
|
|
347
|
+
|
|
348
|
+
readTheDocs: t({
|
|
349
|
+
"en-GB": "Click on the Vite and React logos to learn more",
|
|
350
|
+
fr: "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
351
|
+
es: "Haga clic en los logotipos de Vite y React para obtener más información",
|
|
352
|
+
}),
|
|
353
|
+
},
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
module.exports = appContent;
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
```json fileName="src/app.content.json" contentDeclarationFormat="json"
|
|
360
|
+
{
|
|
361
|
+
"$schema": "https://intlayer.org/schema.json",
|
|
362
|
+
"key": "app",
|
|
363
|
+
"content": {
|
|
364
|
+
"viteLogo": {
|
|
365
|
+
"nodeType": "translation",
|
|
366
|
+
"translation": {
|
|
367
|
+
"en-GB": "Vite logo",
|
|
368
|
+
"fr": "Logo Vite",
|
|
369
|
+
"es": "Logo Vite"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"reactLogo": {
|
|
373
|
+
"nodeType": "translation",
|
|
374
|
+
"translation": {
|
|
375
|
+
"en-GB": "React logo",
|
|
376
|
+
"fr": "Logo React",
|
|
377
|
+
"es": "Logo React"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"title": {
|
|
381
|
+
"nodeType": "translation",
|
|
382
|
+
"translation": {
|
|
383
|
+
"en-GB": "Vite + React",
|
|
384
|
+
"fr": "Vite + React",
|
|
385
|
+
"es": "Vite + React"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"count": {
|
|
389
|
+
"nodeType": "translation",
|
|
390
|
+
"translation": {
|
|
391
|
+
"en-GB": "count is ",
|
|
392
|
+
"fr": "le compte est ",
|
|
393
|
+
"es": "el recuento es "
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"edit": {
|
|
397
|
+
"nodeType": "translation",
|
|
398
|
+
"translation": {
|
|
399
|
+
"en-GB": "Edit src/App.tsx and save to test HMR",
|
|
400
|
+
"fr": "Éditez src/App.tsx et enregistrez pour tester HMR",
|
|
401
|
+
"es": "Edita src/App.tsx y guarda para probar HMR"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"readTheDocs": {
|
|
405
|
+
"nodeType": "translation",
|
|
406
|
+
"translation": {
|
|
407
|
+
"en-GB": "Click on the Vite and React logos to learn more",
|
|
408
|
+
"fr": "Cliquez sur les logos Vite et React pour en savoir plus",
|
|
409
|
+
"es": "Haga clic en los logotipos de Vite y React para obtener más información"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
> Your content declarations can be defined anywhere in your application as soon as they are included into the `contentDir` directory (by default, `./src`). And match the content declaration file extension (by default, `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`).
|
|
417
|
+
|
|
418
|
+
> For more details, refer to the [content declaration documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/dictionary/get_started.md).
|
|
419
|
+
|
|
420
|
+
> If your content file includes TSX code, you should consider importing `import React from "react";` in your content file.
|
|
421
|
+
|
|
422
|
+
### Step 5: Utilise Intlayer in Your Code
|
|
423
|
+
|
|
424
|
+
Access your content dictionaries throughout your application:
|
|
425
|
+
|
|
426
|
+
```tsx {5,9} fileName="src/App.tsx" codeFormat="typescript"
|
|
427
|
+
import { useState, type FC } from "react";
|
|
428
|
+
import reactLogo from "./assets/react.svg";
|
|
429
|
+
import viteLogo from "/vite.svg";
|
|
430
|
+
import "./App.css";
|
|
431
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
432
|
+
|
|
433
|
+
const AppContent: FC = () => {
|
|
434
|
+
const [count, setCount] = useState(0);
|
|
435
|
+
const content = useIntlayer("app");
|
|
436
|
+
|
|
437
|
+
return (
|
|
438
|
+
<>
|
|
439
|
+
<div>
|
|
440
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
441
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
442
|
+
</a>
|
|
443
|
+
<a href="https://react.dev" target="_blank">
|
|
444
|
+
<img
|
|
445
|
+
src={reactLogo}
|
|
446
|
+
className="logo react"
|
|
447
|
+
alt={content.reactLogo.value}
|
|
448
|
+
/>
|
|
449
|
+
</a>
|
|
450
|
+
</div>
|
|
451
|
+
<h1>{content.title}</h1>
|
|
452
|
+
<div className="card">
|
|
453
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
454
|
+
{content.count}
|
|
455
|
+
{count}
|
|
456
|
+
</button>
|
|
457
|
+
<p>{content.edit}</p>
|
|
458
|
+
</div>
|
|
459
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
460
|
+
</>
|
|
461
|
+
);
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
const App: FC = () => (
|
|
465
|
+
<IntlayerProvider>
|
|
466
|
+
<AppContent />
|
|
467
|
+
</IntlayerProvider>
|
|
468
|
+
);
|
|
469
|
+
|
|
470
|
+
export default App;
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
```tsx {5,9} fileName="src/App.msx" codeFormat="esm"
|
|
474
|
+
import { useState } from "react";
|
|
475
|
+
import reactLogo from "./assets/react.svg";
|
|
476
|
+
import viteLogo from "/vite.svg";
|
|
477
|
+
import "./App.css";
|
|
478
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
479
|
+
|
|
480
|
+
const AppContent = () => {
|
|
481
|
+
const [count, setCount] = useState(0);
|
|
482
|
+
const content = useIntlayer("app");
|
|
483
|
+
|
|
484
|
+
return (
|
|
485
|
+
<>
|
|
486
|
+
<div>
|
|
487
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
488
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
489
|
+
</a>
|
|
490
|
+
<a href="https://react.dev" target="_blank">
|
|
491
|
+
<img
|
|
492
|
+
src={reactLogo}
|
|
493
|
+
className="logo react"
|
|
494
|
+
alt={content.reactLogo.value}
|
|
495
|
+
/>
|
|
496
|
+
</a>
|
|
497
|
+
</div>
|
|
498
|
+
<h1>{content.title}</h1>
|
|
499
|
+
<div className="card">
|
|
500
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
501
|
+
{content.count}
|
|
502
|
+
{count}
|
|
503
|
+
</button>
|
|
504
|
+
<p>{content.edit}</p>
|
|
505
|
+
</div>
|
|
506
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
507
|
+
</>
|
|
508
|
+
);
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
const App = () => (
|
|
512
|
+
<IntlayerProvider>
|
|
513
|
+
<AppContent />
|
|
514
|
+
</IntlayerProvider>
|
|
515
|
+
);
|
|
516
|
+
|
|
517
|
+
export default App;
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
```tsx {5,9} fileName="src/App.csx" codeFormat="commonjs"
|
|
521
|
+
const { useState } = require("react");
|
|
522
|
+
const reactLogo = require("./assets/react.svg");
|
|
523
|
+
const viteLogo = require("/vite.svg");
|
|
524
|
+
require("./App.css");
|
|
525
|
+
const { IntlayerProvider, useIntlayer } = require("react-intlayer");
|
|
526
|
+
|
|
527
|
+
const AppContent = () => {
|
|
528
|
+
const [count, setCount] = useState(0);
|
|
529
|
+
const content = useIntlayer("app");
|
|
530
|
+
|
|
531
|
+
return (
|
|
532
|
+
<>
|
|
533
|
+
<div>
|
|
534
|
+
<a href="https://vitejs.dev" target="_blank">
|
|
535
|
+
<img src={viteLogo} className="logo" alt={content.viteLogo.value} />
|
|
536
|
+
</a>
|
|
537
|
+
<a href="https://react.dev" target="_blank">
|
|
538
|
+
<img
|
|
539
|
+
src={reactLogo}
|
|
540
|
+
className="logo react"
|
|
541
|
+
alt={content.reactLogo.value}
|
|
542
|
+
/>
|
|
543
|
+
</a>
|
|
544
|
+
</div>
|
|
545
|
+
<h1>{content.title}</h1>
|
|
546
|
+
<div className="card">
|
|
547
|
+
<button onClick={() => setCount((count) => count + 1)}>
|
|
548
|
+
{content.count}
|
|
549
|
+
{count}
|
|
550
|
+
</button>
|
|
551
|
+
<p>{content.edit}</p>
|
|
552
|
+
</div>
|
|
553
|
+
<p className="read-the-docs">{content.readTheDocs}</p>
|
|
554
|
+
</>
|
|
555
|
+
);
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
const App = () => (
|
|
559
|
+
<IntlayerProvider>
|
|
560
|
+
<AppContent />
|
|
561
|
+
</IntlayerProvider>
|
|
562
|
+
);
|
|
563
|
+
|
|
564
|
+
module.exports = App;
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you must call the value of the function, like:
|
|
568
|
+
|
|
569
|
+
> ```jsx
|
|
570
|
+
> <img src={content.image.src.value} alt={content.image.value} />
|
|
571
|
+
> ```
|
|
572
|
+
|
|
573
|
+
> To learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/useIntlayer.md).
|
|
574
|
+
|
|
575
|
+
### (Optional) Step 6: Change the language of your content
|
|
576
|
+
|
|
577
|
+
To change the language of your content, you can use the `setLocale` function provided by the `useLocale` hook. This function allows you to set the locale of the application and update the content accordingly.
|
|
578
|
+
|
|
579
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
580
|
+
import type { FC } from "react";
|
|
581
|
+
import { Locales } from "intlayer";
|
|
582
|
+
import { useLocale } from "react-intlayer";
|
|
583
|
+
|
|
584
|
+
const LocaleSwitcher: FC = () => {
|
|
585
|
+
const { setLocale } = useLocale();
|
|
586
|
+
|
|
587
|
+
return (
|
|
588
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
589
|
+
Change Language to English
|
|
590
|
+
</button>
|
|
591
|
+
);
|
|
592
|
+
};
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
```jsx fileName="src/components/LocaleSwitcher.msx" codeFormat="esm"
|
|
596
|
+
import { Locales } from "intlayer";
|
|
597
|
+
import { useLocale } from "react-intlayer";
|
|
598
|
+
|
|
599
|
+
const LocaleSwitcher = () => {
|
|
600
|
+
const { setLocale } = useLocale();
|
|
601
|
+
|
|
602
|
+
return (
|
|
603
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
604
|
+
Change Language to English
|
|
605
|
+
</button>
|
|
606
|
+
);
|
|
607
|
+
};
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
```jsx fileName="src/components/LocaleSwitcher.csx" codeFormat="commonjs"
|
|
611
|
+
const { Locales } = require("intlayer");
|
|
612
|
+
const { useLocale } = require("react-intlayer");
|
|
613
|
+
|
|
614
|
+
const LocaleSwitcher = () => {
|
|
615
|
+
const { setLocale } = useLocale();
|
|
616
|
+
|
|
617
|
+
return (
|
|
618
|
+
<button onClick={() => setLocale(Locales.English)}>
|
|
619
|
+
Change Language to English
|
|
620
|
+
</button>
|
|
621
|
+
);
|
|
622
|
+
};
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
> To learn more about the `useLocale` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/react-intlayer/useLocale.md).
|
|
626
|
+
|
|
627
|
+
### (Optional) Step 7: Add localised Routing to your application
|
|
628
|
+
|
|
629
|
+
The purpose of this step is to create unique routes for each language. This is useful for SEO and SEO-friendly URLs.
|
|
630
|
+
Example:
|
|
631
|
+
|
|
632
|
+
```plaintext
|
|
633
|
+
- https://example.com/about
|
|
634
|
+
- https://example.com/es/about
|
|
635
|
+
- https://example.com/fr/about
|
|
636
|
+
```
|
|
637
|
+
|
|
638
|
+
> By default, the routes are not prefixed for the default locale. If you wish to prefix the default locale, you can set the `middleware.prefixDefault` option to `true` in your configuration. See the [configuration documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/configuration.md) for more information.
|
|
639
|
+
|
|
640
|
+
To add localised routing to your application, you can create a `LocaleRouter` component that wraps your application's routes and manages locale-based routing. Here is an example using [React Router](https://reactrouter.com/home):
|
|
641
|
+
|
|
642
|
+
```tsx fileName="src/components/LocaleRouter.tsx" codeFormat="typescript"
|
|
643
|
+
// Importing necessary dependencies and functions
|
|
644
|
+
import { type Locales, configuration, getPathWithoutLocale } from "intlayer"; // Utility functions and types from 'intlayer'
|
|
645
|
+
import type { FC, PropsWithChildren } from "react"; // React types for functional components and props
|
|
646
|
+
import { IntlayerProvider } from "react-intlayer"; // Provider for internationalisation context
|
|
647
|
+
import {
|
|
648
|
+
BrowserRouter,
|
|
649
|
+
Routes,
|
|
650
|
+
Route,
|
|
651
|
+
Navigate,
|
|
652
|
+
useLocation,
|
|
653
|
+
} from "react-router-dom"; // Router components for managing navigation
|
|
654
|
+
|
|
655
|
+
// Destructuring configuration from Intlayer
|
|
656
|
+
const { internationalization, middleware } = configuration;
|
|
657
|
+
const { locales, defaultLocale } = internationalization;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* A component that handles localisation and wraps children with the appropriate locale context.
|
|
661
|
+
* It manages URL-based locale detection and validation.
|
|
662
|
+
*/
|
|
663
|
+
const AppLocalized: FC<PropsWithChildren<{ locale: Locales }>> = ({
|
|
664
|
+
children,
|
|
665
|
+
locale,
|
|
666
|
+
}) => {
|
|
667
|
+
const { pathname, search } = useLocation(); // Get the current URL path
|
|
668
|
+
|
|
669
|
+
// Determine the current locale, falling back to the default if not provided
|
|
670
|
+
const currentLocale = locale ?? defaultLocale;
|
|
671
|
+
|
|
672
|
+
// Remove the locale prefix from the path to construct a base path
|
|
673
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
674
|
+
pathname // Current URL path
|
|
675
|
+
);
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* If middleware.prefixDefault is true, the default locale should always be prefixed.
|
|
679
|
+
*/
|
|
680
|
+
if (middleware.prefixDefault) {
|
|
681
|
+
// Validate the locale
|
|
682
|
+
if (!locale || !locales.includes(locale)) {
|
|
683
|
+
// Redirect to the default locale with the updated path
|
|
684
|
+
return (
|
|
685
|
+
<Navigate
|
|
686
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
687
|
+
replace // Replace the current history entry with the new one
|
|
688
|
+
/>
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
693
|
+
return (
|
|
694
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
695
|
+
);
|
|
696
|
+
} else {
|
|
697
|
+
/**
|
|
698
|
+
* When middleware.prefixDefault is false, the default locale is not prefixed.
|
|
699
|
+
* Ensure that the current locale is valid and is not the default locale.
|
|
700
|
+
*/
|
|
701
|
+
if (
|
|
702
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
703
|
+
!locales
|
|
704
|
+
.filter(
|
|
705
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Exclude the default locale
|
|
706
|
+
)
|
|
707
|
+
.includes(currentLocale) // Check if the current locale is in the list of valid locales
|
|
708
|
+
) {
|
|
709
|
+
// Redirect to the path without locale prefix
|
|
710
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
714
|
+
return (
|
|
715
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
716
|
+
);
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* A router component that sets up locale-specific routes.
|
|
722
|
+
* It uses React Router to manage navigation and render localised components.
|
|
723
|
+
*/
|
|
724
|
+
export const LocaleRouter: FC<PropsWithChildren> = ({ children }) => (
|
|
725
|
+
<BrowserRouter>
|
|
726
|
+
<Routes>
|
|
727
|
+
{locales
|
|
728
|
+
.filter(
|
|
729
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
730
|
+
)
|
|
731
|
+
.map((locale) => (
|
|
732
|
+
<Route
|
|
733
|
+
// Route pattern to capture the locale (e.g., /en/, /fr/) and match all subsequent paths
|
|
734
|
+
path={`/${locale}/*`}
|
|
735
|
+
key={locale}
|
|
736
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Wraps children with locale management
|
|
737
|
+
/>
|
|
738
|
+
))}
|
|
739
|
+
|
|
740
|
+
{
|
|
741
|
+
// If prefixing the default locale is disabled, render the children directly at the root path
|
|
742
|
+
!middleware.prefixDefault && (
|
|
743
|
+
<Route
|
|
744
|
+
path="*"
|
|
745
|
+
element={
|
|
746
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
747
|
+
} // Wraps children with locale management
|
|
748
|
+
/>
|
|
749
|
+
)
|
|
750
|
+
}
|
|
751
|
+
</Routes>
|
|
752
|
+
</BrowserRouter>
|
|
753
|
+
);
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
```jsx fileName="src/components/LocaleRouter.mjx" codeFormat="esm"
|
|
757
|
+
// Importing necessary dependencies and functions
|
|
758
|
+
import { configuration, getPathWithoutLocale } from "intlayer"; // Utility functions and types from 'intlayer'
|
|
759
|
+
// Utility functions and types from 'intlayer'
|
|
760
|
+
import { IntlayerProvider } from "react-intlayer"; // Provider for internationalisation context
|
|
761
|
+
import {
|
|
762
|
+
BrowserRouter,
|
|
763
|
+
Routes,
|
|
764
|
+
Route,
|
|
765
|
+
Navigate,
|
|
766
|
+
useLocation,
|
|
767
|
+
} from "react-router-dom"; // Router components for managing navigation
|
|
768
|
+
|
|
769
|
+
// Destructuring configuration from Intlayer
|
|
770
|
+
const { internationalization, middleware } = configuration;
|
|
771
|
+
const { locales, defaultLocale } = internationalization;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* A component that handles localisation and wraps children with the appropriate locale context.
|
|
775
|
+
* It manages URL-based locale detection and validation.
|
|
776
|
+
*/
|
|
777
|
+
const AppLocalized = ({ children, locale }) => {
|
|
778
|
+
const { pathname, search } = useLocation(); // Get the current URL path
|
|
779
|
+
|
|
780
|
+
// Determine the current locale, falling back to the default if not provided
|
|
781
|
+
const currentLocale = locale ?? defaultLocale;
|
|
782
|
+
|
|
783
|
+
// Remove the locale prefix from the path to construct a base path
|
|
784
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
785
|
+
pathname // Current URL path
|
|
786
|
+
);
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* If middleware.prefixDefault is true, the default locale should always be prefixed.
|
|
790
|
+
*/
|
|
791
|
+
if (middleware.prefixDefault) {
|
|
792
|
+
// Validate the locale
|
|
793
|
+
if (!locale || !locales.includes(locale)) {
|
|
794
|
+
// Redirect to the default locale with the updated path
|
|
795
|
+
return (
|
|
796
|
+
<Navigate
|
|
797
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
798
|
+
replace // Replace the current history entry with the new one
|
|
799
|
+
/>
|
|
800
|
+
);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
804
|
+
return (
|
|
805
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
806
|
+
);
|
|
807
|
+
} else {
|
|
808
|
+
/**
|
|
809
|
+
* When middleware.prefixDefault is false, the default locale is not prefixed.
|
|
810
|
+
* Ensure that the current locale is valid and is not the default locale.
|
|
811
|
+
*/
|
|
812
|
+
if (
|
|
813
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
814
|
+
!locales
|
|
815
|
+
.filter(
|
|
816
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Exclude the default locale
|
|
817
|
+
)
|
|
818
|
+
.includes(currentLocale) // Check if the current locale is in the list of valid locales
|
|
819
|
+
) {
|
|
820
|
+
// Redirect to the path without locale prefix
|
|
821
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
825
|
+
return (
|
|
826
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
827
|
+
);
|
|
828
|
+
}
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* A router component that sets up locale-specific routes.
|
|
833
|
+
* It uses React Router to manage navigation and render localised components.
|
|
834
|
+
*/
|
|
835
|
+
export const LocaleRouter = ({ children }) => (
|
|
836
|
+
<BrowserRouter>
|
|
837
|
+
<Routes>
|
|
838
|
+
{locales
|
|
839
|
+
.filter(
|
|
840
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
841
|
+
)
|
|
842
|
+
.map((locale) => (
|
|
843
|
+
<Route
|
|
844
|
+
// Route pattern to capture the locale (e.g., /en/, /fr/) and match all subsequent paths
|
|
845
|
+
path={`/${locale}/*`}
|
|
846
|
+
key={locale}
|
|
847
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Wraps children with locale management
|
|
848
|
+
/>
|
|
849
|
+
))}
|
|
850
|
+
|
|
851
|
+
{
|
|
852
|
+
// If prefixing the default locale is disabled, render the children directly at the root path
|
|
853
|
+
!middleware.prefixDefault && (
|
|
854
|
+
<Route
|
|
855
|
+
path="*"
|
|
856
|
+
element={
|
|
857
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
858
|
+
} // Wraps children with locale management
|
|
859
|
+
/>
|
|
860
|
+
)
|
|
861
|
+
}
|
|
862
|
+
</Routes>
|
|
863
|
+
</BrowserRouter>
|
|
864
|
+
);
|
|
865
|
+
```
|
|
866
|
+
|
|
867
|
+
```jsx fileName="src/components/LocaleRouter.cjx" codeFormat="commonjs"
|
|
868
|
+
// Importing necessary dependencies and functions
|
|
869
|
+
const { configuration, getPathWithoutLocale } = require("intlayer"); // Utility functions and types from 'intlayer'
|
|
870
|
+
const { IntlayerProvider, useLocale } = require("react-intlayer"); // Provider for internationalisation context
|
|
871
|
+
const {
|
|
872
|
+
BrowserRouter,
|
|
873
|
+
Routes,
|
|
874
|
+
Route,
|
|
875
|
+
Navigate,
|
|
876
|
+
useLocation,
|
|
877
|
+
} = require("react-router-dom"); // Router components for managing navigation
|
|
878
|
+
|
|
879
|
+
// Destructuring configuration from Intlayer
|
|
880
|
+
const { internationalisation, middleware } = configuration;
|
|
881
|
+
const { locales, defaultLocale } = internationalisation;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* A component that handles localisation and wraps children with the appropriate locale context.
|
|
885
|
+
* It manages URL-based locale detection and validation.
|
|
886
|
+
*/
|
|
887
|
+
// Importing necessary dependencies and functions
|
|
888
|
+
const { configuration, getPathWithoutLocale } = require("intlayer"); // Utility functions and types from 'intlayer'
|
|
889
|
+
const { IntlayerProvider, useLocale } = require("react-intlayer"); // Provider for internationalisation context
|
|
890
|
+
const {
|
|
891
|
+
BrowserRouter,
|
|
892
|
+
Routes,
|
|
893
|
+
Route,
|
|
894
|
+
Navigate,
|
|
895
|
+
useLocation,
|
|
896
|
+
} = require("react-router-dom"); // Router components for managing navigation
|
|
897
|
+
|
|
898
|
+
// Destructuring configuration from Intlayer
|
|
899
|
+
const { internationalization, middleware } = configuration;
|
|
900
|
+
const { locales, defaultLocale } = internationalization;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* A component that handles localisation and wraps children with the appropriate locale context.
|
|
904
|
+
* It manages URL-based locale detection and validation.
|
|
905
|
+
*/
|
|
906
|
+
const AppLocalized = ({ children, locale }) => {
|
|
907
|
+
const { pathname, search } = useLocation(); // Get the current URL path
|
|
908
|
+
|
|
909
|
+
// Determine the current locale, falling back to the default if not provided
|
|
910
|
+
const currentLocale = locale ?? defaultLocale;
|
|
911
|
+
|
|
912
|
+
// Remove the locale prefix from the path to construct a base path
|
|
913
|
+
const pathWithoutLocale = getPathWithoutLocale(
|
|
914
|
+
pathname // Current URL path
|
|
915
|
+
);
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* If middleware.prefixDefault is true, the default locale should always be prefixed.
|
|
919
|
+
*/
|
|
920
|
+
if (middleware.prefixDefault) {
|
|
921
|
+
// Validate the locale
|
|
922
|
+
if (!locale || !locales.includes(locale)) {
|
|
923
|
+
// Redirect to the default locale with the updated path
|
|
924
|
+
return (
|
|
925
|
+
<Navigate
|
|
926
|
+
to={`/${defaultLocale}/${pathWithoutLocale}${search}`}
|
|
927
|
+
replace // Replace the current history entry with the new one
|
|
928
|
+
/>
|
|
929
|
+
);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
933
|
+
return (
|
|
934
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
935
|
+
);
|
|
936
|
+
} else {
|
|
937
|
+
/**
|
|
938
|
+
* When middleware.prefixDefault is false, the default locale is not prefixed.
|
|
939
|
+
* Ensure that the current locale is valid and is not the default locale.
|
|
940
|
+
*/
|
|
941
|
+
if (
|
|
942
|
+
currentLocale.toString() !== defaultLocale.toString() &&
|
|
943
|
+
!locales
|
|
944
|
+
.filter(
|
|
945
|
+
(locale) => locale.toString() !== defaultLocale.toString() // Exclude the default locale
|
|
946
|
+
)
|
|
947
|
+
.includes(currentLocale) // Check if the current locale is in the list of valid locales
|
|
948
|
+
) {
|
|
949
|
+
// Redirect to the path without locale prefix
|
|
950
|
+
return <Navigate to={`${pathWithoutLocale}${search}`} replace />;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
// Wrap children with the IntlayerProvider and set the current locale
|
|
954
|
+
return (
|
|
955
|
+
<IntlayerProvider locale={currentLocale}>{children}</IntlayerProvider>
|
|
956
|
+
);
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* A router component that sets up locale-specific routes.
|
|
962
|
+
* It uses React Router to manage navigation and render localised components.
|
|
963
|
+
*/
|
|
964
|
+
const LocaleRouter = ({ children }) => (
|
|
965
|
+
<BrowserRouter>
|
|
966
|
+
<Routes>
|
|
967
|
+
{locales
|
|
968
|
+
.filter(
|
|
969
|
+
(locale) => middleware.prefixDefault || locale !== defaultLocale
|
|
970
|
+
)
|
|
971
|
+
.map((locale) => (
|
|
972
|
+
<Route
|
|
973
|
+
// Route pattern to capture the locale (e.g., /en/, /fr/) and match all subsequent paths
|
|
974
|
+
path={`/${locale}/*`}
|
|
975
|
+
key={locale}
|
|
976
|
+
element={<AppLocalized locale={locale}>{children}</AppLocalized>} // Wraps children with locale management
|
|
977
|
+
/>
|
|
978
|
+
))}
|
|
979
|
+
|
|
980
|
+
{
|
|
981
|
+
// If prefixing the default locale is disabled, render the children directly at the root path
|
|
982
|
+
!middleware.prefixDefault && (
|
|
983
|
+
<Route
|
|
984
|
+
path="*"
|
|
985
|
+
element={
|
|
986
|
+
<AppLocalized locale={defaultLocale}>{children}</AppLocalized>
|
|
987
|
+
} // Wraps children with locale management
|
|
988
|
+
/>
|
|
989
|
+
)
|
|
990
|
+
}
|
|
991
|
+
</Routes>
|
|
992
|
+
</BrowserRouter>
|
|
993
|
+
);
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
Then, you can use the `LocaleRouter` component in your application:
|
|
997
|
+
|
|
998
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
999
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
1000
|
+
import type { FC } from "react";
|
|
1001
|
+
|
|
1002
|
+
// ... Your AppContent component
|
|
1003
|
+
|
|
1004
|
+
const App: FC = () => (
|
|
1005
|
+
<LocaleRouter>
|
|
1006
|
+
<AppContent />
|
|
1007
|
+
</LocaleRouter>
|
|
1008
|
+
);
|
|
1009
|
+
```
|
|
1010
|
+
|
|
1011
|
+
```jsx fileName="src/App.mjx" codeFormat="esm"
|
|
1012
|
+
import { LocaleRouter } from "./components/LocaleRouter";
|
|
1013
|
+
|
|
1014
|
+
// ... Your AppContent component
|
|
1015
|
+
|
|
1016
|
+
const App = () => (
|
|
1017
|
+
<LocaleRouter>
|
|
1018
|
+
<AppContent />
|
|
1019
|
+
</LocaleRouter>
|
|
1020
|
+
);
|
|
1021
|
+
```
|
|
1022
|
+
|
|
1023
|
+
```jsx fileName="src/App.cjx" codeFormat="commonjs"
|
|
1024
|
+
const { LocaleRouter } = require("./components/LocaleRouter");
|
|
1025
|
+
|
|
1026
|
+
// ... Your AppContent component
|
|
1027
|
+
|
|
1028
|
+
const App = () => (
|
|
1029
|
+
<LocaleRouter>
|
|
1030
|
+
<AppContent />
|
|
1031
|
+
</LocaleRouter>
|
|
1032
|
+
);
|
|
1033
|
+
```
|
|
1034
|
+
|
|
1035
|
+
In parallel, you can also use the `intLayerMiddlewarePlugin` to add server-side routing to your application. This plugin will automatically detect the current locale based on the URL and set the appropriate locale cookie. If no locale is specified, the plugin will determine the most appropriate locale based on the user's browser language preferences. If no locale is detected, it will redirect to the default locale.
|
|
1036
|
+
|
|
1037
|
+
```typescript {3,7} fileName="vite.config.ts" codeFormat="typescript"
|
|
1038
|
+
import { defineConfig } from "vite";
|
|
1039
|
+
import react from "@vitejs/plugin-react-swc";
|
|
1040
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1041
|
+
|
|
1042
|
+
// https://vitejs.dev/config/
|
|
1043
|
+
export default defineConfig({
|
|
1044
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1045
|
+
});
|
|
1046
|
+
```
|
|
1047
|
+
|
|
1048
|
+
```javascript {3,7} fileName="vite.config.mjs" codeFormat="esm"
|
|
1049
|
+
import { defineConfig } from "vite";
|
|
1050
|
+
import react from "@vitejs/plugin-react-swc";
|
|
1051
|
+
import { intlayerPlugin, intLayerMiddlewarePlugin } from "vite-intlayer";
|
|
1052
|
+
|
|
1053
|
+
// https://vitejs.dev/config/
|
|
1054
|
+
export default defineConfig({
|
|
1055
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1056
|
+
});
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
```javascript {3,7} fileName="vite.config.cjs" codeFormat="commonjs"
|
|
1060
|
+
const { defineConfig } = require("vite");
|
|
1061
|
+
const react = require("@vitejs/plugin-react-swc");
|
|
1062
|
+
const { intlayerPlugin, intLayerMiddlewarePlugin } = require("vite-intlayer");
|
|
1063
|
+
|
|
1064
|
+
// https://vitejs.dev/config/
|
|
1065
|
+
module.exports = defineConfig({
|
|
1066
|
+
plugins: [react(), intlayerPlugin(), intLayerMiddlewarePlugin()],
|
|
1067
|
+
});
|
|
1068
|
+
```
|
|
1069
|
+
|
|
1070
|
+
### (Optional) Step 8: Change the URL when the locale changes
|
|
1071
|
+
|
|
1072
|
+
To change the URL when the locale changes, you can use the `onLocaleChange` prop provided by the `useLocale` hook. In parallel, you can use the `useLocation` and `useNavigate` hooks from `react-router-dom` to update the URL path.
|
|
1073
|
+
|
|
1074
|
+
```tsx fileName="src/components/LocaleSwitcher.tsx" codeFormat="typescript"
|
|
1075
|
+
import { useLocation, useNavigate } from "react-router-dom";
|
|
1076
|
+
import {
|
|
1077
|
+
Locales,
|
|
1078
|
+
getHTMLTextDir,
|
|
1079
|
+
getLocaleName,
|
|
1080
|
+
getLocalizedUrl,
|
|
1081
|
+
} from "intlayer";
|
|
1082
|
+
import { useLocale } from "react-intlayer";
|
|
1083
|
+
import { type FC } from "react";
|
|
1084
|
+
|
|
1085
|
+
const LocaleSwitcher: FC = () => {
|
|
1086
|
+
const { pathname, search } = useLocation(); // Get the current URL path. Example: /fr/about?foo=bar
|
|
1087
|
+
const navigate = useNavigate();
|
|
1088
|
+
|
|
1089
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1090
|
+
onLocaleChange: (locale) => {
|
|
1091
|
+
// Construct the URL with the updated locale
|
|
1092
|
+
// Example: /es/about?foo=bar
|
|
1093
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1094
|
+
|
|
1095
|
+
// Update the URL path
|
|
1096
|
+
navigate(pathWithLocale);
|
|
1097
|
+
},
|
|
1098
|
+
});
|
|
1099
|
+
|
|
1100
|
+
return (
|
|
1101
|
+
<div>
|
|
1102
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1103
|
+
<div id="localePopover" popover="auto">
|
|
1104
|
+
{availableLocales.map((localeItem) => (
|
|
1105
|
+
<a
|
|
1106
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1107
|
+
hrefLang={localeItem}
|
|
1108
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1109
|
+
onClick={(e) => {
|
|
1110
|
+
e.preventDefault();
|
|
1111
|
+
setLocale(localeItem);
|
|
1112
|
+
}}
|
|
1113
|
+
key={localeItem}
|
|
1114
|
+
>
|
|
1115
|
+
<span>
|
|
1116
|
+
{/* Locale - e.g. FR */}
|
|
1117
|
+
{localeItem}
|
|
1118
|
+
</span>
|
|
1119
|
+
<span>
|
|
1120
|
+
{/* Language in its own Locale - e.g. Français */}
|
|
1121
|
+
{getLocaleName(localeItem, locale)}
|
|
1122
|
+
</span>
|
|
1123
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1124
|
+
{/* Language in current Locale - e.g. Francés with current locale set to Locales.SPANISH */}
|
|
1125
|
+
{getLocaleName(localeItem)}
|
|
1126
|
+
</span>
|
|
1127
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1128
|
+
{/* Language in English - e.g. French */}
|
|
1129
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1130
|
+
</span>
|
|
1131
|
+
</a>
|
|
1132
|
+
))}
|
|
1133
|
+
</div>
|
|
1134
|
+
</div>
|
|
1135
|
+
);
|
|
1136
|
+
};
|
|
1137
|
+
```
|
|
1138
|
+
|
|
1139
|
+
```jsx fileName="src/components/LocaleSwitcher.msx" codeFormat="esm"
|
|
1140
|
+
import { useLocation, useNavigate } from "react-router-dom";
|
|
1141
|
+
import {
|
|
1142
|
+
Locales,
|
|
1143
|
+
getHTMLTextDir,
|
|
1144
|
+
getLocaleName,
|
|
1145
|
+
getLocalizedUrl,
|
|
1146
|
+
} from "intlayer";
|
|
1147
|
+
import { useLocale } from "react-intlayer";
|
|
1148
|
+
|
|
1149
|
+
const LocaleSwitcher = () => {
|
|
1150
|
+
const { pathname, search } = useLocation(); // Get the current URL path. Example: /fr/about?foo=bar
|
|
1151
|
+
const navigate = useNavigate();
|
|
1152
|
+
|
|
1153
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1154
|
+
onLocaleChange: (locale) => {
|
|
1155
|
+
// Construct the URL with the updated locale
|
|
1156
|
+
// Example: /es/about?foo=bar
|
|
1157
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1158
|
+
|
|
1159
|
+
// Update the URL path
|
|
1160
|
+
navigate(pathWithLocale);
|
|
1161
|
+
},
|
|
1162
|
+
});
|
|
1163
|
+
|
|
1164
|
+
return (
|
|
1165
|
+
<div>
|
|
1166
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1167
|
+
<div id="localePopover" popover="auto">
|
|
1168
|
+
{availableLocales.map((localeItem) => (
|
|
1169
|
+
<a
|
|
1170
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1171
|
+
hrefLang={localeItem}
|
|
1172
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1173
|
+
onClick={(e) => {
|
|
1174
|
+
e.preventDefault();
|
|
1175
|
+
setLocale(localeItem);
|
|
1176
|
+
}}
|
|
1177
|
+
key={localeItem}
|
|
1178
|
+
>
|
|
1179
|
+
<span>
|
|
1180
|
+
{/* Locale - e.g. FR */}
|
|
1181
|
+
{localeItem}
|
|
1182
|
+
</span>
|
|
1183
|
+
<span>
|
|
1184
|
+
{/* Language in its own Locale - e.g. Français */}
|
|
1185
|
+
{getLocaleName(localeItem, locale)}
|
|
1186
|
+
</span>
|
|
1187
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1188
|
+
{/* Language in current Locale - e.g. Francés with current locale set to Locales.SPANISH */}
|
|
1189
|
+
{getLocaleName(localeItem)}
|
|
1190
|
+
</span>
|
|
1191
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1192
|
+
{/* Language in English - e.g. French */}
|
|
1193
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1194
|
+
</span>
|
|
1195
|
+
</a>
|
|
1196
|
+
))}
|
|
1197
|
+
</div>
|
|
1198
|
+
</div>
|
|
1199
|
+
);
|
|
1200
|
+
};
|
|
1201
|
+
```
|
|
1202
|
+
|
|
1203
|
+
```jsx fileName="src/components/LocaleSwitcher.csx" codeFormat="commonjs"
|
|
1204
|
+
const { useLocation, useNavigate } = require("react-router-dom");
|
|
1205
|
+
const {
|
|
1206
|
+
Locales,
|
|
1207
|
+
getHTMLTextDir,
|
|
1208
|
+
getLocaleName,
|
|
1209
|
+
getLocalizedUrl,
|
|
1210
|
+
} = require("intlayer");
|
|
1211
|
+
const { useLocale } = require("react-intlayer");
|
|
1212
|
+
|
|
1213
|
+
const LocaleSwitcher = () => {
|
|
1214
|
+
const { pathname, search } = useLocation(); // Get the current URL path. Example: /fr/about?foo=bar
|
|
1215
|
+
const navigate = useNavigate();
|
|
1216
|
+
|
|
1217
|
+
const { locale, availableLocales, setLocale } = useLocale({
|
|
1218
|
+
onLocaleChange: (locale) => {
|
|
1219
|
+
// Construct the URL with the updated locale
|
|
1220
|
+
// Example: /es/about?foo=bar
|
|
1221
|
+
const pathWithLocale = getLocalizedUrl(`${pathname}${search}`, locale);
|
|
1222
|
+
|
|
1223
|
+
// Update the URL path
|
|
1224
|
+
navigate(pathWithLocale);
|
|
1225
|
+
},
|
|
1226
|
+
});
|
|
1227
|
+
|
|
1228
|
+
return (
|
|
1229
|
+
<div>
|
|
1230
|
+
<button popoverTarget="localePopover">{getLocaleName(locale)}</button>
|
|
1231
|
+
<div id="localePopover" popover="auto">
|
|
1232
|
+
{availableLocales.map((localeItem) => (
|
|
1233
|
+
<a
|
|
1234
|
+
href={getLocalizedUrl(location.pathname, localeItem)}
|
|
1235
|
+
hrefLang={localeItem}
|
|
1236
|
+
aria-current={locale === localeItem ? "page" : undefined}
|
|
1237
|
+
onClick={(e) => {
|
|
1238
|
+
e.preventDefault();
|
|
1239
|
+
setLocale(localeItem);
|
|
1240
|
+
}}
|
|
1241
|
+
key={localeItem}
|
|
1242
|
+
>
|
|
1243
|
+
<span>
|
|
1244
|
+
{/* Locale - e.g. FR */}
|
|
1245
|
+
{localeItem}
|
|
1246
|
+
</span>
|
|
1247
|
+
<span>
|
|
1248
|
+
{/* Language in its own Locale - e.g. Français */}
|
|
1249
|
+
{getLocaleName(localeItem, locale)}
|
|
1250
|
+
</span>
|
|
1251
|
+
<span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
|
|
1252
|
+
{/* Language in current Locale - e.g. Francés with current locale set to Locales.SPANISH */}
|
|
1253
|
+
{getLocaleName(localeItem)}
|
|
1254
|
+
</span>
|
|
1255
|
+
<span dir="ltr" lang={Locales.ENGLISH}>
|
|
1256
|
+
{/* Language in English - e.g. French */}
|
|
1257
|
+
{getLocaleName(localeItem, Locales.ENGLISH)}
|
|
1258
|
+
</span>
|
|
1259
|
+
</a>
|
|
1260
|
+
))}
|
|
1261
|
+
</div>
|
|
1262
|
+
</div>
|
|
1263
|
+
);
|
|
1264
|
+
};
|
|
1265
|
+
```
|
|
1266
|
+
|
|
1267
|
+
> Documentation references:
|
|
1268
|
+
>
|
|
1269
|
+
> - [`useLocale` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/{{locale}}/packages/react-intlayer/useLocale.md)
|
|
1270
|
+
> - [`getLocaleName` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/{{locale}}/packages/intlayer/getLocaleName.md)
|
|
1271
|
+
> - [`getLocalizedUrl` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/{{locale}}/packages/intlayer/getLocalizedUrl.md)
|
|
1272
|
+
> - [`getHTMLTextDir` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/packages/intlayer/getHTMLTextDir.md)
|
|
1273
|
+
> - [`hrefLang` attribute](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)
|
|
1274
|
+
> - [`lang` attribute`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)
|
|
1275
|
+
> - [`dir` attribute`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir)
|
|
1276
|
+
> - [`aria-current` attribute`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)
|
|
1277
|
+
|
|
1278
|
+
Below is the updated **Step 9** with added explanations and refined code examples:
|
|
1279
|
+
|
|
1280
|
+
---
|
|
1281
|
+
|
|
1282
|
+
### (Optional) Step 9: Switch the HTML Language and Direction Attributes
|
|
1283
|
+
|
|
1284
|
+
When your application supports multiple languages, it is crucial to update the `<html>` tag's `lang` and `dir` attributes to correspond with the current locale. Doing so ensures:
|
|
1285
|
+
|
|
1286
|
+
- **Accessibility**: Screen readers and assistive technologies depend on the correct `lang` attribute to pronounce and interpret content accurately.
|
|
1287
|
+
- **Text Rendering**: The `dir` (direction) attribute guarantees that text is rendered in the correct order (e.g., left-to-right for English, right-to-left for Arabic or Hebrew), which is essential for readability.
|
|
1288
|
+
- **SEO**: Search engines use the `lang` attribute to identify the language of your page, aiding in delivering the appropriate localised content in search results.
|
|
1289
|
+
|
|
1290
|
+
By updating these attributes dynamically when the locale changes, you guarantee a consistent and accessible experience for users across all supported languages.
|
|
1291
|
+
|
|
1292
|
+
#### Implementing the Hook
|
|
1293
|
+
|
|
1294
|
+
Create a custom hook to manage the HTML attributes. The hook listens for locale changes and updates the attributes accordingly:
|
|
1295
|
+
|
|
1296
|
+
```tsx fileName="src/hooks/useI18nHTMLAttributes.tsx" codeFormat="typescript"
|
|
1297
|
+
import { useEffect } from "react";
|
|
1298
|
+
import { useLocale } from "react-intlayer";
|
|
1299
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Updates the HTML <html> element's `lang` and `dir` attributes based on the current locale.
|
|
1303
|
+
* - `lang`: Informs browsers and search engines of the page's language.
|
|
1304
|
+
* - `dir`: Ensures the correct reading order (e.g., 'ltr' for English, 'rtl' for Arabic).
|
|
1305
|
+
*
|
|
1306
|
+
* This dynamic update is essential for proper text rendering, accessibility, and SEO.
|
|
1307
|
+
*/
|
|
1308
|
+
export const useI18nHTMLAttributes = () => {
|
|
1309
|
+
const { locale } = useLocale();
|
|
1310
|
+
|
|
1311
|
+
useEffect(() => {
|
|
1312
|
+
// Update the language attribute to the current locale.
|
|
1313
|
+
document.documentElement.lang = locale;
|
|
1314
|
+
|
|
1315
|
+
// Set the text direction based on the current locale.
|
|
1316
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1317
|
+
}, [locale]);
|
|
1318
|
+
};
|
|
1319
|
+
```
|
|
1320
|
+
|
|
1321
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.msx" codeFormat="esm"
|
|
1322
|
+
import { useEffect } from "react";
|
|
1323
|
+
import { useLocale } from "react-intlayer";
|
|
1324
|
+
import { getHTMLTextDir } from "intlayer";
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* Updates the HTML <html> element's `lang` and `dir` attributes based on the current locale.
|
|
1328
|
+
* - `lang`: Informs browsers and search engines of the page's language.
|
|
1329
|
+
* - `dir`: Ensures the correct reading order (e.g., 'ltr' for English, 'rtl' for Arabic).
|
|
1330
|
+
*
|
|
1331
|
+
* This dynamic update is essential for proper text rendering, accessibility, and SEO.
|
|
1332
|
+
*/
|
|
1333
|
+
export const useI18nHTMLAttributes = () => {
|
|
1334
|
+
const { locale } = useLocale();
|
|
1335
|
+
|
|
1336
|
+
useEffect(() => {
|
|
1337
|
+
// Update the language attribute to the current locale.
|
|
1338
|
+
document.documentElement.lang = locale;
|
|
1339
|
+
|
|
1340
|
+
// Set the text direction based on the current locale.
|
|
1341
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1342
|
+
}, [locale]);
|
|
1343
|
+
};
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
```jsx fileName="src/hooks/useI18nHTMLAttributes.csx" codeFormat="commonjs"
|
|
1347
|
+
const { useEffect } = require("react");
|
|
1348
|
+
const { useLocale } = require("react-intlayer");
|
|
1349
|
+
const { getHTMLTextDir } = require("intlayer");
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Updates the HTML <html> element's `lang` and `dir` attributes based on the current locale.
|
|
1353
|
+
* - `lang`: Informs browsers and search engines of the page's language.
|
|
1354
|
+
* - `dir`: Ensures the correct reading order (e.g., 'ltr' for English, 'rtl' for Arabic).
|
|
1355
|
+
*
|
|
1356
|
+
* This dynamic update is essential for proper text rendering, accessibility, and SEO.
|
|
1357
|
+
*/
|
|
1358
|
+
const useI18nHTMLAttributes = () => {
|
|
1359
|
+
const { locale } = useLocale();
|
|
1360
|
+
|
|
1361
|
+
useEffect(() => {
|
|
1362
|
+
// Update the language attribute to the current locale.
|
|
1363
|
+
document.documentElement.lang = locale;
|
|
1364
|
+
|
|
1365
|
+
// Set the text direction based on the current locale.
|
|
1366
|
+
document.documentElement.dir = getHTMLTextDir(locale);
|
|
1367
|
+
}, [locale]);
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
module.exports = { useI18nHTMLAttributes };
|
|
1371
|
+
```
|
|
1372
|
+
|
|
1373
|
+
#### Using the Hook in Your Application
|
|
1374
|
+
|
|
1375
|
+
Integrate the hook into your main component so that the HTML attributes update whenever the locale changes:
|
|
1376
|
+
|
|
1377
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
1378
|
+
import type { FC } from "react";
|
|
1379
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1380
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1381
|
+
import "./App.css";
|
|
1382
|
+
|
|
1383
|
+
const AppContent: FC = () => {
|
|
1384
|
+
// Apply the hook to update the <html> tag's lang and dir attributes based on the locale.
|
|
1385
|
+
useI18nHTMLAttributes();
|
|
1386
|
+
|
|
1387
|
+
// ... Rest of your component
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
const App: FC = () => (
|
|
1391
|
+
<IntlayerProvider>
|
|
1392
|
+
<AppContent />
|
|
1393
|
+
</IntlayerProvider>
|
|
1394
|
+
);
|
|
1395
|
+
|
|
1396
|
+
export default App;
|
|
1397
|
+
```
|
|
1398
|
+
|
|
1399
|
+
````jsx fileName="src/App.msx" codeFormat="esm"
|
|
1400
|
+
#### Using the Hook in Your Application
|
|
1401
|
+
|
|
1402
|
+
Integrate the hook into your main component so that the HTML attributes update whenever the locale changes:
|
|
1403
|
+
|
|
1404
|
+
```tsx fileName="src/App.tsx" codeFormat="typescript"
|
|
1405
|
+
import type { FC } from "react";
|
|
1406
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1407
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1408
|
+
import "./App.css";
|
|
1409
|
+
|
|
1410
|
+
const AppContent: FC = () => {
|
|
1411
|
+
// Apply the hook to update the <html> tag's lang and dir attributes based on the locale.
|
|
1412
|
+
useI18nHTMLAttributes();
|
|
1413
|
+
|
|
1414
|
+
// ... Rest of your component
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
const App: FC = () => (
|
|
1418
|
+
<IntlayerProvider>
|
|
1419
|
+
<AppContent />
|
|
1420
|
+
</IntlayerProvider>
|
|
1421
|
+
);
|
|
1422
|
+
|
|
1423
|
+
export default App;
|
|
1424
|
+
````
|
|
1425
|
+
|
|
1426
|
+
```jsx fileName="src/App.msx" codeFormat="esm"
|
|
1427
|
+
import { IntlayerProvider, useIntlayer } from "react-intlayer";
|
|
1428
|
+
import { useI18nHTMLAttributes } from "./hooks/useI18nHTMLAttributes";
|
|
1429
|
+
import "./App.css";
|
|
1430
|
+
|
|
1431
|
+
const AppContent = () => {
|
|
1432
|
+
// Apply the hook to update the <html> tag's lang and dir attributes based on the locale.
|
|
1433
|
+
useI18nHTMLAttributes();
|
|
1434
|
+
|
|
1435
|
+
// ... Rest of your component
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
const App = () => (
|
|
1439
|
+
<IntlayerProvider>
|
|
1440
|
+
<AppContent />
|
|
1441
|
+
</IntlayerProvider>
|
|
1442
|
+
);
|
|
1443
|
+
|
|
1444
|
+
export default App;
|
|
1445
|
+
```
|
|
1446
|
+
|
|
1447
|
+
```jsx fileName="src/App.csx" codeFormat="commonjs"
|
|
1448
|
+
const { FC } = require("react");
|
|
1449
|
+
const { IntlayerProvider, useIntlayer } = require("react-intlayer");
|
|
1450
|
+
const { useI18nHTMLAttributes } = require("./hooks/useI18nHTMLAttributes");
|
|
1451
|
+
require("./App.css");
|
|
1452
|
+
|
|
1453
|
+
const AppContent = () => {
|
|
1454
|
+
// Apply the hook to update the <html> tag's lang and dir attributes based on the locale.
|
|
1455
|
+
useI18nHTMLAttributes();
|
|
1456
|
+
|
|
1457
|
+
// ... Rest of your component
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
const App = () => (
|
|
1461
|
+
<IntlayerProvider>
|
|
1462
|
+
<AppContent />
|
|
1463
|
+
</IntlayerProvider>
|
|
1464
|
+
);
|
|
1465
|
+
|
|
1466
|
+
module.exports = App;
|
|
1467
|
+
```
|
|
1468
|
+
|
|
1469
|
+
By applying these changes, your application will:
|
|
1470
|
+
|
|
1471
|
+
- Ensure the **language** (`lang`) attribute correctly reflects the current locale, which is important for SEO and browser behaviour.
|
|
1472
|
+
- Adjust the **text direction** (`dir`) according to the locale, enhancing readability and usability for languages with different reading orders.
|
|
1473
|
+
- Provide a more **accessible** experience, as assistive technologies depend on these attributes to function optimally.
|
|
1474
|
+
|
|
1475
|
+
### (Optional) Step 10: Creating a Localised Link Component
|
|
1476
|
+
|
|
1477
|
+
// Apply the hook to update the <html> tag's lang and dir attributes based on the locale.
|
|
1478
|
+
useI18nHTMLAttributes();
|
|
1479
|
+
|
|
1480
|
+
// ... Rest of your component
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
const App = () => (
|
|
1484
|
+
<IntlayerProvider>
|
|
1485
|
+
<AppContent />
|
|
1486
|
+
</IntlayerProvider>
|
|
1487
|
+
);
|
|
1488
|
+
|
|
1489
|
+
module.exports = App;
|
|
1490
|
+
|
|
1491
|
+
````
|
|
1492
|
+
|
|
1493
|
+
By applying these changes, your application will:
|
|
1494
|
+
|
|
1495
|
+
- Ensure the **language** (`lang`) attribute correctly reflects the current locale, which is important for SEO and browser behaviour.
|
|
1496
|
+
- Adjust the **text direction** (`dir`) according to the locale, enhancing readability and usability for languages with different reading orders.
|
|
1497
|
+
- Provide a more **accessible** experience, as assistive technologies depend on these attributes to function optimally.
|
|
1498
|
+
|
|
1499
|
+
### (Optional) Step 10: Creating a Localised Link Component
|
|
1500
|
+
|
|
1501
|
+
To ensure that your application’s navigation respects the current locale, you can create a custom `Link` component. This component automatically prefixes internal URLs with the current language. For example, when a French-speaking user clicks on a link to the "About" page, they are redirected to `/fr/about` instead of `/about`.
|
|
1502
|
+
|
|
1503
|
+
This behaviour is useful for several reasons:
|
|
1504
|
+
|
|
1505
|
+
- **SEO and User Experience**: Localised URLs help search engines index language-specific pages correctly and provide users with content in their preferred language.
|
|
1506
|
+
- **Consistency**: By using a localised link throughout your application, you guarantee that navigation stays within the current locale, preventing unexpected language switches.
|
|
1507
|
+
- **Maintainability**: Centralising the localisation logic in a single component simplifies the management of URLs, making your codebase easier to maintain and extend as your application grows.
|
|
1508
|
+
|
|
1509
|
+
Below is the implementation of a localised `Link` component in TypeScript:
|
|
1510
|
+
|
|
1511
|
+
```tsx fileName="src/components/Link.tsx" codeFormat="typescript"
|
|
1512
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1513
|
+
import {
|
|
1514
|
+
forwardRef,
|
|
1515
|
+
type DetailedHTMLProps,
|
|
1516
|
+
type AnchorHTMLAttributes,
|
|
1517
|
+
} from "react";
|
|
1518
|
+
import { useLocale } from "react-intlayer";
|
|
1519
|
+
|
|
1520
|
+
export interface LinkProps
|
|
1521
|
+
extends DetailedHTMLProps<
|
|
1522
|
+
AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
1523
|
+
HTMLAnchorElement
|
|
1524
|
+
> {}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* Utility function to check whether a given URL is external.
|
|
1528
|
+
* If the URL starts with http:// or https://, it is considered external.
|
|
1529
|
+
*/
|
|
1530
|
+
export const checkIsExternalLink = (href?: string): boolean =>
|
|
1531
|
+
/^https?:\/\//.test(href ?? "");
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* A custom Link component that adapts the href attribute based on the current locale.
|
|
1535
|
+
* For internal links, it uses `getLocalizedUrl` to prefix the URL with the locale (e.g., /fr/about).
|
|
1536
|
+
* This ensures that navigation remains within the same locale context.
|
|
1537
|
+
*/
|
|
1538
|
+
export const Link = forwardRef<HTMLAnchorElement, LinkProps>(
|
|
1539
|
+
({ href, children, ...props }, ref) => {
|
|
1540
|
+
const { locale } = useLocale();
|
|
1541
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1542
|
+
|
|
1543
|
+
// If the link is internal and a valid href is provided, get the localised URL.
|
|
1544
|
+
const hrefI18n =
|
|
1545
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1546
|
+
|
|
1547
|
+
return (
|
|
1548
|
+
<a href={hrefI18n} ref={ref} {...props}>
|
|
1549
|
+
{children}
|
|
1550
|
+
</a>
|
|
1551
|
+
);
|
|
1552
|
+
}
|
|
1553
|
+
);
|
|
1554
|
+
|
|
1555
|
+
Link.displayName = "Link";
|
|
1556
|
+
````
|
|
1557
|
+
|
|
1558
|
+
```jsx fileName="src/components/Link.mjx" codeFormat="esm"
|
|
1559
|
+
import { getLocalizedUrl } from "intlayer";
|
|
1560
|
+
import { useLocale } from "react-intlayer";
|
|
1561
|
+
import { forwardRef } from "react";
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Utility function to check whether a given URL is external.
|
|
1565
|
+
* If the URL starts with http:// or https://, it is considered external.
|
|
1566
|
+
*/
|
|
1567
|
+
export const checkIsExternalLink = (href?: string): boolean =>
|
|
1568
|
+
/^https?:\/\//.test(href ?? "");
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* A custom Link component that adapts the href attribute based on the current locale.
|
|
1572
|
+
* For internal links, it uses `getLocalizedUrl` to prefix the URL with the locale (e.g., /fr/about).
|
|
1573
|
+
* This ensures that navigation remains within the same locale context.
|
|
1574
|
+
*/
|
|
1575
|
+
export const Link = forwardRef(({ href, children, ...props }, ref) => {
|
|
1576
|
+
const { locale } = useLocale();
|
|
1577
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1578
|
+
|
|
1579
|
+
// If the link is internal and a valid href is provided, get the localised URL.
|
|
1580
|
+
const hrefI18n =
|
|
1581
|
+
href && !isExternalLink ? getLocalizedUrl(href, locale) : href;
|
|
1582
|
+
|
|
1583
|
+
return (
|
|
1584
|
+
<a href={hrefI18n} ref={ref} {...props}>
|
|
1585
|
+
{children}
|
|
1586
|
+
</a>
|
|
1587
|
+
);
|
|
1588
|
+
});
|
|
1589
|
+
|
|
1590
|
+
Link.displayName = "Link";
|
|
1591
|
+
```
|
|
1592
|
+
|
|
1593
|
+
```jsx fileName="src/components/Link.csx" codeFormat="commonjs"
|
|
1594
|
+
const { getLocalizedUrl } = require("intlayer");
|
|
1595
|
+
const { useLocale } = require("react-intlayer");
|
|
1596
|
+
const { forwardRef } = require("react");
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* Utility function to check whether a given URL is external.
|
|
1600
|
+
* If the URL starts with http:// or https://, it is considered external.
|
|
1601
|
+
*/
|
|
1602
|
+
const checkIsExternalLink = (href) => /^https?:\/\//.test(href ?? "");
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* A custom Link component that adapts the href attribute based on the current locale.
|
|
1606
|
+
* For internal links, it uses `getLocalizedUrl` to prefix the URL with the locale (e.g., /fr/about).
|
|
1607
|
+
* This ensures that navigation remains within the same locale context.
|
|
1608
|
+
*/
|
|
1609
|
+
const Link = forwardRef(({ href, children, ...props }, ref) => {
|
|
1610
|
+
const { locale } = useLocale();
|
|
1611
|
+
const isExternalLink = checkIsExternalLink(href);
|
|
1612
|
+
|
|
1613
|
+
// If the link is internal and a valid href is provided, get the localised URL.
|
|
1614
|
+
const localizedHref = isExternalLink ? href : getLocalizedUrl(href, locale);
|
|
1615
|
+
|
|
1616
|
+
return (
|
|
1617
|
+
<a
|
|
1618
|
+
href={localizedHref}
|
|
1619
|
+
ref={ref}
|
|
1620
|
+
{...props}
|
|
1621
|
+
aria-current={isExternalLink ? "external" : undefined}
|
|
1622
|
+
>
|
|
1623
|
+
{children}
|
|
1624
|
+
</a>
|
|
1625
|
+
);
|
|
1626
|
+
});
|
|
1627
|
+
|
|
1628
|
+
Link.displayName = "Link";
|
|
1629
|
+
```
|
|
1630
|
+
|
|
1631
|
+
#### How It Works
|
|
1632
|
+
|
|
1633
|
+
- **Detecting External Links**:
|
|
1634
|
+
The helper function `checkIsExternalLink` determines whether a URL is external. External links are left unchanged because they do not require localisation.
|
|
1635
|
+
|
|
1636
|
+
- **Retrieving the Current Locale**:
|
|
1637
|
+
The `useLocale` hook provides the current locale (e.g., `fr` for French).
|
|
1638
|
+
|
|
1639
|
+
- **Localising the URL**:
|
|
1640
|
+
For internal links (i.e., non-external), `getLocalizedUrl` is used to automatically prefix the URL with the current locale. This means that if your user is in French, passing `/about` as the `href` will transform it to `/fr/about`.
|
|
1641
|
+
|
|
1642
|
+
- **Returning the Link**:
|
|
1643
|
+
The component returns an `<a>` element with the localised URL, ensuring that navigation is consistent with the locale.
|
|
1644
|
+
|
|
1645
|
+
By integrating this `Link` component across your application, you maintain a coherent and language-aware user experience whilst also benefitting from improved SEO and usability.
|
|
1646
|
+
|
|
1647
|
+
### Configure TypeScript
|
|
1648
|
+
|
|
1649
|
+
Intlayer uses module augmentation to take advantage of TypeScript and make your codebase stronger.
|
|
1650
|
+
|
|
1651
|
+

|
|
1652
|
+
|
|
1653
|
+

|
|
1654
|
+
|
|
1655
|
+
Ensure your TypeScript configuration includes the autogenerated types.
|
|
1656
|
+
|
|
1657
|
+
```json5 fileName="tsconfig.json"
|
|
1658
|
+
{
|
|
1659
|
+
// ... Your existing TypeScript configurations
|
|
1660
|
+
"include": [
|
|
1661
|
+
// ... Your existing TypeScript configurations
|
|
1662
|
+
".intlayer/**/*.ts", // Include the auto-generated types
|
|
1663
|
+
],
|
|
1664
|
+
}
|
|
1665
|
+
```
|
|
1666
|
+
|
|
1667
|
+
### Git Configuration
|
|
1668
|
+
|
|
1669
|
+
It is recommended to ignore the files generated by Intlayer. This prevents you from committing them to your Git repository.
|
|
1670
|
+
|
|
1671
|
+
To do this, you can add the following instructions to your `.gitignore` file:
|
|
1672
|
+
|
|
1673
|
+
```plaintext
|
|
1674
|
+
# Ignore the files generated by Intlayer
|
|
1675
|
+
.intlayer
|
|
1676
|
+
```
|
|
1677
|
+
|
|
1678
|
+
### VS Code Extension
|
|
1679
|
+
|
|
1680
|
+
To enhance your development experience with Intlayer, you can install the official **Intlayer VS Code Extension**.
|
|
1681
|
+
|
|
1682
|
+
[Install from the VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
|
|
1683
|
+
|
|
1684
|
+
This extension provides:
|
|
1685
|
+
|
|
1686
|
+
- **Autocompletion** for translation keys.
|
|
1687
|
+
- **Real-time error detection** for missing translations.
|
|
1688
|
+
- **Inline previews** of translated content.
|
|
1689
|
+
- **Quick actions** to easily create and update translations.
|
|
1690
|
+
|
|
1691
|
+
For more details on how to use the extension, refer to the [Intlayer VS Code Extension documentation](https://intlayer.org/doc/vs-code-extension).
|
|
1692
|
+
|
|
1693
|
+
---
|
|
1694
|
+
|
|
1695
|
+
### Go Further
|
|
1696
|
+
|
|
1697
|
+
To go further, you can implement the [visual editor](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_visual_editor.md) or externalise your content using the [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en-GB/intlayer_CMS.md).
|
|
1698
|
+
|
|
1699
|
+
---
|
|
1700
|
+
|
|
1701
|
+
## Doc History
|
|
1702
|
+
|
|
1703
|
+
- 5.5.10 - 2025-06-29: Init history
|