Enable I18n fallback for the embed page

Fixes #5526.
This commit is contained in:
Tom Hughes 2025-01-20 11:42:23 +00:00
parent af880d10de
commit ebeef2899a

View file

@ -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 = {};