LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

Internationalizing Components - Server and client component internationalization

Provides i18n patterns for server and client components using getTranslations and useTranslations

Tags

Updated: 2026-03-20

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • read translation files
  • use getTranslations utility
  • use useTranslations hook
  • provide translation context
  • generate localized URLs
  • switch locales
  • import translation JSON
  • wrap components with context

Inputs

  • translation.json files
  • component translation files
  • locale parameter
  • translation keys

Outputs

  • localized text
  • localized URLs
  • rendered routes with locale

Requirements

  • TranslationContextProvider
  • getTranslations utility
  • useTranslations hook
  • locale-aware routing
  • translation file structure

Source

  • Spec: SKILL.md
i18n
internationalization
translations
server components
client components
locales
read translation files
use getTranslations utility
use useTranslations hook
provide translation context
translation.json files
component translation files
locale parameter
localized text
localized URLs
rendered routes with locale