1 (edited by zaher 2004-08-03 17:48)

Topic: Arabic Language pack

download Arabic language from

http://www.parmaja.com/downloads/punbb-1.1.5-ar.zip

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

Excellent!

I've uploaded your language pack to the punbb.org website. I made some additions to ar_common.php to set the locale and I've added a new element (lang_multibyte) to the $lang_common array. I also added a few common english words to the stopwords list. If you ever make any changes to the language pack, I would appreciate if you do it based on the version I've uploaded here.

PS. I moved this topic to the mods forum where we usually put new language pack announcements.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Arabic Language pack

thank a lots,
i uploaded the new file to my site.
if there is any mistakes or problems with translation post a message in this board.

If your people come crazy, you will not need to your mind any more.

4 (edited by zaher 2004-03-17 12:57)

Re: Arabic Language pack

there is no arabic CODE , code tag always must be Left to right.
version 1.1.2
file parser.php
line 325

from   
$message .= '<br><br></span><table style="width: 95%"
to
$message .= '<br><br></span><table dir="ltr" style="width: 95%"

If your people come crazy, you will not need to your mind any more.

5

Re: Arabic Language pack

version 1.1.2
file parser.php

body of $pattern must add 2 new tage to accept right to left reading [rtl] and left to right [ltr]
line 206

                     '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s',
                     '#\[ltr\]\n?(.*?)\[/ltr\]\n?#s',
                     '#\[rtl\]\n?(.*?)\[/rtl\]\n?#s'
           );



line 215 body of $replace

                     '<span style="color: $1">$2</span>',
           '<p dir="ltr">$1</p>',
           '<p dir="rtl">$1</p>');

If your people come crazy, you will not need to your mind any more.

6

Re: Arabic Language pack

you can download the patches from
http://www.parmaja.com/downloads/punbb- … atches.zip

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

Ok, cool. I'll link to this topic on the download page. Are those the only changes needed in the whole forum to correctly accommodate arabic?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

8

Re: Arabic Language pack

yes
it's good for me, and like another arabic Forums.

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

Ok, cool.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Arabic Language pack

Haz Tizi!

11

Re: Arabic Language pack

"Tizi" is filthy word in arabic . :-0

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

What does it mean then? :D

"Programming is like sex: one mistake and you have to support it for the rest of your life."

13

Re: Arabic Language pack

c='t';
x='My Bu'.c.c;
print x;
If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

Haha, excellent :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

15 (edited by zaher 2004-07-18 00:11)

Re: Arabic Language pack

new release (some words corrected)
punbb-1.1.5-ar.zip download it

http://www.parmaja.com/downloads/punbb-1.1.5-ar.zip

If your people come crazy, you will not need to your mind any more.

16

Re: Arabic Language pack

Hi Rickard

Can you please change title of topic to
"Arabic Language pack"

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

Someone beat me to it :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

18

Re: Arabic Language pack

i cant download it can someone help me?

19

Re: Arabic Language pack

Corrected, try again

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

thanks alot mr zaher , ya3teek alf 3afya ,

but i wanna to know the way to install it ?

21

Re: Arabic Language pack

Install PunBB, there is a readme file read it, easy to install.
for language there is a folder "ar" put it in "lang" folder in your forum.

If your people come crazy, you will not need to your mind any more.

Re: Arabic Language pack

i did all of this and the forum still English ,,

23 (edited by zaher 2004-11-01 23:35)

Re: Arabic Language pack

config.php sample

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = '*******';
$db_username = '*****';
$db_password = '******';
$db_prefix = 'punbb_';
$p_connect = true;

$cookie_name = 'punbb_cookie_local';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;

$language = 'ar';

?>
If your people come crazy, you will not need to your mind any more.