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