Marcelo
Member
Posted 3 years ago #
Hi! I converted a Green Track template into rtl in order to write in Hebrew (at http://shiatsuhebrew.blogsome.com), and I understand I need to declare the main language (Hebrew) of this blog in order to be well interpreted by browsers and searchers. For what I have seen here (I am a complete newbie so please consider it) it seems to me I should change the definition in RSS 2.0 which reads "<language>en</language>" into "<language>he</language>". Am I right? Else, how do a change the language declaration?
Thank you!
nielshackius
Member
Posted 3 years ago #
Marcelo
Member
Posted 3 years ago #
Thanx!
After reading around, I defined the language thus:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html: lang="he">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Is this OK? And: Shoud this be enough for browsers and searchers purposes?
Concerning bidirectional writing it seems to complicated an issue for me right now. I plan to write in this blog in Hebrew, so if there is a small piece here and there in a ltr language I will deal with it locally. For the time being at least.
Marcelo
Member
Posted 3 years ago #
Well, the problem is solved. Either as I wrote before or thus:<html xmlns="http://www.w3.org/1999/xhtml" lang="he">, it works. I just was not able to see the difference for I have both Firefox and IE in Hebrew versions, so both of them interpreted well the Hebrew texts even without defining lang. Luckily, Firefox did not with a blog at blogspot in which the language was not defined, so I was able to check it there.
Thanks for refering me to the right sources, that did it.