Localizzazione pensata per sviluppatori
SDK TypeScript, strumenti CLI, sincronizzazione Git (beta) e workflow MCP. Crea, traduci e pubblica senza uscire dal tuo flusso di sviluppo.
- ENStart free trial
- DEKostenlos testen
- FREssai gratuit
- JA無料トライアルを開始
- ARابدأ تجربة مجانية
Cosa ottieni subito
- 01Type-Safe SDKsWritten in TypeScript; for key autocomplete, type use-intl's AppConfig from a file made by lefine strings pull
- 02Git-First WorkflowAutomatic key discovery from your codebase via AST parsing
- 03MCP IntegrationManage translations directly from Claude or Cursor
- 04CLI ToolsScan codebase, sync translations, and validate keys from terminal
- 05Edge CDNTranslation delivery from Cloudflare's global network
Inizia in pochi minuti
Setup semplice, funzionalità potenti. Nessuna configurazione complessa richiesta.
# 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>;}Prestazioni Edge CDN
Le traduzioni vengono distribuite dalla rete edge globale di Cloudflare con caching aggressivo e invalidazione intelligente, in modo che i vostri utenti ottengano sempre i tempi di caricamento più rapidi possibili.
- 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
REST API e Webhook
Accesso programmatico a progetti, chiavi, traduzioni e lingue. Gestiteli dai vostri strumenti personalizzati o dalla pipeline CI.
// 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)- Eventi WebhookRicevete eventi push al completamento delle sincronizzazioni, alla pubblicazione delle traduzioni o alla modifica delle chiavi.
- Operazioni in batchÈ possibile creare, aggiornare o eliminare più chiavi con un'unica richiesta. Ogni chiave viene identificata da un UUID univoco durante le sincronizzazioni.
- Monitoraggio dello stato della sincronizzazioneMonitorate i job di sincronizzazione attraverso gli stati in attesa, in corso, completato e non riuscito. Le chiavi eliminate definitivamente vengono conservate con timestamp per l'audit.
Developer Experience
Progettato per gli sviluppatori che si preoccupano della type safety, del debugging e dell'osservabilità delle prestazioni.
- Namespace ScopingAutomatic namespace binding via lexical scope analysis
- Rich Type SystemFull TypeScript types; npx lefine strings types writes every key of your app
- i18n.config.tsSingle workspace configuration file for all settings
- Debug LoggingVerbose output for troubleshooting integration issues
- Perf MonitoringThe scan and doctor commands report how long each run took
- Custom FetchBring your own HTTP client for translation loading
- Error HandlersCustom callbacks for missing translation keys
- Locale CallbacksEvent hooks for locale switching and changes
Infrastruttura
Infrastruttura di livello aziendale con sicurezza integrata, ridondanza e supporto multi-datacenter.
- Cloudflare WorkersEdge computing with built-in DDoS protection and global distribution
- Cloudflare R2 StorageObject storage for translation files with zero egress fees
- Neon PostgreSQLServerless Postgres, reached from Workers through Cloudflare Hyperdrive
- Multi-DatacenterRedundant deployment across regions for high availability
Framework supportati
Inizia gratis.
Inizia a sviluppare oggi
Piano gratuito con limiti generosi. Nessuna carta di credito richiesta.