The question is what are the contents which should be ltr in the Hebrew display? Only examples are affected? Wouldn't it be a problem that
generally i am talking about those things with CODE and those weird signs before them. but every english part should be left-to-right, because that's how english is read...
But we cannot autodetect what English and what is translated. This will mean that
a) non translated pages will go out to the browser with
iso-8858-8-i but with English conetnt
b) English text on these pages will be RTL
c) Code blocks used for explanation will be LTR even if
translated [eg. http://www.php.net/manual/en/install.macosx.php]
English comments will be translated inside the examples to Hebrew? Or
comments? as in user comments?
"comments inside the examples" mean PHP comments inside code examples from the manual and not user comments. See the official code example on
http://www.php.net/manual/en/function.echo.php. So you are not going to translate those comments inside official code examples?
what to do with those parts, where a programlisting is [mis]used to present content. This kind of usage is common in the installation part, where it wouldn't look nice probably to have code blocks after every sentence, so the whole explanation is put under one code block.
i totally lost you, but generally, like i said, if it's english, it's ok for it (and it is preferred that way) to be in left-to-right...
Ups, I guessed you know the installation parts I was referring to. See the code usage I referenced in point c) above. That is not example code, is text. Would you translate that? Wouldn't it be bad to show that LTR?
So we know that doing this in HTML is easy. The question is how to automate it, and for what parts of the manual?
well, if the code is already using some CSS, like I said in my first comment, just add the "this style is left-to-right" to the CSS class...
I have understood that, don't repeat the same thing please, please, please.... I have underlined some problems, please concentrate on them.
Goba