gersonbenavides / ataraxia-zola

A personal theme for Zola focused on readability that aims to be simple, beautiful, and modern.
https://gersonbenavides.github.io/
Mozilla Public License 2.0
13 stars 6 forks source link

Recommendations: Language switch Button #5

Open jackyliu16 opened 1 year ago

jackyliu16 commented 1 year ago

Would it be better to provide a button or drop-down bar to switch languages on such a multilingual site (rather than make a note on the website and telling user to change the URL)

jackyliu16 commented 1 year ago

I'm not sure if it's technically difficult, because it seems like need to get the content of the current URL and make a choice based on that

Jieiku commented 1 year ago

I recently added multi-lingual support to Abridge while doing my refactor, you can probably use a lot of the code there as an example to add it to this theme.

git clone --branch refactor https://github.com/Jieiku/abridge
cd abridge
zola serve
jackyliu16 commented 1 year ago

I'll try to find out the ways, thank you very much.