Start
Lingo.dev CLI
Lingo.dev CI/CD
Lingo.dev SDK
Lingo.dev Compiler
New
Lingo.dev Engine
Lingo.dev Compiler
New

Quickstart for AdonisJS

How to set up Lingo.dev Compiler with AdonisJS

On this page

  • Introduction
  • Prerequisites
  • What You'll Learn
  • Step 1. Set up an API Key
  • Alternative: Custom LLM Providers
  • Step 2. Install the Package
  • Step 3. Initialize the Compiler
  • Step 4. Load the Localized Content
  • Client-Side
  • Server-Side
  • Step 5. Set up a Locale Switcher
  • Alternative: Custom Locale Switcher
  • Step 6. Run the App
  • Alternative: Set Cookies Manually
  • Further Reading