feat(i18n): add Transloco translation framework with EN/ES and 7 language scaffolds (#2681)
* feat(i18n): add Transloco translation framework and translate all settings tabs (EN/ES) * feat(i18n): translate shared, layout, dashboard, library-creator, and app-root components (EN/ES) and scaffold 7 new languages * feat(i18n): translate bookdrop and metadata components (EN/ES), remove i18n-audit from tracking * fix(i18n): deep-merge English as fallback base for incomplete language translations
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,30 @@
|
||||
import {Translation} from '@jsverse/transloco';
|
||||
import common from './common.json';
|
||||
import auth from './auth.json';
|
||||
import nav from './nav.json';
|
||||
import dashboard from './dashboard.json';
|
||||
import settings from './settings.json';
|
||||
import settingsEmail from './settings-email.json';
|
||||
import settingsReader from './settings-reader.json';
|
||||
import settingsView from './settings-view.json';
|
||||
import settingsMeta from './settings-metadata.json';
|
||||
import settingsLibMeta from './settings-library-metadata.json';
|
||||
import settingsApp from './settings-application.json';
|
||||
import settingsUsers from './settings-users.json';
|
||||
import settingsNaming from './settings-naming.json';
|
||||
import settingsOpds from './settings-opds.json';
|
||||
import settingsTasks from './settings-tasks.json';
|
||||
import settingsAuth from './settings-auth.json';
|
||||
import settingsDevice from './settings-device.json';
|
||||
import settingsProfile from './settings-profile.json';
|
||||
import app from './app.json';
|
||||
import shared from './shared.json';
|
||||
import layout from './layout.json';
|
||||
import libraryCreator from './library-creator.json';
|
||||
import bookdrop from './bookdrop.json';
|
||||
import metadata from './metadata.json';
|
||||
|
||||
// To add a new domain: create the JSON file and add it here.
|
||||
// Settings tabs each get their own file: settings-email, settings-reader, settings-view, etc.
|
||||
const translations: Translation = {common, auth, nav, dashboard, settings, settingsEmail, settingsReader, settingsView, settingsMeta, settingsLibMeta, settingsApp, settingsUsers, settingsNaming, settingsOpds, settingsTasks, settingsAuth, settingsDevice, settingsProfile, app, shared, layout, libraryCreator, bookdrop, metadata};
|
||||
export default translations;
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user