Skip to content

Commit

Permalink
Merge branch 'pull/5527'
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Jan 20, 2025
2 parents 4470cb8 + ebeef28 commit 79933db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/embed.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if (navigator.languages) {
I18n.locale = navigator.language;
}

I18n.default_locale = <%= I18n.default_locale.to_json %>;
I18n.fallbacks = true;

window.onload = function () {
var query = (window.location.search || '?').slice(1),
args = {};
Expand Down

0 comments on commit 79933db

Please sign in to comment.