// SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

if (window.App && window.App.i18n) {
  window.App.i18n.addMany(#{frontendI18n});
  window.App.i18n.setDatetimeLocale(#{frontendDatetimeLocale});
} else {
  throw new Error('I18n service is missing!');
}
