ARABIC language

Discussion corner for Developers of Serendipity.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I also committed the language files to SVN trunk a while ago.

There the UTF-8 file was auto-generated by me using iconv. Don't know if that works :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

i uploaded the utf8 Arabic language here for you... some of its lines corrupted, check, you can find them...
http://rapidshare.de/files/25545756/ser ... m.bz2.html
My Blog, powered by s9y is http://oxygenws.com/blog/
Way
Regular
Posts: 59
Joined: Mon Nov 07, 2005 12:39 am
Location: SA
Contact:

Post by Way »

Just needs change this line
@define('LANG_CHARSET', 'cp1256');


to be

@define('LANG_CHARSET', 'utf-8');
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

some tips.
1- change all "?"s to "؟" character. (take care of <?php and ?> )
2- change all "," characters to "،" character. (take care of seperators of parameteres of "define"s) (specially the "," characters in the DATE format string.

if you want, i built exactly what you want and can send this to you (or upload in trunk of s9y or ...)

regards.
My Blog, powered by s9y is http://oxygenws.com/blog/
Way
Regular
Posts: 59
Joined: Mon Nov 07, 2005 12:39 am
Location: SA
Contact:

Post by Way »

oxygenws wrote: if you want, i built exactly what you want and can send this to you (or upload in trunk of s9y or ...)
regards.
Yes excellent solution sir
regards
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

i will email the arabic language file for you, please install and check it yourself, then i will upload it to trunk.

Garvin, i think iconv doesn't support languages like persian or arabic (i tested it and could not!!)
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
Garvin, i think iconv doesn't support languages like persian or arabic (i tested it and could not!!)
Okay, no problem. Would you commit the new arabic files to SVN then?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

sure, dear Garvin
My Blog, powered by s9y is http://oxygenws.com/blog/
Way
Regular
Posts: 59
Joined: Mon Nov 07, 2005 12:39 am
Location: SA
Contact:

Post by Way »

oxygenws wrote:i will email the arabic language file for you, please install and check it yourself, then i will upload it to trunk.
Well, Something good
1- It works nice , But I would like you to see from your browser
2- some corrupted text, I think due to previous data in the database
3- the control panel is fine except 2 things
This massage appears .
.

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/arabi/public_html/s9/lang/UTF-8/serendipity_lang_sa.inc.php:1) in /home/arabi/public_html/s9/serendipity_admin.php on line 11

And the Admin template become very wide
.
I will continue to check that
Best regards
Way
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

1- It works nice , But I would like you to see from your browser
link please??
3- the control panel is fine except 2 things
it is because of some hexadecimal characters at first of your file. no problem for now.
My Blog, powered by s9y is http://oxygenws.com/blog/
Post Reply