Skip to content

Commit

Permalink
Don't assume the page language is English
Browse files Browse the repository at this point in the history
Leave to the user to set the language of the page.

Incorrectly assuming a page is in English can do more harm than good.
Leaving it unset will at least allow the reader to guess the language.
  • Loading branch information
rafaelfranca committed Jan 4, 2024
1 parent 89693e5 commit 614ec5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/templates/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="utf-8" />
<title><%= @page_title %></title>
Expand Down

0 comments on commit 614ec5f

Please sign in to comment.