Skip to content
Snippets Groups Projects
Commit e2798914 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

auth: switch back to the default i18next namespace

We match based on the tag name now and not on the namespace,
so revert this again so it's consistent with the other packages
parent cff5ce2f
Branches
No related tags found
1 merge request!67Create a new i18next instance for every web component
import {createInstance as _createInstance, setOverrides} from '@dbp-toolkit/common/i18next.js';
import de from './i18n/de/dbp-auth.json';
import en from './i18n/en/dbp-auth.json';
import de from './i18n/de/translation.json';
import en from './i18n/en/translation.json';
export function createInstance() {
return _createInstance({en: en, de: de}, 'de', 'en', 'dbp-auth');
return _createInstance({en: en, de: de}, 'de', 'en');
}
export {setOverrides};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment