Concepts, value, and typical clone scenarios — less code.
Concepts, value, and typical clone scenarios — less code.
Preparing Ring content
Preparing Ring content
Preparing Ring content
Use Founder / Developer tabs in the docs sidebar to filter this page. Shared sections apply to both audiences.
Ring Platform centralizes locale configuration in lib/locale-config.ts. One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate. Message JSON is a second pipeline: cached Layer1 files, then optional pack and clone overlay (see Localization).
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
NEXT_PUBLIC_DEFAULT_LOCALE=enComma-separated BCP-47 short codes must match folders under locales/. When the env list is empty, FALLBACK_SUPPORTED_LOCALES is en, uk, ru, es, de.
localePrefix: 'as-needed').pack.json when presets.pack is set, plus clone overlay for brand leaves.You do not configure proxy rewrite separately from this env list. Auth still happens in layouts, not in the locale proxy.
Deep-dive: pack.json merge order, comment gotcha, and adding a language.
Depends-on: slim proxy locale rewrite vs layout auth.
See-also: overlay runtime that owns loadPackMessages.
Next-step: nav labelKeys resolve through the same next-intl messages.
Use Founder / Developer tabs in the docs sidebar to filter this page. Shared sections apply to both audiences.
Ring Platform centralizes locale configuration in lib/locale-config.ts. One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate. Message JSON is a second pipeline: cached Layer1 files, then optional pack and clone overlay (see Localization).
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
NEXT_PUBLIC_DEFAULT_LOCALE=enComma-separated BCP-47 short codes must match folders under locales/. When the env list is empty, FALLBACK_SUPPORTED_LOCALES is en, uk, ru, es, de.
localePrefix: 'as-needed').pack.json when presets.pack is set, plus clone overlay for brand leaves.You do not configure proxy rewrite separately from this env list. Auth still happens in layouts, not in the locale proxy.
Deep-dive: pack.json merge order, comment gotcha, and adding a language.
Depends-on: slim proxy locale rewrite vs layout auth.
See-also: overlay runtime that owns loadPackMessages.
Next-step: nav labelKeys resolve through the same next-intl messages.
Use Founder / Developer tabs in the docs sidebar to filter this page. Shared sections apply to both audiences.
Ring Platform centralizes locale configuration in lib/locale-config.ts. One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate. Message JSON is a second pipeline: cached Layer1 files, then optional pack and clone overlay (see Localization).
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
NEXT_PUBLIC_DEFAULT_LOCALE=enComma-separated BCP-47 short codes must match folders under locales/. When the env list is empty, FALLBACK_SUPPORTED_LOCALES is en, uk, ru, es, de.
localePrefix: 'as-needed').pack.json when presets.pack is set, plus clone overlay for brand leaves.You do not configure proxy rewrite separately from this env list. Auth still happens in layouts, not in the locale proxy.
Deep-dive: pack.json merge order, comment gotcha, and adding a language.
Depends-on: slim proxy locale rewrite vs layout auth.
See-also: overlay runtime that owns loadPackMessages.
Next-step: nav labelKeys resolve through the same next-intl messages.