Author |
Message |
doffer83
Worker
Joined: Apr 17, 2011
Posts: 117
Location: Amsterdam
|
Posted:
Sat Dec 15, 2012 7:42 am |
|
I am an old user on [ Only registered users can see links on this board! Get registered or login! ] from years ago. on the forum of nukearab I have recommended this version of raven.. 2 users use it now.
Is raven good compatible with Arabic characters ?
Phpnuke we used from years ago works okey with arabic but we always need to change things els we see ??????? instead of ABC. and the database should be imported with latin1 (phpnuke is past time ).
we can use some advices men..
thank you any way (well done raven team)
(I know my english is poor sorry lol) |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Dec 15, 2012 8:05 am |
|
doffer83, version 3.0 that is currently in work, is going to fully support UTF-8 and it should also provide proper "hooks" to enable rtl type display (may require slight tweaks here and there still).
Any release less than 3.0 is not fully UTF-8 compatible, but should be no worse off than regular PHP-Nuke. You may need to use HTML entities in some cases, rather than actual characters.
Unfortunately a switch to fully UTF-8 from a traditionally non-UTF-8 system, is going to cause some minor issues with some of the data. It could require a few data tweaks here and there. It is inevitable. But, once the switch is made, it will be a much better system in the end. |
_________________ Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... |
|
|
|
nuken
RavenNuke(tm) Development Team
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sat Dec 15, 2012 8:09 am |
|
RavenNuke 3 will be fully UTF-8 compatible which should address any character issues. |
_________________ Tricked Out News |
|
|
|
doffer83
|
Posted:
Sat Dec 15, 2012 4:01 pm |
|
sounds great.. raven 3.0 wao
Things we change about nuke to make it work with arabic language .. first we make arabic file for every module.. and don't forget the main language file in dir Languages
header.php
Code: echo "<html dir=\"rtl\">\n";
|
and meta
Code:
<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=windows-1256\">
|
I put the next code in every php page almost
Code:header("Content-Type: text/html; charset=windows-1256");
|
and we edit the chek user name in your_account
Code:
if ((!$username) || (empty($username)) || (ereg("[^ء-يa-zA-Z0-9[[:space:]]_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";
|
and I think htmlspecialchars works better for us. htmlentities not really
I am happy that dutch doesn't need all those changes ... |
|
|
|
|
montego
|
Posted:
Sun Dec 16, 2012 5:18 pm |
|
doffer83, this is outstanding! Thank you so much for providing your insights on this since the current RN Team works primarily in Latin based languages. This is very helpful.
One of my biggest concerns - as it is my hack - is how to make ShortLinks work properly. Have you any experience with that in the non-ASCII realm?
Regards,
montego |
|
|
|
|
doffer83
|
Posted:
Mon Dec 17, 2012 11:01 am |
|
montego wrote: | doffer83, this is outstanding! Thank you so much for providing your insights on this since the current RN Team works primarily in Latin based languages. This is very helpful.
One of my biggest concerns - as it is my hack - is how to make ShortLinks work properly. Have you any experience with that in the non-ASCII realm?
Regards,
montego |
Can you explain to me wat does non-ASCII mean.. I am not really a php writer I only know a little bit html and some php codes..
(my job is fixing and sell computers in a little large store)
I am using the DynamicTitles hack without problems.. or do you mean the mod writer (php to html) ? |
|
|
|
|
doffer83
|
Posted:
Fri Dec 21, 2012 4:34 pm |
|
I have to turn off the option protection against Santy Worm .. else every topic of the forum (in arabic ) became recognized as attack .. lol by accident I found it |
|
|
|
|
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Sat Dec 22, 2012 7:03 am |
|
OLD
Code: if ((!$username) || (empty($username)) || (ereg("[^ء-يa-zA-Z0-9[[:space:]]_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";
|
NEW
Code: if ((!$username) || (empty($username)) || (pre_match("/[^ء-يa-zA-Z0-9[[:space:]]_-]/",$username))) $stop = "<center>"._ERRORINVNICK."</center><br />";
|
|
|
|
|
|
montego
|
Posted:
Sat Dec 22, 2012 3:45 pm |
|
doffer83 wrote: | or do you mean the mod writer (php to html) ? |
Yes. This is called "ShortLinks". |
|
|
|
|
doffer83
|
Posted:
Mon Dec 24, 2012 5:57 am |
|
I never used shortlinks... sorry I can't answer you.
I can translate the main language file to arabic if you want .. |
|
|
|
|
montego
|
Posted:
Mon Dec 24, 2012 10:06 am |
|
doffer83, thank you for offering to do the translation. Unfortunately, we really do need complete translations and on-going caretakers of these translations before we can consider adding them into the core of a RN release. If you are willing to do that for arabic across-the-CMS, we would be happy to include. |
|
|
|
|
doffer83
|
Posted:
Wed Jan 02, 2013 3:20 pm |
|
Now after celebrating the new year I can go back to mijn computer and work again.. I started to translate the language file but I suddenly thought which tekst editor is the best I can use... I usually use FrontPage ... so my question to you if FrontPage good is and if I need to do something during/before saving the file
Good 2013 to users of the forum |
|
|
|
|
montego
|
Posted:
Wed Jan 02, 2013 4:35 pm |
|
FrontPage is the worst option out there IMO for PHP... it is not meant for it. Folks here have liked Notepad++ and I've used Textpad for years, but recently started using UltraEdit (yes, it costs money).
As far as IDE's go, Oracle's NetBeans (free) is used by a few folks. I have used Eclipse PTD for years on Linux, but not on Windows.
At least some options... |
|
|
|
|
doffer83
|
Posted:
Mon Jan 21, 2013 3:10 pm |
|
I am still working on the languages files (almost done okay).. I will also make an Arabic files for sentinel and info-box, forumcollapsing en tegomailer.
PS
I tried once to upgrade from nuke to raven.. many errors so I restored everything back.. I can use some help I think |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Mon Jan 21, 2013 3:59 pm |
|
No one can help you if you do not describe your errors. |
_________________ Github: RavenNuke |
|
|
|
doffer83
|
Posted:
Fri May 24, 2013 12:18 pm |
|
nuken wrote: | RavenNuke 3 will be fully UTF-8 compatible which should address any character issues. |
I almost can't wait for this version.. I will use it online for 3 old sites (rtl language) |
|
|
|
|
|