Little problem
 
Notifications
Clear all

Little problem

11 Posts
4 Users
0 Reactions
1,866 Views
 Orti
(@orti)
Posts: 5
Active Member
Topic starter
 

hi πŸ™‚
I am using efiction and I ranslate it to Hebrew...
I have a problem
I want that sentences like that:

will be like that:

thanks


 
Posted : 26/10/2007 6:43 am
(@carissa)
Posts: 791
Member Moderator
 

You want it to be squished? Otherwise they look the same to me. Could you please clarify?


 
Posted : 26/10/2007 10:37 am
 Orti
(@orti)
Posts: 5
Active Member
Topic starter
 

the exclamation mark not good if you see, it's need to be like the last sentences, it's like I write form left to right but I need to write from right to left, when I do it the exclamation mark not changed...


 
Posted : 26/10/2007 11:28 am
(@tammy)
Posts: 2577
Member Moderator
 

You mean the quotation marks?  That's not anything in the script. That's controlled by what you enter. You can use CSS to change direction in your skn, but I don't think that's what you're looking for.

In css.


direction: r2l;


 
Posted : 26/10/2007 1:16 pm
(@becca)
Posts: 553
Honorable Member
 

I've seen this before with other users who's sites are in a language (such as Hebrew) that goes from Right->Left as opposed to the usual Left->Right. He wants all the text in his site to go from Right->Left.

You need to change the script from using the UTF-8 charset to iso-8859-8 for Hebrew.
http://www.w3.org/International/O-charset-lang.html

It should look like this currently:

<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />

And you should change it to this I believe:

<meta http-equiv="Content-type" content="text/html;charset=iso-8859-8" />

And also in your RSS/XML:

<?xml version="1.0" encoding="UTF-8"?>

to:

<?xml version="1.0" encoding="iso-8859-8"?>

And it is suggested that you also add this into your CSS:

@charset "iso-8859-8";

Let me know if this works.


 
Posted : 26/10/2007 3:40 pm
 Orti
(@orti)
Posts: 5
Active Member
Topic starter
 

it's didn't work for me, but thanks!
any suggestion?


 
Posted : 26/10/2007 4:31 pm
(@becca)
Posts: 553
Honorable Member
 

I've tried to read up on this, apparently you also need to not only do the changes I listed, but changes in HTML as well. Try changing your <html> tag to the following and see if this helps:

<html dir="rtl">

(adding dir="trl")

And also after you've tried that it may help to clear your browser's cache and then refresh your website.


 
Posted : 26/10/2007 5:25 pm
(@carissa)
Posts: 791
Member Moderator
 

Try Becca's suggestion first. If doesn't work, try this. You may also need to change the characterset of your database. You'd have to log into your control panel on your site in order to do this.  Select "MySQL Databases" then "PHP MyAdmin" (this is usually at the bottom). Then select your  database, go to operations and change the encoding there.


 
Posted : 26/10/2007 5:32 pm
(@becca)
Posts: 553
Honorable Member
 

When I visit your site now Orti, it looks like you changed the charset to windows-1251 and it seems that is why it is not working. The charset for Hebrew is iso-8859-8 or iso-8859-8-i, I read that windows-1251 is no longer supported, so I suggest if you want your site to function that you change it accordingly.


 
Posted : 28/10/2007 11:46 am
 Orti
(@orti)
Posts: 5
Active Member
Topic starter
 

Thanks, it's works
I change the encoding in my database  πŸ˜†


 
Posted : 31/10/2007 11:51 am
(@becca)
Posts: 553
Honorable Member
 

Great, I'll create an article on this for other users who have languages with different charsets.


 
Posted : 31/10/2007 1:15 pm
Share: