Hebrew Language File (RTL)

proglot


Tzvook

#10
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 :-)

thorn

#9
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
// Connect to the database
function connect() {

and add mysql_query("SET NAMES utf8"); into the last else-branch

} 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.
[url=http://nettest.thekk.de/doku.php]Projekte[/url]

Tzvook

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 ...

Tzvook

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 ???? ...

thorn

Hello,

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

thorn.
[url=http://nettest.thekk.de/doku.php]Projekte[/url]

proglot

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]

thorn

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]
[url=http://nettest.thekk.de/doku.php]Projekte[/url]

proglot

Here is a file above, but with ALL lines translated

[gelöscht durch Administrator]

Stefek

Quote from: Availor on July 03, 2008, 11:33:06 PM
A bit OT - attached is the language file...

This OT is for me...

Thanks Availor.

// OT end of --->

Best Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Availor

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

[gelöscht durch Administrator]