Zum Inhalt springen
Für Entwickler

Lokalisierung für Entwickler

TypeScript‑SDKs, CLI‑Tools, Git‑Sync (beta) und MCP‑Workflows. Entwickeln, übersetzen und veröffentlichen, ohne Ihren Entwicklungsfluss zu verlassen.

Typed keysType use-intl's AppConfig from a pulled JSON file and the editor knows your keys; the app gets each one in every language from the edge.
01Developer surface

Was Sie sofort erhalten

  1. 01Type-Safe SDKsWritten in TypeScript; for key autocomplete, type use-intl's AppConfig from a file made by lefine strings pull
  2. 02Git-First WorkflowAutomatic key discovery from your codebase via AST parsing
  3. 03MCP IntegrationManage translations directly from Claude or Cursor
  4. 04CLI ToolsScan codebase, sync translations, and validate keys from terminal
  5. 05Edge CDNTranslation delivery from Cloudflare's global network
02

In Minuten starten

Einfaches Setup, starke Features. Keine komplexe Konfiguration erforderlich.

terminal
# Install the packagenpm install lefine# Sign in to your workspacenpx lefine login# Download the published translations as JSONnpx lefine strings pull# Check that every key your code uses existsnpx lefine strings check# Your code stays cleanimport { useStrings } from 'lefine/react';function Component() {  const t = useStrings('common');  return <h1>{t('welcome')}</h1>;}
03

Leistung des Edge-CDN

Übersetzungen werden über das globale Edge-Netzwerk von Cloudflare bereitgestellt, das sich durch eine intensive Zwischenspeicherung und intelligente Invalidierung auszeichnet, sodass Ihre Nutzer stets von den schnellstmöglichen Ladezeiten profitieren.

Manifest Cache
Cached 5 minutes by the SDK in production (set manifestCacheTtlMs), 60 seconds at the CDN edge
Translation Cache
60 seconds at the CDN edge; SDK cache keys follow the manifest version, so new content loads once the manifest is re-read
Global Propagation
Edge copies everywhere refresh within a minute of publish
Cache Purging
Publish purges the cached files; edge locations the purge does not reach expire them within 60 seconds
Batch Requests
/batch.json returns several namespaces in one request
Edge Locations
North America, Europe, and Asia Pacific
Versioned Snapshots
Per-publish files under /v/<version>/ cached for a year as immutable
04

REST-API & Webhooks

Programmatischer Zugriff auf Projekte, Schlüssel, Übersetzungen und Sprachen. Verwalten Sie sie über Ihre eigenen Tools oder Ihre CI-Pipeline.

rest-api
// MCP tools (npx lefine mcp, or https://dash.lefine.ai/v1/mcp)lefine_context()lefine_find(query)lefine_read(action, input)lefine_write(action, input)lefine_publish(action, input)lefine_find_similar_key(text)lefine_add_key(key, text)
  1. Webhook-EreignisseErhalten Sie Push-Benachrichtigungen, wenn Synchronisierungen abgeschlossen sind, Übersetzungen veröffentlicht werden oder Schlüssel geändert werden.
  2. StapelverarbeitungErstellen, aktualisieren oder löschen Sie mehrere Schlüssel in einer einzigen Anfrage. Jeder Schlüssel wird über alle Synchronisierungen hinweg anhand einer eindeutigen UUID nachverfolgt.
  3. Verfolgung des SynchronisierungsstatusÜberwachen Sie Synchronisierungsaufträge anhand der Status „Ausstehend“, „In Bearbeitung“, „Abgeschlossen“ und „Fehlgeschlagen“. Vorläufig gelöschte Schlüssel werden mit Zeitstempeln für Prüfzwecke aufbewahrt.
05

Entwicklererfahrung

Entwickelt für Entwickler, denen Typsicherheit, Debugging und die Überwachung der Leistung wichtig sind.

  1. Namespace ScopingAutomatic namespace binding via lexical scope analysis
  2. Rich Type SystemFull TypeScript types; npx lefine strings types writes every key of your app
  3. i18n.config.tsSingle workspace configuration file for all settings
  4. Debug LoggingVerbose output for troubleshooting integration issues
  5. Perf MonitoringThe scan and doctor commands report how long each run took
  6. Custom FetchBring your own HTTP client for translation loading
  7. Error HandlersCustom callbacks for missing translation keys
  8. Locale CallbacksEvent hooks for locale switching and changes
06

Infrastruktur

Eine Infrastruktur auf Produktionsniveau mit integrierten Sicherheitsfunktionen, Redundanz und Unterstützung für mehrere Rechenzentren.

  1. Cloudflare WorkersEdge computing with built-in DDoS protection and global distribution
  2. Cloudflare R2 StorageObject storage for translation files with zero egress fees
  3. Neon PostgreSQLServerless Postgres, reached from Workers through Cloudflare Hyperdrive
  4. Multi-DatacenterRedundant deployment across regions for high availability
07

Unterstützte Frameworks

Loslegen

Kostenlos starten.

Heute loslegen

Kostenloser Tarif mit großzügigen Limits. Keine Kreditkarte erforderlich.