Geliştirici akışları için lokalizasyon altyapısı.
TypeScript SDK'ları, CLI araçları, Git senkronizasyonu (beta) ve MCP iş akışları. Geliştirme akışınızdan çıkmadan oluşturun, çevirin ve yayınlayın.
- ENStart free trial
- DEKostenlos testen
- FREssai gratuit
- JA無料トライアルを開始
- ARابدأ تجربة مجانية
Kutudan çıktığı gibi elde ettikleriniz
- 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
Dakikalar İçinde Başlayın
Basit kurulum, güçlü özellikler. Karmaşık konfigürasyon gerekmez.
# 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>;}Edge CDN Performansı
Çeviriler, Cloudflare'in küresel edge ağından agresif önbellekleme ve akıllı geçersiz kılma ile sunulur; böylece kullanıcılarınız her zaman mümkün olan en hızlı yükleme sürelerini elde eder.
- 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 ve Webhook'lar
Projelere, anahtarlara, çevirilere ve dillere programatik erişim. Bunları kendi araçlarınızdan veya CI hattınızdan yönetin.
// 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)- Webhook OlaylarıSenkronizasyonlar tamamlandığında, çeviriler yayınlandığında veya anahtarlar değiştirildiğinde push olayları alın.
- Toplu İşlemlerTek bir istekle birden fazla anahtar oluşturun, güncelleyin veya silin. Her anahtar, senkronizasyonlar boyunca benzersiz bir UUID ile takip edilir.
- Senkronizasyon Durumu TakibiSenkronizasyon işlerini beklemede, devam ediyor, tamamlandı ve başarısız durumlarıyla izleyin. Geçici olarak silinen anahtarlar denetim amacıyla zaman damgasıyla birlikte korunur.
Geliştirici Deneyimi
Tür güvenliği, hata ayıklama ve performans gözlemlenebilirliğini önemseyen geliştiriciler için tasarlanmıştır.
- 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
Altyapı
Yerleşik güvenlik, yedeklilik ve çoklu veri merkezi desteğine sahip üretim sınıfı altyapı.
- 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
Desteklenen Framework'ler
Ücretsiz başla.
Bugün İnşa Etmeye Başlayın
Cömert limitlerle ücretsiz plan. Kredi kartı gerekmez.