Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions
Author Message
v3rtigo
New Member
New Member



Joined: Oct 25, 2008
Posts: 6

PostPosted: Sat Oct 25, 2008 2:03 am Reply with quote

I'm currently working on hebrew translation for ravennuke, and the only downside about the lang files is that they all orderd from A to Z, that makes it almost impossible to track changes (at least without a file compare tool that i'm not using because i'm on linux and tbh i like console based editors more Very Happy),
so if you can, please mark or comment the changes that made to the lang files from version to version... Smile

Also n1 with the installer was really surprised to find lang file there Smile
but the lang file is only for installSQL.php and not setup.php are you planing to add lang file in future to setup.php as well?
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Oct 25, 2008 4:39 am Reply with quote

The language file constants are ordered alphabetically so you can see at a glance if there are any duplicates (we found quite a lot) and also to speed up editing if you need to customise your language files - it is easier to scan an alpha sorted list than check each line seperately.
A comparison tool like Meld is essential really to keep track of changes.

We have no plans to comment or mark changes in the language files although you will see many are commented out as they were duplicates. The next version may include a different language handling system (XML) which may not even allow commenting in the files themselves.

The original RavenNuke (tm) distribution contained 33 different languages but as we have removed many hard code literals from the code and moved it to the language files and introduced more core modules, we have struggled to find translators to help us keep the language files up to date. Today we support only English, French, German and Spanish simly because at the moment we have translators for those languages.
If you are willing to provide translations in Hebrew then I am sure we would include them for as long as someone can maintain those translations.

Does your native language character set display ok in UTF-8?
 
View user's profile Send private message Send e-mail
v3rtigo







PostPosted: Sat Oct 25, 2008 4:50 am Reply with quote

Well defualt RavenNuke doesn't use utf8 Surprised
but...
i'm currently working on hebrew translation for RavenNuke and i slightly changed few functions to display hebrew correctly and also transfered everything to UTF-8.

For that matter I changed mysql & mysql4 & mssql .php to connect to the database using utf8, and also the installer script because it had it's own function to connect to the database.

In ravennuke I have changed few functions, mostly just using
check_html instead of htmlentities.

thats why i can't add it to your distributtion only if you want to put it in a different package...

it's still not 100% but i translated about 90% including the sql tables script...

And i'm still thinking how to include the "upgrade from previews nuke version" since all israeli versions before it used latin1 as database encoding and windows-1255 for the language files...
if now i would use utf8 all the previews data will not show currectly.
 
Guardian2003







PostPosted: Sat Oct 25, 2008 5:10 am Reply with quote

I would certainly be interested in reviewing the changes you have had to make to enable UTF-8 support.
The language system I am working on uses XML files with UTF-8 encoding which is why I asked about UTF-8 compatibility.
I should add that although I'm working on a system now, it doesn't mean it automatically gets included in the next version of RN because such things have to be discussed by the Team as a whole - we might end up using a different method but UTF-8 support is something we should be working toward.
 
v3rtigo







PostPosted: Sat Oct 25, 2008 5:26 am Reply with quote

The only changes i did was in
db/mysql.php & mysql4.php

adding
Code:


                mysql_query('SET character_set_results="utf8"');
                mysql_query("SET CHARACTER SET utf8");
                mysql_query("SET NAMES 'utf8'");

before return $this->db_connect_id; in sql_db

and in db/mssql.php
adding
Code:


      @ini_set('mssql.charset', 'UTF-8');

after $this->dbname = $database;
in sql_db

and ofc adding "CHARACTER SET `utf8` COLLATE `utf8_bin`"
in every create table in m_core.sql and the nukesentinal tables

all other changes are hebrew specific.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Oct 25, 2008 2:23 pm Reply with quote

I would also be interested in seeing your final theme too and anywhere else that you needed to change the direction from ltr to rtl. We are wanting to provide better native support for these types of things.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
v3rtigo







PostPosted: Sat Oct 25, 2008 4:28 pm Reply with quote

montego wrote:
I would also be interested in seeing your final theme too and anywhere else that you needed to change the direction from ltr to rtl. We are wanting to provide better native support for these types of things.


No problem, when i'll finish it i'll send you everything Razz
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Oct 25, 2008 6:06 pm Reply with quote

v3rtigo wrote:
Also n1 with the installer was really surprised to find lang file there but the lang file is only for installSQL.php and not setup.php are you planing to add lang file in future to setup.php as well?


Absolutely. We just plain ran out of time. Mea Culpa! I kept delaying things by cramming more and more into the release. I was about to have a mutiny if I didn't just stop Wink so, that's where we are.
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sat Oct 25, 2008 7:01 pm Reply with quote

memento mori, crescit eundo
remember that you are only human, it grows as it goes Smile
 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Sat Oct 25, 2008 11:31 pm Reply with quote

spasticdonkey wrote:
memento mori, crescit eundo
remember that you are only human, it grows as it goes Smile

speedtype

Nil actum reputa si quid superest agendum
Don't consider that anything has been done if anything is left to be done

speedtype
 
r0rz
New Member
New Member



Joined: Jul 19, 2008
Posts: 13

PostPosted: Mon Oct 27, 2008 12:40 pm Reply with quote

hey v3rtigo hows going your hebrew translation? i know there are some sites that already translated it to hebrew like hagigim.com and aquarium.org.il

i want to make site with raven but i dont know how to translate so hows your proccess? when wwill you release it?
and thanks..
 
View user's profile Send private message
v3rtigo







PostPosted: Thu Oct 30, 2008 9:32 am Reply with quote

r0rz wrote:
hey v3rtigo hows going your hebrew translation? i know there are some sites that already translated it to hebrew like hagigim.com and aquarium.org.il

i want to make site with raven but i dont know how to translate so hows your proccess? when wwill you release it?
and thanks..


All your hebrew nuke needs in http://nukeall.co.il

I've actually finally finished it but for now it will work only for new installations only because of the utf8 encoding... if there will be enough ppl wanting an upgrade package i will make the changes to the upgrade as well.

Release day in a few days.

and btw hagigim.com is not raven Smile
aquarium.org.il is actually my site and is raven 2.20 Smile
 
r0rz







PostPosted: Fri Oct 31, 2008 3:37 am Reply with quote

ok thanks for your post, i need a new install and not upgrade so i will wait for your release, thanks for your translation Smile

btw you have bug here http://aquarium.org.il/stats.html with the bar that they are like )__( and not (__)
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©