Scanning documentation library
Scanning documentation library
Scanning documentation library
Ring Platform v1.6.0 uses env-driven locale configuration and next-intl with localePrefix: 'as-needed'.
# .env.local
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
NEXT_PUBLIC_DEFAULT_LOCALE=enSource of truth: lib/locale-config.ts — imported by routing, SEO, preferences, and static generation.
locales/{locale}/**/*.jsonlib/i18n.ts buildMessages(locale, scope)i18n/request.tslocales/{locale}/editor.jsonLink, useRouter, usePathname from @/i18n/routing only.persistRingLocalePreference() + replaceLocalePath() from lib/locale-pref.ts.components/seo/hreflang-links.tsxlib/seo-metadata.ts with pathnameWithoutLocale() for raw URLsNEXT_PUBLIC_SUPPORTED_LOCALESlocales/{code}/ mirror structuremeta.json in docs for UK/RU gap trackingRing Platform v1.6.0 uses env-driven locale configuration and next-intl with localePrefix: 'as-needed'.
# .env.local
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
NEXT_PUBLIC_DEFAULT_LOCALE=enSource of truth: lib/locale-config.ts — imported by routing, SEO, preferences, and static generation.
locales/{locale}/**/*.jsonlib/i18n.ts buildMessages(locale, scope)i18n/request.tslocales/{locale}/editor.jsonLink, useRouter, usePathname from @/i18n/routing only.persistRingLocalePreference() + replaceLocalePath() from lib/locale-pref.ts.components/seo/hreflang-links.tsxlib/seo-metadata.ts with pathnameWithoutLocale() for raw URLsNEXT_PUBLIC_SUPPORTED_LOCALESlocales/{code}/ mirror structuremeta.json in docs for UK/RU gap trackingRing Platform v1.6.0 uses env-driven locale configuration and next-intl with localePrefix: 'as-needed'.
# .env.local
NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
NEXT_PUBLIC_DEFAULT_LOCALE=enSource of truth: lib/locale-config.ts — imported by routing, SEO, preferences, and static generation.
locales/{locale}/**/*.jsonlib/i18n.ts buildMessages(locale, scope)i18n/request.tslocales/{locale}/editor.jsonLink, useRouter, usePathname from @/i18n/routing only.persistRingLocalePreference() + replaceLocalePath() from lib/locale-pref.ts.components/seo/hreflang-links.tsxlib/seo-metadata.ts with pathnameWithoutLocale() for raw URLsNEXT_PUBLIC_SUPPORTED_LOCALESlocales/{code}/ mirror structuremeta.json in docs for UK/RU gap tracking