Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ default:
pastePlainText: true
```

## Language / locale

The editor UI language always follows the current Bolt **backend locale** — each
user sees the editor in the language they've selected for the Bolt admin, with no
configuration. The matching Redactor language file
(`assets/redactor/langs/<code>.js`) is loaded automatically; English is built in,
and locales Redactor ships no translation for fall back to English.

This is driven solely by the user's Bolt locale and is not overridable via `lang:`.

(Note: some plugins register their toolbar labels in English only; you can top up
the missing strings by extending `$R.lang['<code>']` from a small script added via
`includes:`.)

## Adding custom plugins

If you've written your own plugin for Redactor according to the documentation
Expand Down
146 changes: 112 additions & 34 deletions assets/redactor/langs/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@
"image": "صورة",
"file": "ملف",
"link": "رابط",
"bold": "متين",
"bold": "غامق",
"italic": "مائل",
"deleted": "مشطوب",
"underline": "مسطر",
"superscript": "Superscript",
"subscript": "Subscript",
"bold-abbr": "B",
"italic-abbr": "I",
"deleted-abbr": "S",
"underline-abbr": "U",
"superscript-abbr": "Sup",
"subscript-abbr": "Sub",
"deleted": "يتوسطه خط",
"underline": "تحته خط",
"superscript": "نص علوي",
"subscript": "نص سفلي",
"bold-abbr": "غ",
"italic-abbr": "م",
"deleted-abbr": "ش",
"underline-abbr": "ت",
"superscript-abbr": "علوي",
"subscript-abbr": "سفلي",
"lists": "قوائم",
"link-insert": "إدراج رابط",
"link-edit": "تحرير الرابط",
"link-in-new-tab": "فتح الرابط في تبويب جديد",
"unlink": "إلغاء الرابط",
"unlink": "إزالة الرابط",
"cancel": "إلغاء",
"close": "إغلاق",
"insert": "إدراج",
"save": "حفظ",
"delete": "حذف",
"text": "النص",
"text": "نص",
"edit": "تحرير",
"title": "العنوان",
"title": "عنوان",
"paragraph": "نص عادي",
"quote": "اقتباس",
"code": "كود",
Expand All @@ -39,26 +39,104 @@
"heading4": "عنوان 4",
"heading5": "عنوان 5",
"heading6": "عنوان 6",
"small": "صغير",
"filename": "الاسم",
"optional": "اختياري",
"unorderedlist": "قائمة نقطية",
"orderedlist": "قائمة رقمية",
"outdent": "زيادة المسافة البادئة",
"indent": "إنقاض المسافة البادئة",
"horizontalrule": "خط أفقي",
"upload": "Upload",
"upload-label": "Drop files here or click to upload",
"upload-change-label": "Drop a new image to change",
"accessibility-help-label": "محرر النص الغني",
"caption": "الشرح",
"bulletslist": "Bullets",
"numberslist": "Numbers",
"image-position": "Position",
"none": "None",
"left": "Left",
"right": "Right",
"center": "Center",
"undo": "Undo",
"redo": "Redo"
"unorderedlist": "قائمة غير مرتبة",
"orderedlist": "قائمة مرتبة",
"outdent": "إنقاص المسافة البادئة",
"indent": "زيادة المسافة البادئة",
"horizontalrule": "خط",
"upload": "تحميل",
"upload-label": "أسقط الملفات هنا أو انقر للتحميل",
"upload-change-label": "أسقط صورة جديدة للتغيير",
"accessibility-help-label": "محرر نص منسق",
"caption": "تسمية توضيحية",
"bulletslist": "تعداد نقطي",
"numberslist": "تعداد رقمي",
"image-position": "الموضع",
"none": "لا شيء",
"left": "يسار",
"right": "يمين",
"center": "وسط",
"undo": "تراجع",
"redo": "إعادة",

/* Alignment plugin */
"align": "محاذاة",
"align-left": "محاذاة لليسار",
"align-center": "محاذاة للوسط",
"align-right": "محاذاة لليمين",
"align-justify": "ضبط المحاذاة",

/* Clips plugin */
"clips": "مقاطع",
"clips-select": "يرجى اختيار مقطع",

/* Counter plugin */
"words": "كلمات",
"chars": "أحرف",

/* Filemanager/Imagemanager plugin */
"choose": "اختيار",

/* Font color plugin */
"fontcolor": "لون النص",
"highlight": "تمييز",

/* Font family plugin */
"fontfamily": "الخط",
"remove-font-family": "إزالة نوع الخط",

/* Font size plugin */
"size": "الحجم",
"remove-size": "إزالة حجم الخط",

/* Fullscreen plugin */
"fullscreen": "ملء الشاشة",

/* Inlinestyle plugin */
"style": "نمط",
"marked": "مميز",
"shortcut": "اختصار",

/* Properties plugin */
"properties": "خصائص",
"id": "المعرف",
"classname": "الصنف",

/* Specialchars plugin */
"specialchars": "أحرف خاصة",

/* Table plugin */
"table": "جدول",
"insert-table": "إدراج جدول",
"insert-row-above": "إدراج صف أعلى",
"insert-row-below": "إدراج صف أسفل",
"insert-column-left": "إدراج عمود يساراً",
"insert-column-right": "إدراج عمود يميناً",
"add-head": "إضافة رأس",
"delete-head": "حذف الرأس",
"delete-column": "حذف العمود",
"delete-row": "حذف الصف",
"delete-table": "حذف الجدول",

/* Textdirection plugin */
"change-text-direction": "اتجاه النص",
"left-to-right": "من اليسار إلى اليمين",
"right-to-left": "من اليمين إلى اليسار",

/* Variable plugin */
"change": "تغيير",
"variable": "متغير",
"variable-select": "يرجى اختيار متغير",

/* Video plugin */
"video": "فيديو",
"video-html-code": "كود تضمين الفيديو أو رابط YouTube/Vimeo",

/* Widget plugin */
"widget": "ودجت",
"widget-html-code": "كود HTML للودجت"
};
})(Redactor);
})(Redactor);
Loading