Naar inhoud gaan
Voor ontwikkelaars

Lokalisatie gebouwd voor ontwikkelaars

Typeveilige SDK's, CLI-tools en MCP-integratie. Lever vertalingen zonder je IDE te verlaten.

Type-Safe SDKs

Full TypeScript support with autocomplete for translation keys

Git-First Workflow

Automatic key discovery from your codebase via AST parsing

MCP Integration

Manage translations directly from Claude or Cursor

CLI Tools

Scan codebase, sync translations, and validate keys from terminal

Edge CDN

Sub-50ms translation delivery from Cloudflare's global network

Hot Reload

See translation changes instantly during development

Begin in enkele minuten

Eenvoudige setup, krachtige functies. Geen complexe configuratie nodig.

# Install the SDK
npm install @better-i18n/next

# Configure your project
npx better-i18n init

# Scan for translation keys
npx better-i18n scan

# Your code stays clean
import { useTranslations } from '@better-i18n/use-intl';

function Component() {
  const t = useT('common');
  return <h1>{t('welcome')}</h1>;
}

Edge CDN-prestaties

Vertalingen worden aangeleverd via het wereldwijde edge-netwerk van Cloudflare met agressieve caching en slimme invalidatie, zodat uw gebruikers altijd de snelst mogelijke laadtijden ervaren.

Manifest Cache5-minute TTL with smart invalidation on publish
Translation Cache1-hour TTL for optimal repeat-visit performance
Global Propagation5-10 second cache propagation after publish
Cache PurgingPublish triggers global invalidation instantly
Preload Support<link rel=preload> for faster initial loading
Edge LocationsNorth America, Europe, and Asia Pacific
Immutable Assets1-year cache for static assets like flags

REST API & Webhooks

Programmatische toegang tot alle platformfuncties. Beheer projecten, sleutels en talen vanuit uw eigen tools of CI-pijplijn.

// REST API methods
listProjects()
getProject(id)
addLanguage(projectId, locale)
listKeys(projectId)
createKeys(projectId, keys[])
updateKeys(projectId, keys[])
deleteKeys(projectId, keyIds[])

Webhookgebeurtenissen

Ontvang push-notificaties wanneer syncs worden voltooid, vertalingen worden gepubliceerd of sleutels worden gewijzigd.

Batchbewerkingen

Maak meerdere sleutels aan, werk ze bij of verwijder ze in één verzoek. Elke sleutel wordt gevolgd door een unieke UUID over syncs heen.

Synchronisatiestatus bijhouden

Houd synchronisatietaken bij op basis van de statussen ‘in behandeling’, ‘in uitvoering’, ‘voltooid’ en ‘mislukt’. Voorlopig verwijderde sleutels worden bewaard met tijdstempels voor controledoeleinden.

Ontwikkelaarservaring

Gebouwd voor ontwikkelaars die waarde hechten aan typeveiligheid, foutopsporing en prestatie-observatie.

Namespace Scoping

Automatic namespace binding via lexical scope analysis

Rich Type System

Full TypeScript types exported from @better-i18n/core

i18n.config.ts

Single workspace configuration file for all settings

Debug Logging

Verbose output for troubleshooting integration issues

Perf Monitoring

Execution time and cache hit rate reporting

Custom Fetch

Bring your own HTTP client for translation loading

Error Handlers

Custom callbacks for missing translation keys

Locale Callbacks

Event hooks for locale switching and changes

Infrastructuur

Infrastructuur van productiekwaliteit met ingebouwde beveiliging, redundantie en ondersteuning voor meerdere datacenters.

Cloudflare Workers

Edge computing with built-in DDoS protection and global distribution

Cloudflare R2 Storage

Object storage for translation files with zero egress fees

PlanetScale Database

Serverless MySQL with automatic backups and branching

Multi-Datacenter

Redundant deployment across regions for high availability

Ondersteunde frameworks

Begin vandaag met bouwen

Gratis pakket met ruime limieten. Geen creditcard vereist.