LocalePack
كرومفايرفوكسإيدجأوبراسفاريإدراج CWS
Vue.jsReact
Next.jsi18nextReact Native
أدلة المطورينقصص نجاح
مصمّم خصيصًا لإضافات Firefox

توطين بالذكاء الاصطناعي لـ إضافات Firefox

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

ترجمات آمنة مع العناصر النائبة
متوافق مع messages.json في Firefox
تسعير شفاف
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

كيف يعمل

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

01

رفع

أفلت ملف messages.json المصدر. نقوم بتحليله فورًا ونتحقق من تنسيق إضافة Firefox.

02

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

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

03

تنزيل ZIP

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

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

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

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

1. رفع الملف

أفلت messages.json هنا

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

تنسيق Firefox WebExtension فقط. الحد الأقصى 500KB.

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

|

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

3. تقديرك

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

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

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

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

مصمم خصيصًا لتنسيق اللغة المحلية الخاص بـ إضافة Firefox. ليس أداة ترجمة عامة.

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

مبني خصيصًا لبنية messages.json الخاصة بـ إضافة Firefox مع دعم message وdescription وplaceholders.

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

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

سياق الوصف

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

تصدير ZIP جاهز

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

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

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

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

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

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

تستخدم Firefox WebExtensions نفس تنسيق messages.json ضمن _locales/. حقل "default_locale" في manifest.json مطلوب كلما وُجد دليل _locales/ — يؤدي حذفه إلى رفض الإضافة. تقرأ واجهة browser.i18n API سلاسل اللغة أثناء التشغيل، مع دعم كامل لاستبدال $PLACEHOLDER$.

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

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

browser.i18n

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

browser.i18n.getMessage("appName")

مطلوب في ملف manifest

"default_locale"

يعرض AMO (addons.mozilla.org) اسم الإضافة ووصفها بلغة المراجع عندما يكون _locales/ موجودًا. تُحسّن الترجمات المتسقة عبر جميع اللغات معدلات الموافقة في المتجر.

تعمّق في i18n على Firefox →

Firefox and AMO work differently

Firefox reads the same file format as Chrome, but Mozilla's store handles listing text in a completely separate place.

Same format, different namespace
Firefox reads the identical _locales/{locale}/messages.json layout. The runtime namespace is browser.i18n rather than chrome.i18n, with full $PLACEHOLDER$ support.
default_locale is required
Whenever the _locales/ directory exists, manifest.json must declare default_locale. Omitting it causes the add-on to be rejected.
Your AMO listing is a separate job
The name, summary, and description shown on addons.mozilla.org are not read from _locales/. They are localized separately in the AMO developer hub — Mozilla lets you translate nearly all listing text, including the add-on name.
Mozilla has no translator pipeline
Mozilla has publicly acknowledged it has no way to connect extension developers with the translation community at scale, which is why most AMO listings stay English-only.

Shipping a fully localized _locales/ folder does not localize your AMO page. Those are two separate pieces of work.

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

أدوات الترجمة العامة لا تفهم تنسيق إضافة Firefox.

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

قصص نجاح

مشاريع حقيقية استخدمت 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

“أخيرًا أداة تفهم تنسيق إضافة Firefox. لا مزيد من إصلاح العناصر النائبة المعطّلة بعد الترجمة.”

ماركوس ت.

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

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

ديف ج.

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

52

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

100%

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

ZIP

جاهز للإطلاق

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

كل ما تحتاج إلى معرفته عن LocalePack.

Related developer guides

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

Firefox WebExtensions i18n: messages.json reference

Using browser.i18n in Firefox add-ons: the messages.json format, AMO localization requirements, and how to avoid common pitfalls on addons.mozilla.org.

Localizing your Firefox AMO listing

How to localize an add-on listing on addons.mozilla.org: which fields can be translated, the 250-character summary ceiling and what it costs you in German and Russian, and the per-locale Developer Hub workflow.

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.

Chrome extension locale codes: all 55

Every locale code Chrome accepts as a _locales folder name, with language and native names, the underscore-vs-hyphen trap that makes pt-BR silently ignored, and how Chrome picks a locale at runtime.

Browser extension i18n without a TMS subscription

Why Crowdin, Lokalise, and Phrase are overkill for most browser extension projects — and three real alternatives for indie developers who need to translate messages.json without a monthly subscription.

Browse all guides →

هل أنت مستعد لشحن إضافة Firefox عالميًا؟

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

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

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

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