Hello all,

I have an unusual problem when I switch between Persian and English Language.
When I use the default language everything is okay but when I change to Persian language options in "tabs-primary" class will change in IE browser.
In Firefox options will show without padding but the happy thing is that FF could show the items and options.
more info and image:

drupal 5's theme compatibility with IE6-7: http://drupal.org/node/111374

could someone help me?
Regards,
Sotoodeh

Comments

holydrupal’s picture

I tested some other language which use Unicode encoding but none of them has those problems :(
I tested chines language and it was fine

This problem is just with Persian language :(
when I import my language and enable, the words are not fine in some places :((

Please someone help me..

Regards,
Sotoodeh

VM’s picture

Is it broken in all themes ? or just in garland ?

have you tried in bluemarine ? just to compare ?

holydrupal’s picture

Thank you for mentioning it. I tested what you said and in Bluemarine the options are shown without any problem!!

what would be the problem? why IE has this problem with Garland :(
I spend too many time customizing my site with Garland I couldn't change the theme after this much of work.

VM’s picture

now, the question would become, have you tried it on a stock garland theme ? not the one you've altered.

if it shows properly on a stock garland theme, then the problem is in one of your changes that you made to the theme to customize it.

holydrupal’s picture

The problem comes from the Stock theme. I tried it. I setup a clean installation of Drupal 5.1 and the problem was not solved.

VM’s picture

unfortunatly the title of the topic isnt going to draw too many css gurus in. I suspect its a css problem.

maybe uisng firefox and the firebug addon will help diagnose by showing you what css is being called in the problem area.

holydrupal’s picture

I have the Firebug installed and the CSS is "tabs Primary" which is responsible for the style but there is not just a CSS problem here because even with a clean installation Persian string in the "tabs p..." are not shown in the Ul or Li filed, this is a strange problem. I tried some other language but it's not the same, other languages doesn't have this problem there are shown correctly in both browsers in IE and FF with a proper style like the default style for English.

I thought maybe my Persian.po file cause this problem and I decide to re translate some strings from start, I translate a string which was shown in tabs primary and there was no problem but after I add the second string the problem appeared and suddenly IE mixed the boxes and couldn't show the text properly.

Here are some screen shot:
IN IE:
http://www.hapico.ir/temp/IE-one-string-changed.jpg
http://www.hapico.ir/temp/IE-second-string-changed.jpg

in Firefox:
http://www.hapico.ir/temp/FireF-second-string-changed-0.jpg

I hope someone could help me