Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    News Module
    Member Blogs
    Public Profile Pages
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)

    Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    News Module
    Member Blogs
    Public Profile Pages
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)

    Documentation

    Concepts, value, and typical clone scenarios — less code.

    Welcome to Ring
    Quick Reference
    Getting Started
    Prerequisites
    Installation
    First Success Validation
    Next Steps
    Features
    Multi-Vendor Store
    SubscriptionConductor
    PaymentConductor
    Payments Overview
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Affiliate & Referral Enablement
    Referral Codes (Refcodes)
    NFT Exhibition Marketplace
    Solana NFT Gates
    Token Staking System
    Owner Project Lab
    Entities
    Opportunities
    Real-Time Messaging
    Ring Tasks
    WebRTC Calls & STUNner TURN
    News Module
    Member Blogs
    Public Profile Pages
    Username Reservation System
    Scientific Editor
    Notifications
    Push Notifications with FCM (Ring-Powered)
    Email AI-CRM
    Ring Mailer & RingdomX Mail
    Tunnel Protocol
    VideoConductor
    MediaConductor
    Generative Gallery
    Authentication
    Security & Compliance
    Admin console
    Admin Wiki
    Manage via Telegram
    Locale System
    Mobile Experience
    Performance Optimization Patterns
    Examples
    Quick Start
    Basic Setup
    White Label
    Custom Branding
    Web3 Integration
    Real World
    Advanced Features
    Customization
    Quick Start — Your First Ring Clone
    Customization Guide
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Web3
    Token launch jurisdictions
    Wallet
    Wallet Security Tips
    Integrations
    Ethereum wallets (Wagmi v3)
    RingFileBase (object storage API)
    Ring CDN (RingFileBase edge)
    Deployment
    Self-hosted deployment
    Vercel
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    Development
    Ring MCP Server

    Quick entry (CTOs · auditors · agents)

    Welcome — mission & audiences
    Quick Reference
    Getting started
    Architecture & Auth.js
    Backend modes & databases (DB_BACKEND_MODE)
    Self-hosted
    Ring MCP Tools
    Ring MCP Server
    Token economics
    Token launch jurisdictions
    Deploy (Docker · k8s)
    Security & compliance reads
    ringdom.org — LegioX homebase
    Source — MIT license (GitHub)
    1. Docs
    2. /Features
    3. /Locale System

    Updated Jun 6, 20261 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    1. Docs
    2. /Features
    3. /Locale System

    Updated Jun 6, 20261 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    1. Docs
    2. /Features
    3. /Locale System

    Updated Jun 6, 20261 min listen

    Ring Platform Logo

    Завантаження документації...

    Підготовка контенту платформи Ring

    Locale System

    Ring Platform v1.6.0 centralizes locale configuration in lib/locale-config.ts (2026-05-28). One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate.

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-separated BCP-47 short codes must match folders under locales/.

    Import pattern

    typescript
    
    import {
      DEFAULT_LOCALE,
      SUPPORTED_LOCALES,
      isValidLocale,
      resolveLocale,
      type Locale,
    } from '@/lib/locale-config'

    Re-exports: i18n/shared.ts, lib/locale-pref.ts.

    Client navigation (canonical)

    • Never strip locale with regex on pathname in client components.
    • Use Link, useRouter, usePathname from @/i18n/routing.
    • Locale switch: persistRingLocalePreference(locale) + replaceLocalePath(router, pathname, locale) from lib/locale-pref.ts.

    Server / proxy

    • lib/proxy-intl.ts — shared helpers for localePrefix: 'as-needed'.
    • lib/seo-metadata.ts — pathnameWithoutLocale() for hreflang on raw URLs.
    • app/layout.tsx injects window.__RING_LOCALE_CONFIG__ for public/scripts/locale-tracking.js.

    Messages

    Translations load via i18n/request.ts → lib/i18n.ts buildMessages(locale, scope). Message scopes: lib/i18n/message-scopes.ts (ensure /editor routes include editor bundle).

    Related

    • Customization: localization
    • Architecture: proxy and intl

    Locale System

    Ring Platform v1.6.0 centralizes locale configuration in lib/locale-config.ts (2026-05-28). One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate.

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-separated BCP-47 short codes must match folders under locales/.

    Import pattern

    typescript
    
    import {
      DEFAULT_LOCALE,
      SUPPORTED_LOCALES,
      isValidLocale,
      resolveLocale,
      type Locale,
    } from '@/lib/locale-config'

    Re-exports: i18n/shared.ts, lib/locale-pref.ts.

    Client navigation (canonical)

    • Never strip locale with regex on pathname in client components.
    • Use Link, useRouter, usePathname from @/i18n/routing.
    • Locale switch: persistRingLocalePreference(locale) + replaceLocalePath(router, pathname, locale) from lib/locale-pref.ts.

    Server / proxy

    • lib/proxy-intl.ts — shared helpers for localePrefix: 'as-needed'.
    • lib/seo-metadata.ts — pathnameWithoutLocale() for hreflang on raw URLs.
    • app/layout.tsx injects window.__RING_LOCALE_CONFIG__ for public/scripts/locale-tracking.js.

    Messages

    Translations load via i18n/request.ts → lib/i18n.ts buildMessages(locale, scope). Message scopes: lib/i18n/message-scopes.ts (ensure /editor routes include editor bundle).

    Related

    • Customization: localization
    • Architecture: proxy and intl

    Locale System

    Ring Platform v1.6.0 centralizes locale configuration in lib/locale-config.ts (2026-05-28). One source drives routing, user preferences, SEO hreflang, static param generation, and the legacy browser gate.

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-separated BCP-47 short codes must match folders under locales/.

    Import pattern

    typescript
    
    import {
      DEFAULT_LOCALE,
      SUPPORTED_LOCALES,
      isValidLocale,
      resolveLocale,
      type Locale,
    } from '@/lib/locale-config'

    Re-exports: i18n/shared.ts, lib/locale-pref.ts.

    Client navigation (canonical)

    • Never strip locale with regex on pathname in client components.
    • Use Link, useRouter, usePathname from @/i18n/routing.
    • Locale switch: persistRingLocalePreference(locale) + replaceLocalePath(router, pathname, locale) from lib/locale-pref.ts.

    Server / proxy

    • lib/proxy-intl.ts — shared helpers for localePrefix: 'as-needed'.
    • lib/seo-metadata.ts — pathnameWithoutLocale() for hreflang on raw URLs.
    • app/layout.tsx injects window.__RING_LOCALE_CONFIG__ for public/scripts/locale-tracking.js.

    Messages

    Translations load via i18n/request.ts → lib/i18n.ts buildMessages(locale, scope). Message scopes: lib/i18n/message-scopes.ts (ensure /editor routes include editor bundle).

    Related

    • Customization: localization
    • Architecture: proxy and intl