Page Index Toggle Pages: 1 [2] 3 4 
Topic Tools
Very Hot Topic (More than 25 Replies) Arabic (Read 33,761 times)
darroosh
YaBB Newcomer
*
Offline



Posts: 1
Re: Arabic
Reply #15 - May 14th, 2007 at 7:23pm
Post Tools
Mr Aljareh ..

Why ur attachmet was deleted ??
please reattach it ..

I need it plz
  
Back to top
 
IP Logged
 
alaa
YaBB Newcomer
*
Offline



Posts: 6
Re: Arabic
Reply #16 - May 17th, 2007 at 10:15am
Post Tools
Quote:
At present there is No existing Arabic lanquage pack.  We need someone to translate an existing pack that is available to the Arabic lanquage.

-Download the YaBB 2.1, if able to translate English,( if another is needed, download that language pack also).
- The English lanquage files (or one understood and able to read) are in the 3 folders (for example cgi-bin/yabb2/Help/English, cgi-bin/yabb2/Languages/English, public_html/yabbfiles/Buttons/English)  
- Rename all "English" folders to the proper name for your language (i.e. Norwegian = Norsk, Spanish = Espanol)  
-Translate all *.help, *.lng, *.txt files (do not change file names or anything with a $ in front of e.g. $num_message ).
- Translate all graphics (buttons) into new buttons, if you can, if you are unable to create and design buttons, just supply the Translated wording for each button (Provide a list e.g. English = Arabic)
- Save the translated files (keeping directory structure of translated files) package with the language and version it is intended for (i.e. "Spanish_YaBB_2.1")  
- Reply to this Topic with a notice that you have created a new pack and attach a Zip pack containing the files.


hi everybody

i will try to translate it into arabic

but i don't know how to edit .lng file

i couldn't edit it

can you help me plz
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #17 - May 17th, 2007 at 11:10am
Post Tools
To edit language files, you should use a code editor like Notepad ++ (which can be downloaded here :  http://notepad-plus.sourceforge.net/uk/site.htm ) or any text editor (turning off word wrap).
Open the lng and txt files inside the editor and replace eg.

admin.lng
Code
Select All
$englishlngver = 'YaBB 2.1 $Revision: 1.6 $';

$yycharset = "ISO-8859-1";

@days = ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
@months = ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');

%admin_txt = (
'1' => "You are not allowed to access this section.",
'2' => "in",
'3' => "Add/Edit Categories",
'4' => "Keep stickies?",
'5' => "You must select something to Edit or Remove. Please Try again.",
'6' => "Email Your Members",
'7' => "Edit YaBB News", 



Thru each file, replacing ....
  
Back to top
 
IP Logged
 
alaa
YaBB Newcomer
*
Offline



Posts: 6
Re: Arabic
Reply #18 - May 18th, 2007 at 5:43am
Post Tools
Quote:
To edit language files, you should use a code editor like Notepad ++ (which can be downloaded here :  http://notepad-plus.sourceforge.net/uk/site.htm ) or any text editor (turning off word wrap).
Open the lng and txt files inside the editor and replace eg.

admin.lng
Code
Select All
$englishlngver = 'YaBB 2.1 $Revision: 1.6 $';

$yycharset = "ISO-8859-1";

@days = ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
@months = ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');

%admin_txt = (
'1' => "You are not allowed to access this section.",
'2' => "in",
'3' => "Add/Edit Categories",
'4' => "Keep stickies?",
'5' => "You must select something to Edit or Remove. Please Try again.",
'6' => "Email Your Members",
'7' => "Edit YaBB News", 



Thru each file, replacing ....



thank you very very much

it works well now .


now it is time to the second problem

when registering using arabic letters ; it give an error " invalid characters "

i think it is a fatal error that should be fixed
is there any solution to that problem

thank you again       Smiley Smiley Smiley
  
Back to top
 
IP Logged
 
tetee
YaBB Newcomer
*
Offline



Posts: 1
Re: Arabic
Reply #19 - Jul 4th, 2007 at 12:46am
Post Tools
but the big problem it
no buddy can register in arabic words


الظاهر الحلول معدومه يا فريقنا العربي

أو كلكم مثلي ما تعرفوا للغات البرمجه

بس انا افهم فيها يعني لو احد يدلني على ملف التسجيل

رح اخلصكم من هذه المشكلة

فنكمل نسختنا العربية

أو آننا لسنا آهلا لنستحقه
  
Back to top
 
IP Logged
 
asdbabl
YaBB Newcomer
*
Offline



Posts: 10
Re: Arabic
Reply #20 - Jul 20th, 2007 at 7:36pm
Post Tools
Hi dear I'm running YaBB 2.1 and translate to arabic Successfully and write arabic encoding code () in head of html but the encoding dont work.Pls help me .How encoding thank you
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #21 - Jul 20th, 2007 at 8:34pm
Post Tools
Language group Character sets
Arabic:   cp864, ISO-8859-6, MacArabic, windows-1256


Here are instructions for the most popular browsers:

Internet Explorer 6.x

Click the View menu.
Select Encoding.
Select the appropriate language or character set.
FireFox 1.x

Click the View menu.
Select Character Encoding.
Select the appropriate language or character set.
Safari 2.x

Click the View menu.
Select Encoding.
Select the appropriate language or character set.
You may need to restore the original character encoding setting to view other web sites properly. If you’re viewing a message with mixed encoding, unfortunately only one character encoding set may be viewed at a time.


In a web page:

Unicode (Any Language)
The encoding meta tag is placed in the header. The encoding tage (e.g. utf-8 for Unicode) is declared after charset= specification at the end of the tag.

Code
Select All
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
...
</head>  



« Last Edit: Jul 20th, 2007 at 8:35pm by »  
Back to top
 
IP Logged
 
asdbabl
YaBB Newcomer
*
Offline



Posts: 10
Re: Arabic
Reply #22 - Jul 21st, 2007 at 6:00pm
Post Tools
Thank you Captain John.
But I was put this code in head but my forum dont show the arabic character if I dont chose the encoding from view menu .
iwant sho the arabic character by automatic encoding   without chose from view menu

the question how sit the encoding without chose from view menu
ex. this forum :http://alekrat.com/yabb/YaBB.pl

note: my forum is http://www.riadyjaded.com/cgi-bin/yabb2/YaBB.pl
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #23 - Jul 21st, 2007 at 7:07pm
Post Tools
"maybe" due to error in your meta tag

should be charset=utf-8 ">

as used is charset=utf=8" />
« Last Edit: Jul 21st, 2007 at 7:11pm by »  
Back to top
 
IP Logged
 
asdbabl
YaBB Newcomer
*
Offline



Posts: 10
Re: Arabic
Reply #24 - Jul 21st, 2007 at 8:05pm
Post Tools
Captain John Pls help me I try different   meta code but the characters dont show. you can view the source of my forum and look the meta code

meta http-equiv="Content-Type" content="text/html; charset=windows-1256

pls. I have loss along time to translate this forum and I dont want loss it

thanck you
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #25 - Jul 22nd, 2007 at 2:25am
Post Tools
These are the meta tags in your sight as of right now ...

Code
Select All
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta http-equiv="Content-Language" content="ar-sy>" > 



Should be content="ar-sy">

Why did you change from the utf-8 ?
« Last Edit: Jul 22nd, 2007 at 2:31am by »  
Back to top
 
IP Logged
 
asdbabl
YaBB Newcomer
*
Offline



Posts: 10
Re: Arabic
Reply #26 - Jul 22nd, 2007 at 6:40pm
Post Tools
Hello
Captain John
i put this code and no successful
Code
Select All
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" >
<meta http-equiv="Content-Language" content="ar-sy" >
 



there are many Persons waite my to complete  this forum translate and I am without any Results

i am asking you and every one he can help me to gife me answers

thanck you Captain John

  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #27 - Jul 22nd, 2007 at 8:33pm
Post Tools
[quote author=4641444C4741534D200 link=1157217487/15#22 date=1185040842]Thank you Captain John.
But I was put this code in head but my forum dont show the arabic character if I dont chose the encoding from view menu .
iwant sho the arabic character by automatic encoding   without chose from view menu

the question how sit the encoding without chose from view menu
ex. this forum :http://alekrat.com/yabb/YaBB.pl

note: my forum is http://www.riadyjaded.com/cgi-bin/yabb2/YaBB.pl[/quote]

  I just visited your site again... Arabic characters are being displayed, without my changing the browser encoding.....  Did you refresh your browser, so your not viewing a cached page ?
  You presently have a lot of english words, but every instance of Arabic displays correctly. Yes ?
  
Back to top
 
IP Logged
 
MishDan
Full Member
***
Offline



Posts: 228
Location: Kyiv, Ukraine
Re: Arabic
Reply #28 - Jul 22nd, 2007 at 9:33pm
Post Tools
Hmm, your web-server also should specify proper value in page headers, so, if You are using apache, specify in YaBB's dir's .htaccess 'AddDefaultCharset windows-1256', maybe, this helps...
Edited:
P.S. I see, that You modified template around beginning meta tags. Are You specified encoding directly in template? You should not do that. Just specify your encoding in language pack, in variable $yycharset at the beginning of Main.lng and Admin.lng. Then YaBB will substitute '<yabb charset>' with proper value.
« Last Edit: Jul 22nd, 2007 at 9:42pm by MishDan »  

P.S. Sorry, my English is not so good, as I wish
Back to top
WWWGTalkICQ  
IP Logged
 
Captain John
Ex Member


Re: Arabic
Reply #29 - Jul 23rd, 2007 at 1:01pm
Post Tools
Thanks Mishdan.. for your input.

asdbabl

We hope you upload and attach the translated lanquage pack, after you have tested and feel it is complete, to benefit others who wish to use the Arabic language.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 
Topic Tools