Localización hecha para desarrolladores
SDKs de TypeScript, herramientas CLI, sincronización con Git (beta) y flujos de trabajo MCP. Crea, traduce y publica sin salir de tu flujo de desarrollo.
- ENStart free trial
- DEKostenlos testen
- FREssai gratuit
- JA無料トライアルを開始
- ARابدأ تجربة مجانية
Lo que obtienes de inmediato
- 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
Empieza en minutos
Configuración simple, funciones potentes. No se requiere configuración compleja.
# 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>;}Rendimiento de Edge CDN
Las traducciones se sirven desde la red global de puntos de presencia de Cloudflare, que cuenta con un almacenamiento en caché intensivo y una invalidación inteligente, para que sus usuarios disfruten siempre de los tiempos de carga más rápidos posibles.
- 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
API REST y webhooks
Acceso programático a proyectos, claves, traducciones e idiomas. Gestiónelos desde sus propias herramientas o su canalización de integración continua.
// 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)- Eventos de webhookReciba notificaciones push cuando finalicen las sincronizaciones, se publiquen las traducciones o se modifiquen las claves.
- Operaciones por lotesCree, actualice o elimine varias claves en una sola solicitud. Cada clave se identifica mediante un UUID único en todas las sincronizaciones.
- Seguimiento del estado de la sincronizaciónSupervise las tareas de sincronización según su estado: pendientes, en curso, completadas y fallidas. Las claves eliminadas temporalmente se conservan con marcas de tiempo para fines de auditoría.
Experiencia del desarrollador
Diseñado para desarrolladores que dan importancia a la seguridad de tipos, la depuración y la observabilidad del rendimiento.
- 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
Infraestructura
Infraestructura de nivel empresarial con seguridad integrada, redundancia y compatibilidad con múltiples centros de datos.
- 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
Frameworks compatibles
Comienza gratis.
Empieza a construir hoy
Plan gratuito con límites generosos. No se requiere tarjeta de crédito.