@intlayer/docs 8.9.0 → 8.9.2
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/dist/cjs/generated/frequentQuestions.entry.cjs +20 -0
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs +20 -0
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +1 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/docs/ar/intlayer_with_astro_lit.md +4 -4
- package/docs/ar/intlayer_with_astro_preact.md +4 -4
- package/docs/ar/intlayer_with_astro_react.md +4 -4
- package/docs/ar/intlayer_with_astro_solid.md +4 -4
- package/docs/ar/intlayer_with_astro_svelte.md +4 -4
- package/docs/ar/intlayer_with_astro_vanilla.md +4 -4
- package/docs/ar/intlayer_with_create_react_app.md +4 -4
- package/docs/ar/intlayer_with_nextjs_14.md +4 -4
- package/docs/ar/intlayer_with_nextjs_15.md +4 -4
- package/docs/ar/intlayer_with_nextjs_16.md +4 -4
- package/docs/ar/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/ar/intlayer_with_tanstack+solid.md +4 -4
- package/docs/ar/intlayer_with_tanstack.md +4 -4
- package/docs/ar/intlayer_with_vite+preact.md +4 -4
- package/docs/ar/intlayer_with_vite+react.md +4 -4
- package/docs/ar/intlayer_with_vite+solid.md +4 -4
- package/docs/de/intlayer_with_astro_lit.md +4 -4
- package/docs/de/intlayer_with_astro_preact.md +4 -4
- package/docs/de/intlayer_with_astro_react.md +4 -4
- package/docs/de/intlayer_with_astro_solid.md +4 -4
- package/docs/de/intlayer_with_astro_svelte.md +4 -4
- package/docs/de/intlayer_with_astro_vanilla.md +4 -4
- package/docs/de/intlayer_with_create_react_app.md +4 -4
- package/docs/de/intlayer_with_nextjs_14.md +4 -4
- package/docs/de/intlayer_with_nextjs_15.md +4 -4
- package/docs/de/intlayer_with_nextjs_16.md +4 -4
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/de/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/de/intlayer_with_tanstack+solid.md +4 -4
- package/docs/de/intlayer_with_tanstack.md +4 -4
- package/docs/de/intlayer_with_vite+preact.md +4 -4
- package/docs/de/intlayer_with_vite+react.md +4 -4
- package/docs/de/intlayer_with_vite+solid.md +4 -4
- package/docs/en/intlayer_with_astro_lit.md +4 -4
- package/docs/en/intlayer_with_astro_preact.md +4 -4
- package/docs/en/intlayer_with_astro_react.md +4 -4
- package/docs/en/intlayer_with_astro_solid.md +4 -4
- package/docs/en/intlayer_with_astro_svelte.md +4 -4
- package/docs/en/intlayer_with_astro_vanilla.md +4 -4
- package/docs/en/intlayer_with_create_react_app.md +4 -4
- package/docs/en/intlayer_with_nextjs_14.md +4 -4
- package/docs/en/intlayer_with_nextjs_15.md +4 -4
- package/docs/en/intlayer_with_nextjs_16.md +4 -4
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/en/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/en/intlayer_with_tanstack+solid.md +4 -4
- package/docs/en/intlayer_with_tanstack.md +4 -4
- package/docs/en/intlayer_with_vite+preact.md +4 -4
- package/docs/en/intlayer_with_vite+react.md +4 -4
- package/docs/en/intlayer_with_vite+solid.md +4 -4
- package/docs/en-GB/intlayer_with_astro_lit.md +4 -4
- package/docs/en-GB/intlayer_with_astro_preact.md +4 -4
- package/docs/en-GB/intlayer_with_astro_react.md +4 -4
- package/docs/en-GB/intlayer_with_astro_solid.md +4 -4
- package/docs/en-GB/intlayer_with_astro_svelte.md +4 -4
- package/docs/en-GB/intlayer_with_astro_vanilla.md +4 -4
- package/docs/en-GB/intlayer_with_create_react_app.md +4 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +4 -4
- package/docs/en-GB/intlayer_with_nextjs_15.md +4 -4
- package/docs/en-GB/intlayer_with_nextjs_16.md +4 -4
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/en-GB/intlayer_with_tanstack+solid.md +4 -4
- package/docs/en-GB/intlayer_with_tanstack.md +4 -4
- package/docs/en-GB/intlayer_with_vite+preact.md +4 -4
- package/docs/en-GB/intlayer_with_vite+react.md +4 -4
- package/docs/en-GB/intlayer_with_vite+solid.md +4 -4
- package/docs/es/intlayer_with_astro_lit.md +4 -4
- package/docs/es/intlayer_with_astro_preact.md +4 -4
- package/docs/es/intlayer_with_astro_react.md +4 -4
- package/docs/es/intlayer_with_astro_solid.md +4 -4
- package/docs/es/intlayer_with_astro_svelte.md +4 -4
- package/docs/es/intlayer_with_astro_vanilla.md +4 -4
- package/docs/es/intlayer_with_create_react_app.md +4 -4
- package/docs/es/intlayer_with_nextjs_14.md +4 -4
- package/docs/es/intlayer_with_nextjs_15.md +4 -4
- package/docs/es/intlayer_with_nextjs_16.md +4 -4
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/es/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/es/intlayer_with_tanstack+solid.md +4 -4
- package/docs/es/intlayer_with_tanstack.md +4 -4
- package/docs/es/intlayer_with_vite+preact.md +4 -4
- package/docs/es/intlayer_with_vite+react.md +4 -4
- package/docs/es/intlayer_with_vite+solid.md +4 -4
- package/docs/fr/intlayer_with_astro_lit.md +4 -4
- package/docs/fr/intlayer_with_astro_preact.md +4 -4
- package/docs/fr/intlayer_with_astro_react.md +4 -4
- package/docs/fr/intlayer_with_astro_solid.md +4 -4
- package/docs/fr/intlayer_with_astro_svelte.md +4 -4
- package/docs/fr/intlayer_with_astro_vanilla.md +4 -4
- package/docs/fr/intlayer_with_create_react_app.md +4 -4
- package/docs/fr/intlayer_with_nextjs_14.md +4 -4
- package/docs/fr/intlayer_with_nextjs_15.md +4 -4
- package/docs/fr/intlayer_with_nextjs_16.md +4 -4
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/fr/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +4 -4
- package/docs/fr/intlayer_with_tanstack.md +4 -4
- package/docs/fr/intlayer_with_vite+preact.md +4 -4
- package/docs/fr/intlayer_with_vite+react.md +4 -4
- package/docs/fr/intlayer_with_vite+solid.md +4 -4
- package/docs/hi/intlayer_with_astro_lit.md +4 -4
- package/docs/hi/intlayer_with_astro_preact.md +4 -4
- package/docs/hi/intlayer_with_astro_react.md +4 -4
- package/docs/hi/intlayer_with_astro_solid.md +4 -4
- package/docs/hi/intlayer_with_astro_svelte.md +4 -4
- package/docs/hi/intlayer_with_astro_vanilla.md +4 -4
- package/docs/hi/intlayer_with_create_react_app.md +4 -4
- package/docs/hi/intlayer_with_nextjs_14.md +4 -4
- package/docs/hi/intlayer_with_nextjs_15.md +4 -4
- package/docs/hi/intlayer_with_nextjs_16.md +4 -4
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/hi/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/hi/intlayer_with_tanstack+solid.md +4 -4
- package/docs/hi/intlayer_with_tanstack.md +4 -4
- package/docs/hi/intlayer_with_vite+preact.md +4 -4
- package/docs/hi/intlayer_with_vite+react.md +4 -4
- package/docs/hi/intlayer_with_vite+solid.md +4 -4
- package/docs/id/intlayer_with_astro_lit.md +4 -4
- package/docs/id/intlayer_with_astro_preact.md +4 -4
- package/docs/id/intlayer_with_astro_react.md +4 -4
- package/docs/id/intlayer_with_astro_solid.md +4 -4
- package/docs/id/intlayer_with_astro_svelte.md +4 -4
- package/docs/id/intlayer_with_astro_vanilla.md +4 -4
- package/docs/id/intlayer_with_create_react_app.md +4 -4
- package/docs/id/intlayer_with_nextjs_14.md +4 -4
- package/docs/id/intlayer_with_nextjs_15.md +4 -4
- package/docs/id/intlayer_with_nextjs_16.md +4 -4
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/id/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/id/intlayer_with_tanstack+solid.md +4 -4
- package/docs/id/intlayer_with_tanstack.md +4 -4
- package/docs/id/intlayer_with_vite+preact.md +4 -4
- package/docs/id/intlayer_with_vite+react.md +4 -4
- package/docs/id/intlayer_with_vite+solid.md +4 -4
- package/docs/it/intlayer_with_astro_lit.md +4 -4
- package/docs/it/intlayer_with_astro_preact.md +4 -4
- package/docs/it/intlayer_with_astro_react.md +4 -4
- package/docs/it/intlayer_with_astro_solid.md +4 -4
- package/docs/it/intlayer_with_astro_svelte.md +4 -4
- package/docs/it/intlayer_with_astro_vanilla.md +4 -4
- package/docs/it/intlayer_with_create_react_app.md +4 -4
- package/docs/it/intlayer_with_nextjs_14.md +4 -4
- package/docs/it/intlayer_with_nextjs_15.md +4 -4
- package/docs/it/intlayer_with_nextjs_16.md +4 -4
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/it/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/it/intlayer_with_tanstack+solid.md +4 -4
- package/docs/it/intlayer_with_tanstack.md +4 -4
- package/docs/it/intlayer_with_vite+preact.md +4 -4
- package/docs/it/intlayer_with_vite+react.md +4 -4
- package/docs/it/intlayer_with_vite+solid.md +4 -4
- package/docs/ja/intlayer_with_astro_lit.md +4 -4
- package/docs/ja/intlayer_with_astro_preact.md +4 -4
- package/docs/ja/intlayer_with_astro_react.md +4 -4
- package/docs/ja/intlayer_with_astro_solid.md +4 -4
- package/docs/ja/intlayer_with_astro_svelte.md +4 -4
- package/docs/ja/intlayer_with_astro_vanilla.md +4 -4
- package/docs/ja/intlayer_with_create_react_app.md +4 -4
- package/docs/ja/intlayer_with_nextjs_14.md +4 -4
- package/docs/ja/intlayer_with_nextjs_15.md +4 -4
- package/docs/ja/intlayer_with_nextjs_16.md +4 -4
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/ja/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/ja/intlayer_with_tanstack+solid.md +4 -4
- package/docs/ja/intlayer_with_tanstack.md +4 -4
- package/docs/ja/intlayer_with_vite+solid.md +4 -4
- package/docs/ko/intlayer_with_astro_lit.md +4 -4
- package/docs/ko/intlayer_with_astro_preact.md +4 -4
- package/docs/ko/intlayer_with_astro_react.md +4 -4
- package/docs/ko/intlayer_with_astro_solid.md +4 -4
- package/docs/ko/intlayer_with_astro_svelte.md +4 -4
- package/docs/ko/intlayer_with_astro_vanilla.md +4 -4
- package/docs/ko/intlayer_with_create_react_app.md +4 -4
- package/docs/ko/intlayer_with_nextjs_14.md +4 -4
- package/docs/ko/intlayer_with_nextjs_15.md +4 -4
- package/docs/ko/intlayer_with_nextjs_16.md +4 -4
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/ko/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/ko/intlayer_with_tanstack+solid.md +4 -4
- package/docs/ko/intlayer_with_tanstack.md +4 -4
- package/docs/ko/intlayer_with_vite+preact.md +4 -4
- package/docs/ko/intlayer_with_vite+react.md +4 -4
- package/docs/ko/intlayer_with_vite+solid.md +4 -4
- package/docs/pl/intlayer_with_astro_lit.md +4 -4
- package/docs/pl/intlayer_with_astro_preact.md +4 -4
- package/docs/pl/intlayer_with_astro_react.md +4 -4
- package/docs/pl/intlayer_with_astro_solid.md +4 -4
- package/docs/pl/intlayer_with_astro_svelte.md +4 -4
- package/docs/pl/intlayer_with_astro_vanilla.md +4 -4
- package/docs/pl/intlayer_with_create_react_app.md +4 -4
- package/docs/pl/intlayer_with_nextjs_14.md +4 -4
- package/docs/pl/intlayer_with_nextjs_15.md +4 -4
- package/docs/pl/intlayer_with_nextjs_16.md +4 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/pl/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/pl/intlayer_with_tanstack+solid.md +4 -4
- package/docs/pl/intlayer_with_tanstack.md +4 -4
- package/docs/pl/intlayer_with_vite+preact.md +4 -4
- package/docs/pl/intlayer_with_vite+react.md +4 -4
- package/docs/pl/intlayer_with_vite+solid.md +4 -4
- package/docs/pt/intlayer_with_astro_lit.md +4 -4
- package/docs/pt/intlayer_with_astro_preact.md +4 -4
- package/docs/pt/intlayer_with_astro_react.md +4 -4
- package/docs/pt/intlayer_with_astro_solid.md +4 -4
- package/docs/pt/intlayer_with_astro_svelte.md +4 -4
- package/docs/pt/intlayer_with_astro_vanilla.md +4 -4
- package/docs/pt/intlayer_with_create_react_app.md +4 -4
- package/docs/pt/intlayer_with_nextjs_14.md +4 -4
- package/docs/pt/intlayer_with_nextjs_15.md +4 -4
- package/docs/pt/intlayer_with_nextjs_16.md +4 -4
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/pt/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/pt/intlayer_with_tanstack+solid.md +4 -4
- package/docs/pt/intlayer_with_tanstack.md +4 -4
- package/docs/pt/intlayer_with_vite+preact.md +4 -4
- package/docs/pt/intlayer_with_vite+react.md +4 -4
- package/docs/pt/intlayer_with_vite+solid.md +4 -4
- package/docs/ru/intlayer_with_astro_lit.md +4 -4
- package/docs/ru/intlayer_with_astro_preact.md +4 -4
- package/docs/ru/intlayer_with_astro_react.md +4 -4
- package/docs/ru/intlayer_with_astro_solid.md +4 -4
- package/docs/ru/intlayer_with_astro_svelte.md +4 -4
- package/docs/ru/intlayer_with_astro_vanilla.md +4 -4
- package/docs/ru/intlayer_with_create_react_app.md +4 -4
- package/docs/ru/intlayer_with_nextjs_14.md +4 -4
- package/docs/ru/intlayer_with_nextjs_15.md +4 -4
- package/docs/ru/intlayer_with_nextjs_16.md +4 -4
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/ru/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/ru/intlayer_with_tanstack+solid.md +4 -4
- package/docs/ru/intlayer_with_tanstack.md +4 -4
- package/docs/ru/intlayer_with_vite+preact.md +4 -4
- package/docs/ru/intlayer_with_vite+react.md +4 -4
- package/docs/ru/intlayer_with_vite+solid.md +4 -4
- package/docs/tr/intlayer_with_astro_lit.md +4 -4
- package/docs/tr/intlayer_with_astro_preact.md +4 -4
- package/docs/tr/intlayer_with_astro_react.md +4 -4
- package/docs/tr/intlayer_with_astro_solid.md +4 -4
- package/docs/tr/intlayer_with_astro_svelte.md +4 -4
- package/docs/tr/intlayer_with_astro_vanilla.md +4 -4
- package/docs/tr/intlayer_with_create_react_app.md +4 -4
- package/docs/tr/intlayer_with_nextjs_15.md +4 -4
- package/docs/tr/intlayer_with_nextjs_16.md +4 -4
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/tr/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/tr/intlayer_with_tanstack+solid.md +4 -4
- package/docs/tr/intlayer_with_tanstack.md +4 -4
- package/docs/tr/intlayer_with_vite+preact.md +4 -4
- package/docs/tr/intlayer_with_vite+react.md +4 -4
- package/docs/tr/intlayer_with_vite+solid.md +4 -4
- package/docs/uk/intlayer_with_astro_lit.md +4 -4
- package/docs/uk/intlayer_with_astro_preact.md +4 -4
- package/docs/uk/intlayer_with_astro_react.md +4 -4
- package/docs/uk/intlayer_with_astro_solid.md +4 -4
- package/docs/uk/intlayer_with_astro_svelte.md +4 -4
- package/docs/uk/intlayer_with_astro_vanilla.md +4 -4
- package/docs/uk/intlayer_with_create_react_app.md +4 -4
- package/docs/uk/intlayer_with_nextjs_14.md +4 -4
- package/docs/uk/intlayer_with_nextjs_15.md +4 -4
- package/docs/uk/intlayer_with_nextjs_16.md +4 -4
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/uk/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/uk/intlayer_with_tanstack+solid.md +4 -4
- package/docs/uk/intlayer_with_tanstack.md +4 -4
- package/docs/uk/intlayer_with_vite+preact.md +4 -4
- package/docs/uk/intlayer_with_vite+react.md +4 -4
- package/docs/uk/intlayer_with_vite+solid.md +4 -4
- package/docs/vi/intlayer_with_astro_lit.md +4 -4
- package/docs/vi/intlayer_with_astro_preact.md +4 -4
- package/docs/vi/intlayer_with_astro_react.md +4 -4
- package/docs/vi/intlayer_with_astro_solid.md +4 -4
- package/docs/vi/intlayer_with_astro_svelte.md +4 -4
- package/docs/vi/intlayer_with_astro_vanilla.md +4 -4
- package/docs/vi/intlayer_with_create_react_app.md +4 -4
- package/docs/vi/intlayer_with_nextjs_14.md +4 -4
- package/docs/vi/intlayer_with_nextjs_15.md +4 -4
- package/docs/vi/intlayer_with_nextjs_16.md +4 -4
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/vi/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/vi/intlayer_with_tanstack+solid.md +4 -4
- package/docs/vi/intlayer_with_tanstack.md +4 -4
- package/docs/vi/intlayer_with_vite+preact.md +4 -4
- package/docs/vi/intlayer_with_vite+react.md +4 -4
- package/docs/vi/intlayer_with_vite+solid.md +4 -4
- package/docs/zh/intlayer_with_astro_lit.md +4 -4
- package/docs/zh/intlayer_with_astro_preact.md +4 -4
- package/docs/zh/intlayer_with_astro_react.md +4 -4
- package/docs/zh/intlayer_with_astro_solid.md +4 -4
- package/docs/zh/intlayer_with_astro_svelte.md +4 -4
- package/docs/zh/intlayer_with_astro_vanilla.md +4 -4
- package/docs/zh/intlayer_with_create_react_app.md +4 -4
- package/docs/zh/intlayer_with_nextjs_14.md +4 -4
- package/docs/zh/intlayer_with_nextjs_15.md +4 -4
- package/docs/zh/intlayer_with_nextjs_16.md +4 -4
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +4 -4
- package/docs/zh/intlayer_with_nextjs_page_router.md +4 -4
- package/docs/zh/intlayer_with_tanstack+solid.md +4 -4
- package/docs/zh/intlayer_with_tanstack.md +4 -4
- package/docs/zh/intlayer_with_vite+preact.md +4 -4
- package/docs/zh/intlayer_with_vite+react.md +4 -4
- package/docs/zh/intlayer_with_vite+solid.md +4 -4
- package/frequent_questions/ar/intlayerNode.md +96 -0
- package/frequent_questions/de/intlayerNode.md +96 -0
- package/frequent_questions/en/intlayerNode.md +96 -0
- package/frequent_questions/en-GB/intlayerNode.md +96 -0
- package/frequent_questions/es/intlayerNode.md +96 -0
- package/frequent_questions/fr/intlayerNode.md +96 -0
- package/frequent_questions/hi/intlayerNode.md +96 -0
- package/frequent_questions/id/intlayerNode.md +96 -0
- package/frequent_questions/it/intlayerNode.md +96 -0
- package/frequent_questions/ja/intlayerNode.md +96 -0
- package/frequent_questions/ko/intlayerNode.md +96 -0
- package/frequent_questions/pl/intlayerNode.md +96 -0
- package/frequent_questions/pt/intlayerNode.md +96 -0
- package/frequent_questions/ru/intlayerNode.md +96 -0
- package/frequent_questions/tr/intlayerNode.md +96 -0
- package/frequent_questions/uk/intlayerNode.md +96 -0
- package/frequent_questions/vi/intlayerNode.md +96 -0
- package/frequent_questions/zh/intlayerNode.md +96 -0
- package/package.json +6 -6
- package/src/generated/frequentQuestions.entry.ts +20 -0
|
@@ -410,10 +410,10 @@ function RouteComponent() {
|
|
|
410
410
|
|
|
411
411
|
> إذا كنت ترغب في استخدام المحتوى الخاص بك في خاصية من نوع `string`، مثل `alt`، `title`، `href`، `aria-label`، إلخ، يجب عليك استدعاء قيمة الدالة، مثل:
|
|
412
412
|
|
|
413
|
-
> ```
|
|
414
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
415
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
416
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
413
|
+
> ```html
|
|
414
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
415
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
416
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
417
417
|
> ```
|
|
418
418
|
|
|
419
419
|
> في Solid، يعيد `useIntlayer` محتوى تفاعلياً (على سبيل المثال، `content`). يمكنك الوصول إلى خصائصه مباشرة.
|
|
@@ -249,10 +249,10 @@ function RootDocument({ children }: { children: ReactNode }) {
|
|
|
249
249
|
|
|
250
250
|
> إذا كنت ترغب في استخدام المحتوى الخاص بك في خاصية من نوع `string`، مثل `alt`، `title`، `href`، `aria-label`، إلخ، يجب عليك استدعاء قيمة الدالة، مثل:
|
|
251
251
|
|
|
252
|
-
> ```
|
|
253
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
254
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
255
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
252
|
+
> ```html
|
|
253
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
254
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
255
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
256
256
|
> ```
|
|
257
257
|
|
|
258
258
|
### الخطوة 6: إنشاء تخطيط اللغة
|
|
@@ -348,10 +348,10 @@ export default App;
|
|
|
348
348
|
|
|
349
349
|
> إذا كنت تريد استخدام المحتوى الخاص بك في خاصية `string` ، مثل `alt` ، `title` ، `href` ، `aria-label` ، وما إلى ذلك ، فيجب عليك استدعاء قيمة الدالة ، مثل:
|
|
350
350
|
|
|
351
|
-
> ```
|
|
352
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
353
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
354
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
351
|
+
> ```html
|
|
352
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
353
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
354
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
355
355
|
> ```
|
|
356
356
|
|
|
357
357
|
> ملاحظة: في Preact، عادةً ما يتم كتابة `className` كـ `class`.
|
|
@@ -341,10 +341,10 @@ export default App;
|
|
|
341
341
|
|
|
342
342
|
> إذا كنت ترغب في استخدام المحتوى الخاص بك في خاصية من نوع `string`، مثل `alt`، `title`، `href`، `aria-label`، إلخ، يجب عليك استدعاء قيمة الدالة، مثل:
|
|
343
343
|
|
|
344
|
-
> ```
|
|
345
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
346
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
347
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
344
|
+
> ```html
|
|
345
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
346
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
347
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
348
348
|
> ```
|
|
349
349
|
|
|
350
350
|
> لمعرفة المزيد عن الخطاف `useIntlayer`، راجع [التوثيق](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useIntlayer.md).
|
|
@@ -235,10 +235,10 @@ export default App;
|
|
|
235
235
|
|
|
236
236
|
> إذا كنت تريد استخدام المحتوى الخاص بك في سمة `string`، مثل `alt`، `title`، `href`، `aria-label`، إلخ، يجب عليك استدعاء قيمة الدالة، مثل:
|
|
237
237
|
>
|
|
238
|
-
> ```
|
|
239
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
240
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
241
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
238
|
+
> ```html
|
|
239
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
240
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
241
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
242
242
|
> ```
|
|
243
243
|
|
|
244
244
|
### (اختياري) الخطوة 6: تغيير لغة المحتوى الخاص بك
|
|
@@ -274,10 +274,10 @@ const { greeting } = getIntlayer("lit-demo", locale);
|
|
|
274
274
|
|
|
275
275
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
276
276
|
|
|
277
|
-
> ```
|
|
278
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
279
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
280
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
277
|
+
> ```html
|
|
278
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
279
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
280
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
281
281
|
> ```
|
|
282
282
|
|
|
283
283
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -269,10 +269,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
269
269
|
|
|
270
270
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
271
271
|
|
|
272
|
-
> ```
|
|
273
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
274
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
275
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
272
|
+
> ```html
|
|
273
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
274
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
275
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
276
276
|
> ```
|
|
277
277
|
|
|
278
278
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -269,10 +269,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
269
269
|
|
|
270
270
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
271
271
|
|
|
272
|
-
> ```
|
|
273
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
274
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
275
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
272
|
+
> ```html
|
|
273
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
274
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
275
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
276
276
|
> ```
|
|
277
277
|
|
|
278
278
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -265,10 +265,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
265
265
|
|
|
266
266
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
267
267
|
|
|
268
|
-
> ```
|
|
269
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
270
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
271
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
268
|
+
> ```html
|
|
269
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
270
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
271
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
272
272
|
> ```
|
|
273
273
|
|
|
274
274
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -265,10 +265,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
265
265
|
|
|
266
266
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
267
267
|
|
|
268
|
-
> ```
|
|
269
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
270
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
271
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
268
|
+
> ```html
|
|
269
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
270
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
271
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
272
272
|
> ```
|
|
273
273
|
|
|
274
274
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -289,10 +289,10 @@ const { greeting, description, switchLocale } = getIntlayer("app", locale);
|
|
|
289
289
|
|
|
290
290
|
> Wenn Sie Ihren Inhalt in einem `String`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, können Sie den Wert der Funktion wie folgt verwenden:
|
|
291
291
|
|
|
292
|
-
> ```
|
|
293
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
294
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
295
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
292
|
+
> ```html
|
|
293
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
294
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
295
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
296
296
|
> ```
|
|
297
297
|
|
|
298
298
|
> **Hinweis zum Routing-Setup:**
|
|
@@ -209,10 +209,10 @@ export default App;
|
|
|
209
209
|
|
|
210
210
|
> Hinweis: Wenn Sie Ihre Inhalte in einem `string`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, müssen Sie den Wert der Funktion aufrufen, wie:
|
|
211
211
|
|
|
212
|
-
> ```
|
|
213
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
214
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
215
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
212
|
+
> ```html
|
|
213
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
214
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
215
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
216
216
|
> ```
|
|
217
217
|
|
|
218
218
|
> Weitere Informationen zum `useIntlayer`-Hook finden Sie in der [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/react-intlayer/useIntlayer.md).
|
|
@@ -375,10 +375,10 @@ const ServerComponentExample: FC = () => {
|
|
|
375
375
|
|
|
376
376
|
> Wenn Sie Ihre Inhalte in einem `string`-Attribut wie `alt`, `title`, `href`, `aria-label` usw. verwenden möchten, müssen Sie den Wert der Funktion aufrufen, wie:
|
|
377
377
|
|
|
378
|
-
> ```
|
|
379
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
380
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
381
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
378
|
+
> ```html
|
|
379
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
380
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
381
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
382
382
|
> ```
|
|
383
383
|
|
|
384
384
|
> Um mehr über den `useIntlayer`-Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/next-intlayer/useIntlayer.md).
|
|
@@ -369,10 +369,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
369
369
|
|
|
370
370
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
371
371
|
|
|
372
|
-
> ```
|
|
373
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
374
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
375
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
372
|
+
> ```html
|
|
373
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
374
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
375
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
376
376
|
> ```
|
|
377
377
|
|
|
378
378
|
> Um mehr über den `useIntlayer` Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/next-intlayer/useIntlayer.md).
|
|
@@ -462,10 +462,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
462
462
|
|
|
463
463
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
464
464
|
|
|
465
|
-
> ```
|
|
466
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
467
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
468
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
465
|
+
> ```html
|
|
466
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
467
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
468
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
469
469
|
> ```
|
|
470
470
|
|
|
471
471
|
> Um mehr über den `useIntlayer` Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/next-intlayer/useIntlayer.md).
|
|
@@ -444,10 +444,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
444
444
|
|
|
445
445
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z. B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, z. B.:
|
|
446
446
|
|
|
447
|
-
> ```
|
|
448
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
449
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
450
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
447
|
+
> ```html
|
|
448
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
449
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
450
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
451
451
|
> ```
|
|
452
452
|
|
|
453
453
|
> Weitere Informationen zum `useIntlayer`-Hook finden Sie in der [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/next-intlayer/useIntlayer.md).
|
|
@@ -437,10 +437,10 @@ const ComponentExample = () => {
|
|
|
437
437
|
|
|
438
438
|
> den Wert der Funktion wie folgt auf:
|
|
439
439
|
|
|
440
|
-
> ```
|
|
441
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
442
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
443
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
440
|
+
> ```html
|
|
441
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
442
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
443
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
444
444
|
> ```
|
|
445
445
|
|
|
446
446
|
> Um mehr über den `useIntlayer` Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/de/packages/next-intlayer/useIntlayer.md).
|
|
@@ -411,10 +411,10 @@ function RouteComponent() {
|
|
|
411
411
|
|
|
412
412
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
413
413
|
|
|
414
|
-
> ```
|
|
415
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
416
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
417
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
414
|
+
> ```html
|
|
415
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
416
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
417
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
418
418
|
> ```
|
|
419
419
|
|
|
420
420
|
> In Solid gibt `useIntlayer` reaktiven Inhalt zurück (z.B. `content`). Sie können direkt auf seine Eigenschaften zugreifen.
|
|
@@ -250,10 +250,10 @@ function RootDocument({ children }: { children: ReactNode }) {
|
|
|
250
250
|
|
|
251
251
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
252
252
|
|
|
253
|
-
> ```
|
|
254
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
255
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
256
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
253
|
+
> ```html
|
|
254
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
255
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
256
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
257
257
|
> ```
|
|
258
258
|
|
|
259
259
|
### Schritt 6: Locale-Layout erstellen
|
|
@@ -344,10 +344,10 @@ export default App;
|
|
|
344
344
|
|
|
345
345
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z.B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
346
346
|
|
|
347
|
-
> ```
|
|
348
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
349
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
350
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
347
|
+
> ```html
|
|
348
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
349
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
350
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
351
351
|
> ```
|
|
352
352
|
|
|
353
353
|
> Hinweis: In Preact wird `className` typischerweise als `class` geschrieben.
|
|
@@ -351,10 +351,10 @@ export default App;
|
|
|
351
351
|
|
|
352
352
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie z. B. `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, zum Beispiel:
|
|
353
353
|
|
|
354
|
-
> ```
|
|
355
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
356
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
357
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
354
|
+
> ```html
|
|
355
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
356
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
357
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
358
358
|
> ```
|
|
359
359
|
|
|
360
360
|
> Um mehr über den `useIntlayer` Hook zu erfahren, lesen Sie die [Dokumentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useIntlayer.md).
|
|
@@ -235,10 +235,10 @@ export default App;
|
|
|
235
235
|
|
|
236
236
|
> Wenn Sie Ihren Inhalt in einem `string`-Attribut verwenden möchten, wie `alt`, `title`, `href`, `aria-label` usw., müssen Sie den Wert der Funktion aufrufen, wie:
|
|
237
237
|
>
|
|
238
|
-
> ```
|
|
239
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
240
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
241
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
238
|
+
> ```html
|
|
239
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
240
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
241
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
242
242
|
> ```
|
|
243
243
|
|
|
244
244
|
### (Optional) Schritt 6: Ändern Sie die Sprache Ihres Inhalts
|
|
@@ -271,10 +271,10 @@ const { greeting } = getIntlayer("lit-demo", locale);
|
|
|
271
271
|
|
|
272
272
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
273
273
|
|
|
274
|
-
> ```
|
|
275
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
276
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
277
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
274
|
+
> ```html
|
|
275
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
276
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
277
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
278
278
|
> ```
|
|
279
279
|
|
|
280
280
|
> **Note on Routing Configuration:**
|
|
@@ -266,10 +266,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
266
266
|
|
|
267
267
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
268
268
|
|
|
269
|
-
> ```
|
|
270
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
271
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
272
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
269
|
+
> ```html
|
|
270
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
271
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
272
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
273
273
|
> ```
|
|
274
274
|
|
|
275
275
|
> **Note on Routing Configuration:**
|
|
@@ -267,10 +267,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
267
267
|
|
|
268
268
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
269
269
|
|
|
270
|
-
> ```
|
|
271
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
272
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
273
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
270
|
+
> ```html
|
|
271
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
272
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
273
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
274
274
|
> ```
|
|
275
275
|
|
|
276
276
|
> **Note on Routing Configuration:**
|
|
@@ -263,10 +263,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
263
263
|
|
|
264
264
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
265
265
|
|
|
266
|
-
> ```
|
|
267
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
268
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
269
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
266
|
+
> ```html
|
|
267
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
268
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
269
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
270
270
|
> ```
|
|
271
271
|
|
|
272
272
|
> **Note on Routing Configuration:**
|
|
@@ -263,10 +263,10 @@ const { title } = getIntlayer("app", locale);
|
|
|
263
263
|
|
|
264
264
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
265
265
|
|
|
266
|
-
> ```
|
|
267
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
268
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
269
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
266
|
+
> ```html
|
|
267
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
268
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
269
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
270
270
|
> ```
|
|
271
271
|
|
|
272
272
|
> **Note on Routing Configuration:**
|
|
@@ -286,10 +286,10 @@ const { greeting, description, switchLocale } = getIntlayer("app", locale);
|
|
|
286
286
|
|
|
287
287
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
288
288
|
|
|
289
|
-
> ```
|
|
290
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
291
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
292
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
289
|
+
> ```html
|
|
290
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
291
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
292
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
293
293
|
> ```
|
|
294
294
|
|
|
295
295
|
> **Note on Routing Configuration:**
|
|
@@ -216,10 +216,10 @@ export default App;
|
|
|
216
216
|
|
|
217
217
|
> Note: If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
218
218
|
|
|
219
|
-
> ```
|
|
220
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
221
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
222
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
219
|
+
> ```html
|
|
220
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
221
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
222
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
223
223
|
> ```
|
|
224
224
|
|
|
225
225
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useIntlayer.md).
|
|
@@ -424,10 +424,10 @@ const ServerComponentExample: FC = () => {
|
|
|
424
424
|
|
|
425
425
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
426
426
|
|
|
427
|
-
> ```
|
|
428
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
429
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
430
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
427
|
+
> ```html
|
|
428
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
429
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
430
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
431
431
|
> ```
|
|
432
432
|
|
|
433
433
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/useIntlayer.md).
|
|
@@ -414,10 +414,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
414
414
|
|
|
415
415
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
416
416
|
|
|
417
|
-
> ```
|
|
418
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
419
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
420
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
417
|
+
> ```html
|
|
418
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
419
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
420
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
421
421
|
> ```
|
|
422
422
|
|
|
423
423
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/useIntlayer.md).
|
|
@@ -405,10 +405,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
405
405
|
|
|
406
406
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
407
407
|
|
|
408
|
-
> ```
|
|
409
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
410
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
411
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
408
|
+
> ```html
|
|
409
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
410
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
411
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
412
412
|
> ```
|
|
413
413
|
|
|
414
414
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/useIntlayer.md).
|
|
@@ -435,10 +435,10 @@ export const ServerComponentExample: FC = () => {
|
|
|
435
435
|
|
|
436
436
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
437
437
|
|
|
438
|
-
> ```
|
|
439
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
440
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
441
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
438
|
+
> ```html
|
|
439
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
440
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
441
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
442
442
|
> ```
|
|
443
443
|
|
|
444
444
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/useIntlayer.md).
|
|
@@ -435,10 +435,10 @@ export const ComponentExample: FC = () => {
|
|
|
435
435
|
|
|
436
436
|
> value of the function as follows:
|
|
437
437
|
|
|
438
|
-
> ```
|
|
439
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
440
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
441
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
438
|
+
> ```html
|
|
439
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
440
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
441
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
442
442
|
> ```
|
|
443
443
|
|
|
444
444
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/useIntlayer.md).
|
|
@@ -416,10 +416,10 @@ function RouteComponent() {
|
|
|
416
416
|
>
|
|
417
417
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
418
418
|
>
|
|
419
|
-
> ```
|
|
420
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
421
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
422
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
419
|
+
> ```html
|
|
420
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
421
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
422
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
423
423
|
> ```
|
|
424
424
|
|
|
425
425
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/solid-intlayer/useIntlayer.md).
|
|
@@ -481,10 +481,10 @@ function RouteComponent() {
|
|
|
481
481
|
|
|
482
482
|
> If you want to use your content in a `string` attribute, such as `alt`, `title`, `href`, `aria-label`, etc., you can use the value of the function, like:
|
|
483
483
|
>
|
|
484
|
-
> ```
|
|
485
|
-
> <img src={content.image.src.value} alt={content.image.value} />
|
|
486
|
-
> <img src={content.image.src.toString()} alt={content.image.toString()} />
|
|
487
|
-
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
484
|
+
> ```html
|
|
485
|
+
> <img src="{content.image.src.value}" alt="{content.image.value}" />
|
|
486
|
+
> <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
|
|
487
|
+
> <img src="{String(content.image.src)}" alt="{String(content.image)}" />
|
|
488
488
|
> ```
|
|
489
489
|
|
|
490
490
|
> To Learn more about the `useIntlayer` hook, refer to the [documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/useIntlayer.md).
|