Anwendungsfälle
Sehen Sie, wie Localingos Ihre Platzhalter in verschiedenen Szenarien beibehält
App / Website-Lokalisierung
Global ausliefern ohne manuellen Aufwand
React i18n Beispiel
Original
{
"welcome": "Welcome back, ${userName}!",
"notifications": "You have {count} new {count, plural, one {message} other {messages}}",
"checkout": "Total: %s items for $%.2f"
}Übersetzt
// 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"
}Platzhalter beibehalten
Transaktionsnachrichten
E-Mails/SMS mit dynamischen Variablen
E-Mail-Vorlagen-Beispiel
Original
const emailTemplate = {
subject: "Your order #${orderId} has shipped!",
body: "Hi ${customerName}, your order of ${itemCount} items will arrive on ${deliveryDate}."
};Übersetzt
// 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}."
};Platzhalter beibehalten
Entwickler-Tools
Sichere Automatisierung für i18n-Zeichenkettensätze
API-Antwortbeispiel
Original
// Original API strings
{
"error.validation": "Field '%s' is required",
"success.created": "Created %d records in %s",
"info.progress": "Processing... {progress}% complete"
}Übersetzt
// German translation - format specifiers preserved
{
"error.validation": "Feld '%s' ist erforderlich",
"success.created": "%d Datensätze in %s erstellt",
"info.progress": "Verarbeitung... {progress}% abgeschlossen"
}Platzhalter beibehalten