Author Topic: Hebrew Language File (RTL)  (Read 9900 times)

Availor

  • Guest
Hebrew Language File (RTL)
« on: July 03, 2008, 11:33:06 PM »
A bit OT - attached is the language file...

[gelöscht durch Administrator]

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Hebrew Language File (RTL)
« Reply #1 on: July 03, 2008, 11:38:54 PM »
A bit OT - attached is the language file...

This OT is for me...

Thanks Availor.

// OT end of --->

Best Regards,
Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline proglot

  • Posts: 13
Re: Hebrew Language File (RTL)
« Reply #2 on: November 03, 2008, 11:29:53 PM »
Here is a file above, but with ALL lines translated

[gelöscht durch Administrator]

Offline thorn

  • Posts: 980
  • Gender: Male
    • Projects
Re: Hebrew Language File (RTL)
« Reply #3 on: November 04, 2008, 12:46:02 AM »
Hello,

thanks for your contribution.
I just fixed some minor formal issues ( some \" instead of ", missing ' by '.SERVER_EMAIL.' ).
Would be nice if you can check the file again. Maybe i broke some translations [my tools can't handle RTL languages very well -- seems the language editor can't handle them at all :-( ].
Check specially
MY_EMAIL
SERVER_EMAIL
WBMAIL_FUNCTION

thorn.

[gelöscht durch Administrator]

Offline proglot

  • Posts: 13
Re: Hebrew Language File (RTL)
« Reply #4 on: November 04, 2008, 01:20:26 AM »
I checked file and removed backslashes in those lines
you do not need to escape double quote in single quoted string
and in Hebrew it is common way to abbreviate words like
'electronic mail' ==> 'el"mail'
actually it sound like:
doar electroni ==> do"el

I fixed file using meld comparison and editing tool.

[gelöscht durch Administrator]

Offline thorn

  • Posts: 980
  • Gender: Male
    • Projects
Re: Hebrew Language File (RTL)
« Reply #5 on: November 04, 2008, 09:03:40 PM »
Hello,

excellent work.
I updated the file on the language-page http://addons.WebsiteBaker.org/pages/languages.php
Thanks to proglot and Availor.

thorn.

Offline Tzvook

  • Posts: 24
Re: Hebrew Language File (RTL)
« Reply #6 on: May 14, 2009, 07:19:46 PM »
Hi All

I'm using wb for ages now ( I made Hebrew version a few years ago ) , but version 2.7 is killing me ...

Those UTF conversions into gibrish in the database ???? for what ?
why not using it like b4 ???
It simply refuse to work for me ...

I setup a new database - utf8_general_ci  +  collation  .... and all I get is GIBRISH in the database instead of Hebrew .... am I missing something ?? ... well ... should I ask What am I missing here ???? ...

Offline Tzvook

  • Posts: 24
Re: Hebrew Language File (RTL)
« Reply #7 on: May 14, 2009, 07:38:07 PM »
Actually I tryed almost all options with MySql
It's got to be this weird UTF conversion file ( charsets_table.php ) ... ?? ?? ??

I can't understand the need of UTF converion .... tha't supposed to be the use of UTF - no conversions .... database get's the original ...

Offline thorn

  • Posts: 980
  • Gender: Male
    • Projects
Re: Hebrew Language File (RTL)
« Reply #8 on: May 14, 2009, 07:42:25 PM »
Hello,

there is still missing a "SET NAMES UTF8" in class.database.php.
This is missing since the very first version of website baker, and for compatibility reasons (and some other issues)  nobody fixed that.

open the file /framework/class.database.php,
locate
Code: [Select]
// Connect to the database
function connect() {
and add mysql_query("SET NAMES utf8"); into the last else-branch
Code: [Select]
} else {
    if(!mysql_select_db(DB_NAME)) {
        $this->connected = false;
        $this->error = mysql_error();
    } else {
        $this->connected = true;
        mysql_query("SET NAMES utf8");  // add this line
    }


Edit: purge the database before.
And you have to make sure that the database's default-charset is utf8 as well.


thorn.
« Last Edit: May 14, 2009, 07:46:12 PM by thorn »

Offline Tzvook

  • Posts: 24
Re: Hebrew Language File (RTL)
« Reply #9 on: May 14, 2009, 08:04:34 PM »
10x thorn.

You saved my hair .... was  :mrgreen: and now   :-o

yep - did the trick !!!
so now I'm back to WB after a year of XOOPS only ....
so many new modules .... wow ... good to be back ...

I might even try to make a module from my last WB project : http://www.inthetube.tv/ ... made with a heavily moded 2.6 version along with apache rewriteRules ( take a look @ http://spiritual.inthetube.tv/ - it's simply a WB page turning automatically into sub-domain ) ... hard to recognize - but - yep - made with "thinking out of the box" - WB :-)
« Last Edit: May 14, 2009, 08:07:02 PM by Tzvook »

Offline proglot

  • Posts: 13
Re: Hebrew Language File (RTL)
« Reply #10 on: May 17, 2009, 12:06:00 AM »
Can you share the .htaccess