mdbook-i18n-helpers icon indicating copy to clipboard operation
mdbook-i18n-helpers copied to clipboard

How to display a toggle button

Open Demian101 opened this issue 2 years ago • 1 comments

I want to know how to display a toggle button on my homepage after configuring the language folder, so that I can switch languages?

I looked at dojo's mdbook, and they seemed to have manually written some JavaScript dom code?

Is there some convenient way for me to add this toggle button to mdbook?

PLS ~

Demian101 avatar Oct 16 '23 12:10 Demian101

Hi @Demian101! Good question: we don't have a good solution for this right now and so we're also hand-coding the list of languages right now.

Eventually, @sakex's work on #70 will solve this.

mgeisler avatar Oct 16 '23 15:10 mgeisler