사용 사례
Localingos가 다양한 시나리오에서 플레이스홀더를 어떻게 보존하는지 확인하세요
앱 / 웹사이트 현지화
수동 작업 없이 글로벌로 출시하세요
React i18n 예제
원본
{
"welcome": "Welcome back, ${userName}!",
"notifications": "You have {count} new {count, plural, one {message} other {messages}}",
"checkout": "Total: %s items for $%.2f"
}번역됨
// Spanish translation - placeholders preserved
{
"welcome": "¡Bienvenido de nuevo, ${userName}!",
"notifications": "Tienes {count} {count, plural, one {mensaje nuevo} other {mensajes nuevos}}",
"checkout": "Total: %s artículos por $%.2f"
}자리 표시자 보존됨
거래 메시지
동적 변수가 포함된 이메일/SMS
이메일 템플릿 예시
원본
const emailTemplate = {
subject: "Your order #${orderId} has shipped!",
body: "Hi ${customerName}, your order of ${itemCount} items will arrive on ${deliveryDate}."
};번역됨
// French translation - variables intact
const emailTemplate = {
subject: "Votre commande #${orderId} a été expédiée !",
body: "Bonjour ${customerName}, votre commande de ${itemCount} articles arrivera le ${deliveryDate}."
};자리 표시자 보존됨
개발자 도구
i18n 문자열 세트를 위한 안전한 자동화
API 응답 예시
원본
// Original API strings
{
"error.validation": "Field '%s' is required",
"success.created": "Created %d records in %s",
"info.progress": "Processing... {progress}% complete"
}번역됨
// German translation - format specifiers preserved
{
"error.validation": "Feld '%s' ist erforderlich",
"success.created": "%d Datensätze in %s erstellt",
"info.progress": "Verarbeitung... {progress}% abgeschlossen"
}자리 표시자 보존됨