hugo-coder icon indicating copy to clipboard operation
hugo-coder copied to clipboard

Does the theme support switching between English and Chinese?

Open tianyinggang opened this issue 1 year ago • 1 comments

I want to switch the whole site when switching languages, including articles, please ask if it is supported, or how to achieve it?

tianyinggang avatar Feb 04 '24 15:02 tianyinggang

If I got it correctly, yes, it is possible. Look at this article page. If you change the language to Portuguese, you'll be redirected to the same page translated to this language.

For each page, you'll need to create another file for each language you want to have. image

luizdepra avatar Feb 05 '24 12:02 luizdepra