Skip to content
Browse files

Use Tolk primary locale name in layout's html tag attribute

  • Loading branch information...
1 parent fec78d7 commit 1ca59dec5302dbc7834bcd353c3633bdfd87e85a @yaroslav yaroslav committed with Apr 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/tolk/application.html.erb
View
2 app/views/layouts/tolk/application.html.erb
@@ -1,6 +1,6 @@
<!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="<%= Tolk::Locale.primary_locale_name %>" lang="<%= Tolk::Locale.primary_locale_name %>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

0 comments on commit 1ca59de

Please sign in to comment.
Something went wrong with that request. Please try again.