콘텐츠로 바로 가기
개발자용

개발자를 위한 현지화

TypeScript SDK, CLI 도구, Git 동기화(beta), MCP 워크플로. 개발 흐름을 벗어나지 않고 빌드하고, 번역하고, 게시하세요.

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

기본 제공 기능

  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

몇 분 만에 시작

간단한 설정, 강력한 기능. 복잡한 구성은 필요 없습니다.

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

엣지 CDN 성능

번역은 Cloudflare의 글로벌 엣지 네트워크에서 공격적인 캐싱과 스마트 무효화를 통해 제공되므로 사용자가 항상 가장 빠른 로딩 속도를 경험할 수 있습니다.

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

프로젝트, 키, 번역, 언어에 대한 프로그래밍 방식의 접근입니다. 자체 도구 또는 CI 파이프라인에서 관리하세요.

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 이벤트동기화 완료, 번역 게시, 또는 키 수정 시 푸시 이벤트를 수신합니다.
  2. 일괄 작업단일 요청으로 여러 키를 생성, 업데이트 또는 삭제하세요. 각 키는 동기화 전반에 걸쳐 고유한 UUID로 추적됩니다.
  3. 동기화 상태 추적대기 중, 진행 중, 완료, 실패 상태를 통해 동기화 작업을 모니터링하세요. 소프트 삭제된 키는 감사를 위해 타임스탬프와 함께 보존됩니다.
05

개발자 경험

타입 안전성, 디버깅, 성능 관찰 가능성을 중시하는 개발자를 위해 구축되었습니다.

  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

인프라

내장된 보안, 이중화, 멀티 데이터센터 지원을 갖춘 프로덕션 수준의 인프라입니다.

  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

지원하는 프레임워크

시작하기

무료로 시작하세요.

오늘부터 개발을 시작하세요

넉넉한 한도의 무료 플랜. 신용카드가 필요 없습니다.