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

개발자를 위한 현지화

타입 안전 SDK, CLI 도구, MCP 통합. IDE를 떠나지 않고 번역을 배포하세요.

Type-Safe SDKs

Full TypeScript support with autocomplete for translation keys

Git-First Workflow

Automatic key discovery from your codebase via AST parsing

MCP Integration

Manage translations directly from Claude or Cursor

CLI Tools

Scan codebase, sync translations, and validate keys from terminal

Edge CDN

Sub-50ms translation delivery from Cloudflare's global network

Hot Reload

See translation changes instantly during development

몇 분 만에 시작

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

# Install the SDK
npm install @better-i18n/next

# Configure your project
npx better-i18n init

# Scan for translation keys
npx better-i18n scan

# Your code stays clean
import { useTranslations } from '@better-i18n/use-intl';

function Component() {
  const t = useT('common');
  return <h1>{t('welcome')}</h1>;
}

엣지 CDN 성능

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

Manifest Cache5-minute TTL with smart invalidation on publish
Translation Cache1-hour TTL for optimal repeat-visit performance
Global Propagation5-10 second cache propagation after publish
Cache PurgingPublish triggers global invalidation instantly
Preload Support<link rel=preload> for faster initial loading
Edge LocationsNorth America, Europe, and Asia Pacific
Immutable Assets1-year cache for static assets like flags

REST API 및 Webhooks

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

// REST API methods
listProjects()
getProject(id)
addLanguage(projectId, locale)
listKeys(projectId)
createKeys(projectId, keys[])
updateKeys(projectId, keys[])
deleteKeys(projectId, keyIds[])

Webhook 이벤트

동기화 완료, 번역 게시, 또는 키 수정 시 푸시 이벤트를 수신합니다.

일괄 작업

단일 요청으로 여러 키를 생성, 업데이트 또는 삭제하세요. 각 키는 동기화 전반에 걸쳐 고유한 UUID로 추적됩니다.

동기화 상태 추적

대기 중, 진행 중, 완료, 실패 상태를 통해 동기화 작업을 모니터링하세요. 소프트 삭제된 키는 감사를 위해 타임스탬프와 함께 보존됩니다.

개발자 경험

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

Namespace Scoping

Automatic namespace binding via lexical scope analysis

Rich Type System

Full TypeScript types exported from @better-i18n/core

i18n.config.ts

Single workspace configuration file for all settings

Debug Logging

Verbose output for troubleshooting integration issues

Perf Monitoring

Execution time and cache hit rate reporting

Custom Fetch

Bring your own HTTP client for translation loading

Error Handlers

Custom callbacks for missing translation keys

Locale Callbacks

Event hooks for locale switching and changes

인프라

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

Cloudflare Workers

Edge computing with built-in DDoS protection and global distribution

Cloudflare R2 Storage

Object storage for translation files with zero egress fees

PlanetScale Database

Serverless MySQL with automatic backups and branching

Multi-Datacenter

Redundant deployment across regions for high availability

지원하는 프레임워크

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

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