Simple JSON File Integration
Read translations directly from JSON files using Node.js native fs.readFileSync(). No database setup, no external dependencies—just pure, straightforward file-based translation storage that works everywhere Node.js runs.
High-performance JSON file adapter for Lexora - the modern, type-safe i18n solution. Seamlessly load translations from JSON files with zero configuration. Perfect for React, Node.js, and TypeScript projects.
Read translations directly from JSON files using Node.js native fs.readFileSync(). No database setup, no external dependencies—just pure, straightforward file-based translation storage that works everywhere Node.js runs.
Structure your translations by locale at the root level of your JSON file. The adapter automatically extracts the correct language data based on the requested locale, making multilingual support effortless and intuitive.
Selectively load translation scopes with the built-in scopes parameter. Request only the translation namespaces you need, or omit it to get everything. Perfect for performance optimization and reducing memory footprint in large applications.
Implements the official Lexora adapter interface with a synchronous get() operation. Fully compatible with the Lexora ecosystem, providing seamless integration with AdapterOperationFnArgs and AdapterOperationFnReturn types.