LocalePack
ChromeFirefoxEdgeOperaSafariLista w CWS
Vue.jsReact
Next.jsi18nextReact Native
Poradniki dla deweloperówHistorie sukcesu
Placeholder-safe messages.json translation

Lokalizacja AI dla messages.json files

Prześlij źródłowy plik messages.json, wybierz języki docelowe, zapłać jednorazowo i pobierz gotowy do publikacji ZIP z _locales.

Tłumaczenia bezpieczne dla placeholderów
Zgodne z WebExtension messages.json
Przejrzyste ceny
messages.json
Język źródłowy (przykład)
{
  "appName": {
    "message": "My Extension",
    "description": "Name"
  },
  "welcomeMsg": {
    "message": "Hello, $USER$!",
    "placeholders": {
      "user": {
        "content": "$1"
      }
    }
  }
}
Niemiecki (wynik)
{
  "appName": {
    "message": "Meine Erweiterung",
    "description": "Name"
  },
  "welcomeMsg": {
    "message": "Hallo, $USER$!",
    "placeholders": {
      "user": {
        "content": "$1"
      }
    }
  }
}
52 locales

Jak to działa

Trzy proste kroki, aby zlokalizować Twoje browser extension. Tłumaczenia uruchamiamy po płatności — kolejkujemy zadania i generujemy ZIP w kilka minut.

01

Prześlij

Upuść źródłowy plik messages.json. Natychmiast go analizujemy i weryfikujemy format browser extension.

02

Wybierz języki i sprawdź cenę

Wybierz spośród 52 języków. Zobacz przejrzystą wycenę na podstawie rozmiaru pliku, zanim zapłacisz.

03

Pobierz ZIP

Zapłać jednorazowo przez Stripe. Generujemy wszystkie pliki _locales/{lang}/messages.json i pakujemy je do ZIP.

Demo cen na żywo

Przejrzysty kalkulator cen

Zobacz dokładnie, ile zapłacisz, zanim prześlesz plik. Ostateczna wycena jest obliczana po przesłaniu na podstawie długości tekstów i wybranych języków.

1. Prześlij plik

Upuść tutaj messages.json

lub kliknij, aby przeglądać

messages.json input. Max 500KB.

2. Wybierz języki

|

Wybrano 3 z 55 języków

3. Twoja wycena

Wybrane języki3

Cena końcowa zostanie obliczona po przesłaniu pliku na stronie kasy

Płatność jednorazowa • Bez subskrypcji

Stworzone dla deweloperów

Stworzone z myślą o formacie lokalizacji browser extension. To nie jest ogólne narzędzie do tłumaczeń.

Obsługa formatu WebExtension

Zaprojektowane specjalnie pod strukturę messages.json browser extension z obsługą pól message, description oraz placeholders.

Ochrona placeholderów

Zachowuje składnię $PLACEHOLDER$ dokładnie bez zmian. Twoje zmienne pozostają nienaruszone we wszystkich językach.

Kontekst z opisu

Odczytujemy pola description i wykorzystujemy je jako wskazówki kontekstowe, aby uzyskać dokładniejsze tłumaczenia AI.

Eksport ZIP gotowy

Pobierz ZIP z poprawną strukturą folderów _locales/{lang}/messages.json. Wystarczy dodać go do rozszerzenia.

Przetwarzanie równoległe

Wszystkie języki są tłumaczone jednocześnie. Większość zadań kończy się w mniej niż 5 minut.

Płatność jednorazowa

Bez subskrypcji, bez miesięcznych opłat. Płać raz za zadanie, pobieraj bez ograniczeń.

Jak działa i18n rozszerzenia WebExtension

A messages.json entry pairs a key with a "message" string, an optional "description" used as translation context, and an optional "placeholders" map. LocalePack parses all three: it translates only the message text, forwards the description to the model as context, and returns $PLACEHOLDER$ and $1 substitution tokens byte-identical.

Struktura folderu _locales/
_locales/
├── en/
│   └── messages.json   ← default_locale
├── de/
│   └── messages.json
├── fr/
│   └── messages.json
└── ja/
    └── messages.json
messages.json
{
  "appName": {
    "message": "My Extension",
    "description": "Extension name"
  },
  "greeting": {
    "message": "Hello, $USER$!",
    "placeholders": {
      "user": { "content": "$1" }
    }
  }
}

API w czasie działania

chrome.i18n / browser.i18n

Przykładowe wywołanie

getMessage("key")

Wymagane w manifeście

"default_locale"

The same translated messages.json drops into _locales/{locale}/ for Chrome, Firefox, Edge, Opera and Safari without further edits.

messages.json format explained →

What the translator has to preserve

A messages.json entry is more than a key and a string. Getting these four pieces wrong is what breaks extensions after machine translation.

message
The user-visible string, and the only field that should ever change during translation.
description
Context for whoever — or whatever — translates the string. LocalePack feeds this to the model as translation context, so a good description measurably improves output quality.
placeholders
Named substitutions written as $PLACEHOLDER$ in the message, with their own content definitions. These must survive translation exactly, including the dollar signs and casing.
Positional substitutions
$1 through $9 map to arguments passed to getMessage(). A translator that reorders a sentence must keep these tokens intact, not renumber them.

Most generic translation tools treat $PLACEHOLDER$ and $1 as ordinary words. Once they are translated or reordered, the extension ships with broken interpolation.

Dlaczego nie użyć po prostu ogólnych narzędzi?

Narzędzia do tłumaczeń ogólnego przeznaczenia nie rozumieją formatu browser extension.

LocalePack
Tłumaczenie ręczne
Ogólny TMS
Czas konfiguracji2 minutyGodziny na język30+ minut
Przejrzystość kosztów
Bezpieczeństwo formatu WebExtension
Ochrona placeholderów
Szybkość (52 języki)< 5 minTygodnieGodziny
Najlepsze dlaAny messages.json fileMałe projektyKorporacyjne aplikacje webowe

Historie sukcesu

Prawdziwe projekty, które wykorzystały LocalePack, aby dotrzeć do globalnej publiczności w nawet 52 językach.

AstrologerAI AI astrology app localized into 52 languages

AstrologerAI: an AI astrology app localized into 52 languages

How the AstrologerAI app translated its entire experience into 52 languages with LocalePack — 6.3M tokens for $58.73 — to reach a worldwide audience in their own language.

DevToys.pro developer tools web app localized into 52 languages

DevToys.pro: 400% international traffic growth across 52 languages

How the DevToys.pro web app translated its entire UI into 52 languages with LocalePack — 5.8M tokens for $58.44 — and quadrupled its international organic traffic.

DevToys New Tab Chrome extension localized into 52 languages

DevToys New Tab: a Chrome extension localized UI + store listing in 52 languages

How the DevToys New Tab Chrome extension localized both its in-extension UI and its Chrome Web Store listing into 52 languages to reach a global audience.

The LocalePack site localized into 52 languages with LocalePack

LocalePack localized itself into 52 languages — with LocalePack

We used our own tool to translate the entire LocalePack site into 52 languages — 2.9M tokens for $27.37 — so developers worldwide find us in their own language.

Zobacz wszystkie historie sukcesu

Zaufany przez twórców rozszerzeń

“Zaoszczędziło mi godziny żmudnej pracy. Wgrałam swój messages.json i dostałam idealne tłumaczenia w dokładnie takim formacie, jakiego potrzebowałam.”

Sarah K.

Niezależna deweloperka, rozszerzenie AdBlock

“Our $PLACEHOLDER$ tokens came back untouched in all 52 locales. That is the whole reason we stopped scripting it ourselves.”

Marcus T.

Opiekun rozszerzenia

“Przejrzysty cennik był decydujący. Dokładnie wiedziałem, ile zapłacę, zanim cokolwiek przesłałem.”

Dev J.

Współtwórca open source

52

Obsługiwane języki

100%

Wynik bezpieczny dla placeholderów

ZIP

Gotowe do wdrożenia

Najczęściej zadawane pytania

Wszystko, co musisz wiedzieć o LocalePack.

Related developer guides

Deep dives on the formats, APIs and errors behind this page — written for developers, not translators.

messages.json format explained (with placeholders)

A complete reference for the WebExtension messages.json format: the message, description, and placeholders fields, $PLACEHOLDER$ syntax, $1 positional substitutions, and common mistakes.

Validate messages.json before shipping

How to catch every class of messages.json error before your users do: JSON syntax, missing required fields, missing keys across locales, malformed placeholder syntax, and manifest key mismatches.

__MSG_key__ in manifest.json explained

How the __MSG_key__ substitution syntax works in Chrome and Firefox extension manifests: which fields support it, how Chrome resolves tokens at load time, and the pitfalls that cause silent failures or upload rejections.

chrome.i18n.getMessage() returns empty

getMessage() returns an empty string when a message is missing, and logs nothing at all. Every cause of the silent empty string, how to tell it apart from undefined, and how to confirm each one.

Browse all guides →

Gotowy(-a) wysłać swoje browser extension na cały świat?

Płać raz – Pobierz ZIP – Wysyłaj globalnie

Wypróbuj LocalePack
LocalePack
PoradnikiPrywatnośćRegulaminPomoc

© 2025 LocalePack. Wszelkie prawa zastrzeżone.

Ten projekt został przetłumaczony za pomocą LocalePack logoLocalePack