LocalePack
كرومفايرفوكسإيدجأوبراسفاريإدراج CWS
Vue.jsReact
Next.jsi18nextReact Native
أدلة المطورينقصص نجاح
One format, every major browser

توطين بالذكاء الاصطناعي لـ browser extensions

ارفع ملف messages.json المصدر، واختر اللغات المستهدفة، وادفع مرة واحدة، ثم نزّل ملف ZIP جاهزًا للشحن لمجلدات _locales.

ترجمات آمنة مع العناصر النائبة
متوافق مع messages.json في WebExtension
تسعير شفاف
messages.json
لغة المصدر (مثال)
{
  "appName": {
    "message": "My Extension",
    "description": "Name"
  },
  "welcomeMsg": {
    "message": "Hello, $USER$!",
    "placeholders": {
      "user": {
        "content": "$1"
      }
    }
  }
}
الألمانية (الناتج)
{
  "appName": {
    "message": "Meine Erweiterung",
    "description": "Name"
  },
  "welcomeMsg": {
    "message": "Hallo, $USER$!",
    "placeholders": {
      "user": {
        "content": "$1"
      }
    }
  }
}
52 locales

كيف يعمل

ثلاث خطوات بسيطة لتوطين browser extension. تبدأ الترجمات بعد الدفع—نضع المهام في قائمة انتظار ونُنشئ ملف ZIP خلال دقائق.

01

رفع

أفلت ملف messages.json المصدر. نقوم بتحليله فورًا ونتحقق من تنسيق browser extension.

02

اختر اللغات واطّلع على السعر

اختر من بين 52 لغة. اطّلع على تسعير شفاف بناءً على حجم ملفك قبل الدفع.

03

تنزيل ZIP

ادفع مرة واحدة عبر Stripe. نُنشئ جميع ملفات _locales/{lang}/messages.json ونجمعها في ملف ZIP.

عرض تسعير مباشر

مُقدِّر تسعير شفاف

اطّلع بدقة على ما ستدفعه قبل الرفع. يتم احتساب العرض النهائي بعد الرفع بناءً على طول السلاسل واللغات المحددة.

1. رفع الملف

أفلت messages.json هنا

أو انقر للتصفح

WebExtension messages.json format. Max 500KB.

2. اختر اللغات

|

تم اختيار 3 من أصل 55 لغة

3. تقديرك

اللغات المحددة3

يتم احتساب السعر النهائي بعد رفع الملف في صفحة إتمام الدفع

دفعة لمرة واحدة • بدون اشتراك

مصمم للمطورين

مصمم خصيصًا لتنسيق اللغة المحلية الخاص بـ browser extension. ليس أداة ترجمة عامة.

متوافق مع تنسيق WebExtension

مبني خصيصًا لبنية messages.json الخاصة بـ browser extension مع دعم message وdescription وplaceholders.

حماية العناصر النائبة

يحافظ على صياغة $PLACEHOLDER$ كما هي تمامًا. تبقى متغيراتك سليمة عبر جميع اللغات.

سياق الوصف

نقرأ حقول الوصف لديك ونستخدمها كتلميحات سياقية لترجمات ذكاء اصطناعي أدق.

تصدير ZIP جاهز

نزّل ملف ZIP ببنية المجلدات الصحيحة _locales/{lang}/messages.json. ثم أضِفه إلى إضافتك.

معالجة متوازية

تُترجم جميع اللغات في الوقت نفسه. تكتمل معظم المهام في أقل من 5 دقائق.

دفعة لمرة واحدة

لا اشتراكات ولا رسوم شهرية. ادفع مرة واحدة لكل مهمة، وحمّل إلى الأبد.

كيف تعمل i18n لإضافة WebExtension

Every major browser reads the same _locales/{locale}/messages.json structure. Chrome, Edge and Opera expose the chrome.i18n namespace; Firefox and Safari expose browser.i18n. The file format, the placeholder syntax and the default_locale requirement are identical across all of them, which is why a single translated folder ships everywhere.

بنية مجلد _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" }
    }
  }
}

واجهة برمجة التطبيقات وقت التشغيل

chrome.i18n / browser.i18n

مثال على الاستدعاء

getMessage("key")

مطلوب في ملف manifest

"default_locale"

In-extension strings come from _locales/. Store listing copy is managed separately in each store's own dashboard — translating one does not translate the other.

messages.json format explained →

What actually differs between browsers

The messages.json format is shared across every major browser. Only four things vary, and none of them require re-translating your strings.

Runtime namespace
Chrome, Edge, and Opera expose chrome.i18n. Firefox and Safari expose browser.i18n. The method names and arguments are otherwise the same.
Folder location
Most browsers read _locales/ from the extension root. Build frameworks move it: WXT emits public/_locales/, and Plasmo reads locales/ rather than _locales/.
Store listing text
In-extension strings come from _locales/. Store listing copy does not — Chrome Web Store, AMO, and App Store Connect each manage listing translations in their own dashboard.
Locale-code lists
Chromium browsers accept a fixed set of underscore-separated codes and silently ignore anything else. Check your codes before shipping rather than after.

One translated _locales/ folder covers Chrome, Firefox, Edge, Opera, and Safari. The porting work is in the build, never in the strings.

لماذا لا تستخدم الأدوات العامة فحسب؟

أدوات الترجمة العامة لا تفهم تنسيق browser extension.

LocalePack
ترجمة يدوية
نظام TMS عام
وقت الإعداددقيقتانساعات لكل لغةأكثر من 30 دقيقة
شفافية التكلفة
أمان تنسيق WebExtension
حماية العناصر النائبة
السرعة (52 لغة)< 5 دقائقأسابيعساعات
الأفضل لـCross-browser extensionsمشاريع صغيرةتطبيقات ويب للمؤسسات

قصص نجاح

مشاريع حقيقية استخدمت LocalePack للوصول إلى جمهور عالمي بما يصل إلى 52 لغة.

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.

عرض جميع قصص النجاح

موثوق به من مطوري الإضافات

“وفّر عليّ ساعات من العمل الممل. رفعت ملف messages.json الخاص بي، وحصلت على ترجمات مثالية بالصيغة الدقيقة التي أحتاجها.”

سارة ك.

مطوّرة مستقلة، إضافة AdBlock

“We ship the same _locales folder to Chrome, Firefox and Edge. One translation pass covers all three.”

ماركوس ت.

مشرف على إضافة

“كان التسعير الشفاف هو نقطة الحسم. كنت أعرف بالضبط ما سأدفعه قبل رفع أي شيء.”

ديف ج.

مساهم في المصادر المفتوحة

52

اللغات المحلية المدعومة

100%

مخرجات آمنة للعناصر النائبة

ZIP

جاهز للإطلاق

الأسئلة الشائعة

كل ما تحتاج إلى معرفته عن 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.

WXT i18n: @wxt-dev/i18n and messages.json

How @wxt-dev/i18n compiles YAML, JSON, JSONC, JSON5 and TOML message files into standard _locales/{lang}/messages.json — setup, nested keys, plurals, substitutions, type safety, and how to translate a WXT project.

Plasmo i18n: the locales/ folder gotcha

Plasmo does not read _locales/ at the project root. The three paths it does accept, where default_locale actually lives, the alphabetical-default trap, and how to place a translated _locales ZIP correctly.

Adding i18n to a CRXJS extension

CRXJS ships no i18n helper and its docs have no i18n page. Here is the working pattern: put _locales under public/, declare default_locale in manifest.config.ts, and call chrome.i18n directly.

Browse all guides →

هل أنت مستعد لشحن browser extension عالميًا؟

ادفع مرة واحدة - نزّل ملف ZIP - اشحن عالميًا

جرّب LocalePack
LocalePack
أدلةالخصوصيةالشروطالدعم

© 2025 LocalePack. جميع الحقوق محفوظة.

تمت ترجمة هذا المشروع باستخدام LocalePack logoLocalePack