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/languages
.
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.config.ts
file and remove the
lines marked with the comment // Transloco Config
src/app/core/transloco
directory<languages></languages>
and remove all
instances
src/app/layout/common/languages
directory
package.json
file, remove
the "@ngneat/transloco" from dependencies
list and run npm install
command