Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:16:26 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155401 Posts in 21698 Topics by 7729 Members
Latest Member: adnan
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Hebrew Language File (RTL)  (Read 5440 times)
Availor

Offline Offline

Posts: 225



« on: July 03, 2008, 10:33:06 PM »

A bit OT - attached is the language file...
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4883



« Reply #1 on: July 03, 2008, 10:38:54 PM »

A bit OT - attached is the language file...

This OT is for me...

Thanks Availor.

// OT end of --->

Best Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
proglot

Offline Offline

Posts: 13


« Reply #2 on: November 03, 2008, 11:29:53 PM »

Here is a file above, but with ALL lines translated
Logged
thorn

Offline Offline

Posts: 980


WWW
« 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 sad ].
Check specially
MY_EMAIL
SERVER_EMAIL
WBMAIL_FUNCTION

thorn.
Logged

proglot

Offline Offline

Posts: 13


« 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.
Logged
thorn

Offline Offline

Posts: 980


WWW
« 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.
Logged

Tzvook

Offline Offline

Posts: 24


« Reply #6 on: May 14, 2009, 06: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 Huh? for what ?
why not using it like b4 Huh
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 Huh? ...
Logged
Tzvook

Offline Offline

Posts: 24


« Reply #7 on: May 14, 2009, 06: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 ...
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #8 on: May 14, 2009, 06: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:
// Connect to the database
function connect() {
and add mysql_query("SET NAMES utf8"); into the last else-branch
Code:
} 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, 06:46:12 PM by thorn » Logged

Tzvook

Offline Offline

Posts: 24


« Reply #9 on: May 14, 2009, 07:04:34 PM »

10x thorn.

You saved my hair .... was  afro and now   shocked

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 smiley
« Last Edit: May 14, 2009, 07:07:02 PM by Tzvook » Logged
proglot

Offline Offline

Posts: 13


« Reply #10 on: May 16, 2009, 11:06:00 PM »

Can you share the .htaccess
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!