CAMB AI Website Translation lets you add multilingual support to your site by dropping in a singleDocumentation Index
Fetch the complete documentation index at: https://docs.camb.ai/llms.txt
Use this file to discover all available pages before exploring further.
<script> tag. Once installed, a translation dropdown appears on the page, and visitors can switch their language with one click — text is translated on the fly and cached via Redis for near-instant subsequent loads.
How it works
- You create a Website Configuration in CAMB AI Studio with your domain, source language, target languages, and a Redis cache URL.
- Studio generates an API key scoped to that configuration.
- You include the Website Translator script on your site, passing the API key via a
data-api-keyattribute. - The script renders a language picker, translates page content as visitors switch languages, and caches results in Redis so repeat visits are instant.
What you’ll need
- A production domain (the script is bound to the domain you register).
- A Redis cache — we recommend Upstash for a managed, serverless Redis with a free tier. See Set up Redis with Upstash.
- A list of source and target languages for your site.
Get started
Next.js (Page Router)
Integrate the translator using
next/script in pages/_app.tsx.Set up Redis with Upstash
Provision a free Redis instance and grab the
rediss:// URL.Working with the Next.js App Router or another framework? The same script-tag approach applies — load the script with the
data-api-key attribute on every page. The integration guides will expand to cover more frameworks over time.