Forum closed. New forum available at http://community.wymeditor.org/

I translate the lang file, how can add it?

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

I translate the lang file, how can add it?

Postby ghassem on Wed Sep 12, 2007 12:41 am

this is persian translation of WYMeditor :
if(!WYM_STRINGS) var WYM_STRINGS = new Array();

var WYM_STRINGS_FA = {
Strong: 'پررنگ',
Emphasis: 'ایتالیک',
Superscript: 'بالانویس',
Subscript: 'زیرنویس',
Ordered_List: 'لیست مرتب',
Unordered_List: 'لیست نامرتب',
Indent: 'دندانه‌دار',
Outdent: 'بازگشت دندانه',
Undo: 'بازگرداندن به حالت قبل',
Redo: 'بازگرداندن به حالت بعد',
Link: 'پیوند',
Unlink: 'برداشتن پیوند',
Image: 'تصویر',
Table: 'جدول',
HTML: 'HTML',
Paragraph: 'بند',
Heading_1: 'سرخط 1',
Heading_2: 'سرخط 2',
Heading_3: 'سرخط 3',
Heading_4: 'سرخط 4',
Heading_5: 'سرخط 5',
Heading_6: 'سرخط 6',
Preformatted: 'قالب‌بندی آماده',
Blockquote: 'نقل قول',
Table_Header: 'سرجدول',
URL: 'آدرس',
Title: 'عنوان',
Alternative_Text: 'متن جایگزین',
Caption: 'عنوان',
Number_Of_Rows: 'تعداد ردیف‌ها',
Number_Of_Cols: 'تعداد ستون‌ها',
Submit: 'ارسال',
Cancel: 'لغو',
Choose: 'انتخاب',
Preview: 'پیش‌نمایش',
Paste_From_Word: 'چسباندن از word',
Tools: 'ابزار',
Containers: 'قالب‌ها',
Classes: 'کلاس‌ها',
Status: 'وضعیت',
Source_Code: 'کد مبدأ'
};

WYM_STRINGS['fa'] = WYM_STRINGS_FA;


how can I add this to the main core?
ghassem
 
Posts: 2
Joined: Tue Sep 11, 2007 10:17 pm

Postby jfh on Thu Sep 13, 2007 10:02 am

Hi ghassem,
The recommended way is to create a ticket on the Trac and attach the file to the submission.

Thanks for your help.
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests