|Labs
Book a DemoPlatform
React (Lingo Compiler)
Alpha
React (MCP)

Lingo.dev Compiler

  • How it works
  • Setup
  • Compiler Quick Start

Frameworks

  • Next.js Integration
  • Vite + React

Guides

  • Locale Switching
  • Automatic Pluralization
  • Manual Overrides
  • Build Modes
  • Project Structure
  • Translation Providers
  • Custom Locale Resolvers
  • Development Tools

Reference

  • Best Practices
  • Configuration Reference
  • Troubleshooting
  • Migration Guide
  • Optimization
  • Output Formats

Output Formats

Max PrilutskiyMax Prilutskiy·Updated 2 months ago·1 min read

Alpha

The Lingo.dev Compiler is in alpha. It is unstable, not recommended for production use, and APIs may change between releases.

The compiler supports multiple output formats.

TypeScript#

typescript
export const translations = {
  welcome: "Welcome",
} as const;

JavaScript (ESM)#

javascript
export const translations = {
  welcome: "Welcome",
};

JSON#

json
{
  "welcome": "Welcome"
}

Choose the format that best fits your build pipeline.

Was this page helpful?