AZbox for Next.js
Updated:
Localize your Next.js app
AZbox integrates with Next.js internationalization workflows. Whether you use next-intl, next-i18next, or the built-in i18n routing, manage your translation files with AZbox.
How it works
- Push your JSON files — Upload translation keys from your
/localesdirectory - AI translates — Get translations in minutes
- Pull updated files — Download and commit to your repo, or automate via CI/CD
Supported formats
.json— Standard locale files (flat or nested).yaml— Alternative format
Quick setup
npm install azbox-node
Add to your build pipeline:
// scripts/sync-translations.mjs (Node 18+, usa fetch nativo)
import { writeFile } from "node:fs/promises";
import { AzboxClient } from "azbox-node";
for (const language of ["ES", "FR", "DE", "JA"]) {
const client = new AzboxClient({
token: process.env.AZBOX_API_KEY,
projectId: process.env.AZBOX_PROJECT_ID,
language,
});
// keywords: [{ id, data: { translation } }]
const keywords = await client.getKeywords();
const messages = Object.fromEntries(
keywords.map((kw) => [kw.id, kw.data.translation]),
);
await writeFile(
`./locales/${language.toLowerCase()}.json`,
JSON.stringify(messages, null, 2),
);
}
CI/CD integration
Automate translation syncing in your deployment pipeline. Push new strings on commit, pull translations before build.
Pricing
Start free with 500 keywords and 2 languages — enough for a small Next.js site.
Start Global Growth Today
Upload your language files, get them translated, and keep every locale in sync as your product keeps changing.
Get Started - It's Free