Since fuse-drawer works with absolute positioning by default, the parent of the drawer must have
position: relative and overflow-x: hidden properties otherwise the drawer won't be able to work correctly.
diff --git a/src/app/modules/admin/docs/core-features/components/navigation/navigation.component.html b/src/app/modules/admin/docs/core-features/components/navigation/navigation.component.html
index 23abf861..7dc0cfbf 100644
--- a/src/app/modules/admin/docs/core-features/components/navigation/navigation.component.html
+++ b/src/app/modules/admin/docs/core-features/components/navigation/navigation.component.html
@@ -55,7 +55,7 @@
fuse-navigation designed to work with data and it must be supplied in certain format. If you want to create a navigation from an HTML structure,
this component is not for you.
diff --git a/src/app/modules/admin/docs/core-features/libraries/mock-api/mock-api.component.html b/src/app/modules/admin/docs/core-features/libraries/mock-api/mock-api.component.html
index de949a3e..85805a8b 100644
--- a/src/app/modules/admin/docs/core-features/libraries/mock-api/mock-api.component.html
+++ b/src/app/modules/admin/docs/core-features/libraries/mock-api/mock-api.component.html
@@ -57,7 +57,7 @@
If you need to present your idea to your client or to your boss without spending many hours and resources
MockAPI is NOT a database or a backend replacement! It works on memory. As soon as you reload your app, all the changes you have made using Mock
API endpoints will go away and replaced with defaults.
@@ -200,7 +200,7 @@
mechanic, you will be able to mock API endpoints in no time.
Please keep in mind that the following step-by-step guide assumes you are doing everything from scratch for the MockAPI like creating directories, adding
files, exporting via barrels etc. Majority of these already setup in both Demo and Starter apps for you so it's a bit easier to start working with the
@@ -213,7 +213,7 @@
For this guide, we will assume you are going to use the default directory.
It's important to keep all mock related files in the same directory because we will create a barrel file that exports all the mock classes and provide that to the
FuseMockApiModule so it can register and use them.
diff --git a/src/app/modules/admin/docs/guides/customization/splash-screen/splash-screen.html b/src/app/modules/admin/docs/guides/customization/splash-screen/splash-screen.html
index ce19dc39..ef9b9e06 100644
--- a/src/app/modules/admin/docs/guides/customization/splash-screen/splash-screen.html
+++ b/src/app/modules/admin/docs/guides/customization/splash-screen/splash-screen.html
@@ -70,7 +70,7 @@
page.
Please note, you cannot run Angular components in here. Basically, by the time you can run Angular components, you won't be needing the
splash screen because everything would already be loaded!
diff --git a/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html b/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
index e5c2fecb..61f9f2a8 100644
--- a/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
+++ b/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
@@ -48,7 +48,7 @@
made configuration service to store, write and read application wide configurations.
More detailed information about FuseConfigService can be found in the
Core features > Services >
diff --git a/src/app/modules/admin/docs/guides/customization/theming/theming.html b/src/app/modules/admin/docs/guides/customization/theming/theming.html
index 0193acea..0af026e6 100644
--- a/src/app/modules/admin/docs/guides/customization/theming/theming.html
+++ b/src/app/modules/admin/docs/guides/customization/theming/theming.html
@@ -141,7 +141,7 @@
diff --git a/src/app/modules/admin/docs/guides/getting-started/installation/installation.html b/src/app/modules/admin/docs/guides/getting-started/installation/installation.html
index 01f12353..fec2c653 100644
--- a/src/app/modules/admin/docs/guides/getting-started/installation/installation.html
+++ b/src/app/modules/admin/docs/guides/getting-started/installation/installation.html
@@ -77,7 +77,7 @@
After choosing the version you want to install, unzip the .zip file of that version into your workspace directory.
@@ -107,7 +107,7 @@
This command will take some time and install all the required libraries into the node_modules directory in order for you to start developing.
After the installation process finishes, run the following command while still in your workspace directory:
@@ -64,11 +63,13 @@
Alias for ng serve --open.
-
+
If you are getting error messages that includes keywords like HEAP, JS stack tree,
out of memory while trying to run ng serve --open or npm start commands,
you may have an older Node.js version, try updating your Node.js to the latest LTS version and then try again.
-
+ Fuse uses Transloco library for the multi language support.
+
+
+
Official documentation
+
+ You can access the official documentation of Transloco over here: https://ngneat.github.io/transloco/docs/installation
+
+
+ Other than the initial setup, Fuse doesn't introduce anything to Transloco or change any of its functionality. You can follow the official
+ documentation to get started.
+
+
+
Translating the navigation
+
+ Since FuseNavigation supports runtime data swapping, you can replace the navigation data either partially or completely when the language changes.
+ The LanguageComponent is a suitable place to do this and it's located at src/app/layout/common/language.
+
+
+
Removing Transloco
+
+ If you don't need multi language support in your project, you may remove the Transloco support. Here's a step by step guide to remove
+ the Transloco from Fuse:
+
+
+
Navigate to src/app/core/core.module.ts file and remove imports of TranslocoCoreModule
+
Remove the src/app/core/transloco directory
+
Do a project wide search for <language></language> and remove all instances
+
Do a project wide search for LanguageModule and remove all imports
+
Remove the src/app/layout/common/language directory
+
Finally navigate to the package.json file, remove the "@ngneat/transloco" from dependencies list and run npm install command
+
+
+
+
+
diff --git a/src/app/modules/admin/docs/guides/customization/multi-language/multi-language.ts b/src/app/modules/admin/docs/guides/customization/multi-language/multi-language.ts
new file mode 100644
index 00000000..19d87f6d
--- /dev/null
+++ b/src/app/modules/admin/docs/guides/customization/multi-language/multi-language.ts
@@ -0,0 +1,30 @@
+import { Component } from '@angular/core';
+import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component';
+
+@Component({
+ selector : 'multi-language',
+ templateUrl: './multi-language.html',
+ styles : ['']
+})
+export class MultiLanguageCustomizationComponent
+{
+ /**
+ * Constructor
+ */
+ constructor(private _guidesComponent: GuidesComponent)
+ {
+ }
+
+ // -----------------------------------------------------------------------------------------------------
+ // @ Public methods
+ // -----------------------------------------------------------------------------------------------------
+
+ /**
+ * Toggle the drawer
+ */
+ toggleDrawer(): void
+ {
+ // Toggle the drawer
+ this._guidesComponent.matDrawer.toggle();
+ }
+}
diff --git a/src/app/modules/admin/docs/guides/customization/page-layouts/page-layouts.html b/src/app/modules/admin/docs/guides/customization/page-layouts/page-layouts.html
index 21c2e9de..7f04ce9b 100644
--- a/src/app/modules/admin/docs/guides/customization/page-layouts/page-layouts.html
+++ b/src/app/modules/admin/docs/guides/customization/page-layouts/page-layouts.html
@@ -50,33 +50,6 @@
All page layouts can be found within the Demo app, you can try them over there and choose one that fits your needs.
-
-
diff --git a/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html b/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
index 61f9f2a8..ce39fb63 100644
--- a/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
+++ b/src/app/modules/admin/docs/guides/customization/theme-layouts/theme-layouts.html
@@ -106,33 +106,6 @@
removing the LayoutComponent and using the individual layouts by themselves is not possible.
-
-
diff --git a/src/app/modules/admin/docs/guides/development/deployment/deployment.html b/src/app/modules/admin/docs/guides/development/deployment/deployment.html
index 4d1af7d0..c35dd57b 100644
--- a/src/app/modules/admin/docs/guides/development/deployment/deployment.html
+++ b/src/app/modules/admin/docs/guides/development/deployment/deployment.html
@@ -69,33 +69,6 @@
you may have an older Node.js version, try updating your Node.js to the latest LTS version and then try again.
-
-
-
diff --git a/src/app/modules/admin/docs/guides/development/updating/updating.html b/src/app/modules/admin/docs/guides/development/updating/updating.html
index 63f986ea..f5ae60be 100644
--- a/src/app/modules/admin/docs/guides/development/updating/updating.html
+++ b/src/app/modules/admin/docs/guides/development/updating/updating.html
@@ -63,33 +63,6 @@
setup or merge (and resolve conflicts) through Github. Every release is tagged and available under the Releases tab of Fuse's Github repo.
-
-
-
diff --git a/src/app/modules/admin/docs/guides/getting-started/serving/serving.html b/src/app/modules/admin/docs/guides/getting-started/serving/serving.html
index bf753db9..f6117856 100644
--- a/src/app/modules/admin/docs/guides/getting-started/serving/serving.html
+++ b/src/app/modules/admin/docs/guides/getting-started/serving/serving.html
@@ -71,33 +71,6 @@
you may have an older Node.js version, try updating your Node.js to the latest LTS version and then try again.
-
-