Fuse uses Transloco library for the multi language support.
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.
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
.
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:
src/app/core/core.module.ts
file and remove imports of TranslocoCoreModule
src/app/core/transloco
directory<languages></languages>
and remove all instancesLanguageModule
and remove all importssrc/app/layout/common/language
directorypackage.json
file, remove the "@ngneat/transloco" from dependencies list and run npm install
command