include the correct language and direction in the html element. fixes #1930. fixes #1929

This commit is contained in:
Shaun McDonald 2009-06-07 18:44:59 +00:00
parent 86a0ba0172
commit c03c8f4749
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<% t'html.dir' %>">
<head>
<%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'site' %>