OpportunitiesEntities
Docs
    Ring Platform

    Decentralized Self-building Future

    Sign In
    Entities
    Opportunities
    Store
    Docs
    Platform Concepts
    RING EconomySonoratek LLCGlobal ImpactAI Meets Web3
    Get Started
    Quick StartCalculatorRoadmap
    Privacy|Contact
    v1.104.26|Sonoratek LLC

    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
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Ring Oracle
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Credit Rewards
    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
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Profile Account Widgets
    Ring File Cabinet
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    News Kingdom architecture
    Backend Services
    Firebase Integration
    Development
    Ring MCP Server
    OSS vs enterprise

    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
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Ring Oracle
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Credit Rewards
    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
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Profile Account Widgets
    Ring File Cabinet
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    News Kingdom architecture
    Backend Services
    Firebase Integration
    Development
    Ring MCP Server
    OSS vs enterprise

    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
    Inventory & Stock
    Vendor Management
    Commissions & Settlements
    SubscriptionConductor
    PaymentConductor
    Ring Oracle
    Payments Overview
    Public Pools & DAO Jars
    WayForPay Payment Integration
    Wallet & Credit System
    WalletConductor
    Credit Rewards
    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
    Peer Games
    News Module
    Member Blogs
    Public Profile Pages
    Profile Account Widgets
    Ring File Cabinet
    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
    Vertical Presets (SSOT)
    Ringization playbook
    Branding
    Themes
    Features
    Localization
    Token Economics Setup
    Payment Gateway Integration
    Reference Ring deployments
    Project configuration
    Public environment variables
    Order Lab secrets
    WalletConnect Project ID (Reown Cloud)
    Supported services
    NODUS wiki (project knowledge)
    Configuration playbook
    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 Deployment
    Docker
    Environment Configuration
    Monitoring & Analytics
    Performance Optimization
    Backup & Recovery
    Architecture
    Data Model
    Security
    Real Time
    Discovery Mutation Sync
    PaymentConductor architecture
    WalletConductor architecture
    News Kingdom architecture
    Backend Services
    Firebase Integration
    Development
    Ring MCP Server
    OSS vs enterprise

    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)
    Ring Logo

    Loading documentation...

    Preparing Ring content

    Ring Logo

    Loading documentation...

    Preparing Ring content

    Ring Logo

    Loading documentation...

    Preparing Ring content

    Locale System

    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).

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-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.

    What operators set

    • Supported locales on the clone env — users see those language switcher entries.
    • Default locale — unprefixed URLs (localePrefix: 'as-needed').
    • Copy — Layer1 strings, plus pack 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.

    Import pattern

    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).

    LayerFunctionCached?
    L1 files listed by getLocaleFileIdsForScopeassembleMessagesYes ('use cache', cacheLife('hours'))
    locales/{locale}/pack.jsonloadPackMessagesNo — skipped when getPresetPack() is null
    Clone appendOverlayMessagesloadOverlayMessagesNo — skipped when getOverlayFeature() is null

    pack is not a LocaleFileId. Editor routes must include the editor bundle via lib/i18n/message-scopes.ts.

    Related documentation

    Related documentation

    Localization

    Deep-dive: pack.json merge order, comment gotcha, and adding a language.

    Proxy and internationalization

    Depends-on: slim proxy locale rewrite vs layout auth.

    Vertical Presets (SSOT)

    See-also: overlay runtime that owns loadPackMessages.

    Whitelabel Navigation

    Next-step: nav labelKeys resolve through the same next-intl messages.

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

    Updated Sep 9, 20262 min listen

    Locale System

    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).

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-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.

    What operators set

    • Supported locales on the clone env — users see those language switcher entries.
    • Default locale — unprefixed URLs (localePrefix: 'as-needed').
    • Copy — Layer1 strings, plus pack 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.

    Import pattern

    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).

    LayerFunctionCached?
    L1 files listed by getLocaleFileIdsForScopeassembleMessagesYes ('use cache', cacheLife('hours'))
    locales/{locale}/pack.jsonloadPackMessagesNo — skipped when getPresetPack() is null
    Clone appendOverlayMessagesloadOverlayMessagesNo — skipped when getOverlayFeature() is null

    pack is not a LocaleFileId. Editor routes must include the editor bundle via lib/i18n/message-scopes.ts.

    Related documentation

    Related documentation

    Localization

    Deep-dive: pack.json merge order, comment gotcha, and adding a language.

    Proxy and internationalization

    Depends-on: slim proxy locale rewrite vs layout auth.

    Vertical Presets (SSOT)

    See-also: overlay runtime that owns loadPackMessages.

    Whitelabel Navigation

    Next-step: nav labelKeys resolve through the same next-intl messages.

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

    Updated Sep 9, 20262 min listen

    Locale System

    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).

    Environment variables

    bash
    
    NEXT_PUBLIC_SUPPORTED_LOCALES=en,uk,ru,es,de
    NEXT_PUBLIC_DEFAULT_LOCALE=en

    Comma-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.

    What operators set

    • Supported locales on the clone env — users see those language switcher entries.
    • Default locale — unprefixed URLs (localePrefix: 'as-needed').
    • Copy — Layer1 strings, plus pack 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.

    Import pattern

    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).

    LayerFunctionCached?
    L1 files listed by getLocaleFileIdsForScopeassembleMessagesYes ('use cache', cacheLife('hours'))
    locales/{locale}/pack.jsonloadPackMessagesNo — skipped when getPresetPack() is null
    Clone appendOverlayMessagesloadOverlayMessagesNo — skipped when getOverlayFeature() is null

    pack is not a LocaleFileId. Editor routes must include the editor bundle via lib/i18n/message-scopes.ts.

    Related documentation

    Related documentation

    Localization

    Deep-dive: pack.json merge order, comment gotcha, and adding a language.

    Proxy and internationalization

    Depends-on: slim proxy locale rewrite vs layout auth.

    Vertical Presets (SSOT)

    See-also: overlay runtime that owns loadPackMessages.

    Whitelabel Navigation

    Next-step: nav labelKeys resolve through the same next-intl messages.

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

    Updated Sep 9, 20262 min listen