ワンクリックで
content-sdk-dictionary-and-i18n
next-intl with requestLocale = `${site}_${locale}`; routing.ts + request.ts.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
next-intl with requestLocale = `${site}_${locale}`; routing.ts + request.ts.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Layout data from getPage/getComponentData; path/locale from extractPath/context.
Registers components in .sitecore/component-map.ts for Pages Router layout and editing.
Creates new Sitecore components under src/components/. Pages Router; map auto-regenerates on dev/build.
Multiple renderings of one component type; regenerate component map after changes.
Next.js i18n via next.config.js; locale from context.locale in data methods.
Preview/editing for Pages Router via context.preview and context.previewData in [[...path]].tsx.
| name | content-sdk-dictionary-and-i18n |
| description | next-intl with requestLocale = `${site}_${locale}`; routing.ts + request.ts. |
Detail: AGENTS-router-specifics.md#i18n-next-intl
setRequestLocale(${site}_${locale}) in pagerequestLocale in src/i18n/request.tsclient.getDictionary({ locale, site }) in src/i18n/request.ts{site}_{locale} convention without updating all callersDocs: Content SDK.