How to add translation selector to topbar
How can I move the language selector from user inner drowdown to the topbar directly?
Replies (1)
Hi,
To create your own dropdown with the list of available languages, you can use the TranslationService to set the language. For reference, you may look at these two files:
/src/app/_metronic/partials/layout/extras/dropdown-inner/user-inner/user-inner.component.html
/src/app/_metronic/partials/layout/extras/dropdown-inner/user-inner/user-inner.component.ts Please note that these files are just examples, and you may need to modify them to fit your specific use case.
Thanks