Skip to content

Commit

Permalink
Fix I18n locale for JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Dounx authored and huacnlee committed Mar 7, 2021
1 parent 3cc7373 commit bd98b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<meta charset='utf-8' />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="theme" content="<%= user_theme %>">
<meta name="locale" content="<%= Setting.default_locale %>">
<title><%= content_for?(:title) ? yield(:title) : Setting.app_name %></title>
<meta name="apple-mobile-web-app-capable" content="no">
<meta content='True' name='HandheldFriendly' />
Expand Down

0 comments on commit bd98b22

Please sign in to comment.